1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/subunit/default.nix

23 lines
431 B
Nix
Raw Normal View History

{ buildPythonPackage
, pkgs
, testtools
, testscenarios
}:
2019-08-13 22:52:01 +01:00
buildPythonPackage {
name = pkgs.subunit.name;
src = pkgs.subunit.src;
propagatedBuildInputs = [ testtools ];
checkInputs = [ testscenarios ];
nativeBuildInputs = [ pkgs.pkgconfig ];
buildInputs = [ pkgs.check pkgs.cppunit ];
patchPhase = ''
sed -i 's/version=VERSION/version="${pkgs.subunit.version}"/' setup.py
'';
meta = pkgs.subunit.meta;
}