Merge pull request #212327 from aanderse/luaPackages.lualdap

luaPackages.lualdap: init at 1.3.0-1

authored by

Weijia Wang and committed by
GitHub
3cfdad84 1763bd95

+42
+1
maintainers/scripts/luarocks-packages.csv
··· 65 65 luaexpat,,,,1.4.1-1,,arobyn flosse 66 66 luaffi,,,http://luarocks.org/dev,,, 67 67 luafilesystem,,,,1.8.0-1,,flosse 68 + lualdap,,,,,,aanderse 68 69 lualogging,,,,,, 69 70 luaossl,,,,,5.1, 70 71 luaposix,,,,34.1.1-1,,vyp lblasc
+34
pkgs/development/lua-modules/generated-packages.nix
··· 2019 2019 }; 2020 2020 }) {}; 2021 2021 2022 + lualdap = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 2023 + , fetchgit, lua 2024 + }: 2025 + buildLuarocksPackage { 2026 + pname = "lualdap"; 2027 + version = "1.3.0-1"; 2028 + knownRockspec = (fetchurl { 2029 + url = "mirror://luarocks/lualdap-1.3.0-1.rockspec"; 2030 + sha256 = "0b51sm0fz4kiim20w538v31k9g20wq3msxdkh17drkr60ab25sc8"; 2031 + }).outPath; 2032 + src = fetchgit ( removeAttrs (builtins.fromJSON ''{ 2033 + "url": "https://github.com/lualdap/lualdap", 2034 + "rev": "be380f5d98f779c813a4fb4ae1400262366fc8d4", 2035 + "date": "2021-06-05T15:49:42+02:00", 2036 + "path": "/nix/store/99sy73yz6sidqhkl0kwdsd7r853aw38n-lualdap", 2037 + "sha256": "133d8br5f24z03ni38m0czrqfz0mr0ksdrc1g73rawpmiqarpps8", 2038 + "fetchLFS": false, 2039 + "fetchSubmodules": true, 2040 + "deepClone": false, 2041 + "leaveDotGit": false 2042 + } 2043 + '') ["date" "path"]) ; 2044 + 2045 + disabled = with lua; (luaOlder "5.1"); 2046 + propagatedBuildInputs = [ lua ]; 2047 + 2048 + meta = { 2049 + homepage = "https://lualdap.github.io/lualdap/"; 2050 + description = "A Lua interface to the OpenLDAP library"; 2051 + maintainers = with lib.maintainers; [ aanderse ]; 2052 + license.fullName = "MIT"; 2053 + }; 2054 + }) {}; 2055 + 2022 2056 lualogging = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast 2023 2057 , fetchgit, luasocket 2024 2058 }:
+7
pkgs/development/lua-modules/overrides.nix
··· 27 27 , mariadb 28 28 , mpfr 29 29 , neovim-unwrapped 30 + , openldap 30 31 , openssl 31 32 , pcre 32 33 , pkg-config ··· 327 328 }; 328 329 knownRockspec = with prev.luaffi; "${pname}-${version}.rockspec"; 329 330 disabled = luaOlder "5.1" || luaAtLeast "5.4" || isLuaJIT; 331 + }); 332 + 333 + lualdap = prev.luaLib.overrideLuarocks prev.lualdap (drv: { 334 + externalDeps = [ 335 + { name = "LDAP"; dep = openldap; } 336 + ]; 330 337 }); 331 338 332 339 luaossl = prev.luaLib.overrideLuarocks prev.luaossl (drv: {