2019-09-22 20:18:54 +01:00
|
|
|
{stdenv, fetchurl, perl}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2020-12-01 22:49:42 +00:00
|
|
|
name = "daemon-0.7";
|
2019-09-22 20:18:54 +01:00
|
|
|
src = fetchurl {
|
2020-12-01 22:49:42 +00:00
|
|
|
url = "http://libslack.org/daemon/download/daemon-0.7.tar.gz";
|
|
|
|
sha256 = "0b17zzl7bqnkn7a4pr3l6fxqfmxfld7izphrab5nvhc4wzng4spn";
|
2019-09-22 20:18:54 +01:00
|
|
|
};
|
2019-10-27 13:03:25 +00:00
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
2019-09-22 20:18:54 +01:00
|
|
|
buildInputs = [ perl ];
|
|
|
|
|
|
|
|
meta = {
|
2020-10-26 04:08:40 +00:00
|
|
|
description = "Turns other processes into daemons";
|
2019-09-22 20:18:54 +01:00
|
|
|
longDescription = ''
|
|
|
|
Daemon turns other process into daemons. There are many tasks that need
|
|
|
|
to be performed to correctly set up a daemon process. This can be tedious.
|
|
|
|
Daemon performs these tasks for other processes. This is useful for
|
|
|
|
writing daemons in languages other than C, C++ or Perl (e.g. /bin/sh,
|
|
|
|
Java).
|
|
|
|
'';
|
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.sander ];
|
|
|
|
platforms = stdenv.lib.platforms.unix;
|
|
|
|
};
|
|
|
|
}
|