From 4eb8ac55c91e8ab8b842d1feec9364ae224b9995 Mon Sep 17 00:00:00 2001 From: laalsaas Date: Wed, 12 Oct 2022 17:31:32 +0200 Subject: SoliCurses: init at unstable-2022-02-13 --- pkgs/games/solicurses/default.nix | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 pkgs/games/solicurses/default.nix (limited to 'pkgs/games/solicurses') diff --git a/pkgs/games/solicurses/default.nix b/pkgs/games/solicurses/default.nix new file mode 100644 index 000000000000..2a296b525f52 --- /dev/null +++ b/pkgs/games/solicurses/default.nix @@ -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; + }; +} -- cgit 1.4.1