pythonPackages.islpy: init at 2018.2
This commit is contained in:
parent
b536b12b7b
commit
150980c092
41
pkgs/development/python-modules/islpy/default.nix
Normal file
41
pkgs/development/python-modules/islpy/default.nix
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, isl
|
||||||
|
, pytest
|
||||||
|
, cffi
|
||||||
|
, six
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "islpy";
|
||||||
|
version = "2018.2";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "be422a53b576210a0bb9775866abb6580b1e568222fc3e4e39d9e82f6d1d7253";
|
||||||
|
};
|
||||||
|
|
||||||
|
postConfigure = ''
|
||||||
|
substituteInPlace setup.py \
|
||||||
|
--replace "\"pytest>=2\"," ""
|
||||||
|
'';
|
||||||
|
|
||||||
|
buildInputs = [ isl ];
|
||||||
|
checkInputs = [ pytest ];
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
cffi
|
||||||
|
six
|
||||||
|
];
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
pytest test
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Python wrapper around isl, an integer set library";
|
||||||
|
homepage = https://github.com/inducer/islpy;
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = [ maintainers.costrouc ];
|
||||||
|
};
|
||||||
|
}
|
@ -2042,6 +2042,8 @@ in {
|
|||||||
|
|
||||||
isbnlib = callPackage ../development/python-modules/isbnlib { };
|
isbnlib = callPackage ../development/python-modules/isbnlib { };
|
||||||
|
|
||||||
|
islpy = callPackage ../development/python-modules/islpy { };
|
||||||
|
|
||||||
itsdangerous = callPackage ../development/python-modules/itsdangerous { };
|
itsdangerous = callPackage ../development/python-modules/itsdangerous { };
|
||||||
|
|
||||||
iniparse = callPackage ../development/python-modules/iniparse { };
|
iniparse = callPackage ../development/python-modules/iniparse { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user