mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
pythonPackages.clifford: init at 1.0.4
This commit is contained in:
parent
99f7b14981
commit
1765a678fb
50
pkgs/development/python-modules/clifford/default.nix
Normal file
50
pkgs/development/python-modules/clifford/default.nix
Normal file
@ -0,0 +1,50 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, numpy
|
||||
, scipy
|
||||
, numba
|
||||
, future
|
||||
, h5py
|
||||
, nose
|
||||
, isPy27
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "clifford";
|
||||
version = "1.0.4";
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "7fc5aa76b4f73c697c0ebd2f86c5233e7ca0a5109b80147f4e711bc3de4b3f2c";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
numpy
|
||||
scipy
|
||||
numba
|
||||
future
|
||||
h5py
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
nose
|
||||
];
|
||||
|
||||
preConfigure = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace "'numba==0.43'" "'numba'"
|
||||
'';
|
||||
|
||||
checkPhase = ''
|
||||
nosetests
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Numerical Geometric Algebra Module";
|
||||
homepage = https://clifford.readthedocs.io;
|
||||
license = licenses.bsd3;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
};
|
||||
}
|
@ -466,6 +466,8 @@ in {
|
||||
|
||||
cliff = callPackage ../development/python-modules/cliff { };
|
||||
|
||||
clifford = callPackage ../development/python-modules/clifford { };
|
||||
|
||||
clustershell = callPackage ../development/python-modules/clustershell { };
|
||||
|
||||
cozy = callPackage ../development/python-modules/cozy { };
|
||||
|
Loading…
Reference in New Issue
Block a user