1{
2 lib,
3 stdenv,
4 fetchurl,
5 pkg-config,
6 cmake,
7 perl,
8}:
9
10stdenv.mkDerivation rec {
11
12 pname = "libtap";
13 version = "1.14.0";
14
15 src = fetchurl {
16 url = "https://web-cpan.shlomifish.org/downloads/${pname}-${version}.tar.xz";
17 sha256 = "1ga7rqmppa8ady665736cx443icscqlgflkqmxd4xbkzypmdj9bk";
18 };
19
20 nativeBuildInputs = [ pkg-config ];
21 propagatedBuildInputs = [
22 cmake
23 perl
24 ];
25
26 meta = with lib; {
27 description = "Library to implement a test protocol";
28 longDescription = ''
29 libtap is a library to implement the Test Anything Protocol for
30 C originally created by Nik Clayton. This is a maintenance
31 branch by Shlomi Fish.
32 '';
33 homepage = "https://www.shlomifish.org/open-source/projects/libtap/";
34 license = licenses.bsd3;
35 maintainers = [ ];
36 platforms = platforms.unix;
37 };
38}