2024-10-11 14:11:52 +02:00
|
|
|
{
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
octodns,
|
|
|
|
pytestCheckHook,
|
|
|
|
pythonOlder,
|
|
|
|
dnspython,
|
|
|
|
setuptools,
|
|
|
|
requests,
|
|
|
|
requests-mock,
|
2024-07-08 03:06:27 +02:00
|
|
|
}:
|
|
|
|
|
2024-10-11 14:11:52 +02:00
|
|
|
buildPythonPackage {
|
2024-07-08 03:06:27 +02:00
|
|
|
pname = "octodns-cloudflare";
|
2024-10-11 14:11:52 +02:00
|
|
|
version = "unstable-2024-10-08";
|
2024-07-08 03:06:27 +02:00
|
|
|
pyproject = true;
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "octodns";
|
|
|
|
repo = "octodns-cloudflare";
|
2024-10-11 14:11:52 +02:00
|
|
|
rev = "61a4b404b15c0c14cb18d36b48b834490e743319";
|
|
|
|
sha256 = "0kcih4dxgl9ihh22j6d7dbd0d1ylrjp6f60w1p5gzyini1c0a0x1";
|
2024-07-08 03:06:27 +02:00
|
|
|
};
|
|
|
|
|
2024-10-11 14:11:52 +02:00
|
|
|
nativeBuildInputs = [ setuptools ];
|
2024-07-08 03:06:27 +02:00
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
octodns
|
|
|
|
dnspython
|
|
|
|
requests
|
|
|
|
];
|
|
|
|
|
|
|
|
env.OCTODNS_RELEASE = 1;
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "octodns_cloudflare" ];
|
|
|
|
|
|
|
|
nativeCheckInputs = [
|
|
|
|
pytestCheckHook
|
|
|
|
requests-mock
|
|
|
|
];
|
|
|
|
}
|