2020-01-25 12:45:27 +00:00
|
|
|
{ lib
|
|
|
|
, python3Packages
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
|
|
pname = "lexicon";
|
2020-06-14 19:42:50 +00:00
|
|
|
version = "3.3.26";
|
2020-01-25 12:45:27 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = with python3Packages; [ requests tldextract future cryptography pyyaml boto3 zeep xmltodict beautifulsoup4 dnspython pynamecheap softlayer transip localzone ];
|
|
|
|
|
|
|
|
checkInputs = with python3Packages; [ pytest pytestcov pytest_xdist vcrpy mock ];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
pytest --ignore=lexicon/tests/providers/test_auto.py
|
|
|
|
'';
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "AnalogJ";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2020-06-14 19:42:50 +00:00
|
|
|
sha256 = "0k41l5n80hsfr0dkijf4hhkhz6iiwja4aj9q2jdiqsg9fjrmhfrv";
|
2020-01-25 12:45:27 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Manipulate DNS records on various DNS providers in a standardized way.";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/AnalogJ/lexicon";
|
2020-01-25 12:45:27 +00:00
|
|
|
maintainers = with maintainers; [ flyfloh ];
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|