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