2021-01-21 09:00:13 -08:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, dbus, expat }:
|
2010-02-15 07:55:39 -08:00
|
|
|
|
2011-07-24 16:44:15 -07:00
|
|
|
let version = "1.0.3"; in
|
2010-02-15 07:55:39 -08:00
|
|
|
|
2019-08-13 14:52:01 -07:00
|
|
|
stdenv.mkDerivation {
|
2019-08-13 14:52:01 -07:00
|
|
|
pname = "libnih";
|
|
|
|
inherit version;
|
2018-04-24 20:20:18 -07:00
|
|
|
|
2010-02-15 07:55:39 -08:00
|
|
|
src = fetchurl {
|
2018-12-01 09:32:32 -08:00
|
|
|
url = "https://code.launchpad.net/libnih/1.0/${version}/+download/libnih-${version}.tar.gz";
|
2011-07-24 16:44:15 -07:00
|
|
|
sha256 = "01glc6y7z1g726zwpvp2zm79pyb37ki729jkh45akh35fpgp4xc9";
|
2010-02-15 07:55:39 -08:00
|
|
|
};
|
|
|
|
|
2021-01-18 22:50:56 -08:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2017-09-05 14:26:13 -07:00
|
|
|
buildInputs = [ dbus expat ];
|
2011-07-24 16:44:15 -07:00
|
|
|
|
2018-04-24 20:20:18 -07:00
|
|
|
doCheck = false; # fails 1 of 17 test
|
|
|
|
|
2010-02-15 07:55:39 -08:00
|
|
|
meta = {
|
|
|
|
description = "A small library for C application development";
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://launchpad.net/libnih";
|
2021-01-21 09:00:13 -08:00
|
|
|
license = lib.licenses.gpl2;
|
|
|
|
platforms = lib.platforms.linux;
|
2010-02-15 07:55:39 -08:00
|
|
|
};
|
|
|
|
}
|