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