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