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

30 lines
866 B
Nix
Raw Normal View History

2015-08-04 01:29:26 +01:00
{ stdenv, fetchurl, pkgconfig, cmake, perl }:
with stdenv.lib;
stdenv.mkDerivation rec{
pname = "libtap";
2020-04-07 14:53:41 +01:00
version = "1.14.0";
2015-08-04 01:29:26 +01:00
src = fetchurl {
2020-04-07 14:53:41 +01:00
url = "https://web-cpan.shlomifish.org/downloads/${pname}-${version}.tar.xz";
sha256 = "1ga7rqmppa8ady665736cx443icscqlgflkqmxd4xbkzypmdj9bk";
2015-08-04 01:29:26 +01:00
};
nativeBuildInputs = [ pkgconfig ];
2015-08-04 01:29:26 +01:00
propagatedBuildInputs = [ cmake perl ];
2018-10-07 03:35:10 +01:00
meta = with stdenv.lib; {
2015-08-04 01:29:26 +01:00
description = "A library to implement a test protocol";
longDescription = ''
libtap is a library to implement the Test Anything Protocol for
C originally created by Nik Clayton. This is a maintenance
branch by Shlomi Fish.
'';
2020-04-07 14:53:41 +01:00
homepage = "https://www.shlomifish.org/open-source/projects/libtap/";
2015-08-04 01:29:26 +01:00
license = licenses.bsd3;
maintainers = [ maintainers.AndersonTorres ];
2018-10-07 03:35:10 +01:00
platforms = platforms.unix;
2015-08-04 01:29:26 +01:00
};
}