Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / libraries / subunit / default.nix
blob61c30ebcf0335b0f5a42455b0a674ea5f9583d1d
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 {
6   pname = "subunit";
7   version = "1.4.2";
9   src = fetchurl {
10     url = "https://launchpad.net/subunit/trunk/${version}/+download/${pname}-${version}.tar.gz";
11     hash = "sha256-hlOOv6kIC97w7ICVsuXeWrsUbVu3tCSzEVKUHXYG2dI=";
12   };
14   nativeBuildInputs = [ pkg-config ];
15   buildInputs = [ check cppunit perl python3Packages.wrapPython ];
17   propagatedBuildInputs = with python3Packages; [ testtools testscenarios ];
19   postFixup = "wrapPythonPrograms";
21   meta = with lib; {
22     description = "A streaming protocol for test results";
23     homepage = "https://launchpad.net/subunit";
24     license = licenses.asl20;
25     platforms = platforms.all;
26   };