2024-10-24 00:46:21 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
python3,
|
|
|
|
fetchFromGitHub,
|
2022-05-01 21:57:44 +00:00
|
|
|
}:
|
|
|
|
|
2022-11-14 04:27:00 +00:00
|
|
|
python3.pkgs.buildPythonApplication rec {
|
2022-05-01 21:57:44 +00:00
|
|
|
pname = "cloudflare-dyndns";
|
2024-10-24 00:46:21 +00:00
|
|
|
version = "5.0";
|
|
|
|
pyproject = true;
|
2022-05-01 21:57:44 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "kissgyorgy";
|
2024-10-24 00:46:21 +00:00
|
|
|
repo = "cloudflare-dyndns";
|
2022-05-01 21:57:44 +00:00
|
|
|
rev = "v${version}";
|
2024-10-24 00:46:21 +00:00
|
|
|
hash = "sha256-tI6qdNxIMEuAR+BcqsRi2EBXTQnfdDLKW7Y+fbcmlao=";
|
2022-05-01 21:57:44 +00:00
|
|
|
};
|
|
|
|
|
2024-10-24 00:46:21 +00:00
|
|
|
build-system = with python3.pkgs; [
|
2022-08-20 14:30:53 +00:00
|
|
|
poetry-core
|
|
|
|
];
|
2022-05-01 21:57:44 +00:00
|
|
|
|
2024-10-24 00:46:21 +00:00
|
|
|
dependencies = with python3.pkgs; [
|
2022-05-01 21:57:44 +00:00
|
|
|
attrs
|
|
|
|
click
|
|
|
|
cloudflare
|
2024-10-24 00:46:21 +00:00
|
|
|
pydantic
|
2022-05-01 21:57:44 +00:00
|
|
|
requests
|
2024-10-24 00:46:21 +00:00
|
|
|
httpx
|
|
|
|
truststore
|
2022-05-01 21:57:44 +00:00
|
|
|
];
|
|
|
|
|
2023-01-21 12:00:00 +00:00
|
|
|
nativeCheckInputs = with python3.pkgs; [
|
2022-08-20 14:30:53 +00:00
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
2022-05-01 21:57:44 +00:00
|
|
|
disabledTests = [
|
|
|
|
"test_get_ipv4"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2022-08-20 14:38:04 +00:00
|
|
|
description = "CloudFlare Dynamic DNS client";
|
2022-05-01 21:57:44 +00:00
|
|
|
homepage = "https://github.com/kissgyorgy/cloudflare-dyndns";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ lovesegfault ];
|
2023-11-27 01:17:53 +00:00
|
|
|
mainProgram = "cloudflare-dyndns";
|
2022-05-01 21:57:44 +00:00
|
|
|
};
|
|
|
|
}
|