rio: 0.0.36 -> 0.0.37
[NixPkgs.git] / pkgs / tools / networking / octodns / providers / gandi / default.nix
blob69edc77c07548979a81a12c8a17ad3a89596a531
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , octodns
5 , pytestCheckHook
6 , pythonOlder
7 , requests
8 , requests-mock
9 , setuptools
12 buildPythonPackage rec {
13   pname = "octodns-gandi";
14   version = "0.0.3";
15   pyproject = true;
17   disabled = pythonOlder "3.8";
19   src = fetchFromGitHub {
20     owner = "octodns";
21     repo = "octodns-gandi";
22     rev = "refs/tags/v${version}";
23     hash = "sha256-L7kDkqTVmU8OqjMS3GkML1xBxEuwb9iyYi/YZBB4NSU=";
24   };
26   nativeBuildInputs = [
27     setuptools
28   ];
30   propagatedBuildInputs = [
31     octodns
32     requests
33   ];
35   pythonImportsCheck = [ "octodns_gandi" ];
37   nativeCheckInputs = [
38     pytestCheckHook
39     requests-mock
40   ];
42   meta = with lib; {
43     description = "Gandi v5 API provider for octoDNS";
44     homepage = "https://github.com/octodns/octodns-gandi";
45     changelog = "https://github.com/octodns/octodns-gandi/blob/${src.rev}/CHANGELOG.md";
46     license = licenses.mit;
47     maintainers = with maintainers; [ onny ];
48   };