Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
39 lines
958 B
Nix
39 lines
958 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchurl,
|
|
perl,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "daemon";
|
|
version = "0.8.4";
|
|
|
|
src = fetchurl {
|
|
url = "http://libslack.org/daemon/download/daemon-${version}.tar.gz";
|
|
sha256 = "sha256-+iiFmtNBywoLASwRwnGBT4cEggE7SfcQYAMh03mIfNE=";
|
|
};
|
|
|
|
makeFlags = [
|
|
"PREFIX=$(out)"
|
|
"CC=${stdenv.cc.targetPrefix}cc"
|
|
];
|
|
|
|
buildInputs = [ perl ];
|
|
|
|
meta = with lib; {
|
|
description = "Turns other processes into daemons";
|
|
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 = licenses.gpl2Plus;
|
|
maintainers = [ maintainers.sander ];
|
|
platforms = platforms.unix;
|
|
mainProgram = "daemon";
|
|
};
|
|
}
|