gnu: gettext: Fix non-deterministic msgunfmt behavior.
[jackhill/guix/guix.git] / gnu / packages / acl.scm
CommitLineData
233e7676
LC
1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2012 Nikita Karetnikov <nikita@karetnikov.org>
16755848 3;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
aa3d9011 4;;; Copyright © 2014 Andreas Enge <andreas@enge.fr>
6ad2697d 5;;;
233e7676 6;;; This file is part of GNU Guix.
6ad2697d 7;;;
233e7676 8;;; GNU Guix is free software; you can redistribute it and/or modify it
6ad2697d
NK
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;;;
233e7676 13;;; GNU Guix is distributed in the hope that it will be useful, but
6ad2697d
NK
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
233e7676 19;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
6ad2697d 20
1ffa7090 21(define-module (gnu packages acl)
4a44e743 22 #:use-module (guix licenses)
1ffa7090 23 #:use-module (gnu packages attr)
3f2a7727 24 #:use-module (gnu packages base)
1dba6407 25 #:use-module (gnu packages gettext)
3f2a7727 26 #:use-module (gnu packages perl)
6ad2697d
NK
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")
5c47b06b 34 (version "2.2.52")
6ad2697d
NK
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
5c47b06b 42 "08qd9s3wfhv0ajswsylnfwr5h0d7j9d4rgip855nrh400nxp940p"))))
6ad2697d
NK
43 (build-system gnu-build-system)
44 (arguments
16755848 45 `(#:tests? #f ; FIXME: Investigate test suite failures
3f2a7727 46 #:test-target "tests"
16755848 47 #:phases
3f2a7727
AE
48 (alist-cons-after
49 'build 'patch-exec-bin-sh
16755848 50 (lambda _
3f2a7727
AE
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))))
16755848 58 (inputs `(("attr" ,attr)))
2a552f11 59 (native-inputs
3f2a7727
AE
60 `(("gettext" ,gnu-gettext)
61 ("perl" ,perl)
62 ("sed" ,sed)))
2a552f11 63
6ad2697d
NK
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.")
38bbd61d 70 (license (list gpl2+ lgpl2.1+))))