nixpkgs/pkgs/development/libraries/lmdbxx/default.nix

27 lines
584 B
Nix
Raw Normal View History

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