blob: a955d337753ef4a9786fc47c20e586d8bee683d5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
{ lib
, stdenv
, fetchFromGitHub
, autoreconfHook
, ncurses
, pkg-config
, texinfo
}:
stdenv.mkDerivation (finalAttrs: {
pname = "robotfindskitten";
version = "2.8284271.702";
src = fetchFromGitHub {
owner = "robotfindskitten";
repo = "robotfindskitten";
rev = finalAttrs.version;
hash = "sha256-z6//Yfp3BtJAtUdY05m1eKVrTdH19MvK7LZOwX5S1CM=";
};
outputs = [ "out" "man" "info" ];
nativeBuildInputs = [
autoreconfHook
pkg-config
texinfo
];
buildInputs = [
ncurses
];
makeFlags = [
"execgamesdir=$(out)/bin"
];
postInstall = ''
install -Dm644 nki/vanilla.nki -t $out/share/games/robotfindskitten/
'';
meta = {
description = "Yet another zen simulation; A simple find-the-kitten game";
homepage = "http://robotfindskitten.org/";
license = lib.licenses.gpl2Plus;
mainProgram = "robotfindskitten";
maintainers = [ lib.maintainers.AndersonTorres ];
platforms = lib.platforms.unix;
};
})
|