Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-19.03 24 lines 647 B view raw
1{ stdenv, fetchurl, pkgconfig, dbus, expat }: 2 3let version = "1.0.3"; in 4 5stdenv.mkDerivation rec { 6 name = "libnih-${version}"; 7 8 src = fetchurl { 9 url = "https://code.launchpad.net/libnih/1.0/${version}/+download/libnih-${version}.tar.gz"; 10 sha256 = "01glc6y7z1g726zwpvp2zm79pyb37ki729jkh45akh35fpgp4xc9"; 11 }; 12 13 nativeBuildInputs = [ pkgconfig ]; 14 buildInputs = [ dbus expat ]; 15 16 doCheck = false; # fails 1 of 17 test 17 18 meta = { 19 description = "A small library for C application development"; 20 homepage = https://launchpad.net/libnih; 21 license = stdenv.lib.licenses.gpl2; 22 platforms = stdenv.lib.platforms.linux; 23 }; 24}