diff options
author | Marius Bakke <marius@gnu.org> | 2020-06-19 02:07:00 +0200 |
---|---|---|
committer | Marius Bakke <marius@gnu.org> | 2020-07-02 23:20:50 +0200 |
commit | dd3bd0be24cb99226a5fb3422cbc3039c57e9663 (patch) | |
tree | c3abfcdc3e4254b95bb098cd53ba7ea0408ecfd0 /gnu/packages/debian.scm | |
parent | 0ceb7c191d5954658593153d03f043a7f2100cd1 (diff) | |
download | guix-dd3bd0be24cb99226a5fb3422cbc3039c57e9663.tar.gz |
gnu: Add debianutils.
* gnu/packages/debian.scm (debianutils): New public variable.
Diffstat (limited to 'gnu/packages/debian.scm')
-rw-r--r-- | gnu/packages/debian.scm | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/gnu/packages/debian.scm b/gnu/packages/debian.scm index f7bf37efff..1112a90a2e 100644 --- a/gnu/packages/debian.scm +++ b/gnu/packages/debian.scm @@ -1,6 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2018 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2018, 2020 Tobias Geerinckx-Rice <me@tobias.gr> +;;; Copyright © 2020 Marius Bakke <marius@gnu.org> ;;; ;;; This file is part of GNU Guix. ;;; @@ -24,8 +25,10 @@ #:use-module (guix packages) #:use-module (guix build-system gnu) #:use-module (guix build-system trivial) + #:use-module (gnu packages autotools) #:use-module (gnu packages base) #:use-module (gnu packages compression) + #:use-module (gnu packages gettext) #:use-module (gnu packages gnupg) #:use-module (gnu packages wget) #:use-module (gnu packages perl)) @@ -196,6 +199,46 @@ It does this by downloading .deb files from a mirror site, and carefully unpacking them into a directory which can eventually be chrooted into.") (license license:gpl2))) +(define-public debianutils + (package + (name "debianutils") + (version "4.11") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://salsa.debian.org/debian/debianutils.git") + (commit (string-append "debian/" version)))) + (file-name (git-file-name "debianutils" version)) + (sha256 + (base32 + "1fmhzvymajack7kh8g4qjbwd9mq85z6rxl1psd1sm67s5695i9rc")))) + (build-system gnu-build-system) + (arguments + '(#:phases (modify-phases %standard-phases + (add-after 'bootstrap 'create-translations + (lambda _ + (with-directory-excursion "po4a" + (invoke "po4a" "--no-backups" "po4a.conf")) + #t))))) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("gettext" ,gettext-minimal) + ("po4a" ,po4a))) + (home-page "https://packages.debian.org/unstable/debianutils") + (synopsis "Miscellaneous shell utilities") + (description + "This package provides a number of utilities which are mostly for use +in installation scripts of Debian packages. The programs included are +@command{add-shell}, @command{installkernel}, @command{ischroot}, +@command{remove-shell}, @command{run-parts}, @command{savelog}, +@command{tempfile}, and @command{which}.") + (license (list license:gpl2+ + ;; The 'savelog' program is distributed under a + ;; GPL-compatible copyleft license. + (license:fsf-free "file://debian/copyright" + "The SMAIL General Public License, see +debian/copyright for more information."))))) (define-public apt-mirror (let ((commit "e664486a5d8947c2579e16dd793d762ea3de4202") |