From 6300c72a20728277a0f22f71f6c0d21129ef8fb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Sat, 23 Apr 2011 21:15:11 +0000 Subject: [PATCH] Add GNU Pies. svn path=/nixpkgs/trunk/; revision=26942 --- pkgs/servers/pies/default.nix | 44 +++++++++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 46 insertions(+) create mode 100644 pkgs/servers/pies/default.nix diff --git a/pkgs/servers/pies/default.nix b/pkgs/servers/pies/default.nix new file mode 100644 index 00000000000..495326acf3e --- /dev/null +++ b/pkgs/servers/pies/default.nix @@ -0,0 +1,44 @@ +{ fetchurl, stdenv }: + +stdenv.mkDerivation rec { + name = "pies-1.2"; + + src = fetchurl { + url = "mirror://gnu/pies/${name}.tar.bz2"; + sha256 = "18w0dbg77i56cx1bwa789w0qi3l4xkkbascxcv2b6gbm0zmjg1g6"; + }; + + doCheck = true; + + meta = { + description = "GNU Pies, 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 = "GPLv3+"; + + homepage = http://www.gnu.org/software/pies/; + + platforms = stdenv.lib.platforms.gnu; + maintainers = [ stdenv.lib.maintainers.ludo ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 0f4bc45be11..d5ffb377bf4 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4615,6 +4615,8 @@ let tomcat_connectors = callPackage ../servers/http/apache-modules/tomcat-connectors { }; + pies = callPackage ../servers/pies { }; + portmap = callPackage ../servers/portmap { }; monetdb = callPackage ../servers/sql/monetdb { };