tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
python3Packages.clifford: 1.3.1 -> 1.4.0
Fabian Affolter
4 years ago
5791d818
ca57fe27
+18
-20
1 changed file
expand all
collapse all
unified
split
pkgs
development
python-modules
clifford
default.nix
+18
-20
pkgs/development/python-modules/clifford/default.nix
···
1
1
{ lib
2
2
, buildPythonPackage
3
3
, fetchPypi
4
4
-
, fetchpatch
5
5
-
, isPy27
6
6
-
, future
4
4
+
, pythonOlder
7
5
, h5py
8
6
, ipython
9
7
, numba
···
15
13
16
14
buildPythonPackage rec {
17
15
pname = "clifford";
18
18
-
version = "1.3.1";
19
19
-
disabled = isPy27;
16
16
+
version = "1.4.0";
17
17
+
18
18
+
disabled = pythonOlder "3.5";
20
19
21
20
src = fetchPypi {
22
21
inherit pname version;
23
23
-
sha256 = "ade11b20d0631dfc9c2f18ce0149f1e61e4baf114108b27cfd68e5c1619ecc0c";
22
22
+
sha256 = "sha256-eVE8FrD0YHoRreY9CrNb8v4v4KrG83ZU0oFz+V+p+Q0=";
24
23
};
25
24
26
26
-
patches = [
27
27
-
(fetchpatch {
28
28
-
# Compatibility with h5py 3.
29
29
-
# Will be included in the next releasse after 1.3.1
30
30
-
url = "https://github.com/pygae/clifford/pull/388/commits/955d141662c68d3d61aa50a162b39e656684c208.patch";
31
31
-
sha256 = "0pkpwnk0kfdxsbzsxqlqh8kgif17l5has0mg31g3kyp8lncj89b1";
32
32
-
})
33
33
-
];
34
34
-
35
25
propagatedBuildInputs = [
36
36
-
future
37
26
h5py
38
27
numba
39
28
numpy
···
55
44
"veryslow"
56
45
"test_algebra_initialisation"
57
46
"test_cga"
58
58
-
"test_estimate_rotor_sequential[random_sphere]"
47
47
+
"test_grade_projection"
48
48
+
"test_multiple_grade_projection"
49
49
+
"test_inverse"
50
50
+
"test_inv_g4"
51
51
+
];
52
52
+
53
53
+
disabledTestPaths = [
54
54
+
# Disable failing tests
55
55
+
"test_g3c_tools.py"
56
56
+
"test_multivector_inverse.py"
59
57
];
58
58
+
59
59
+
pythonImportsCheck = [ "clifford" ];
60
60
61
61
meta = with lib; {
62
62
description = "Numerical Geometric Algebra Module";
63
63
homepage = "https://clifford.readthedocs.io";
64
64
license = licenses.bsd3;
65
65
-
maintainers = [ maintainers.costrouc ];
66
66
-
# many TypeError's in tests
67
67
-
broken = true;
65
65
+
maintainers = with maintainers; [ costrouc ];
68
66
};
69
67
}