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