tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
vectoroids: 1.1.0 -> 1.1.2
kyehn
5 months ago
61a9c231
8c5f8032
+12
-12
1 changed file
expand all
collapse all
unified
split
pkgs
by-name
ve
vectoroids
package.nix
+12
-12
pkgs/by-name/ve/vectoroids/package.nix
···
2
lib,
3
stdenv,
4
fetchurl,
5
-
SDL,
6
-
SDL_image,
7
-
SDL_mixer,
8
}:
9
10
-
stdenv.mkDerivation rec {
11
pname = "vectoroids";
12
-
version = "1.1.0";
13
14
src = fetchurl {
15
-
url = "ftp://ftp.tuxpaint.org/unix/x/vectoroids/src/vectoroids-${version}.tar.gz";
16
-
sha256 = "0bkvd4a1v496w0vlvqyi1a6p25ssgpkchxxxi8899sb72wlds54d";
17
};
18
19
buildInputs = [
20
-
SDL
21
-
SDL_image
22
-
SDL_mixer
23
];
24
25
preConfigure = ''
···
32
description = "Clone of the classic arcade game Asteroids by Atari";
33
mainProgram = "vectoroids";
34
license = lib.licenses.gpl2Plus;
35
-
inherit (SDL.meta) platforms;
36
};
37
-
}
···
2
lib,
3
stdenv,
4
fetchurl,
5
+
SDL2,
6
+
SDL2_image,
7
+
SDL2_mixer,
8
}:
9
10
+
stdenv.mkDerivation (finalAttrs: {
11
pname = "vectoroids";
12
+
version = "1.1.2";
13
14
src = fetchurl {
15
+
url = "https://tuxpaint.org/ftp/unix/x/vectoroids/src/vectoroids-${finalAttrs.version}.tar.gz";
16
+
hash = "sha256-aLV4rrNuLKODYGD+0UBAQeQKKCNlFOX2g5CcjjkCWyQ=";
17
};
18
19
buildInputs = [
20
+
SDL2
21
+
SDL2_image
22
+
SDL2_mixer
23
];
24
25
preConfigure = ''
···
32
description = "Clone of the classic arcade game Asteroids by Atari";
33
mainProgram = "vectoroids";
34
license = lib.licenses.gpl2Plus;
35
+
inherit (SDL2.meta) platforms;
36
};
37
+
})