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