diff --git a/pkgs/development/python-modules/python-olm/default.nix b/pkgs/development/python-modules/python-olm/default.nix index 1a2ed41e55d6..c97468f35778 100644 --- a/pkgs/development/python-modules/python-olm/default.nix +++ b/pkgs/development/python-modules/python-olm/default.nix @@ -2,8 +2,8 @@ buildPythonPackage, isPy3k, olm, + setuptools, cffi, - future, aspectlib, pytest-benchmark, pytestCheckHook, @@ -11,8 +11,8 @@ buildPythonPackage { pname = "python-olm"; - format = "setuptools"; inherit (olm) src version; + pyproject = true; disabled = !isPy3k; @@ -23,9 +23,12 @@ buildPythonPackage { make include/olm/olm.h ''; - propagatedBuildInputs = [ + build-system = [ + setuptools + ]; + + dependencies = [ cffi - future ]; propagatedNativeBuildInputs = [ cffi ];