all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Efraim Flashner <efraim@flashner.co.il>
To: 53346@debbugs.gnu.org
Cc: Efraim Flashner <efraim@flashner.co.il>
Subject: [bug#53346] [PATCH 5/6] gnu: Add go-gopkg-in-mgo-v2.
Date: Tue, 18 Jan 2022 16:49:20 +0200	[thread overview]
Message-ID: <bbac98385fc900a25e5c052e4aff867c300959b0.1642517035.git.efraim@flashner.co.il> (raw)
In-Reply-To: <cover.1642517035.git.efraim@flashner.co.il>

* gnu/packages/databases.scm (go-gopkg-in-mgo-v2): New variable.
---
 gnu/packages/databases.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index eceb799bc8..3f81dfa7bd 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -3006,6 +3006,30 @@ (define-public mdbtools
     (license (list license:lgpl2.0
                    license:gpl2+))))
 
+(define-public go-gopkg-in-mgo-v2
+  (package
+    (name "go-gopkg-in-mgo-v2")
+    (version "2.0.0-20190816093944-a6b53ec6cb22")
+    (source
+      (origin
+        (method git-fetch)
+        (uri (git-reference
+               (url "https://gopkg.in/mgo.v2")
+               (commit (go-version->git-ref version))))
+        (file-name (git-file-name name version))
+        (sha256
+         (base32 "1lgvwxsbmdrf4938qkxl56wbwgbphk2qqnmpf73qdmlv4qsg14na"))))
+    (build-system go-build-system)
+    (arguments
+     '(#:tests? #f      ; Tests try to use a running mongodb server.
+       #:import-path "gopkg.in/mgo.v2"))
+    (native-inputs
+     (list go-gopkg-in-check-v1))
+    (home-page "https://gopkg.in/mgo.v2")
+    (synopsis "MongoDB driver for Go")
+    (description "This package provides a MongoDB driver for Go.")
+    (license license:bsd-2)))
+
 (define-public python-lmdb
   (package
     (name "python-lmdb")
-- 
2.34.0





  parent reply	other threads:[~2022-01-18 15:12 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-18 14:45 [bug#53346] [PATCH 0/6] Some go patches Efraim Flashner
2022-01-18 14:49 ` [bug#53346] [PATCH 1/6] gnu: Add go-github-com-bradfitz-gomemcache Efraim Flashner
2022-01-18 14:49 ` [bug#53346] [PATCH 2/6] gnu: Add go-github-com-couchbase-gomemcached Efraim Flashner
2022-01-18 14:49 ` [bug#53346] [PATCH 3/6] gnu: Add go-github-com-cupcake-rdb Efraim Flashner
2022-01-18 14:49 ` [bug#53346] [PATCH 4/6] gnu: Add go-github-com-gomodule-redigo Efraim Flashner
2022-01-18 14:49 ` Efraim Flashner [this message]
2022-01-18 14:49 ` [bug#53346] [PATCH 6/6] gnu: Add go-go-etcd-io-bbolt Efraim Flashner
     [not found] ` <handler.53346.B.164251719810935.ack@debbugs.gnu.org>
2022-01-26 14:31   ` bug#53346: Acknowledgement ([PATCH 0/6] Some go patches) Efraim Flashner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bbac98385fc900a25e5c052e4aff867c300959b0.1642517035.git.efraim@flashner.co.il \
    --to=efraim@flashner.co.il \
    --cc=53346@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.