2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, dbus, expat }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
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";
|
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ dbus expat ];
|
|
|
|
|
|
|
|
doCheck = false; # fails 1 of 17 test
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A small library for C application development";
|
|
|
|
homepage = "https://launchpad.net/libnih";
|
2021-02-05 17:12:51 +00:00
|
|
|
license = lib.licenses.gpl2;
|
|
|
|
platforms = lib.platforms.linux;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|