1 {lib, stdenv, fetchurl}:
3 stdenv.mkDerivation rec {
4 name = "libdaemon-0.14";
7 url = "${meta.homepage}/${name}.tar.gz";
8 sha256 = "0d5qlq5ab95wh1xc87rqrh1vx6i8lddka1w3f1zcqvcqdxgyn8zx";
11 patches = [ ./fix-includes.patch ];
13 configureFlags = [ "--disable-lynx" ]
14 ++ lib.optional (stdenv.hostPlatform != stdenv.buildPlatform)
15 [ # Can't run this test while cross-compiling
16 "ac_cv_func_setpgrp_void=yes"
20 description = "Lightweight C library that eases the writing of UNIX daemons";
21 homepage = "http://0pointer.de/lennart/projects/libdaemon/";
22 license = lib.licenses.lgpl2Plus;
23 platforms = lib.platforms.unix;