From 5bac1466292e0f8d845665e72834ec67eda88951 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 18 Jan 2022 16:35:37 +0200 Subject: gnu: Add go-gopkg-in-mgo-v2. * gnu/packages/databases.scm (go-gopkg-in-mgo-v2): New variable. --- gnu/packages/databases.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 2588cfa7be..aa1711c911 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -3022,6 +3022,30 @@ etc., and an SQL engine for performing simple SQL queries.") (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") -- cgit v1.2.3