1 { fetchurl, lib, stdenv, libxcrypt }:
3 stdenv.mkDerivation rec {
8 url = "mirror://gnu/pies/${pname}-${version}.tar.bz2";
9 sha256 = "12r7rjjyibjdj08dvwbp0iflfpzl4s0zhn6cr6zj3hwf9gbzgl1g";
12 buildInputs = [ libxcrypt ];
14 configureFlags = ["--sysconfdir=/etc"];
16 hardeningDisable = [ "format" ];
21 description = "A program invocation and execution supervisor";
24 '' The name Pies (pronounced "p-yes") stands for Program Invocation and
25 Execution Supervisor. This utility starts and controls execution of
26 external programs, called components. Each component is a
27 stand-alone program, which is executed in the foreground. Upon
28 startup, pies reads the list of components from its configuration
29 file, starts them, and remains in the background, controlling their
30 execution. If any of the components terminates, the default action
31 of Pies is to restart it. However, it can also be programmed to
32 perform a variety of another actions such as, e.g., sending mail
33 notifications to the system administrator, invoking another external
36 Pies can be used for a wide variety of tasks. Its most obious use
37 is to put in backgound a program which normally cannot detach itself
38 from the controlling terminal, such as, e.g., minicom. It can
39 launch and control components of some complex system, such as
40 Jabberd or MeTA1 (and it offers much more control over them than the
41 native utilities). Finally, it can replace the inetd utility!
44 license = lib.licenses.gpl3Plus;
46 homepage = "https://www.gnu.org/software/pies/";
48 platforms = lib.platforms.gnu ++ lib.platforms.linux;