nixpkgs/pkgs/tools/system/daemonize/default.nix
2021-10-24 15:09:37 +02:00

21 lines
501 B
Nix

{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "daemonize";
version = "1.7.8";
src = fetchFromGitHub {
owner = "bmc";
repo = "daemonize";
rev = "release-${version}";
sha256 = "1e6LZXf/lK7sB2CbXwOg7LOi0Q8IBQNAa4d7rX0Ej3A=";
};
meta = with lib; {
description = "Runs a command as a Unix daemon";
homepage = "http://software.clapper.org/daemonize/";
license = licenses.bsd3;
platforms = with platforms; linux ++ freebsd ++ darwin;
};
}