about summary refs log tree commit diff
path: root/pkgs/development/python-modules/cirq-pasqal/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/cirq-pasqal/default.nix')
-rw-r--r--pkgs/development/python-modules/cirq-pasqal/default.nix9
1 files changed, 6 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/cirq-pasqal/default.nix b/pkgs/development/python-modules/cirq-pasqal/default.nix
index ea13cb2cc4da..62d946ea4617 100644
--- a/pkgs/development/python-modules/cirq-pasqal/default.nix
+++ b/pkgs/development/python-modules/cirq-pasqal/default.nix
@@ -3,21 +3,24 @@
   cirq-core,
   requests,
   pytestCheckHook,
+  setuptools,
 }:
 
 buildPythonPackage rec {
   pname = "cirq-pasqal";
-  format = "setuptools";
+  pyproject = true;
   inherit (cirq-core) version src meta;
 
   sourceRoot = "${src.name}/${pname}";
 
   postPatch = ''
     substituteInPlace requirements.txt \
-      --replace "requests~=2.18" "requests"
+      --replace-fail "requests~=2.18" "requests"
   '';
 
-  propagatedBuildInputs = [
+  build-system = [ setuptools ];
+
+  dependencies = [
     cirq-core
     requests
   ];