tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
primitive: init 0-unstable-2020-05-04
Felix Buehler
1 year ago
e5caf0f8
109f05c8
+36
1 changed file
expand all
collapse all
unified
split
pkgs
by-name
pr
primitive
package.nix
+36
pkgs/by-name/pr/primitive/package.nix
···
1
1
+
{
2
2
+
lib,
3
3
+
buildGoModule,
4
4
+
fetchFromGitHub,
5
5
+
fetchpatch,
6
6
+
}:
7
7
+
8
8
+
buildGoModule {
9
9
+
pname = "primitive";
10
10
+
version = "0-unstable-2020-05-04";
11
11
+
12
12
+
src = fetchFromGitHub {
13
13
+
owner = "fogleman";
14
14
+
repo = "primitive";
15
15
+
rev = "0373c216458be1c4b40655b796a3aefedf8b7d23";
16
16
+
hash = "sha256-stKb3tPP/pgHTfdyTmWwVj/hLjOHtFpvJxXgBhhWgPQ=";
17
17
+
};
18
18
+
vendorHash = "sha256-I3rhP87QJJxNM9D7JYo3BjG/1PhsDWbnK/NJTf4aqmI=";
19
19
+
20
20
+
patches = [
21
21
+
(fetchpatch {
22
22
+
name = "add-modules.patch";
23
23
+
url = "https://github.com/regularpoe/primitive/commit/2fa9b9f575ac2602e771c5263747bdbb48e9810b.patch";
24
24
+
hash = "sha256-TX3dGqVuY+qLh9EBg7oNVYWhGuETZHJdjPTroCDyZ74=";
25
25
+
})
26
26
+
];
27
27
+
28
28
+
meta = {
29
29
+
description = "Reproducing images with geometric primitives";
30
30
+
homepage = "https://github.com/fogleman/primitive";
31
31
+
license = lib.licenses.mit;
32
32
+
maintainers = with lib.maintainers; [ stunkymonkey ];
33
33
+
mainProgram = "primitive";
34
34
+
platforms = lib.platforms.all;
35
35
+
};
36
36
+
}