guix-commits
[Top][All Lists]
Advanced

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

24/62: gnu: Add go-github-com-syndtr-goleveldb.


From: Leo Famulari
Subject: 24/62: gnu: Add go-github-com-syndtr-goleveldb.
Date: Thu, 12 Oct 2017 21:43:39 -0400 (EDT)

lfam pushed a commit to branch master
in repository guix.

commit c864a4a700e19f4c27e5b3b4af76eae928fa34b7
Author: Leo Famulari <address@hidden>
Date:   Wed Oct 11 19:57:10 2017 -0400

    gnu: Add go-github-com-syndtr-goleveldb.
    
    * gnu/packages/syncthing.scm (go-github-com-syndtr-goleveldb): New
    variable
---
 gnu/packages/syncthing.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/syncthing.scm b/gnu/packages/syncthing.scm
index d905184..c1e8151 100644
--- a/gnu/packages/syncthing.scm
+++ b/gnu/packages/syncthing.scm
@@ -541,6 +541,34 @@ run-time in Go.")
       (home-page "https://github.com/sasha-s/go-deadlock";)
       (license asl2.0))))
 
+(define-public go-github-com-syndtr-goleveldb
+  (let ((commit "3c5717caf1475fd25964109a0fc640bd150fce43")
+        (revision "0"))
+    (package
+      (name "go-github-com-syndtr-goleveldb")
+      (version (git-version "0.0.0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/syndtr/goleveldb";)
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "0wng25bw885ppiny9rz42kq0a7ddkym5zl0glb8rfk0m8dpvi1dd"))))
+      (build-system go-build-system)
+      (propagated-inputs
+       `(("go-github-com-golang-snappy" ,go-github-com-golang-snappy)))
+      (arguments
+       `(#:import-path "github.com/syndtr/goleveldb/leveldb"
+         #:unpack-path "github.com/syndtr/goleveldb"
+         #:tests? #f)) ; XXX needs 'github.com/onsi/gomega' package
+      (synopsis "LevelDB key/value database")
+      (description "This is an implementation of the LevelDB key / value
+database in Go.")
+      (home-page "https://github.com/syndtr/goleveldb";)
+      (license bsd-2))))
+
 (define-public go-golang-org-x-sys-unix
   (let ((commit "f3918c30c5c2cb527c0b071a27c35120a6c0719a")
         (revision "0"))



reply via email to

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