nixpkgs/pkgs/development/libraries/libtap/default.nix
Jonathan Ringer 9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00

30 lines
869 B
Nix

{ stdenv, fetchurl, pkg-config, 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 = [ pkg-config ];
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;
};
}