aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/shells/rush/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/shells/rush/default.nix')
-rw-r--r--nixpkgs/pkgs/shells/rush/default.nix41
1 files changed, 41 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/shells/rush/default.nix b/nixpkgs/pkgs/shells/rush/default.nix
new file mode 100644
index 00000000000..f9e15d4a0b4
--- /dev/null
+++ b/nixpkgs/pkgs/shells/rush/default.nix
@@ -0,0 +1,41 @@
+{ fetchurl, stdenv }:
+
+stdenv.mkDerivation rec {
+ pname = "rush";
+ version = "2.1";
+
+ src = fetchurl {
+ url = "mirror://gnu/${pname}/${pname}-${version}.tar.gz";
+ sha256 = "17i4mggr3rnfz0xbhqvd86jqva40c535fhlwkb2l4hjcbpg8blcf";
+ };
+
+ 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";
+ };
+}