guix-commits
[Top][All Lists]
Advanced

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

34/35: gnu: Add go-github-com-cespare-xxhash.


From: guix-commits
Subject: 34/35: gnu: Add go-github-com-cespare-xxhash.
Date: Thu, 13 Feb 2020 19:55:40 -0500 (EST)

lfam pushed a commit to branch master
in repository guix.

commit 9c2eb9622d1ae3d684a58a7f0ecd38952b0da502
Author: Leo Famulari <address@hidden>
AuthorDate: Wed Feb 12 23:56:35 2020 -0500

    gnu: Add go-github-com-cespare-xxhash.
    
    * gnu/packages/syncthing.scm (go-github-com-cespare-xxhash): New variable.
---
 gnu/packages/syncthing.scm | 24 +++++++++++++++++++++++-
 1 file changed, 23 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/syncthing.scm b/gnu/packages/syncthing.scm
index 6e61104..10f5e59 100644
--- a/gnu/packages/syncthing.scm
+++ b/gnu/packages/syncthing.scm
@@ -1,6 +1,6 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2016 Petter <address@hidden>
-;;; Copyright © 2016, 2017, 2018, 2019 Leo Famulari <address@hidden>
+;;; Copyright © 2016, 2017, 2018, 2019, 2020 Leo Famulari <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1056,3 +1056,25 @@ virtual connections from a single physical connection.")
 and RFC 5389).")
       (home-page "https://github.com/ccding/go-stun";)
       (license asl2.0))))
+
+(define-public go-github-com-cespare-xxhash
+  (package
+    (name "go-github-com-cespare-xxhash")
+    (version "2.1.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                     (url "https://github.com/cespare/xxhash";)
+                     (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "12ad3z7ki9j07c4kx3ywkl6188i2afsjg7sl60wd21p6zkkpfjxq"))))
+    (build-system go-build-system)
+    (arguments
+     '(#:import-path "github.com/cespare/xxhash"))
+    (synopsis "Go implementation of xxHash")
+    (description "This package provides of Go implementation of the 64-bit
+xxHash algorithm (XXH64).")
+    (home-page "https://github.com/cespare/xxhash/";)
+    (license expat)))



reply via email to

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