guix-commits
[Top][All Lists]
Advanced

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

18/62: gnu: Add go-github-com-oschwald-maxminddb-golang.


From: Leo Famulari
Subject: 18/62: gnu: Add go-github-com-oschwald-maxminddb-golang.
Date: Thu, 12 Oct 2017 21:43:38 -0400 (EDT)

lfam pushed a commit to branch master
in repository guix.

commit a57778f58526ce6f147b17e6c4196b7d247e1f43
Author: Leo Famulari <address@hidden>
Date:   Wed Oct 11 01:08:22 2017 -0400

    gnu: Add go-github-com-oschwald-maxminddb-golang.
    
    * gnu/packages/syncthing.scm (go-github-com-oschwald-maxminddb-golang): 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 f674152..0cc08db 100644
--- a/gnu/packages/syncthing.scm
+++ b/gnu/packages/syncthing.scm
@@ -409,6 +409,34 @@ architectures.")
       (home-page "https://github.com/minio/sha256-simd";)
       (license asl2.0))))
 
+(define-public go-github-com-oschwald-maxminddb-golang
+  (let ((commit "697da8075d2061aa8ed639346443f5d3e8c80b30")
+        (revision "0"))
+    (package
+      (name "go-github-com-oschwald-maxminddb-golang")
+      (version (git-version "0.2.0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/oschwald/maxminddb-golang";)
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "00kkxzlvra0kcbkl56wp0dp1yw3cmfjqqlwbqy7bq5r34s7iavq0"))))
+      (build-system go-build-system)
+      (propagated-inputs
+       `(("go-golang-org-x-sys-unix" ,go-golang-org-x-sys-unix)))
+      (arguments
+       `(#:import-path "github.com/oschwald/maxminddb-golang"
+         #:tests? #f)) ; Requires some unpackaged software and test data
+      (synopsis "MaxMind DB Reader for Go")
+      (description "This is a Go reader for the MaxMind DB format.  Although
+this can be used to read GeoLite2 and GeoIP2 databases, @code{geoip2} provides 
a
+higher-level API for doing so.")
+      (home-page "https://github.com/oschwald/maxminddb-golang";)
+      (license isc))))
+
 (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]