Commit 65ba69b3 authored by Anthony ROUSSEL's avatar Anthony ROUSSEL Committed by Anthony Roussel
Browse files

octodns-providers.ovh: init at 1.1.0

parent fd5677f3
Loading
Loading
Loading
Loading
+47 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  octodns,
  ovh,
  pytestCheckHook,
  setuptools,
}:

buildPythonPackage rec {
  pname = "octodns-ovh";
  version = "1.1.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "octodns";
    repo = "octodns-ovh";
    tag = "v${version}";
    hash = "sha256-UbxOdpG099G9oKyweIMH5JTP0W0MpLmsOWgQYEFD8sQ=";
  };

  build-system = [
    setuptools
  ];

  dependencies = [
    octodns
    ovh
  ];

  env.OCTODNS_RELEASE = 1;

  nativeCheckInputs = [
    pytestCheckHook
  ];

  pythonImportsCheck = [ "octodns_ovh" ];

  meta = {
    description = "OVHcloud DNS v6 API provider for octoDNS";
    homepage = "https://github.com/octodns/octodns-ovh";
    changelog = "https://github.com/octodns/octodns-ovh/blob/${src.tag}/CHANGELOG.md";
    license = lib.licenses.mit;
    teams = [ lib.teams.octodns ];
  };
}