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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
532 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;
2023-11-27 01:17:53 +00:00
mainProgram = "daemonize";
2015-03-18 22:32:37 +00:00
};
}