luaPackages.lualdap: init at 1.3.0-1

This commit is contained in:
Aaron Andersen 2023-01-23 18:04:15 -05:00
parent caeac91e0f
commit 99341e0676
3 changed files with 42 additions and 0 deletions

View file

@ -65,6 +65,7 @@ luaevent,,,,,,
luaexpat,,,,1.4.1-1,,arobyn flosse luaexpat,,,,1.4.1-1,,arobyn flosse
luaffi,,,http://luarocks.org/dev,,, luaffi,,,http://luarocks.org/dev,,,
luafilesystem,,,,1.8.0-1,,flosse luafilesystem,,,,1.8.0-1,,flosse
lualdap,,,,,,aanderse
lualogging,,,,,, lualogging,,,,,,
luaossl,,,,,5.1, luaossl,,,,,5.1,
luaposix,,,,34.1.1-1,,vyp lblasc luaposix,,,,34.1.1-1,,vyp lblasc

1 name src ref server version luaversion maintainers
65 luaexpat 1.4.1-1 arobyn flosse
66 luaffi http://luarocks.org/dev
67 luafilesystem 1.8.0-1 flosse
68 lualdap aanderse
69 lualogging
70 luaossl 5.1
71 luaposix 34.1.1-1 vyp lblasc

View file

@ -2019,6 +2019,40 @@ buildLuarocksPackage {
}; };
}) {}; }) {};
lualdap = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast
, fetchgit, lua
}:
buildLuarocksPackage {
pname = "lualdap";
version = "1.3.0-1";
knownRockspec = (fetchurl {
url = "mirror://luarocks/lualdap-1.3.0-1.rockspec";
sha256 = "0b51sm0fz4kiim20w538v31k9g20wq3msxdkh17drkr60ab25sc8";
}).outPath;
src = fetchgit ( removeAttrs (builtins.fromJSON ''{
"url": "https://github.com/lualdap/lualdap",
"rev": "be380f5d98f779c813a4fb4ae1400262366fc8d4",
"date": "2021-06-05T15:49:42+02:00",
"path": "/nix/store/99sy73yz6sidqhkl0kwdsd7r853aw38n-lualdap",
"sha256": "133d8br5f24z03ni38m0czrqfz0mr0ksdrc1g73rawpmiqarpps8",
"fetchLFS": false,
"fetchSubmodules": true,
"deepClone": false,
"leaveDotGit": false
}
'') ["date" "path"]) ;
disabled = with lua; (luaOlder "5.1");
propagatedBuildInputs = [ lua ];
meta = {
homepage = "https://lualdap.github.io/lualdap/";
description = "A Lua interface to the OpenLDAP library";
maintainers = with lib.maintainers; [ aanderse ];
license.fullName = "MIT";
};
}) {};
lualogging = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast lualogging = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast
, fetchgit, luasocket , fetchgit, luasocket
}: }:

View file

@ -27,6 +27,7 @@
, mariadb , mariadb
, mpfr , mpfr
, neovim-unwrapped , neovim-unwrapped
, openldap
, openssl , openssl
, pcre , pcre
, pkg-config , pkg-config
@ -329,6 +330,12 @@ with prev;
disabled = luaOlder "5.1" || luaAtLeast "5.4" || isLuaJIT; disabled = luaOlder "5.1" || luaAtLeast "5.4" || isLuaJIT;
}); });
lualdap = prev.luaLib.overrideLuarocks prev.lualdap (drv: {
externalDeps = [
{ name = "LDAP"; dep = openldap; }
];
});
luaossl = prev.luaLib.overrideLuarocks prev.luaossl (drv: { luaossl = prev.luaLib.overrideLuarocks prev.luaossl (drv: {
externalDeps = [ externalDeps = [
{ name = "CRYPTO"; dep = openssl; } { name = "CRYPTO"; dep = openssl; }