diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/libnih/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/libnih/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/libnih/default.nix b/nixpkgs/pkgs/development/libraries/libnih/default.nix new file mode 100644 index 000000000000..fbe01bf4062d --- /dev/null +++ b/nixpkgs/pkgs/development/libraries/libnih/default.nix @@ -0,0 +1,25 @@ +{ lib, stdenv, fetchurl, pkg-config, dbus, expat }: + +let version = "1.0.3"; in + +stdenv.mkDerivation { + pname = "libnih"; + inherit version; + + src = fetchurl { + url = "https://code.launchpad.net/libnih/1.0/${version}/+download/libnih-${version}.tar.gz"; + sha256 = "01glc6y7z1g726zwpvp2zm79pyb37ki729jkh45akh35fpgp4xc9"; + }; + + nativeBuildInputs = [ pkg-config ]; + buildInputs = [ dbus expat ]; + + doCheck = false; # fails 1 of 17 test + + meta = { + description = "A small library for C application development"; + homepage = "https://launchpad.net/libnih"; + license = lib.licenses.gpl2; + platforms = lib.platforms.linux; + }; +} |