Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv 2, fetchFromGitHub 3, lmdb }: 4 5stdenv.mkDerivation rec { 6 pname = "lmdbxx"; 7 version = "1.0.0"; 8 9 src = fetchFromGitHub { 10 owner = "hoytech"; 11 repo = "lmdbxx"; 12 rev = version; 13 sha256 = "sha256-7CxQZdgHVvmof6wVR9Mzic6tg89XJT3Z1ICGRs7PZYo="; 14 }; 15 16 buildInputs = [ lmdb ]; 17 makeFlags = [ "PREFIX=$(out)" ]; 18 19 meta = { 20 homepage = "https://github.com/hoytech/lmdbxx#readme"; 21 description = "C++11 wrapper for the LMDB embedded B+ tree database library"; 22 license = lib.licenses.unlicense; 23 maintainers = with lib.maintainers; [ fgaz ]; 24 }; 25} 26