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