build: Avoid brace expansion in `nix/sync-with-upstream'.
[jackhill/guix/guix.git] / distro / packages / acl.scm
CommitLineData
6ad2697d
NK
1;;; Guix --- Nix package management from Guile. -*- coding: utf-8 -*-
2;;; Copyright (C) 2012 Nikita Karetnikov <nikita@karetnikov.org>
3;;;
4;;; This file is part of Guix.
5;;;
6;;; 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;;; 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 Guix. If not, see <http://www.gnu.org/licenses/>.
18
19(define-module (distro packages acl)
20 #:use-module (distro packages attr)
21 #:use-module (distro packages perl)
22 #:use-module ((distro packages gettext)
23 #:renamer (symbol-prefix-proc 'guix:))
24 #:use-module (guix packages)
25 #:use-module (guix download)
26 #:use-module (guix build-system gnu))
27
28(define-public acl
29 (package
30 (name "acl")
31 (version "2.2.51")
32 (source
33 (origin
34 (method url-fetch)
35 (uri (string-append "mirror://savannah/acl/acl-"
36 version ".src.tar.gz"))
37 (sha256
38 (base32
39 "09aj30m49ivycl3irram8c3givc0crivjm3ymw0nhfaxrwhlb186"))))
40 (build-system gnu-build-system)
41 (arguments
42 `(#:phases
43 (alist-replace 'check
44 (lambda _
45 (patch-shebang "test/run")
46 (system* "make" "tests" "-C" "test")
47
48 ;; XXX: Ignore the test result since this is
49 ;; dependent on the underlying file system.
50 #t)
51 %standard-phases)))
52 (inputs `(("attr" ,attr)
53 ("gettext" ,guix:gettext)
54 ("perl" ,perl)))
55 (home-page
56 "http://savannah.nongnu.org/projects/acl")
57 (synopsis
58 "Library and tools for manipulating access control lists")
59 (description
60 "Library and tools for manipulating access control lists.")
61 (license '("GPLv2+" "LGPLv2.1+"))))