pythonPackages.subunit: rewrite to use buildPythonPackage
This commit is contained in:
parent
cbb14299c9
commit
e42547d8e9
@ -10866,21 +10866,17 @@ let
|
|||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
subunit = stdenv.mkDerivation rec {
|
subunit = buildPythonPackage rec {
|
||||||
name = "subunit-${version}";
|
name = "subunit-${version}";
|
||||||
version = "1.0.0";
|
version = "1.1.0";
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
src = pkgs.fetchurl {
|
||||||
url = "https://launchpad.net/subunit/trunk/${version}/+download/${name}.tar.gz";
|
url = "https://pypi.python.org/packages/source/p/python-subunit/python-subunit-${version}.tar.gz";
|
||||||
sha256 = "1fnhrrwww90746an2nz2kn9qdf9pklmaf5lm22gssl6648f2rp2m";
|
sha256 = "125zh5i1f21ficn8ix5q33jk87j2pfmzbw6jq5l8v0hhjrp619yr";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = (with pkgs; [ pkgconfig check cppunit perl ]) ++ [ self.wrapPython ];
|
|
||||||
|
|
||||||
propagatedBuildInputs = with self; [ testtools testscenarios ];
|
propagatedBuildInputs = with self; [ testtools testscenarios ];
|
||||||
|
|
||||||
postFixup = "wrapPythonPrograms";
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "A streaming protocol for test results";
|
description = "A streaming protocol for test results";
|
||||||
homepage = https://launchpad.net/subunit;
|
homepage = https://launchpad.net/subunit;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user