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