2021-10-28 06:52:43 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "daemonize";
|
|
|
|
version = "1.7.8";
|
|
|
|
|
2021-10-28 06:52:43 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "bmc";
|
|
|
|
repo = "daemonize";
|
|
|
|
rev = "release-${version}";
|
|
|
|
sha256 = "1e6LZXf/lK7sB2CbXwOg7LOi0Q8IBQNAa4d7rX0Ej3A=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Runs a command as a Unix daemon";
|
2021-10-28 06:52:43 +00:00
|
|
|
homepage = "http://software.clapper.org/daemonize/";
|
|
|
|
license = licenses.bsd3;
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = with platforms; linux ++ freebsd ++ darwin;
|
|
|
|
};
|
|
|
|
}
|