tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
koules: use SRI hash format
AndersonTorres
3 years ago
d2ebaafd
e28fc76d
+17
-16
1 changed file
expand all
collapse all
unified
split
pkgs
games
koules
default.nix
+17
-16
pkgs/games/koules/default.nix
···
2
, lib
3
, fetchurl
4
, fetchzip
5
-
, makeDesktopItem
6
, copyDesktopItems
0
7
, imake
8
-
, gccmakedep
9
, libX11
10
, libXext
11
-
, installShellFiles
12
}:
13
14
let
15
debian-extras = fetchzip {
16
url = "mirror://debian/pool/main/k/koules/koules_1.4-27.debian.tar.xz";
17
-
sha256 = "0bq1rr6vxqmx2k0dhyrqnwwfiw4h2ycbj576v66vwr0jaq5plil3";
18
};
19
in
20
-
21
stdenv.mkDerivation rec {
22
pname = "koules";
23
version = "1.4";
24
25
src = fetchurl {
26
url = "https://www.ucw.cz/~hubicka/koules/packages/${pname}${version}-src.tar.gz";
27
-
sha256 = "06x2wkpns14kii9fxmxbmj5lma371qj00hgl7fc5kggfmzz96vy3";
28
};
29
30
nativeBuildInputs = [ imake gccmakedep installShellFiles copyDesktopItems ];
···
57
runHook postInstall
58
'';
59
60
-
desktopItems = [ (makeDesktopItem {
61
-
desktopName = "Koules";
62
-
name = "koules";
63
-
exec = "xkoules";
64
-
icon = "koules";
65
-
comment = "Push your enemies away, but stay away from obstacles";
66
-
categories = [ "Game" "ArcadeGame" ];
67
-
}) ];
0
0
68
69
meta = with lib; {
70
-
description = "Fast arcade game based on the fundamental law of body attraction";
71
homepage = "https://www.ucw.cz/~hubicka/koules/English/";
0
72
license = licenses.gpl2Plus;
73
-
platforms = platforms.linux;
74
maintainers = [ maintainers.iblech ];
0
75
};
76
}
···
2
, lib
3
, fetchurl
4
, fetchzip
0
5
, copyDesktopItems
6
+
, gccmakedep
7
, imake
8
+
, installShellFiles
9
, libX11
10
, libXext
11
+
, makeDesktopItem
12
}:
13
14
let
15
debian-extras = fetchzip {
16
url = "mirror://debian/pool/main/k/koules/koules_1.4-27.debian.tar.xz";
17
+
hash = "sha256-g0Z6C1YSZL6N2eYUuZgXkPDoOLc4e9jAFL3ivk3OAS8=";
18
};
19
in
0
20
stdenv.mkDerivation rec {
21
pname = "koules";
22
version = "1.4";
23
24
src = fetchurl {
25
url = "https://www.ucw.cz/~hubicka/koules/packages/${pname}${version}-src.tar.gz";
26
+
hash = "sha256-w2+T/q/uvVmYO/RBACQOZ6hKi6yr1+5SjJMEbe/kohs=";
27
};
28
29
nativeBuildInputs = [ imake gccmakedep installShellFiles copyDesktopItems ];
···
56
runHook postInstall
57
'';
58
59
+
desktopItems = [
60
+
(makeDesktopItem {
61
+
desktopName = "Koules";
62
+
name = "koules";
63
+
exec = "xkoules";
64
+
icon = "koules";
65
+
comment = "Push your enemies away, but stay away from obstacles";
66
+
categories = [ "Game" "ArcadeGame" ];
67
+
})
68
+
];
69
70
meta = with lib; {
0
71
homepage = "https://www.ucw.cz/~hubicka/koules/English/";
72
+
description = "Fast arcade game based on the fundamental law of body attraction";
73
license = licenses.gpl2Plus;
0
74
maintainers = [ maintainers.iblech ];
75
+
platforms = platforms.linux;
76
};
77
}