2021-01-17 05:49:22 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, ncurses }:
|
2017-05-21 17:30:56 +00:00
|
|
|
|
2021-01-15 04:31:39 +00:00
|
|
|
with lib;
|
2017-05-21 17:30:56 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "robotfindskitten";
|
2020-04-07 11:26:43 +00:00
|
|
|
version = "2.8284271.702";
|
2017-05-21 17:30:56 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2020-04-07 11:26:43 +00:00
|
|
|
url = "mirror://sourceforge/project/rfk/robotfindskitten-POSIX/ship_it_anyway/${pname}-${version}.tar.gz";
|
|
|
|
sha256 = "1bwrkxm83r9ajpkd6x03nqvmdfpf5vz6yfy0c97pq3v3ykj74082";
|
2017-05-21 17:30:56 +00:00
|
|
|
};
|
|
|
|
|
2021-01-17 05:49:22 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2017-09-14 19:24:37 +00:00
|
|
|
buildInputs = [ ncurses ];
|
2017-05-21 17:30:56 +00:00
|
|
|
|
2017-10-15 23:07:27 +00:00
|
|
|
makeFlags = [ "execgamesdir=$(out)/bin" ];
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
install -Dm644 {nki,$out/share/games/robotfindskitten}/vanilla.nki
|
|
|
|
'';
|
|
|
|
|
2017-05-21 17:30:56 +00:00
|
|
|
meta = {
|
|
|
|
description = "Yet another zen simulation; A simple find-the-kitten game";
|
2020-04-07 11:26:43 +00:00
|
|
|
homepage = "http://robotfindskitten.org/";
|
2017-05-21 17:30:56 +00:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.AndersonTorres ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|