nixpkgs/pkgs/development/libraries/libnih/default.nix

26 lines
647 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, pkg-config, dbus, expat }:
let version = "1.0.3"; in
2019-08-13 22:52:01 +01:00
stdenv.mkDerivation {
2019-08-13 22:52:01 +01:00
pname = "libnih";
inherit version;
src = fetchurl {
2018-12-01 17:32:32 +00:00
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;
};
}