Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: b0f40bef4fa8
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: be1281bc0b1e
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Oct 5, 2020

  1. pythonPackages.islpy: fix build

    also convert to pytestCheckHook
    risicle authored and Jon committed Oct 5, 2020
    Copy the full SHA
    be1281b View commit details
Showing with 9 additions and 10 deletions.
  1. +9 −10 pkgs/development/python-modules/islpy/default.nix
19 changes: 9 additions & 10 deletions pkgs/development/python-modules/islpy/default.nix
Original file line number Diff line number Diff line change
@@ -2,14 +2,17 @@
, buildPythonPackage
, fetchPypi
, isl
, pytest
, pybind11
, pytestCheckHook
, pythonOlder
, cffi
, six
}:

buildPythonPackage rec {
pname = "islpy";
version = "2020.2";
disabled = pythonOlder "3.6";

src = fetchPypi {
inherit pname version;
@@ -21,16 +24,12 @@ buildPythonPackage rec {
--replace "\"pytest>=2\"," ""
'';

buildInputs = [ isl ];
checkInputs = [ pytest ];
propagatedBuildInputs = [
cffi
six
];
buildInputs = [ isl pybind11 ];
propagatedBuildInputs = [ six ];

checkPhase = ''
pytest test
'';
preCheck = "mv islpy islpy.hidden";
checkInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "islpy" ];

meta = with lib; {
description = "Python wrapper around isl, an integer set library";