diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2022-01-10 09:28:35 +0100 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2022-01-10 10:48:36 +0100 |
commit | 7c96cb466825387c10aba3487cb82c1eb8de3ea1 (patch) | |
tree | 1352ce612331dcfaa2f0dfec1b72bbca2927fd4c | |
parent | 11d0f20e2bea8b4ee24b0fc1305259ff764a8c51 (diff) | |
download | nixpkgs-7c96cb466825387c10aba3487cb82c1eb8de3ea1.tar nixpkgs-7c96cb466825387c10aba3487cb82c1eb8de3ea1.tar.gz nixpkgs-7c96cb466825387c10aba3487cb82c1eb8de3ea1.tar.bz2 nixpkgs-7c96cb466825387c10aba3487cb82c1eb8de3ea1.tar.lz nixpkgs-7c96cb466825387c10aba3487cb82c1eb8de3ea1.tar.xz nixpkgs-7c96cb466825387c10aba3487cb82c1eb8de3ea1.tar.zst nixpkgs-7c96cb466825387c10aba3487cb82c1eb8de3ea1.zip |
lexicon: 3.5.2 -> 3.9.0
-rw-r--r-- | pkgs/tools/admin/lexicon/default.nix | 25 |
1 files changed, 15 insertions, 10 deletions
diff --git a/pkgs/tools/admin/lexicon/default.nix b/pkgs/tools/admin/lexicon/default.nix index c183e374142..4d48110e967 100644 --- a/pkgs/tools/admin/lexicon/default.nix +++ b/pkgs/tools/admin/lexicon/default.nix @@ -31,18 +31,18 @@ in buildPythonApplication rec { pname = "lexicon"; - version = "3.5.2"; + version = "3.9.0"; format = "pyproject"; src = fetchFromGitHub { owner = "AnalogJ"; repo = pname; rev = "v${version}"; - sha256 = "1jsc2ybbf3mbvgzkgliria494dpj23mgqnw2lh43cnd9rgsjvzn3"; + hash = "sha256-qJFHwFzFjZVdQv4YfrlR2cMQHsEtpQbvg/DMo6C5/z0="; }; nativeBuildInputs = [ - poetry + poetry-core ]; propagatedBuildInputs = [ @@ -52,6 +52,7 @@ buildPythonApplication rec { dnspython future localzone + oci pynamecheap pyyaml requests @@ -64,20 +65,24 @@ buildPythonApplication rec { checkInputs = [ mock - pytest - pytest-cov + pytestCheckHook pytest-xdist vcrpy ]; - checkPhase = '' - pytest --ignore=lexicon/tests/providers/test_auto.py - ''; + disabledTestPaths = [ + # Tests require network access + "lexicon/tests/providers/test_auto.py" + ]; + + pythonImportsCheck = [ + "lexicon" + ]; meta = with lib; { - description = "Manipulate DNS records on various DNS providers in a standardized way"; + description = "Manipulate DNS records of various DNS providers in a standardized way"; homepage = "https://github.com/AnalogJ/lexicon"; - maintainers = with maintainers; [ flyfloh ]; license = licenses.mit; + maintainers = with maintainers; [ flyfloh ]; }; } |