summary refs log tree commit diff
path: root/pkgs/development/libraries/lmdbxx/default.nix
blob: 9b1d320678a002ac2521ba3f8b146dfaf15ff973 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ lib, 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 = lib.licenses.unlicense;
    maintainers = with lib.maintainers; [ fgaz ];
  };
}