libremines: init at 1.9.1 (#236291)

This commit is contained in:
Aleksana 2023-06-08 14:36:20 +08:00 committed by GitHub
parent a193d6e90a
commit 583394b814
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 43 additions and 0 deletions

View File

@ -0,0 +1,41 @@
{ lib
, stdenv
, fetchFromGitHub
, cmake
, wrapQtAppsHook
, qtmultimedia
, qtwayland
}:
stdenv.mkDerivation rec {
pname = "libremines";
version = "1.9.1";
src = fetchFromGitHub {
owner = "Bollos00";
repo = pname;
rev = "v${version}";
hash = "sha256-CQE7fggRxFI/VatS7NMcIrC78tzqSwkkVC8gK9iKdVY=";
};
nativeBuildInputs = [ cmake wrapQtAppsHook ];
buildInputs = [
qtmultimedia
] ++ lib.optionals stdenv.isLinux [
qtwayland
];
cmakeFlags = [ "-DUSE_QT6=TRUE" ];
meta = with lib; {
description = "Qt based Minesweeper game";
longDescription = ''
A Free/Libre and Open Source Software Qt based Minesweeper game available for GNU/Linux, FreeBSD and Windows systems.
'';
homepage = "https://bollos00.github.io/LibreMines";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ aleksana ];
platforms = platforms.unix;
};
}

View File

@ -22220,6 +22220,8 @@ with pkgs;
CoreServices;
};
libremines = qt6.callPackage ../games/libremines { };
librelp = callPackage ../development/libraries/librelp { };
librepo = callPackage ../tools/package-management/librepo {