Browse Source

gnu: Add debianutils.

* gnu/packages/debian.scm (debianutils): New public variable.
Marius Bakke 1 year ago
No known key found for this signature in database GPG Key ID: A2A06DF2A33A54FA
1 changed files with 43 additions and 0 deletions
  1. +43

+ 43
- 0
gnu/packages/debian.scm View File

@ -1,6 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2018 Efraim Flashner <>
;;; Copyright © 2018, 2020 Tobias Geerinckx-Rice <>
;;; Copyright © 2020 Marius Bakke <>
;;; 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
(name "debianutils")
(version "4.11")
(source (origin
(method git-fetch)
(uri (git-reference
(url "")
(commit (string-append "debian/" version))))
(file-name (git-file-name "debianutils" version))
(build-system gnu-build-system)
'(#:phases (modify-phases %standard-phases
(add-after 'bootstrap 'create-translations
(lambda _
(with-directory-excursion "po4a"
(invoke "po4a" "--no-backups" "po4a.conf"))
`(("autoconf" ,autoconf)
("automake" ,automake)
("gettext" ,gettext-minimal)
("po4a" ,po4a)))
(home-page "")
(synopsis "Miscellaneous shell utilities")
"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")