guix-commits
[Top][All Lists]
Advanced

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

29/31: gnu: Provide the full 'rollinghash' Go library.


From: guix-commits
Subject: 29/31: gnu: Provide the full 'rollinghash' Go library.
Date: Thu, 14 Mar 2019 15:34:46 -0400 (EDT)

lfam pushed a commit to branch master
in repository guix.

commit 78d1b85a54331266f1f8ff5708f99eaa3ed37462
Author: Leo Famulari <address@hidden>
Date:   Wed Mar 13 17:41:13 2019 -0400

    gnu: Provide the full 'rollinghash' Go library.
    
    * gnu/packages/syncthing.scm
    (go-github-com-chmduquesne-rollinghash-adler32): Replace with ...
    (go-github-com-chmduquesne-rollinghash): ... new variable.
---
 gnu/packages/syncthing.scm | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/syncthing.scm b/gnu/packages/syncthing.scm
index dcf8ea8..ba85b5b 100644
--- a/gnu/packages/syncthing.scm
+++ b/gnu/packages/syncthing.scm
@@ -658,11 +658,14 @@ generation.")
       (home-page "https://github.com/vitrun/qart";)
       (license bsd-3))))
 
-(define-public go-github-com-chmduquesne-rollinghash-adler32
+;; XXX Syncthing actually imports 'github.com/chmduquesne/rollinghash/adler32'.
+;; Normally we'd package this module indpendenctly but the adler32 module 
itself
+;; imports 'github.com/chmduquesne/rollinghash/', so this is the easy way out.
+(define-public go-github-com-chmduquesne-rollinghash
   (let ((commit "a60f8e7142b536ea61bb5d84014171189eeaaa81")
         (revision "0"))
     (package
-      (name "go-github-com-chmduquesne-rollinghash-adler32")
+      (name "go-github-com-chmduquesne-rollinghash")
       (version (git-version "4.0.0" revision commit))
       (source
         (origin
@@ -676,11 +679,10 @@ generation.")
             "0fpaqq4zb0wikgbhn7vwqqj1h865f5xy195vkhivsp922p7qwsjr"))))
       (build-system go-build-system)
       (arguments
-       '(#:import-path "github.com/chmduquesne/rollinghash/adler32"
-         #:unpack-path "github.com/chmduquesne/rollinghash"))
-      (synopsis "Adler-32 rolling hash in Go")
-      (description "This package provides a Go implementation of the Adler-32
-rolling hash.")
+       '(#:import-path "github.com/chmduquesne/rollinghash/"))
+      (synopsis "Rolling hashes in Go")
+      (description "This package provides a Go implementation of several 
rolling
+hashes.")
       (home-page "https://github.com/chmduquesne/rollinghash";)
       (license expat))))
 



reply via email to

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