nixpkgs/pkgs/by-name/li/libtap/package.nix
Anderson Torres f0e64ce16f treewide: migrate packages maintained by AndersonTorres to by-name
Manual migration for the sake of by-name migration is no longer discouraged
since #340235.
2024-09-16 14:26:47 -03:00

29 lines
848 B
Nix

{ lib, stdenv, fetchurl, pkg-config, cmake, perl }:
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 = [ pkg-config ];
propagatedBuildInputs = [ cmake perl ];
meta = with lib; {
description = "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;
};
}