mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
libremines: init at 1.9.1 (#236291)
This commit is contained in:
parent
a193d6e90a
commit
583394b814
41
pkgs/games/libremines/default.nix
Normal file
41
pkgs/games/libremines/default.nix
Normal 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;
|
||||
};
|
||||
}
|
@ -22220,6 +22220,8 @@ with pkgs;
|
||||
CoreServices;
|
||||
};
|
||||
|
||||
libremines = qt6.callPackage ../games/libremines { };
|
||||
|
||||
librelp = callPackage ../development/libraries/librelp { };
|
||||
|
||||
librepo = callPackage ../tools/package-management/librepo {
|
||||
|
Loading…
Reference in New Issue
Block a user