2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv
|
2018-08-15 16:13:19 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, lmdb }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "lmdbxx";
|
2018-08-15 16:13:19 +00:00
|
|
|
version = "0.9.14.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2018-09-12 11:26:56 +00:00
|
|
|
owner = "drycpp";
|
2018-08-15 16:13:19 +00:00
|
|
|
repo = "lmdbxx";
|
2019-09-08 23:38:31 +00:00
|
|
|
rev = version;
|
2018-08-15 16:13:19 +00:00
|
|
|
sha256 = "1jmb9wg2iqag6ps3z71bh72ymbcjrb6clwlkgrqf1sy80qwvlsn6";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ lmdb ];
|
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
|
|
|
|
|
|
|
meta = {
|
2018-09-12 11:26:56 +00:00
|
|
|
homepage = "https://github.com/drycpp/lmdbxx#readme";
|
2018-08-15 16:13:19 +00:00
|
|
|
description = "C++11 wrapper for the LMDB embedded B+ tree database library";
|
2021-01-21 17:00:13 +00:00
|
|
|
license = lib.licenses.unlicense;
|
|
|
|
maintainers = with lib.maintainers; [ fgaz ];
|
2018-08-15 16:13:19 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|