1{ lib, stdenv, fetchurl, pkg-config, 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 = [ pkg-config ];
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 = lib.licenses.gpl2;
23 platforms = lib.platforms.linux;
24 };
25}