diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index ee17bacad0b..62472702a18 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -9942,16 +9942,20 @@ let }); - subunit = buildPythonPackage rec { + subunit = stdenv.mkDerivation rec { name = "subunit-${version}"; - version = "0.0.16"; + version = "1.0.0"; src = pkgs.fetchurl { - url = "https://launchpad.net/subunit/trunk/${version}/+download/python-${name}.tar.gz"; - sha256 = "1ylla1wlmv29vdr76r5kgr7y21bz4ahi3v26mxsys42w90rfkahi"; + url = "https://launchpad.net/subunit/trunk/${version}/+download/${name}.tar.gz"; + sha256 = "1fnhrrwww90746an2nz2kn9qdf9pklmaf5lm22gssl6648f2rp2m"; }; - propagatedBuildInputs = with self; [ testtools ]; + buildInputs = (with pkgs; [ pkgconfig check cppunit perl ]) ++ [ self.wrapPython ]; + + propagatedBuildInputs = with self; [ testtools testscenarios ]; + + postFixup = "wrapPythonPrograms"; meta = { description = "A streaming protocol for test results";