2010-02-15 15:55:39 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, dbus, expat }:
|
|
|
|
|
2011-07-24 23:44:15 +00:00
|
|
|
let version = "1.0.3"; in
|
2010-02-15 15:55:39 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "libnih-${version}";
|
2018-04-25 03:20:18 +00:00
|
|
|
|
2010-02-15 15:55:39 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "http://code.launchpad.net/libnih/1.0/${version}/+download/libnih-${version}.tar.gz";
|
2011-07-24 23:44:15 +00:00
|
|
|
sha256 = "01glc6y7z1g726zwpvp2zm79pyb37ki729jkh45akh35fpgp4xc9";
|
2010-02-15 15:55:39 +00:00
|
|
|
};
|
|
|
|
|
2017-09-05 21:26:13 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ dbus expat ];
|
2011-07-24 23:44:15 +00:00
|
|
|
|
2018-04-25 03:20:18 +00:00
|
|
|
doCheck = false; # fails 1 of 17 test
|
|
|
|
|
2010-02-15 15:55:39 +00:00
|
|
|
meta = {
|
|
|
|
description = "A small library for C application development";
|
|
|
|
homepage = https://launchpad.net/libnih;
|
2014-06-19 04:19:00 +00:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2016-08-02 17:50:55 +00:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2010-02-15 15:55:39 +00:00
|
|
|
};
|
|
|
|
}
|