2010-04-26 12:59:25 +04:00
|
|
|
{ fetchurl, stdenv }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-04-24 16:36:59 +03:00
|
|
|
pname = "rush";
|
2019-07-16 23:58:03 +03:00
|
|
|
version = "2.1";
|
2010-04-26 12:59:25 +04:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-04-24 16:36:59 +03:00
|
|
|
url = "mirror://gnu/${pname}/${pname}-${version}.tar.gz";
|
2019-07-16 23:58:03 +03:00
|
|
|
sha256 = "17i4mggr3rnfz0xbhqvd86jqva40c535fhlwkb2l4hjcbpg8blcf";
|
2010-04-26 12:59:25 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = {
|
2014-08-24 18:21:08 +04:00
|
|
|
description = "Restricted User Shell";
|
2010-04-26 12:59:25 +04:00
|
|
|
|
|
|
|
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.
|
|
|
|
'';
|
|
|
|
|
2020-04-01 04:11:51 +03:00
|
|
|
homepage = "https://www.gnu.org/software/rush/";
|
2014-06-19 08:19:00 +04:00
|
|
|
license = stdenv.lib.licenses.gpl3Plus;
|
2010-04-26 12:59:25 +04:00
|
|
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.bjg ];
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
};
|
2016-05-14 16:03:13 +03:00
|
|
|
|
|
|
|
passthru = {
|
|
|
|
shellPath = "/bin/rush";
|
|
|
|
};
|
2010-04-26 12:59:25 +04:00
|
|
|
}
|