at 23.05-pre 822 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, isl 5, pybind11 6, pytestCheckHook 7, pythonOlder 8, six 9}: 10 11buildPythonPackage rec { 12 pname = "islpy"; 13 version = "2022.2.1"; 14 disabled = pythonOlder "3.6"; 15 16 src = fetchPypi { 17 inherit pname version; 18 sha256 = "07062ljvznm2dg3r9b3lq98qygxsha8ylxi4zs7hx49l0jw2vbjy"; 19 }; 20 21 postConfigure = '' 22 substituteInPlace setup.py \ 23 --replace "\"pytest>=2\"," "" 24 ''; 25 26 buildInputs = [ isl pybind11 ]; 27 propagatedBuildInputs = [ six ]; 28 29 preCheck = "mv islpy islpy.hidden"; 30 checkInputs = [ pytestCheckHook ]; 31 pythonImportsCheck = [ "islpy" ]; 32 33 meta = with lib; { 34 description = "Python wrapper around isl, an integer set library"; 35 homepage = "https://github.com/inducer/islpy"; 36 license = licenses.mit; 37 maintainers = [ maintainers.costrouc ]; 38 }; 39}