2022-09-30 00:58:20 +01:00
|
|
|
{ fetchurl, lib, stdenv, libxcrypt }:
|
2011-04-23 22:15:11 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-05-23 16:07:31 +01:00
|
|
|
pname = "pies";
|
|
|
|
version = "1.3";
|
2011-04-23 22:15:11 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-05-23 16:07:31 +01:00
|
|
|
url = "mirror://gnu/pies/${pname}-${version}.tar.bz2";
|
2017-08-29 20:13:26 +01:00
|
|
|
sha256 = "12r7rjjyibjdj08dvwbp0iflfpzl4s0zhn6cr6zj3hwf9gbzgl1g";
|
2011-04-23 22:15:11 +01:00
|
|
|
};
|
|
|
|
|
2022-09-30 00:58:20 +01:00
|
|
|
buildInputs = [ libxcrypt ];
|
|
|
|
|
2017-08-29 23:16:19 +01:00
|
|
|
configureFlags = ["--sysconfdir=/etc"];
|
|
|
|
|
2017-08-29 20:13:26 +01:00
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
|
2011-04-23 22:15:11 +01:00
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = {
|
2014-08-24 15:21:08 +01:00
|
|
|
description = "A program invocation and execution supervisor";
|
2011-04-23 22:15:11 +01:00
|
|
|
|
|
|
|
longDescription =
|
|
|
|
'' The name Pies (pronounced "p-yes") stands for Program Invocation and
|
|
|
|
Execution Supervisor. This utility starts and controls execution of
|
|
|
|
external programs, called components. Each component is a
|
|
|
|
stand-alone program, which is executed in the foreground. Upon
|
|
|
|
startup, pies reads the list of components from its configuration
|
|
|
|
file, starts them, and remains in the background, controlling their
|
|
|
|
execution. If any of the components terminates, the default action
|
|
|
|
of Pies is to restart it. However, it can also be programmed to
|
|
|
|
perform a variety of another actions such as, e.g., sending mail
|
|
|
|
notifications to the system administrator, invoking another external
|
|
|
|
program, etc.
|
|
|
|
|
|
|
|
Pies can be used for a wide variety of tasks. Its most obious use
|
|
|
|
is to put in backgound a program which normally cannot detach itself
|
|
|
|
from the controlling terminal, such as, e.g., minicom. It can
|
|
|
|
launch and control components of some complex system, such as
|
|
|
|
Jabberd or MeTA1 (and it offers much more control over them than the
|
|
|
|
native utilities). Finally, it can replace the inetd utility!
|
|
|
|
'';
|
|
|
|
|
2021-01-15 07:07:56 +00:00
|
|
|
license = lib.licenses.gpl3Plus;
|
2011-04-23 22:15:11 +01:00
|
|
|
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://www.gnu.org/software/pies/";
|
2011-04-23 22:15:11 +01:00
|
|
|
|
2021-01-15 13:21:58 +00:00
|
|
|
platforms = lib.platforms.gnu ++ lib.platforms.linux;
|
2013-08-16 22:44:33 +01:00
|
|
|
maintainers = [ ];
|
2011-04-23 22:15:11 +01:00
|
|
|
};
|
|
|
|
}
|