Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, fetchurl, pkg-config, cmake, perl }: 2 3stdenv.mkDerivation rec { 4 5 pname = "libtap"; 6 version = "1.14.0"; 7 8 src = fetchurl { 9 url = "https://web-cpan.shlomifish.org/downloads/${pname}-${version}.tar.xz"; 10 sha256 = "1ga7rqmppa8ady665736cx443icscqlgflkqmxd4xbkzypmdj9bk"; 11 }; 12 13 nativeBuildInputs = [ pkg-config ]; 14 propagatedBuildInputs = [ cmake perl ]; 15 16 meta = with lib; { 17 description = "A library to implement a test protocol"; 18 longDescription = '' 19 libtap is a library to implement the Test Anything Protocol for 20 C originally created by Nik Clayton. This is a maintenance 21 branch by Shlomi Fish. 22 ''; 23 homepage = "https://www.shlomifish.org/open-source/projects/libtap/"; 24 license = licenses.bsd3; 25 maintainers = [ maintainers.AndersonTorres ]; 26 platforms = platforms.unix; 27 }; 28}