7 stdenv.mkDerivation rec {
12 url = "http://0pointer.de/lennart/projects/libdaemon/${pname}-${version}.tar.gz";
13 sha256 = "0d5qlq5ab95wh1xc87rqrh1vx6i8lddka1w3f1zcqvcqdxgyn8zx";
22 patches = [ ./fix-includes.patch ];
26 ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
27 # Can't run this test while cross-compiling
28 "ac_cv_func_setpgrp_void=yes"
32 description = "Lightweight C library that eases the writing of UNIX daemons";
33 homepage = "http://0pointer.de/lennart/projects/libdaemon/";
34 license = lib.licenses.lgpl2Plus;
35 platforms = lib.platforms.unix;