mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
Merge pull request #96303 from AndersonTorres/upload-tty-solitaire
tty-solitaire: init at 1.3.0
This commit is contained in:
commit
0e54f3a6d8
27
pkgs/applications/misc/tty-solitaire/default.nix
Normal file
27
pkgs/applications/misc/tty-solitaire/default.nix
Normal file
@ -0,0 +1,27 @@
|
||||
{ stdenv, fetchFromGitHub, ncurses }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "tty-solitaire";
|
||||
version = "1.3.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mpereira";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0kix7wfy2bda8cw5kfm7bm5acd5fqmdl9g52ms9bza4kf2jnb754";
|
||||
};
|
||||
|
||||
buildInputs = [ ncurses ];
|
||||
|
||||
patchPhase = "sed -i -e '/^CFLAGS *?= *-g *$/d' Makefile";
|
||||
|
||||
makeFlags = [ "CC=cc" "PREFIX=${placeholder "out"}" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Klondike Solitaire in your ncurses terminal";
|
||||
license = licenses.mit;
|
||||
homepage = "https://github.com/mpereira/tty-solitaire";
|
||||
platforms = ncurses.meta.platforms;
|
||||
maintainers = [ maintainers.AndersonTorres ];
|
||||
};
|
||||
}
|
@ -23148,6 +23148,8 @@ in
|
||||
|
||||
terminus = callPackage ../applications/misc/terminus { };
|
||||
|
||||
tty-solitaire = callPackage ../applications/misc/tty-solitaire { };
|
||||
|
||||
lxterminal = callPackage ../applications/misc/lxterminal { };
|
||||
|
||||
aminal = callPackage ../applications/misc/aminal {
|
||||
|
Loading…
Reference in New Issue
Block a user