nixpkgs/pkgs/tools/system/daemonize/default.nix

21 lines
501 B
Nix
Raw Normal View History

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