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.1.0";
8
9 src = fetchurl {
10 url = "https://launchpad.net/subunit/trunk/${version}/+download/${name}.tar.gz";
11 sha256 = "0lcah7p66c05p7xpw6ns1is0i02lh0nq8gq51mv4wyvbr6zaasa8";
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.all;
25 };
26}