mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 09:04:17 +00:00
571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
52 lines
1.9 KiB
Nix
52 lines
1.9 KiB
Nix
{ fetchurl, lib, stdenv, libxcrypt }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "pies";
|
|
version = "1.3";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnu/pies/${pname}-${version}.tar.bz2";
|
|
sha256 = "12r7rjjyibjdj08dvwbp0iflfpzl4s0zhn6cr6zj3hwf9gbzgl1g";
|
|
};
|
|
|
|
buildInputs = [ libxcrypt ];
|
|
|
|
configureFlags = ["--sysconfdir=/etc"];
|
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
doCheck = true;
|
|
|
|
meta = {
|
|
description = "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 = lib.licenses.gpl3Plus;
|
|
|
|
homepage = "https://www.gnu.org/software/pies/";
|
|
|
|
platforms = lib.platforms.gnu ++ lib.platforms.linux;
|
|
maintainers = [ ];
|
|
};
|
|
}
|