diff options
Diffstat (limited to 'nixpkgs/pkgs/games/robotfindskitten/default.nix')
-rw-r--r-- | nixpkgs/pkgs/games/robotfindskitten/default.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/games/robotfindskitten/default.nix b/nixpkgs/pkgs/games/robotfindskitten/default.nix new file mode 100644 index 000000000000..00d73f95bdb3 --- /dev/null +++ b/nixpkgs/pkgs/games/robotfindskitten/default.nix @@ -0,0 +1,30 @@ +{ stdenv, fetchurl, pkgconfig, ncurses }: + +with stdenv.lib; +stdenv.mkDerivation rec { + + name = "robotfindskitten-${version}"; + version = "2.7182818.701"; + + src = fetchurl { + url = "mirror://sourceforge/project/rfk/robotfindskitten-POSIX/mayan_apocalypse_edition/${name}.tar.gz"; + sha256 = "06fp6b4li50mzw83j3pkzqspm6dpgxgxw03b60xkxlkgg5qa6jbp"; + }; + + nativeBuildInputs = [ pkgconfig ]; + buildInputs = [ ncurses ]; + + makeFlags = [ "execgamesdir=$(out)/bin" ]; + + postInstall = '' + install -Dm644 {nki,$out/share/games/robotfindskitten}/vanilla.nki + ''; + + meta = { + description = "Yet another zen simulation; A simple find-the-kitten game"; + homepage = http://robotfindskitten.org/; + license = licenses.gpl2; + maintainers = [ maintainers.AndersonTorres ]; + platforms = platforms.unix; + }; +} |