2018-10-27 22:52:57 +01:00
|
|
|
{ buildPythonPackage
|
|
|
|
, pkgs
|
|
|
|
, testtools
|
|
|
|
, testscenarios
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
name = pkgs.subunit.name;
|
|
|
|
src = pkgs.subunit.src;
|
|
|
|
|
2018-11-04 17:04:55 +00:00
|
|
|
propagatedBuildInputs = [ testtools ];
|
|
|
|
checkInputs = [ testscenarios ];
|
2018-10-27 22:52:57 +01: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;
|
|
|
|
|
|
|
|
}
|