2007-08-06 11:45:53 -07:00
|
|
|
{stdenv, fetchurl}:
|
|
|
|
|
2018-09-04 10:54:47 -07:00
|
|
|
stdenv.mkDerivation rec {
|
2010-07-13 09:32:19 -07:00
|
|
|
name = "libdaemon-0.14";
|
|
|
|
|
2007-08-06 11:45:53 -07:00
|
|
|
src = fetchurl {
|
2010-07-13 09:32:19 -07:00
|
|
|
url = "${meta.homepage}/${name}.tar.gz";
|
|
|
|
sha256 = "0d5qlq5ab95wh1xc87rqrh1vx6i8lddka1w3f1zcqvcqdxgyn8zx";
|
|
|
|
};
|
|
|
|
|
2018-09-04 10:54:47 -07:00
|
|
|
patches = [ ./fix-includes.patch ];
|
|
|
|
|
2017-10-27 15:23:15 -07:00
|
|
|
configureFlags = [ "--disable-lynx" ]
|
|
|
|
++ stdenv.lib.optional (stdenv.hostPlatform != stdenv.buildPlatform)
|
|
|
|
[ # Can't run this test while cross-compiling
|
|
|
|
"ac_cv_func_setpgrp_void=yes"
|
|
|
|
];
|
2010-07-13 09:32:19 -07:00
|
|
|
|
|
|
|
meta = {
|
2014-08-24 07:21:08 -07:00
|
|
|
description = "Lightweight C library that eases the writing of UNIX daemons";
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "http://0pointer.de/lennart/projects/libdaemon/";
|
2014-06-18 21:19:00 -07:00
|
|
|
license = stdenv.lib.licenses.lgpl2Plus;
|
2016-08-02 14:55:42 -07:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2007-08-06 11:45:53 -07:00
|
|
|
};
|
2018-09-04 10:54:47 -07:00
|
|
|
}
|