Unverified Commit 71f2aaec authored by dotlambda's avatar dotlambda Committed by GitHub
Browse files

pythonPackages.certbot-dns-inwx: add missing dependency;...

pythonPackages.certbot-dns-inwx: add missing dependency; pythonPackages.inwx-domrobot: init at 3.2.0 (#413707)
parents a8dbd36d 2437df37
Loading
Loading
Loading
Loading
+7 −5
Original line number Diff line number Diff line
@@ -5,6 +5,7 @@
  setuptools,
  acme,
  certbot,
  inwx-domrobot,
}:

buildPythonPackage rec {
@@ -21,23 +22,24 @@ buildPythonPackage rec {

  build-system = [ setuptools ];

  propagatedBuildInputs = [
  dependencies = [
    acme
    certbot
    inwx-domrobot
  ];

  # Doesn't have any tests
  doCheck = false;

  pytestImportsCheck = [ "certbot_dns_inwx" ];
  pythonImportsCheck = [ "certbot_dns_inwx" ];

  meta = with lib; {
  meta = {
    description = "INWX DNS Authenticator plugin for Certbot";
    homepage = "https://github.com/oGGy990/certbot-dns-inwx";
    license = with licenses; [
    license = with lib.licenses; [
      asl20
      mit
    ];
    maintainers = with maintainers; [ onny ];
    maintainers = with lib.maintainers; [ onny ];
  };
}
+37 −0
Original line number Diff line number Diff line
{
  lib,
  fetchFromGitHub,
  buildPythonPackage,
  setuptools,
  requests,
}:

buildPythonPackage rec {
  pname = "inwx-domrobot";
  version = "3.2.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "inwx";
    repo = "python-client";
    tag = "v${version}";
    hash = "sha256-Nbs3xroJD61NbpaiTdjA3VFxzXIlnqmB1d7SJDj8VN8=";
  };

  build-system = [ setuptools ];

  dependencies = [ requests ];

  # No tests
  doCheck = false;

  pythonImportsCheck = [ "INWX" ];

  meta = {
    description = "INWX Domrobot Python Client";
    homepage = "https://github.com/inwx/python-client";
    changelog = "https://github.com/inwx/python-client/releases/tag/${src.tag}";
    license = lib.licenses.mit;
    maintainers = [ lib.maintainers.amadejkastelic ];
  };
}
+1 −0
Original line number Diff line number Diff line
@@ -7902,6 +7902,7 @@ with pkgs;
    cp: with cp; [
      # FIXME unbreak certbot-dns-cloudflare
      certbot-dns-google
      certbot-dns-inwx
      certbot-dns-ovh
      certbot-dns-rfc2136
      certbot-dns-route53
+2 −0
Original line number Diff line number Diff line
@@ -6899,6 +6899,8 @@ self: super: with self; {
  invoke = callPackage ../development/python-modules/invoke { };
  inwx-domrobot = callPackage ../development/python-modules/inwx-domrobot { };
  iocapture = callPackage ../development/python-modules/iocapture { };
  iocextract = callPackage ../development/python-modules/iocextract { };