Subject: [PATCH] gnu: hnsd: Update to 1.0.0.
From: Z572 <[email-masked]>
To: [email-masked]
Date: Sun, 21 Mar 2021 10:41:49 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

From a0b0c296ae5309a9b948b356b82d7668ef7957f9 Mon Sep 17 00:00:00 2001
From: Zheng Junjie <[email-masked]>
Date: Sun, 21 Mar 2021 10:33:52 +0800
Subject: [PATCH] gnu: hnsd: Update to 1.0.0.

* gnu/packages/dns.scm (hnsd): Update to 1.0.0.
---
 gnu/packages/dns.scm | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/dns.scm b/gnu/packages/dns.scm
index 5d0d9f8396..b461b3c767 100644
--- a/gnu/packages/dns.scm
+++ b/gnu/packages/dns.scm
@@ -18,6 +18,7 @@
 ;;; Copyright © 2020 Leo Famulari <[email-masked]>
 ;;; Copyright © 2020 Brice Waegeneire <[email-masked]>
 ;;; Copyright © 2020 Simon South <[email-masked]>
+;;; Copyright © 2021 Zheng Junjie <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1111,20 +1112,17 @@ attempts the update when it has changed.")
     (license license:gpl2+)))
 
 (define-public hnsd
-  ;; There have been no releases yet, hence this commit.
-  (let ((revision "0")
-        (commit "895d89c25d316d18df9d374fe78aae3902bc89fb"))
    (package
      (name "hnsd")
-     (version (git-version "0.0" revision commit))
+     (version "1.0.0")
      (source (origin
                (method git-fetch)
                (uri (git-reference
                      (url "https://github.com/handshake-org/hnsd")
-                     (commit commit)))
+                     (commit (string-append "v" version))))
                (sha256
                 (base32
-                 "0704y73sddn24jga9csw4gxyfb3pnrfnk0vdcph84n1h38490l16"))
+                 "1kdgff8rf8gmvwz2p758ilbjxpvz4xm6z41pa5353asg6xb853bb"))
                (file-name (git-file-name name version))
                (modules '((guix build utils)))
                (snippet
@@ -1161,7 +1159,7 @@ attempts the update when it has changed.")
      (description
       "@command{hnsd} is a @dfn{host name resolver} for the Handshake Naming
 System (HNS) peer-to-peer network.")
-     (license license:expat))))
+     (license license:expat)))
 
 (define-public libmicrodns
   (package
-- 
2.31.0