mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 02:42:59 +00:00
22 lines
532 B
Nix
22 lines
532 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;
|
|
mainProgram = "daemonize";
|
|
};
|
|
}
|