depot/third_party/nixpkgs/pkgs/development/libraries/lmdbxx/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

26 lines
595 B
Nix

{ stdenv
, fetchFromGitHub
, lmdb }:
stdenv.mkDerivation rec {
pname = "lmdbxx";
version = "0.9.14.0";
src = fetchFromGitHub {
owner = "drycpp";
repo = "lmdbxx";
rev = version;
sha256 = "1jmb9wg2iqag6ps3z71bh72ymbcjrb6clwlkgrqf1sy80qwvlsn6";
};
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 = stdenv.lib.licenses.unlicense;
maintainers = with stdenv.lib.maintainers; [ fgaz ];
};
}