pythonPackages.islpy: init at 2018.2

This commit is contained in:
Chris Ostrouchov 2019-04-15 17:27:00 -04:00
parent b536b12b7b
commit 150980c092
No known key found for this signature in database
GPG Key ID: 9ED59B0AB1EAF573
2 changed files with 43 additions and 0 deletions

View 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 ];
};
}

View File

@ -2042,6 +2042,8 @@ in {
isbnlib = callPackage ../development/python-modules/isbnlib { };
islpy = callPackage ../development/python-modules/islpy { };
itsdangerous = callPackage ../development/python-modules/itsdangerous { };
iniparse = callPackage ../development/python-modules/iniparse { };