nixpkgs/pkgs/development/libraries/subunit/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
831 B
Nix
Raw Normal View History

2021-07-27 14:36:51 +00:00
{ lib, stdenv, fetchurl, pkg-config, check, cppunit, perl, python3Packages }:
# NOTE: for subunit python library see pkgs/top-level/python-packages.nix
stdenv.mkDerivation rec {
pname = "subunit";
2020-03-26 02:09:35 +00:00
version = "1.4.0";
src = fetchurl {
url = "https://launchpad.net/subunit/trunk/${version}/+download/${pname}-${version}.tar.gz";
2020-03-26 02:09:35 +00:00
sha256 = "1h7i5ifcx20qkya24j11nbwa829klw7dvnlljdgivgvcx6b20y80";
};
nativeBuildInputs = [ pkg-config ];
2021-07-27 14:36:51 +00:00
buildInputs = [ check cppunit perl python3Packages.wrapPython ];
2021-07-27 14:36:51 +00:00
propagatedBuildInputs = with python3Packages; [ testtools testscenarios ];
postFixup = "wrapPythonPrograms";
meta = with lib; {
description = "A streaming protocol for test results";
2020-03-26 02:09:35 +00:00
homepage = "https://launchpad.net/subunit";
license = licenses.asl20;
2015-11-10 20:45:06 +00:00
platforms = platforms.all;
};
}