2021-01-21 18:00:13 +01:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, dbus, expat }:
|
2010-02-15 16:55:39 +01:00
|
|
|
|
2011-07-25 01:44:15 +02:00
|
|
|
let version = "1.0.3"; in
|
2010-02-15 16:55:39 +01:00
|
|
|
|
2019-08-13 23:52:01 +02:00
|
|
|
stdenv.mkDerivation {
|
2019-08-13 23:52:01 +02:00
|
|
|
pname = "libnih";
|
|
|
|
inherit version;
|
2018-04-25 05:20:18 +02:00
|
|
|
|
2010-02-15 16:55:39 +01:00
|
|
|
src = fetchurl {
|
2018-12-01 18:32:32 +01:00
|
|
|
url = "https://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
|
|
|
};
|
|
|
|
|
2021-01-19 07:50:56 +01:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2017-09-05 23:26:13 +02:00
|
|
|
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";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://launchpad.net/libnih";
|
2021-01-21 18:00:13 +01:00
|
|
|
license = lib.licenses.gpl2;
|
|
|
|
platforms = lib.platforms.linux;
|
2010-02-15 16:55:39 +01:00
|
|
|
};
|
|
|
|
}
|