python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / tools / admin / lexicon / default.nix
blobc060f600d32489b15e2bd56e3dc2687f6bda0a6d
1 { lib
2 , python3
3 , fetchFromGitHub
4 }:
6 with python3.pkgs;
8 buildPythonApplication rec {
9   pname = "lexicon";
10   version = "3.9.4";
11   format = "pyproject";
13   src = fetchFromGitHub {
14     owner = "AnalogJ";
15     repo = pname;
16     rev = "v${version}";
17     hash = "sha256-TySgIxBEl2RolndAkEN4vCIDKaI48vrh2ocd+CTn7Ow=";
18   };
20   nativeBuildInputs = [
21     poetry-core
22   ];
24   propagatedBuildInputs = [
25     beautifulsoup4
26     boto3
27     cryptography
28     dnspython
29     future
30     localzone
31     oci
32     pynamecheap
33     pyyaml
34     requests
35     softlayer
36     tldextract
37     transip
38     xmltodict
39     zeep
40   ];
42   checkInputs = [
43     mock
44     pytestCheckHook
45     pytest-xdist
46     vcrpy
47   ];
49   disabledTestPaths = [
50     # Tests require network access
51     "lexicon/tests/providers/test_auto.py"
52   ];
54   pythonImportsCheck = [
55     "lexicon"
56   ];
58   meta = with lib; {
59     description = "Manipulate DNS records of various DNS providers in a standardized way";
60     homepage = "https://github.com/AnalogJ/lexicon";
61     license = licenses.mit;
62     maintainers = with maintainers; [ flyfloh ];
63   };