[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
18/36: gnu: Add lmdb.
From: |
David Craven |
Subject: |
18/36: gnu: Add lmdb. |
Date: |
Thu, 18 Aug 2016 15:58:29 +0000 (UTC) |
dvc pushed a commit to branch master
in repository guix.
commit 0e1b262e054e2378833f6e1d818d8f045a140df7
Author: David Craven <address@hidden>
Date: Sun Aug 14 22:25:15 2016 +0200
gnu: Add lmdb.
* gnu/packages/databases.scm (lmdb): New variable.
---
gnu/packages/databases.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index d3a44f7..fc31653 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -10,6 +10,7 @@
;;; Copyright © 2016 Efraim Flashner <address@hidden>
;;; Copyright © 2016 ng0 <address@hidden>
;;; Copyright © 2016 Roel Janssen <address@hidden>
+;;; Copyright © 2016 David Craven <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -57,6 +58,7 @@
#:use-module ((guix licenses)
#:select (gpl2 gpl3 gpl3+ lgpl2.1+ lgpl3+ x11-style
non-copyleft
bsd-2 bsd-3 public-domain))
+ #:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix build-system gnu)
@@ -1064,3 +1066,31 @@ trees (LSM), for sustained throughput under random
insert workloads.")
(description
"The DB::File module provides Perl bindings to the Berkeley DB version
1.x.")
(license (package-license perl))))
+
+(define-public lmdb
+ (package
+ (name "lmdb")
+ (version "0.9.18")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/LMDB/lmdb/archive/"
+ "LMDB_" version ".tar.gz"))
+ (sha256
+ (base32
+ "12crvzxky8in99ibh22k4ppmkgqs28yy3v7yy944za7fsrqv8dfx"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:test-target "test"
+ #:phases
+ (modify-phases %standard-phases
+ (replace 'configure
+ (lambda* (#:key outputs #:allow-other-keys)
+ (chdir (string-append
+ (getenv "PWD") "/lmdb-LMDB_" ,version "/libraries/liblmdb"))
+ (substitute* "Makefile"
+ (("/usr/local") (assoc-ref outputs "out")))
+ #t)))))
+ (home-page "https://symas.com/products/lightning-memory-mapped-database")
+ (synopsis "Lightning memory-mapped database library")
+ (description "Lightning memory-mapped database library.")
+ (license license:openldap2.8)))
- 14/36: gnu: qtbase: Add search path specification for 'QMAKEPATH'., (continued)
- 14/36: gnu: qtbase: Add search path specification for 'QMAKEPATH'., David Craven, 2016/08/18
- 22/36: gnu: Add lndir., David Craven, 2016/08/18
- 21/36: gnu: Add snappy., David Craven, 2016/08/18
- 29/36: gnu: qsynth: Use modular qt., David Craven, 2016/08/18
- 35/36: gnu: qt: Update qt to 5.7.0., David Craven, 2016/08/18
- 33/36: gnu: poppler-qt5: Use modular qt., David Craven, 2016/08/18
- 04/36: gnu: Add kcrash., David Craven, 2016/08/18
- 16/36: gnu: Add qtquickcontrols2., David Craven, 2016/08/18
- 02/36: gnu: Add kauth., David Craven, 2016/08/18
- 11/36: gnu: Add kpty., David Craven, 2016/08/18
- 18/36: gnu: Add lmdb.,
David Craven <=
- 28/36: gnu: polkit-qt: Use modular qt., David Craven, 2016/08/18
- 34/36: gnu: qtkeychain: Use modular qt., David Craven, 2016/08/18
- 26/36: gnu: modemmanager-qt: Propagate modem-manager., David Craven, 2016/08/18
- 17/36: gnu: Add qtgraphicaleffects., David Craven, 2016/08/18
- 24/36: gnu: Add wayland-protocols., David Craven, 2016/08/18
- 30/36: gnu: fritzing: Use modular qt., David Craven, 2016/08/18
- 27/36: gnu: kwidgetsaddons: Fix test failure., David Craven, 2016/08/18