2018-10-27 23:52:57 +02:00
|
|
|
{ buildPythonPackage
|
|
|
|
, pkgs
|
|
|
|
, testtools
|
|
|
|
, testscenarios
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
name = pkgs.subunit.name;
|
|
|
|
src = pkgs.subunit.src;
|
|
|
|
|
2018-11-04 18:04:55 +01:00
|
|
|
propagatedBuildInputs = [ testtools ];
|
|
|
|
checkInputs = [ testscenarios ];
|
2018-10-27 23:52:57 +02:00
|
|
|
nativeBuildInputs = [ pkgs.pkgconfig ];
|
|
|
|
buildInputs = [ pkgs.check pkgs.cppunit ];
|
|
|
|
|
|
|
|
patchPhase = ''
|
|
|
|
sed -i 's/version=VERSION/version="${pkgs.subunit.version}"/' setup.py
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = pkgs.subunit.meta;
|
|
|
|
|
|
|
|
}
|