nixpkgs/pkgs/development/libraries/lmdbxx/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

27 lines
600 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 ];
};
}