gnu: gettext: Fix non-deterministic msgunfmt behavior.
[jackhill/guix/guix.git] / gnu / packages / acl.scm
... / ...
CommitLineData
1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2012 Nikita Karetnikov <nikita@karetnikov.org>
3;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
4;;; Copyright © 2014 Andreas Enge <andreas@enge.fr>
5;;;
6;;; This file is part of GNU Guix.
7;;;
8;;; GNU Guix is free software; you can redistribute it and/or modify it
9;;; under the terms of the GNU General Public License as published by
10;;; the Free Software Foundation; either version 3 of the License, or (at
11;;; your option) any later version.
12;;;
13;;; GNU Guix is distributed in the hope that it will be useful, but
14;;; WITHOUT ANY WARRANTY; without even the implied warranty of
15;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16;;; GNU General Public License for more details.
17;;;
18;;; You should have received a copy of the GNU General Public License
19;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
20
21(define-module (gnu packages acl)
22 #:use-module (guix licenses)
23 #:use-module (gnu packages attr)
24 #:use-module (gnu packages base)
25 #:use-module (gnu packages gettext)
26 #:use-module (gnu packages perl)
27 #:use-module (guix packages)
28 #:use-module (guix download)
29 #:use-module (guix build-system gnu))
30
31(define-public acl
32 (package
33 (name "acl")
34 (version "2.2.52")
35 (source
36 (origin
37 (method url-fetch)
38 (uri (string-append "mirror://savannah/acl/acl-"
39 version ".src.tar.gz"))
40 (sha256
41 (base32
42 "08qd9s3wfhv0ajswsylnfwr5h0d7j9d4rgip855nrh400nxp940p"))))
43 (build-system gnu-build-system)
44 (arguments
45 `(#:tests? #f ; FIXME: Investigate test suite failures
46 #:test-target "tests"
47 #:phases
48 (alist-cons-after
49 'build 'patch-exec-bin-sh
50 (lambda _
51 (substitute* "test/run"
52 (("/bin/sh") (which "sh"))))
53 (alist-replace
54 'install
55 (lambda _
56 (zero? (system* "make" "install" "install-lib" "install-dev")))
57 %standard-phases))))
58 (inputs `(("attr" ,attr)))
59 (native-inputs
60 `(("gettext" ,gnu-gettext)
61 ("perl" ,perl)
62 ("sed" ,sed)))
63
64 (home-page
65 "http://savannah.nongnu.org/projects/acl")
66 (synopsis
67 "Library and tools for manipulating access control lists")
68 (description
69 "Library and tools for manipulating access control lists.")
70 (license (list gpl2+ lgpl2.1+))))