guix-commits
[Top][All Lists]
Advanced

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

16/18: gnu: libesmtp: Build from Git sources.


From: guix-commits
Subject: 16/18: gnu: libesmtp: Build from Git sources.
Date: Wed, 30 Jun 2021 15:36:21 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit 9636591edfbbcbce311b1d42f315acc6d0dfa56f
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Wed Jun 30 15:28:14 2021 +0200

    gnu: libesmtp: Build from Git sources.
    
    * gnu/packages/mail.scm (libesmtp)[source]: Use GIT-FETCH and
    GIT-FILE-NAME.
    [native-inputs]: Add autoconf, automake, and libtool.
---
 gnu/packages/mail.scm | 21 ++++++++++-----------
 1 file changed, 10 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index bfca298..b739439 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -2317,19 +2317,18 @@ format and headers.")
     (version "1.0.6")
     (source
      (origin
-       (method url-fetch)
-       (uri (list (string-append "https://pkgs.fedoraproject.org/repo/pkgs/";
-                                 "libesmtp/libesmtp-" version ".tar.bz2/"
-                                 "bf3915e627fd8f35524a8fdfeed979c8/libesmtp-"
-                                 version ".tar.bz2")
-                  ;; XXX This site is offline, so we fetch Fedora's cached copy
-                  ;; of the source tarball.
-                  (string-append 
"http://www.stafford.uklinux.net/libesmtp/libesmtp-";
-                                 version ".tar.bz2")))
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/libesmtp/libESMTP";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
        (sha256
-        (base32
-         "02zbniyz7qys1jmx3ghx21kxmns1wc3hmv80gp7ag7yra9f1m9nh"))))
+        (base32 "0pylvjpdf92i0j9bl43sg37k1ksbzk1k7cgdk91kkcc0krh0r09g"))))
     (build-system gnu-build-system)
+    (native-inputs
+     `(("autoconf" ,autoconf)
+       ("automake" ,automake)
+       ("libtool" ,libtool)))
     (propagated-inputs
      `(("openssl" ,openssl)))
     (home-page "http://www.stafford.uklinux.net/libesmtp/";)



reply via email to

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