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