1 { lib, stdenv, fetchurl, pkg-config, check, cppunit, perl, python3Packages }:
3 # NOTE: for subunit python library see pkgs/top-level/python-packages.nix
5 stdenv.mkDerivation rec {
10 url = "https://launchpad.net/subunit/trunk/${version}/+download/${pname}-${version}.tar.gz";
11 hash = "sha256-hlOOv6kIC97w7ICVsuXeWrsUbVu3tCSzEVKUHXYG2dI=";
14 nativeBuildInputs = [ pkg-config ];
15 buildInputs = [ check cppunit perl python3Packages.wrapPython ];
17 propagatedBuildInputs = with python3Packages; [ testtools testscenarios ];
19 postFixup = "wrapPythonPrograms";
22 description = "A streaming protocol for test results";
23 homepage = "https://launchpad.net/subunit";
24 license = licenses.asl20;
25 platforms = platforms.all;