guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/02: gnu: gnutls: Add dependency on datefudge.


From: guix-commits
Subject: 02/02: gnu: gnutls: Add dependency on datefudge.
Date: Mon, 17 Feb 2020 17:08:11 -0500 (EST)

civodul pushed a commit to branch core-updates
in repository guix.

commit ac83dc82ea9f458a4040d4449de993d373fa0fdf
Author: Ludovic Courtès <address@hidden>
AuthorDate: Mon Feb 17 23:05:20 2020 +0100

    gnu: gnutls: Add dependency on datefudge.
    
    * gnu/packages/time.scm (datefudge)[source]: Use 'url-fetch' instead of
    'git-fetch'.
    * gnu/packages/tls.scm (gnutls)[native-inputs]: Add DATEFUDGE.
---
 gnu/packages/time.scm | 18 ++++++++++--------
 gnu/packages/tls.scm  |  5 +++--
 2 files changed, 13 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/time.scm b/gnu/packages/time.scm
index b9ce791..d4c0f7e 100644
--- a/gnu/packages/time.scm
+++ b/gnu/packages/time.scm
@@ -1,6 +1,6 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2012 Nikita Karetnikov <address@hidden>
-;;; Copyright © 2013, 2017 Ludovic Courtès <address@hidden>
+;;; Copyright © 2013, 2017, 2020 Ludovic Courtès <address@hidden>
 ;;; Copyright © 2013, 2015 Andreas Enge <address@hidden>
 ;;; Copyright © 2015, 2016, 2017, 2018, 2019 Efraim Flashner <address@hidden>
 ;;; Copyright © 2015, 2017 Leo Famulari <address@hidden>
@@ -36,7 +36,6 @@
   #:use-module (guix licenses)
   #:use-module (guix packages)
   #:use-module (guix download)
-  #:use-module (guix git-download)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system python)
   #:use-module (gnu packages)
@@ -423,14 +422,17 @@ datetime type.")
     (name "datefudge")
     (version "1.23")
     (source (origin
-              (method git-fetch)
-              (uri (git-reference
-                    (url "https://salsa.debian.org/debian/datefudge.git";)
-                    (commit (string-append "debian/" version))))
-              (file-name (git-file-name name version))
+              ;; Source code is available from
+              ;; <https://salsa.debian.org/debian/datefudge.git>.  However,
+              ;; for bootstrapping reasons, we do not rely on 'git-fetch' here
+              ;; (since Git -> GnuTLS -> datefudge).
+              (method url-fetch)
+              (uri (string-append
+                    "mirror://debian/pool/main/d/datefudge/datefudge_"
+                    version ".tar.xz"))
               (sha256
                (base32
-                "0r9g8v9xnv60hq3j20wqy34kyig3sc2pisjxl4irn7jjx85f1spv"))
+                "0ifnlb0mc8qc2kb5042pbz0ns6rwcb7201di8wyrsphl0yhnhxiv"))
               (patches (search-patches "datefudge-gettimeofday.patch"))))
     (build-system gnu-build-system)
     (arguments
diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm
index f1d3f94..d8a767f 100644
--- a/gnu/packages/tls.scm
+++ b/gnu/packages/tls.scm
@@ -1,5 +1,5 @@
 ;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2012, 2013, 2014, 2015, 2016, 2017, 2019 Ludovic Courtès 
<address@hidden>
+;;; Copyright © 2012, 2013, 2014, 2015, 2016, 2017, 2019, 2020 Ludovic Courtès 
<address@hidden>
 ;;; Copyright © 2014, 2015, 2016, 2017, 2018 Mark H Weaver <address@hidden>
 ;;; Copyright © 2014 Ian Denhardt <address@hidden>
 ;;; Copyright © 2013, 2015 Andreas Enge <address@hidden>
@@ -225,7 +225,8 @@ living in the same process.")
     (native-inputs
      `(("net-tools" ,net-tools)
        ("pkg-config" ,pkg-config)
-       ("which" ,which)))
+       ("which" ,which)
+       ("datefudge" ,datefudge)))                 ;tests rely on 'datefudge'
     (inputs
      `(("guile" ,guile-2.2)))
     (propagated-inputs



reply via email to

[Prev in Thread] Current Thread [Next in Thread]