summary refs log tree commit diff
path: root/pkgs/development/libraries/libtap/default.nix
blob: a81d5a686bc76adf8800dbf453c1fc5316bf8cda (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ stdenv, fetchurl, pkgconfig, cmake, perl }:

with stdenv.lib;
stdenv.mkDerivation rec{

  name = "libtap-${version}";
  version = "1.12.0";

  src = fetchurl {
    url = "http://web-cpan.shlomifish.org/downloads/${name}.tar.bz2";
    sha256 = "1ms1770cx8c6q3lhn1chkzy12vzmjgvlms7cqhd2d3260j2wwv5s";
  };

  buildInputs = [ pkgconfig ];
  propagatedBuildInputs = [ cmake perl ];

  meta = {
    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.
    '';
    homepage = "http://www.shlomifish.org/open-source/projects/libtap/";
    license = licenses.bsd3;
    maintainers = [ maintainers.AndersonTorres ];
  };
}