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

19 lines
512 B
Nix
Raw Normal View History

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "daemonize";
version = "1.7.8";
src = fetchurl {
url = "https://github.com/bmc/daemonize/archive/release-${version}.tar.gz";
sha256 = "0q2c3i3si3k7wfhl6fyckkmkc81yp67pz52p3ggis79p4nczri10";
};
meta = with stdenv.lib; {
description = "Runs a command as a Unix daemon";
homepage = "http://software.clapper.org/daemonize/";
license = licenses.bsd3;
platforms = with platforms; linux ++ freebsd ++ darwin;
};
}