nixpkgs/pkgs/applications/networking/cloudflare-dyndns/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

49 lines
908 B
Nix
Raw Normal View History

2024-10-24 00:46:21 +00:00
{
lib,
python3,
fetchFromGitHub,
2022-05-01 21:57:44 +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; [
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
];
nativeCheckInputs = with python3.pkgs; [
pytestCheckHook
];
2022-05-01 21:57:44 +00:00
disabledTests = [
"test_get_ipv4"
];
meta = with lib; {
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
};
}