2015-05-10 10:39:42 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, check, cppunit, perl, pythonPackages }:
|
|
|
|
|
|
|
|
# NOTE: for subunit python library see pkgs/top-level/python-packages.nix
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "subunit";
|
2015-10-22 14:16:32 +01:00
|
|
|
version = "1.1.0";
|
2015-05-10 10:39:42 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 13:41:18 +01:00
|
|
|
url = "https://launchpad.net/subunit/trunk/${version}/+download/${pname}-${version}.tar.gz";
|
2015-10-22 14:16:32 +01:00
|
|
|
sha256 = "0lcah7p66c05p7xpw6ns1is0i02lh0nq8gq51mv4wyvbr6zaasa8";
|
2015-05-10 10:39:42 +01:00
|
|
|
};
|
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ check cppunit perl pythonPackages.wrapPython ];
|
2015-05-10 10:39:42 +01:00
|
|
|
|
|
|
|
propagatedBuildInputs = with pythonPackages; [ testtools testscenarios ];
|
|
|
|
|
|
|
|
postFixup = "wrapPythonPrograms";
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A streaming protocol for test results";
|
|
|
|
homepage = https://launchpad.net/subunit;
|
|
|
|
license = licenses.asl20;
|
2015-11-10 20:45:06 +00:00
|
|
|
platforms = platforms.all;
|
2015-05-10 10:39:42 +01:00
|
|
|
};
|
|
|
|
}
|