2021-01-15 09:19:50 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub }:
|
2017-07-12 14:23:40 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2021-07-27 18:38:37 +01:00
|
|
|
pname = "undaemonize";
|
|
|
|
version = "unstable-2017-07-11";
|
|
|
|
|
2017-07-12 14:23:40 +01:00
|
|
|
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";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/nickstenning/undaemonize";
|
2021-01-15 09:19:50 +00:00
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = [ lib.maintainers.canndrew ];
|
|
|
|
platforms = lib.platforms.linux;
|
2017-07-12 14:23:40 +01:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|