tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
python3Packages.pythran: init at 0.9.8post3
Frederik Rietdijk
5 years ago
782afeb1
6e452303
+71
2 changed files
expand all
collapse all
unified
split
pkgs
development
python-modules
pythran
default.nix
top-level
python-packages.nix
+69
pkgs/development/python-modules/pythran/default.nix
···
1
1
+
{ lib
2
2
+
, buildPythonPackage
3
3
+
, fetchFromGitHub
4
4
+
, pytestrunner
5
5
+
, ply
6
6
+
, networkx
7
7
+
, decorator
8
8
+
, gast
9
9
+
, six
10
10
+
, numpy
11
11
+
, beniget
12
12
+
, pytestCheckHook
13
13
+
, scipy
14
14
+
, isPy3k
15
15
+
}:
16
16
+
17
17
+
buildPythonPackage rec {
18
18
+
pname = "pythran";
19
19
+
version = "0.9.8post3";
20
20
+
21
21
+
src = fetchFromGitHub {
22
22
+
owner = "serge-sans-paille";
23
23
+
repo = "pythran";
24
24
+
rev = version;
25
25
+
sha256 = "sha256-GCWjJlf7zpFzELR6wTF8FoJzJ3F/WdT1hHjY5A5h/+4=";
26
26
+
};
27
27
+
28
28
+
nativeBuildInputs = [
29
29
+
pytestrunner
30
30
+
];
31
31
+
32
32
+
propagatedBuildInputs = [
33
33
+
ply
34
34
+
networkx
35
35
+
decorator
36
36
+
gast
37
37
+
six
38
38
+
numpy
39
39
+
beniget
40
40
+
];
41
41
+
42
42
+
pythonImportsCheck = [
43
43
+
"pythran"
44
44
+
"pythran.backend"
45
45
+
"pythran.middlend"
46
46
+
"pythran.passmanager"
47
47
+
"pythran.toolchain"
48
48
+
"pythran.spec"
49
49
+
];
50
50
+
51
51
+
checkInputs = [
52
52
+
pytestCheckHook
53
53
+
numpy
54
54
+
scipy
55
55
+
];
56
56
+
57
57
+
# Test suite is huge.
58
58
+
# Also, in the future scipy will rely on it resulting in a circular test dependency
59
59
+
doCheck = false;
60
60
+
61
61
+
disabled = !isPy3k;
62
62
+
63
63
+
meta = {
64
64
+
description = "Ahead of Time compiler for numeric kernels";
65
65
+
homepage = https://github.com/serge-sans-paille/pythran;
66
66
+
license = lib.licenses.bsd3;
67
67
+
};
68
68
+
69
69
+
}
+2
pkgs/top-level/python-packages.nix
···
6780
6780
6781
6781
python-xmp-toolkit = callPackage ../development/python-modules/python-xmp-toolkit { };
6782
6782
6783
6783
+
pythran = callPackage ../development/python-modules/pythran { };
6784
6784
+
6783
6785
pyeverlights = callPackage ../development/python-modules/pyeverlights { };
6784
6786
6785
6787
pytile = callPackage ../development/python-modules/pytile { };