File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
pkgs/development/python-modules/rustworkx Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change 44 cargo ,
55 rustPlatform ,
66 rustc ,
7+ setuptools ,
78 setuptools-rust ,
89 numpy ,
910 fixtures ,
1718buildPythonPackage rec {
1819 pname = "rustworkx" ;
1920 version = "0.15.1" ;
20- format = "setuptools" ;
21+ pyproject = true ;
2122
2223 src = fetchFromGitHub {
2324 owner = "Qiskit" ;
24- repo = pname ;
25+ repo = "rustworkx" ;
2526 rev = version ;
2627 hash = "sha256-0WYgShihTBM0e+MIhON0dnhZug6l280tZcVp3KF1Jq0=" ;
2728 } ;
@@ -32,12 +33,16 @@ buildPythonPackage rec {
3233 } ;
3334
3435 nativeBuildInputs = [
35- setuptools-rust
3636 rustPlatform . cargoSetupHook
3737 cargo
3838 rustc
3939 ] ;
4040
41+ build-system = [
42+ setuptools
43+ setuptools-rust
44+ ] ;
45+
4146 buildInputs = [ numpy ] ++ lib . optionals stdenv . hostPlatform . isDarwin [ libiconv ] ;
4247
4348 checkInputs = [
You can’t perform that action at this time.
0 commit comments