567e8dfd8e
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
38 lines
814 B
Nix
38 lines
814 B
Nix
{
|
|
pkgs,
|
|
lib,
|
|
fetchFromGitHub,
|
|
lmdb,
|
|
...
|
|
}:
|
|
|
|
{
|
|
pname = "gerbil-lmdb";
|
|
version = "unstable-2023-09-23";
|
|
git-version = "6d64813";
|
|
gerbil-package = "clan";
|
|
gerbilInputs = [ ];
|
|
nativeBuildInputs = [ pkgs.pkg-config ];
|
|
buildInputs = [ lmdb ];
|
|
version-path = "";
|
|
softwareName = "Gerbil-LMDB";
|
|
|
|
pre-src = {
|
|
fun = fetchFromGitHub;
|
|
owner = "mighty-gerbils";
|
|
repo = "gerbil-lmdb";
|
|
rev = "6d64813afe5766776a0d7ef45f80c784b820742c";
|
|
sha256 = "12kywxx4qjxchmhcd66700r2yfqjnh12ijgqnpqaccvigi07iq9b";
|
|
};
|
|
|
|
meta = {
|
|
description = "LMDB bindings for Gerbil";
|
|
homepage = "https://github.com/mighty-gerbils/gerbil-lmdb";
|
|
license = lib.licenses.asl20;
|
|
platforms = lib.platforms.unix;
|
|
maintainers = with lib.maintainers; [ fare ];
|
|
};
|
|
|
|
# "-L${lmdb.out}/lib"
|
|
}
|