Merge pull request #121219 from ivan/lmdb-fetchFromGitLab

lmdb: use fetchFromGitLab
This commit is contained in:
Sandro 2021-04-30 03:52:54 +02:00 committed by GitHub
commit 13fc0815e9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;