2021-09-19 21:58:52 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub }:
|
2015-03-18 22:32:37 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "daemonize";
|
2018-02-26 02:46:54 +00:00
|
|
|
version = "1.7.8";
|
2015-03-18 22:32:37 +00:00
|
|
|
|
2021-09-19 21:58:52 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "bmc";
|
|
|
|
repo = "daemonize";
|
|
|
|
rev = "release-${version}";
|
|
|
|
sha256 = "1e6LZXf/lK7sB2CbXwOg7LOi0Q8IBQNAa4d7rX0Ej3A=";
|
2015-03-18 22:32:37 +00:00
|
|
|
};
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2015-03-18 22:32:37 +00:00
|
|
|
description = "Runs a command as a Unix daemon";
|
2021-09-19 21:58:52 +01:00
|
|
|
homepage = "http://software.clapper.org/daemonize/";
|
|
|
|
license = licenses.bsd3;
|
2015-03-18 22:32:37 +00:00
|
|
|
platforms = with platforms; linux ++ freebsd ++ darwin;
|
|
|
|
};
|
|
|
|
}
|