2010-04-26 08:59:25 +00:00
|
|
|
{ fetchurl, stdenv }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2010-08-19 16:55:51 +00:00
|
|
|
name = "rush-1.7";
|
2010-04-26 08:59:25 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnu/rush/${name}.tar.gz";
|
2010-08-19 16:55:51 +00:00
|
|
|
sha256 = "0fh0gbbp0iiq3wbkf503xb40r8ljk42vyj9bnlflbz82d6ipy1rm";
|
2010-04-26 08:59:25 +00:00
|
|
|
};
|
|
|
|
|
2014-08-08 15:12:38 +00:00
|
|
|
patches = [ ./gets.patch ];
|
|
|
|
|
2010-04-26 08:59:25 +00:00
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = {
|
2014-08-24 14:21:08 +00:00
|
|
|
description = "Restricted User Shell";
|
2010-04-26 08:59:25 +00: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.
|
|
|
|
'';
|
|
|
|
|
|
|
|
homepage = http://www.gnu.org/software/rush/;
|
2014-06-19 04:19:00 +00:00
|
|
|
license = stdenv.lib.licenses.gpl3Plus;
|
2010-04-26 08:59:25 +00:00
|
|
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.bjg ];
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
};
|
2016-05-14 13:03:13 +00:00
|
|
|
|
|
|
|
passthru = {
|
|
|
|
shellPath = "/bin/rush";
|
|
|
|
};
|
2010-04-26 08:59:25 +00:00
|
|
|
}
|