2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv
|
2020-04-24 23:36:52 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, lmdb }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "lmdbxx";
|
2021-04-25 03:57:28 +00:00
|
|
|
version = "1.0.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2021-04-25 03:57:28 +00:00
|
|
|
owner = "hoytech";
|
2020-04-24 23:36:52 +00:00
|
|
|
repo = "lmdbxx";
|
|
|
|
rev = version;
|
2021-04-25 03:57:28 +00:00
|
|
|
sha256 = "sha256-7CxQZdgHVvmof6wVR9Mzic6tg89XJT3Z1ICGRs7PZYo=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ lmdb ];
|
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://github.com/drycpp/lmdbxx#readme";
|
|
|
|
description = "C++11 wrapper for the LMDB embedded B+ tree database library";
|
2021-02-05 17:12:51 +00:00
|
|
|
license = lib.licenses.unlicense;
|
|
|
|
maintainers = with lib.maintainers; [ fgaz ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|