2189cff663
GitOrigin-RevId: 1fe6ed37fd9beb92afe90671c0c2a662a03463dd
26 lines
583 B
Nix
26 lines
583 B
Nix
{ lib, stdenv
|
|
, fetchFromGitHub
|
|
, lmdb }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "lmdbxx";
|
|
version = "1.0.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "hoytech";
|
|
repo = "lmdbxx";
|
|
rev = version;
|
|
sha256 = "sha256-7CxQZdgHVvmof6wVR9Mzic6tg89XJT3Z1ICGRs7PZYo=";
|
|
};
|
|
|
|
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";
|
|
license = lib.licenses.unlicense;
|
|
maintainers = with lib.maintainers; [ fgaz ];
|
|
};
|
|
}
|
|
|