Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-18.03 22 lines 607 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 = "http://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 meta = { 17 description = "A small library for C application development"; 18 homepage = https://launchpad.net/libnih; 19 license = stdenv.lib.licenses.gpl2; 20 platforms = stdenv.lib.platforms.linux; 21 }; 22}