lmdb: use fetchFromGitLab

This commit is contained in:
Ivan Kozik 2021-04-30 01:07:29 +00:00
parent dbcbb7ec48
commit aabbf1fbb9

View file

@ -1,13 +1,15 @@
{ lib, stdenv, fetchgit }: { lib, stdenv, fetchFromGitLab }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "lmdb"; pname = "lmdb";
version = "0.9.29"; version = "0.9.29";
src = fetchgit { src = fetchFromGitLab {
url = "https://git.openldap.org/openldap/openldap.git"; domain = "git.openldap.org";
owner = "openldap";
repo = "openldap";
rev = "LMDB_${version}"; rev = "LMDB_${version}";
sha256 = "0airps4cd0d91nbgy7hgvifa801snxwxzwxyr6pdv61plsi7h8l3"; sha256 = "19zq5s1amrv1fhw1aszcn2w2xjrk080l6jj5hc9f46yiqf98jjg3";
}; };
postUnpack = "sourceRoot=\${sourceRoot}/libraries/liblmdb"; postUnpack = "sourceRoot=\${sourceRoot}/libraries/liblmdb";
@ -52,7 +54,7 @@ stdenv.mkDerivation rec {
offering the persistence of standard disk-based databases, and is only offering the persistence of standard disk-based databases, and is only
limited to the size of the virtual address space. limited to the size of the virtual address space.
''; '';
homepage = "http://symas.com/mdb/"; homepage = "https://symas.com/lmdb/";
maintainers = with maintainers; [ jb55 vcunat ]; maintainers = with maintainers; [ jb55 vcunat ];
license = licenses.openldap; license = licenses.openldap;
platforms = platforms.all; platforms = platforms.all;