lol

Merge pull request #218619 from fabaff/lexicon-fix

lexicon: 3.9.4 -> 3.11.7

authored by

Fabian Affolter and committed by
GitHub
51da7d65 bd188f17

+36 -13
+36 -13
pkgs/tools/admin/lexicon/default.nix
··· 7 7 8 8 buildPythonApplication rec { 9 9 pname = "lexicon"; 10 - version = "3.9.4"; 10 + version = "3.11.7"; 11 11 format = "pyproject"; 12 12 13 13 src = fetchFromGitHub { 14 14 owner = "AnalogJ"; 15 15 repo = pname; 16 - rev = "v${version}"; 16 + rev = "refs/tags/v${version}"; 17 17 hash = "sha256-TySgIxBEl2RolndAkEN4vCIDKaI48vrh2ocd+CTn7Ow="; 18 18 }; 19 19 ··· 23 23 24 24 propagatedBuildInputs = [ 25 25 beautifulsoup4 26 - boto3 27 26 cryptography 28 - dnspython 29 - future 30 - localzone 31 - oci 32 - pynamecheap 27 + importlib-metadata 33 28 pyyaml 34 29 requests 35 - softlayer 36 30 tldextract 37 - transip 38 - xmltodict 39 - zeep 40 31 ]; 41 32 33 + passthru.optional-dependencies = { 34 + route53 = [ 35 + boto3 36 + ]; 37 + localzone = [ 38 + localzone 39 + ]; 40 + softlayer = [ 41 + softlayer 42 + ]; 43 + gransy = [ 44 + zeep 45 + ]; 46 + ddns = [ 47 + dnspython 48 + ]; 49 + oci = [ 50 + oci 51 + ]; 52 + full = [ 53 + boto3 54 + dnspython 55 + localzone 56 + oci 57 + softlayer 58 + zeep 59 + ]; 60 + }; 61 + 42 62 nativeCheckInputs = [ 43 63 mock 44 64 pytestCheckHook 45 65 pytest-xdist 46 66 vcrpy 47 - ]; 67 + ] ++ passthru.optional-dependencies.full; 48 68 49 69 disabledTestPaths = [ 50 70 # Tests require network access 51 71 "lexicon/tests/providers/test_auto.py" 72 + # Tests require an additional setup 73 + "lexicon/tests/providers/test_localzone.py" 52 74 ]; 53 75 54 76 pythonImportsCheck = [ ··· 58 80 meta = with lib; { 59 81 description = "Manipulate DNS records of various DNS providers in a standardized way"; 60 82 homepage = "https://github.com/AnalogJ/lexicon"; 83 + changelog = "https://github.com/AnalogJ/lexicon/blob/v${version}/CHANGELOG.md"; 61 84 license = licenses.mit; 62 85 maintainers = with maintainers; [ flyfloh ]; 63 86 };