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
2
, lib
3
3
, fetchurl
4
4
, fetchzip
5
5
-
, makeDesktopItem
6
5
, copyDesktopItems
6
6
+
, gccmakedep
7
7
, imake
8
8
-
, gccmakedep
8
8
+
, installShellFiles
9
9
, libX11
10
10
, libXext
11
11
-
, installShellFiles
11
11
+
, makeDesktopItem
12
12
}:
13
13
14
14
let
15
15
debian-extras = fetchzip {
16
16
url = "mirror://debian/pool/main/k/koules/koules_1.4-27.debian.tar.xz";
17
17
-
sha256 = "0bq1rr6vxqmx2k0dhyrqnwwfiw4h2ycbj576v66vwr0jaq5plil3";
17
17
+
hash = "sha256-g0Z6C1YSZL6N2eYUuZgXkPDoOLc4e9jAFL3ivk3OAS8=";
18
18
};
19
19
in
20
20
-
21
20
stdenv.mkDerivation rec {
22
21
pname = "koules";
23
22
version = "1.4";
24
23
25
24
src = fetchurl {
26
25
url = "https://www.ucw.cz/~hubicka/koules/packages/${pname}${version}-src.tar.gz";
27
27
-
sha256 = "06x2wkpns14kii9fxmxbmj5lma371qj00hgl7fc5kggfmzz96vy3";
26
26
+
hash = "sha256-w2+T/q/uvVmYO/RBACQOZ6hKi6yr1+5SjJMEbe/kohs=";
28
27
};
29
28
30
29
nativeBuildInputs = [ imake gccmakedep installShellFiles copyDesktopItems ];
···
57
56
runHook postInstall
58
57
'';
59
58
60
60
-
desktopItems = [ (makeDesktopItem {
61
61
-
desktopName = "Koules";
62
62
-
name = "koules";
63
63
-
exec = "xkoules";
64
64
-
icon = "koules";
65
65
-
comment = "Push your enemies away, but stay away from obstacles";
66
66
-
categories = [ "Game" "ArcadeGame" ];
67
67
-
}) ];
59
59
+
desktopItems = [
60
60
+
(makeDesktopItem {
61
61
+
desktopName = "Koules";
62
62
+
name = "koules";
63
63
+
exec = "xkoules";
64
64
+
icon = "koules";
65
65
+
comment = "Push your enemies away, but stay away from obstacles";
66
66
+
categories = [ "Game" "ArcadeGame" ];
67
67
+
})
68
68
+
];
68
69
69
70
meta = with lib; {
70
70
-
description = "Fast arcade game based on the fundamental law of body attraction";
71
71
homepage = "https://www.ucw.cz/~hubicka/koules/English/";
72
72
+
description = "Fast arcade game based on the fundamental law of body attraction";
72
73
license = licenses.gpl2Plus;
73
73
-
platforms = platforms.linux;
74
74
maintainers = [ maintainers.iblech ];
75
75
+
platforms = platforms.linux;
75
76
};
76
77
}