gnu: packages: Use 'search-patches' everywhere.
[jackhill/guix/guix.git] / gnu / packages / rush.scm
CommitLineData
d3066a0d
LC
1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2013 Ludovic Courtès <ludo@gnu.org>
3;;;
4;;; This file is part of GNU Guix.
5;;;
6;;; GNU Guix is free software; you can redistribute it and/or modify it
7;;; under the terms of the GNU General Public License as published by
8;;; the Free Software Foundation; either version 3 of the License, or (at
9;;; your option) any later version.
10;;;
11;;; GNU Guix is distributed in the hope that it will be useful, but
12;;; WITHOUT ANY WARRANTY; without even the implied warranty of
13;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14;;; GNU General Public License for more details.
15;;;
16;;; You should have received a copy of the GNU General Public License
17;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
18
19(define-module (gnu packages rush)
20 #:use-module (guix packages)
21 #:use-module (guix download)
22 #:use-module (guix build-system gnu)
23 #:use-module (guix licenses)
24 #:use-module (gnu packages))
25
26(define-public rush
27 (package
28 (name "rush")
29 (version "1.7")
30 (source (origin
31 (method url-fetch)
32 (uri (string-append
33 "mirror://gnu/rush/rush-"
34 version
35 ".tar.gz"))
36 (sha256
37 (base32
01eafd38 38 "0fh0gbbp0iiq3wbkf503xb40r8ljk42vyj9bnlflbz82d6ipy1rm"))
fc1adab1 39 (patches (search-patches "cpio-gets-undeclared.patch"))))
d3066a0d 40 (build-system gnu-build-system)
d3066a0d
LC
41 (home-page "http://www.gnu.org/software/rush/")
42 (synopsis "Restricted user (login) shell")
43 (description
79c311b8 44 "GNU Rush is a restricted user shell, for systems on which users are to
c5779c93 45be provided with only limited functionality or resources. Administrators set
a22dc0c4
LC
46user rights via a configuration file which can be used to limit, for example,
47the commands that can be executed, CPU time, or virtual memory usage.")
d3066a0d 48 (license gpl3+)))