From 62795e10a95f393ab3a65d649ef3a30ccd8fece2 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Fri, 5 Jan 2018 15:58:45 +0100 Subject: [PATCH] gnu: Add dpkg. * gnu/packages/package-management.scm (dpkg): New public variable. --- gnu/packages/package-management.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm index 7eba74e96..451af238c 100644 --- a/gnu/packages/package-management.scm +++ b/gnu/packages/package-management.scm @@ -5,6 +5,7 @@ ;;; Copyright © 2017 Oleg Pykhalov ;;; Copyright © 2017 Roel Janssen ;;; Copyright © 2017 Tobias Geerinckx-Rice +;;; Copyright © 2018 Marius Bakke ;;; ;;; This file is part of GNU Guix. ;;; @@ -46,6 +47,7 @@ #:use-module (gnu packages gettext) #:use-module (gnu packages lisp) #:use-module (gnu packages texinfo) + #:use-module (gnu packages ncurses) #:use-module (gnu packages nettle) #:use-module (gnu packages perl) #:use-module (gnu packages perl-check) @@ -349,6 +351,28 @@ out) and returning a package that uses that as its 'source'." ;;; Other tools. ;;; +(define-public dpkg + (package + (name "dpkg") + (version "1.19.0.4") + (source (origin + (method url-fetch) + (uri (string-append "mirror://debian/pool/main/d/dpkg/dpkg_" + version ".tar.xz")) + (sha256 + (base32 "02lrwrkl2g1jwj71088rwswx07a1zq1jkq7193lbvy8jj2qnp9lq")))) + (build-system gnu-build-system) + (inputs + `(("ncurses" ,ncurses) + ("perl" ,perl))) + (home-page "https://wiki.debian.org/Teams/Dpkg") + (synopsis "Debian package manager") + (description + "@command{dpkg} is a low-level package management tool, primarily developed +for use in Debian. It can install, remove and show information about @file{.deb} +packages.") + (license gpl2+))) + (define-public nix (package (name "nix") -- 2.16.2