slackdump: 3.0.0 -> 3.0.2 (#372629)
[NixPkgs.git] / pkgs / tools / networking / octodns / providers / gandi / default.nix
blob1c5fb133443dee221b6f9d8761a0718c2c860f4b
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   octodns,
6   pytestCheckHook,
7   pythonOlder,
8   requests,
9   requests-mock,
10   setuptools,
13 buildPythonPackage rec {
14   pname = "octodns-gandi";
15   version = "0.0.3";
16   pyproject = true;
18   disabled = pythonOlder "3.8";
20   src = fetchFromGitHub {
21     owner = "octodns";
22     repo = "octodns-gandi";
23     tag = "v${version}";
24     hash = "sha256-L7kDkqTVmU8OqjMS3GkML1xBxEuwb9iyYi/YZBB4NSU=";
25   };
27   nativeBuildInputs = [
28     setuptools
29   ];
31   propagatedBuildInputs = [
32     octodns
33     requests
34   ];
36   pythonImportsCheck = [ "octodns_gandi" ];
38   nativeCheckInputs = [
39     pytestCheckHook
40     requests-mock
41   ];
43   meta = with lib; {
44     description = "Gandi v5 API provider for octoDNS";
45     homepage = "https://github.com/octodns/octodns-gandi";
46     changelog = "https://github.com/octodns/octodns-gandi/blob/${src.rev}/CHANGELOG.md";
47     license = licenses.mit;
48     maintainers = with maintainers; [ onny ];
49   };