2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, cmake, perl }:
|
2015-08-04 00:29:26 +00:00
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
with lib;
|
2020-06-07 21:11:08 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2015-08-04 00:29:26 +00:00
|
|
|
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "libtap";
|
2020-04-07 13:53:41 +00:00
|
|
|
version = "1.14.0";
|
2015-08-04 00:29:26 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2020-04-07 13:53:41 +00:00
|
|
|
url = "https://web-cpan.shlomifish.org/downloads/${pname}-${version}.tar.xz";
|
|
|
|
sha256 = "1ga7rqmppa8ady665736cx443icscqlgflkqmxd4xbkzypmdj9bk";
|
2015-08-04 00:29:26 +00:00
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2015-08-04 00:29:26 +00:00
|
|
|
propagatedBuildInputs = [ cmake perl ];
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2015-08-04 00:29:26 +00: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 13:53:41 +00:00
|
|
|
homepage = "https://www.shlomifish.org/open-source/projects/libtap/";
|
2015-08-04 00:29:26 +00:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = [ maintainers.AndersonTorres ];
|
2018-10-07 02:35:10 +00:00
|
|
|
platforms = platforms.unix;
|
2015-08-04 00:29:26 +00:00
|
|
|
};
|
|
|
|
}
|