mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 07:34:11 +00:00
0498ccd076
HTTP -> HTTPS for : - http://gnu.org/ - http://www.gnu.org/ - http://elpa.gnu.org/ - http://lists.gnu.org/ - http://gcc.gnu.org/ - http://ftp.gnu.org/ (except in fetchurl mirrors) - http://bugs.gnu.org/
45 lines
1.2 KiB
Nix
45 lines
1.2 KiB
Nix
{ fetchurl, stdenv }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "rush-1.8";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnu/rush/${name}.tar.gz";
|
|
sha256 = "1vxdb81ify4xcyygh86250pi50krb16dkj42i5ii4ns3araiwckz";
|
|
};
|
|
|
|
patches = [ ./fix-format-security-error.patch
|
|
./intprops.patch
|
|
];
|
|
|
|
doCheck = true;
|
|
|
|
meta = {
|
|
description = "Restricted User Shell";
|
|
|
|
longDescription =
|
|
'' GNU Rush is a Restricted User Shell, designed for sites
|
|
providing limited remote access to their resources, such as
|
|
svn or git repositories, scp, or the like. Using a
|
|
sophisticated configuration file, Rush gives you complete
|
|
control over the command lines that users execute, as well as
|
|
over the usage of system resources, such as virtual memory,
|
|
CPU time, etc.
|
|
|
|
In particular, it allows remote programs to be run in a chrooted
|
|
environment, which is important with such programs as
|
|
sftp-server or scp, that lack this ability.
|
|
'';
|
|
|
|
homepage = https://www.gnu.org/software/rush/;
|
|
license = stdenv.lib.licenses.gpl3Plus;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.bjg ];
|
|
platforms = stdenv.lib.platforms.all;
|
|
};
|
|
|
|
passthru = {
|
|
shellPath = "/bin/rush";
|
|
};
|
|
}
|