mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 00:53:57 +00:00
33afbf39f6
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
65 lines
1.1 KiB
Nix
65 lines
1.1 KiB
Nix
{ lib
|
|
, python3
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
with python3.pkgs;
|
|
|
|
buildPythonApplication rec {
|
|
pname = "lexicon";
|
|
version = "3.9.4";
|
|
format = "pyproject";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "AnalogJ";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-TySgIxBEl2RolndAkEN4vCIDKaI48vrh2ocd+CTn7Ow=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
poetry-core
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
beautifulsoup4
|
|
boto3
|
|
cryptography
|
|
dnspython
|
|
future
|
|
localzone
|
|
oci
|
|
pynamecheap
|
|
pyyaml
|
|
requests
|
|
softlayer
|
|
tldextract
|
|
transip
|
|
xmltodict
|
|
zeep
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
mock
|
|
pytestCheckHook
|
|
pytest-xdist
|
|
vcrpy
|
|
];
|
|
|
|
disabledTestPaths = [
|
|
# Tests require network access
|
|
"lexicon/tests/providers/test_auto.py"
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"lexicon"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Manipulate DNS records of various DNS providers in a standardized way";
|
|
homepage = "https://github.com/AnalogJ/lexicon";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ flyfloh ];
|
|
};
|
|
}
|