at master 1.1 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 devpi-server, 5 fetchFromGitHub, 6 ldap3, 7 mock, 8 pytest-cov-stub, 9 pytest-flake8, 10 pytestCheckHook, 11 pythonOlder, 12 pyyaml, 13 setuptools, 14 webtest, 15}: 16 17buildPythonPackage rec { 18 pname = "devpi-ldap"; 19 version = "2.1.1-unstable-2023-11-28"; 20 pyproject = true; 21 22 disabled = pythonOlder "3.13"; 23 24 src = fetchFromGitHub { 25 owner = "devpi"; 26 repo = "devpi-ldap"; 27 rev = "281a21d4e8d11bfec7dca2cf23fa39660a6d5796"; 28 hash = "sha256-vwX0bOb2byN3M6iBk0tZJy8H39fjwBYvA0Nxi7OTzFQ="; 29 }; 30 31 build-system = [ setuptools ]; 32 33 dependencies = [ 34 devpi-server 35 pyyaml 36 ldap3 37 ]; 38 39 nativeCheckInputs = [ 40 devpi-server 41 mock 42 pytest-cov-stub 43 pytest-flake8 44 pytestCheckHook 45 webtest 46 ]; 47 48 pythonImportsCheck = [ "devpi_ldap" ]; 49 50 meta = { 51 description = "LDAP authentication for devpi-server"; 52 homepage = "https://github.com/devpi/devpi-ldap"; 53 changelog = "https://github.com/devpi/devpi-ldap/blob/main/CHANGELOG.rst"; 54 license = lib.licenses.mit; 55 maintainers = with lib.maintainers; [ confus ]; 56 }; 57}