summary refs log tree commit diff
path: root/pkgs/servers/pies/default.nix
blob: a113d583cb1aa290d9ae413bec2b9c260cf3bc4f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
{ fetchurl, stdenv }:

stdenv.mkDerivation rec {
  name = "pies-1.3";

  src = fetchurl {
    url = "mirror://gnu/pies/${name}.tar.bz2";
    sha256 = "12r7rjjyibjdj08dvwbp0iflfpzl4s0zhn6cr6zj3hwf9gbzgl1g";
  };

  configureFlags = ["--sysconfdir=/etc"];

  hardeningDisable = [ "format" ];

  doCheck = true;

  meta = {
    description = "A program invocation and execution supervisor";

    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!
      '';

    license = stdenv.lib.licenses.gpl3Plus;

    homepage = https://www.gnu.org/software/pies/;

    platforms = stdenv.lib.platforms.gnu ++ stdenv.lib.platforms.linux;
    maintainers = [ ];
  };
}