tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
hovercraft: refactor package definitions
Guy Chronister
6 months ago
611b8218
141d8595
+12
-19
1 changed file
expand all
collapse all
unified
split
pkgs
by-name
ho
hovercraft
package.nix
+12
-19
pkgs/by-name/ho/hovercraft/package.nix
···
1
{
2
lib,
3
-
buildPythonApplication,
4
-
isPy3k,
5
fetchFromGitHub,
6
-
manuel,
7
-
setuptools,
8
-
docutils,
9
-
lxml,
10
-
svg-path,
11
-
pygments,
12
-
watchdog,
13
fetchpatch,
14
}:
15
16
-
buildPythonApplication rec {
17
pname = "hovercraft";
18
version = "2.7";
19
format = "setuptools";
20
-
disabled = !isPy3k;
21
22
src = fetchFromGitHub {
23
owner = "regebro";
24
repo = "hovercraft";
25
-
rev = version;
26
-
sha256 = "0k0gjlqjz424rymcfdjpj6a71ppblfls5f8y2hd800d1as4im8az";
27
};
28
29
-
nativeCheckInputs = [ manuel ];
30
-
propagatedBuildInputs = [
0
31
setuptools
32
docutils
33
lxml
···
39
(fetchpatch {
40
name = "fix tests with pygments 2.14";
41
url = "https://sources.debian.org/data/main/h/hovercraft/2.7-5/debian/patches/0003-Fix-tests-with-pygments-2.14.patch";
42
-
sha256 = "sha256-qz4Kp4MxlS3KPKRB5/VESCI++66U9q6cjQ0cHy3QjTc=";
43
})
44
];
45
46
-
meta = with lib; {
47
description = "Makes impress.js presentations from reStructuredText";
48
mainProgram = "hovercraft";
49
homepage = "https://github.com/regebro/hovercraft";
50
-
license = licenses.mit;
51
-
maintainers = with maintainers; [ makefu ];
52
};
53
}
···
1
{
2
lib,
0
0
3
fetchFromGitHub,
4
+
python3Packages,
0
0
0
0
0
0
5
fetchpatch,
6
}:
7
8
+
python3Packages.buildPythonApplication rec {
9
pname = "hovercraft";
10
version = "2.7";
11
format = "setuptools";
12
+
disabled = !python3Packages.isPy3k;
13
14
src = fetchFromGitHub {
15
owner = "regebro";
16
repo = "hovercraft";
17
+
tag = version;
18
+
hash = "sha256-X6EaiVahAYAaFB65oqmj695wlJFXNseqz0SQLzGVD0w=";
19
};
20
21
+
nativeCheckInputs = with python3Packages; [ manuel ];
22
+
23
+
dependencies = with python3Packages; [
24
setuptools
25
docutils
26
lxml
···
32
(fetchpatch {
33
name = "fix tests with pygments 2.14";
34
url = "https://sources.debian.org/data/main/h/hovercraft/2.7-5/debian/patches/0003-Fix-tests-with-pygments-2.14.patch";
35
+
hash = "sha256-qz4Kp4MxlS3KPKRB5/VESCI++66U9q6cjQ0cHy3QjTc=";
36
})
37
];
38
39
+
meta = {
40
description = "Makes impress.js presentations from reStructuredText";
41
mainProgram = "hovercraft";
42
homepage = "https://github.com/regebro/hovercraft";
43
+
license = lib.licenses.mit;
44
+
maintainers = with lib.maintainers; [ makefu ];
45
};
46
}