Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-19.03 29 lines 862 B view raw
1{ stdenv, fetchurl, pkgconfig, cmake, perl }: 2 3with stdenv.lib; 4stdenv.mkDerivation rec{ 5 6 name = "libtap-${version}"; 7 version = "1.12.0"; 8 9 src = fetchurl { 10 url = "http://web-cpan.shlomifish.org/downloads/${name}.tar.bz2"; 11 sha256 = "1ms1770cx8c6q3lhn1chkzy12vzmjgvlms7cqhd2d3260j2wwv5s"; 12 }; 13 14 nativeBuildInputs = [ pkgconfig ]; 15 propagatedBuildInputs = [ cmake perl ]; 16 17 meta = with stdenv.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}