Merge pull request #195694 from laalsaas/solicurses
SoliCurses: init at unstable-2022-02-13
This commit is contained in:
commit
fc4e7ce1f9
2 changed files with 39 additions and 0 deletions
37
pkgs/games/solicurses/default.nix
Normal file
37
pkgs/games/solicurses/default.nix
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
{ stdenv
|
||||||
|
, lib
|
||||||
|
, fetchFromGitHub
|
||||||
|
, ncurses
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
pname = "solicurses";
|
||||||
|
version = "unstable-2020-02-13";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "KaylaPP";
|
||||||
|
repo = "SoliCurses";
|
||||||
|
rev = "dc89ca00fc1711dc449d0a594a4727af22fc35a0";
|
||||||
|
sha256 = "sha256-zWYXpvEnViT/8gsdMU9Ymi4Hw+nwkG6FT/3h5sNMCE4=";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
ncurses
|
||||||
|
];
|
||||||
|
|
||||||
|
preBuild = ''
|
||||||
|
cd build
|
||||||
|
'';
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
install -D SoliCurses.out $out/bin/solicurses
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "A version of Solitaire written in C++ using the ncurses library";
|
||||||
|
homepage = "https://github.com/KaylaPP/SoliCurses";
|
||||||
|
maintainers = with maintainers; [ laalsaas ];
|
||||||
|
license = licenses.gpl3Only;
|
||||||
|
inherit (ncurses.meta) platforms;
|
||||||
|
};
|
||||||
|
}
|
|
@ -34299,6 +34299,8 @@ with pkgs;
|
||||||
|
|
||||||
sollya = callPackage ../development/interpreters/sollya { };
|
sollya = callPackage ../development/interpreters/sollya { };
|
||||||
|
|
||||||
|
solicurses = callPackage ../games/solicurses { };
|
||||||
|
|
||||||
# You still can override by passing more arguments.
|
# You still can override by passing more arguments.
|
||||||
space-orbit = callPackage ../games/space-orbit { };
|
space-orbit = callPackage ../games/space-orbit { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue