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