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