at v192 26 lines 799 B view raw
1{ stdenv, fetchurl, pkgconfig, check, cppunit, perl, pythonPackages }: 2 3# NOTE: for subunit python library see pkgs/top-level/python-packages.nix 4 5stdenv.mkDerivation rec { 6 name = "subunit-${version}"; 7 version = "1.0.0"; 8 9 src = fetchurl { 10 url = "https://launchpad.net/subunit/trunk/${version}/+download/${name}.tar.gz"; 11 sha256 = "1fnhrrwww90746an2nz2kn9qdf9pklmaf5lm22gssl6648f2rp2m"; 12 }; 13 14 buildInputs = [ pkgconfig check cppunit perl pythonPackages.wrapPython ]; 15 16 propagatedBuildInputs = with pythonPackages; [ testtools testscenarios ]; 17 18 postFixup = "wrapPythonPrograms"; 19 20 meta = with stdenv.lib; { 21 description = "A streaming protocol for test results"; 22 homepage = https://launchpad.net/subunit; 23 license = licenses.asl20; 24 platforms = platforms.linux; 25 }; 26}