From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: [PATCH 1/3] gnu: nss-certs: Stop inheriting from nss package. Date: Mon, 18 Jul 2016 13:59:39 +0200 Message-ID: <20160718115941.17707-2-ricardo.wurmus@mdc-berlin.de> References: <20160718115941.17707-1-ricardo.wurmus@mdc-berlin.de> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35539) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bP7ED-0000J7-BB for guix-devel@gnu.org; Mon, 18 Jul 2016 08:00:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bP7E9-0003r7-51 for guix-devel@gnu.org; Mon, 18 Jul 2016 08:00:52 -0400 Received: from sinope02.bbbm.mdc-berlin.de ([141.80.25.24]:47724) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bP7E8-0003qs-UZ for guix-devel@gnu.org; Mon, 18 Jul 2016 08:00:49 -0400 In-Reply-To: <20160718115941.17707-1-ricardo.wurmus@mdc-berlin.de> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org From: Ricardo Wurmus * gnu/packages/certs.scm (nss-certs): Stop inheriting from nss package. --- gnu/packages/certs.scm | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/gnu/packages/certs.scm b/gnu/packages/certs.scm index dd7d339..f5a4372 100644 --- a/gnu/packages/certs.scm +++ b/gnu/packages/certs.scm @@ -1,6 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright =C2=A9 2015 Andreas Enge ;;; Copyright =C2=A9 2015 Mark H Weaver +;;; Copyright =C2=A9 2016 Ludovic Court=C3=A8s ;;; ;;; This file is part of GNU Guix. ;;; @@ -24,7 +25,6 @@ #:use-module (guix build-system gnu) #:use-module (guix build-system trivial) #:use-module (gnu packages) - #:use-module (gnu packages gnuzilla) #:use-module (gnu packages python) #:use-module (gnu packages perl) #:use-module (gnu packages tls)) @@ -71,8 +71,20 @@ (home-page "http://pkgs.fedoraproject.org/cgit/ca-certificates.git/")= )) =20 (define-public nss-certs - (package (inherit nss) ; to reuse the source, version and some metadat= a + (package (name "nss-certs") + (version "3.23") + (source (origin + (method url-fetch) + (uri (let ((version-with-underscores + (string-join (string-split version #\.) "_"))) + (string-append + "https://ftp.mozilla.org/pub/mozilla.org/security/= nss/" + "releases/NSS_" version-with-underscores "_RTM/src= /" + "nss-" version ".tar.gz"))) + (sha256 + (base32 + "1kqidv91icq96m9m8zx50n7px08km2l88458rkgyjwcn3kiq7cwl"))= )) (build-system gnu-build-system) (outputs '("out")) (native-inputs @@ -123,5 +135,7 @@ '(set-paths install-locale unpack))))) (synopsis "CA certificates from Mozilla") (description - "This package provides certificates for Certification Authorities = (CA) -taken from the NSS package and thus ultimately from the Mozilla project.= "))) + "This package provides certificates for Certification Authorities (= CA) +taken from the NSS package and thus ultimately from the Mozilla project.= ") + (home-page "https://developer.mozilla.org/en-US/docs/Mozilla/Project= s/NSS") + (license license:mpl2.0))) --=20 2.9.0