2015-08-04 02:29:26 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, cmake, perl }:
|
|
|
|
|
|
|
|
with stdenv.lib;
|
|
|
|
stdenv.mkDerivation rec{
|
|
|
|
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "libtap";
|
2015-08-04 02:29:26 +02:00
|
|
|
version = "1.12.0";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 14:41:18 +02:00
|
|
|
url = "https://web-cpan.shlomifish.org/downloads/${pname}-${version}.tar.bz2";
|
2015-08-04 02:29:26 +02:00
|
|
|
sha256 = "1ms1770cx8c6q3lhn1chkzy12vzmjgvlms7cqhd2d3260j2wwv5s";
|
|
|
|
};
|
|
|
|
|
2017-09-05 23:25:26 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2015-08-04 02:29:26 +02:00
|
|
|
propagatedBuildInputs = [ cmake perl ];
|
|
|
|
|
2018-10-07 04:35:10 +02:00
|
|
|
meta = with stdenv.lib; {
|
2015-08-04 02:29:26 +02: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.
|
|
|
|
'';
|
2018-10-07 04:35:10 +02:00
|
|
|
homepage = https://www.shlomifish.org/open-source/projects/libtap/;
|
2015-08-04 02:29:26 +02:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = [ maintainers.AndersonTorres ];
|
2018-10-07 04:35:10 +02:00
|
|
|
platforms = platforms.unix;
|
2015-08-04 02:29:26 +02:00
|
|
|
};
|
|
|
|
}
|