about summary refs log tree commit diff
path: root/pkgs/development/python-modules/wrapio/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/wrapio/default.nix')
-rw-r--r--pkgs/development/python-modules/wrapio/default.nix14
1 files changed, 9 insertions, 5 deletions
diff --git a/pkgs/development/python-modules/wrapio/default.nix b/pkgs/development/python-modules/wrapio/default.nix
index 9227009647d1..5eda21b85253 100644
--- a/pkgs/development/python-modules/wrapio/default.nix
+++ b/pkgs/development/python-modules/wrapio/default.nix
@@ -1,13 +1,15 @@
-{ lib
-, buildPythonPackage
-, pythonOlder
-, fetchPypi
+{
+  lib,
+  buildPythonPackage,
+  pythonOlder,
+  fetchPypi,
+  setuptools,
 }:
 
 buildPythonPackage rec {
   pname = "wrapio";
   version = "2.0.0";
-  format = "setuptools";
+  pyproject = true;
 
   disabled = pythonOlder "3.5";
 
@@ -16,6 +18,8 @@ buildPythonPackage rec {
     hash = "sha256-CUocIbdZ/tJQCxAHzhFpB267ynlXf8Mu+thcRRc0yeg=";
   };
 
+  build-system = [ setuptools ];
+
   doCheck = false;
   pythonImportsCheck = [ "wrapio" ];