1{ stdenv, fetchurl, pkgconfig, dbus, expat }:
2
3let version = "1.0.3"; in
4
5stdenv.mkDerivation rec {
6 name = "libnih-${version}";
7
8 src = fetchurl {
9 url = "http://code.launchpad.net/libnih/1.0/${version}/+download/libnih-${version}.tar.gz";
10 sha256 = "01glc6y7z1g726zwpvp2zm79pyb37ki729jkh45akh35fpgp4xc9";
11 };
12
13 buildInputs = [ pkgconfig dbus expat ];
14
15 meta = {
16 description = "A small library for C application development";
17 homepage = https://launchpad.net/libnih;
18 license = stdenv.lib.licenses.gpl2;
19 };
20}