2015-05-10 09:39:42 +00: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 12:41:18 +00:00
|
|
|
pname = "subunit";
|
2020-03-26 02:09:35 +00:00
|
|
|
version = "1.4.0";
|
2015-05-10 09:39:42 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 12:41:18 +00:00
|
|
|
url = "https://launchpad.net/subunit/trunk/${version}/+download/${pname}-${version}.tar.gz";
|
2020-03-26 02:09:35 +00:00
|
|
|
sha256 = "1h7i5ifcx20qkya24j11nbwa829klw7dvnlljdgivgvcx6b20y80";
|
2015-05-10 09:39:42 +00:00
|
|
|
};
|
|
|
|
|
2017-09-05 21:26:13 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ check cppunit perl pythonPackages.wrapPython ];
|
2015-05-10 09:39:42 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = with pythonPackages; [ testtools testscenarios ];
|
|
|
|
|
|
|
|
postFixup = "wrapPythonPrograms";
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A streaming protocol for test results";
|
2020-03-26 02:09:35 +00:00
|
|
|
homepage = "https://launchpad.net/subunit";
|
2015-05-10 09:39:42 +00:00
|
|
|
license = licenses.asl20;
|
2015-11-10 20:45:06 +00:00
|
|
|
platforms = platforms.all;
|
2015-05-10 09:39:42 +00:00
|
|
|
};
|
|
|
|
}
|