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