sharlatan pushed a commit to branch go-team
in repository guix.

commit cf16f5a7fd3222cc7955d180243f7dfaa4d09aaf
Author: Sharlatan Hellseher <sharlata...@gmail.com>
AuthorDate: Wed Feb 12 16:27:48 2025 +0000

    gnu: go-github-com-gxed-hashland-murmur3: Build from source.
    
    This package provides a dedicated go.mod file and distributed separately
    from go-github-com-gxed-hashland.
    
    * gnu/packages/golang-crypto.scm (go-github-com-gxed-hashland-murmur3):
    Do not inherit from go-github-com-gxed-hashland.
    [source]: Provide it.
    [home-page]: Likewise.
    [license]: Likewise.
    
    Change-Id: Id7b9d62a99badb2950f5cecc9171037a82219ce3
---
 gnu/packages/golang-crypto.scm | 17 +++++++++++++++--
 1 file changed, 15 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/golang-crypto.scm b/gnu/packages/golang-crypto.scm
index 17567219e4..4ff9978032 100644
--- a/gnu/packages/golang-crypto.scm
+++ b/gnu/packages/golang-crypto.scm
@@ -1212,17 +1212,30 @@ hash algorithm.  See http://keccak.noekeon.org.";)
 
 (define-public go-github-com-gxed-hashland-murmur3
   (package
-    (inherit go-github-com-gxed-hashland)
     (name "go-github-com-gxed-hashland-murmur3")
+    (version "0.0.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/gxed/hashland";)
+             (commit (go-version->git-ref version
+                                          #:subdir "murmur3"))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1b921dh9i6zw7y8jfzwvrmdbhnwid12a5z1zjawslfq2vvsajwmm"))))
+    (build-system go-build-system)
     (arguments
      (list
       #:import-path "github.com/gxed/hashland/murmur3"
       #:unpack-path "github.com/gxed/hashland"))
+    (home-page "https://github.com/gxed/hashland";)
     (synopsis "Golang implementation of MurmurHash3 algorithm")
     (description
      "This package provides a native Go implementation of
 @url{https://en.wikipedia.org/wiki/MurmurHash, Austin Appleby's third
-MurmurHash} revision (aka MurmurHash3).")))
+MurmurHash} revision (aka MurmurHash3).")
+    (license license:bsd-3)))
 
 (define-public go-github-com-jcmturner-aescts-v2
   (package

Reply via email to