about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/libtap/default.nix
blob: c1c506ef5e3220eef0af55cb971fc9ed976ba235 (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
29
{ stdenv, fetchurl, pkgconfig, cmake, perl }:

with stdenv.lib;
stdenv.mkDerivation rec {

  pname = "libtap";
  version = "1.14.0";

  src = fetchurl {
    url = "https://web-cpan.shlomifish.org/downloads/${pname}-${version}.tar.xz";
    sha256 = "1ga7rqmppa8ady665736cx443icscqlgflkqmxd4xbkzypmdj9bk";
  };

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

  meta = with stdenv.lib; {
    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 = "https://www.shlomifish.org/open-source/projects/libtap/";
    license = licenses.bsd3;
    maintainers = [ maintainers.AndersonTorres ];
    platforms = platforms.unix;
  };
}