diff --git a/pkgs/development/python-modules/acme/default.nix b/pkgs/development/python-modules/acme/default.nix index 0b3ad8d27480..0e0a06cf031f 100644 --- a/pkgs/development/python-modules/acme/default.nix +++ b/pkgs/development/python-modules/acme/default.nix @@ -2,43 +2,38 @@ buildPythonPackage, certbot, cryptography, - pyasn1, pyopenssl, pyrfc3339, josepy, pytz, requests, - requests-toolbelt, - six, - werkzeug, - ndg-httpsclient, + setuptools, }: buildPythonPackage rec { - inherit (certbot) src version; - pname = "acme"; - format = "setuptools"; + inherit (certbot) version src; + pyproject = true; - propagatedBuildInputs = [ + sourceRoot = "${src.name}/acme"; + + build-system = [ + setuptools + ]; + + dependencies = [ cryptography - pyasn1 pyopenssl pyrfc3339 pytz requests - requests-toolbelt - six - werkzeug - ndg-httpsclient josepy ]; # does not contain any tests doCheck = false; - pythonImportsCheck = [ "acme" ]; - sourceRoot = "${src.name}/${pname}"; + pythonImportsCheck = [ "acme" ]; meta = certbot.meta // { description = "ACME protocol implementation in Python";