1{ stdenv, fetchurl, pkgconfig, cmake, perl }:
2
3with stdenv.lib;
4stdenv.mkDerivation rec{
5
6 name = "libtap-${version}";
7 version = "1.12.0";
8
9 src = fetchurl {
10 url = "http://web-cpan.shlomifish.org/downloads/${name}.tar.bz2";
11 sha256 = "1ms1770cx8c6q3lhn1chkzy12vzmjgvlms7cqhd2d3260j2wwv5s";
12 };
13
14 buildInputs = [ pkgconfig ];
15 propagatedBuildInputs = [ cmake perl ];
16
17 meta = {
18 description = "A library to implement a test protocol";
19 longDescription = ''
20 libtap is a library to implement the Test Anything Protocol for
21 C originally created by Nik Clayton. This is a maintenance
22 branch by Shlomi Fish.
23 '';
24 homepage = "http://www.shlomifish.org/open-source/projects/libtap/";
25 license = licenses.bsd3;
26 maintainers = [ maintainers.AndersonTorres ];
27 };
28}