;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2019, 2020 Pierre Langlois ;;; Copyright © 2020 Tobias Geerinckx-Rice ;;; Copyright © 2021 Maxime Devos ;;; ;;; This file is part of GNU Guix. ;;; ;;; GNU Guix is free software; you can redistribute it and/or modify it ;;; under the terms of the GNU General Public License as published by ;;; the Free Software Foundation; either version 3 of the License, or (at ;;; your option) any later version. ;;; ;;; GNU Guix is distributed in the hope that it will be useful, but ;;; WITHOUT ANY WARRANTY; without even the implied warranty of ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;;; GNU General Public License for more details. ;;; ;;; You should have received a copy of the GNU General Public License ;;; along with GNU Guix. If not, see . (define-module (extra-packages) #:use-module (guix packages) #:use-module (guix git-download) #:use-module (gnu packages autotools) #:use-module (gnu packages texinfo) #:use-module (gnu packages gettext) #:use-module (gnu packages admin) #:use-module (gnu packages man)) (define-public shepherd-latest (let ((commit "4c5176f5a7a5a1e7d7f258f585e8ed127a21b99a") (revision "1")) (package (inherit shepherd) (version (git-version "0.8.1" revision commit)) (source (origin (method git-fetch) (uri (git-reference (url "https://git.savannah.gnu.org/git/shepherd.git") (commit commit))) (file-name (git-file-name "shepherd" version)) (sha256 (base32 "0x7njnvhxmay4xz4pyh9b982bhxys089nysz95paz3vhf1253fr6")))) (arguments '(#:configure-flags '("--localstatedir=/var") #:phases (modify-phases %standard-phases ;; XXX less duplication (gpodder) ;; 'msgmerge' introduces non-determinism by resetting the ;; POT-Creation-Date in .po files. (add-after 'bootstrap 'do-not-run-msgmerge (lambda _ (substitute* "Makefile.in" (("msgmerge") "true")) #t)) (add-after 'unpack 'make-po-files-writable (lambda _ (for-each (lambda (f) (chmod f #o664)) (find-files "po")) #t))))) (native-inputs `(("autoconf" ,autoconf) ("automake" ,automake) ("gettext" ,gettext-minimal) ("texinfo" ,texinfo) ("help2man" ,help2man) ,@(package-native-inputs shepherd))))))