depot/third_party/nixpkgs/pkgs/tools/system/undaemonize/default.nix
Default email a3bb8d7922 Project import generated by Copybara.
GitOrigin-RevId: 439b1605227b8adb1357b55ce8529d541abbe9eb
2021-08-06 00:33:18 +03:00

24 lines
721 B
Nix

{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation {
pname = "undaemonize";
version = "unstable-2017-07-11";
src = fetchFromGitHub {
repo = "undaemonize";
owner = "nickstenning";
rev = "a181cfd900851543ee1f85fe8f76bc8916b446d4";
sha256 = "1fkrgj3xfhj820qagh5p0rabl8z2hpad6yp984v92h9pgbfwxs33";
};
installPhase = ''
install -D undaemonize $out/bin/undaemonize
'';
meta = {
description = "Tiny helper utility to force programs which insist on daemonizing themselves to run in the foreground";
homepage = "https://github.com/nickstenning/undaemonize";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.canndrew ];
platforms = lib.platforms.linux;
};
}