19 buildPythonPackage rec {
24 src = fetchFromGitHub {
28 hash = "sha256-0WYgShihTBM0e+MIhON0dnhZug6l280tZcVp3KF1Jq0=";
31 cargoDeps = rustPlatform.fetchCargoTarball {
33 hash = "sha256-AgHfCKLna30WERAFGEs8yRxxZHwvLzR+/S+ivwKHXXE=";
37 rustPlatform.cargoSetupHook
47 buildInputs = [ numpy ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ libiconv ];
60 pythonImportsCheck = [ "rustworkx" ];
63 description = "High performance Python graph library implemented in Rust";
64 homepage = "https://github.com/Qiskit/rustworkx";
65 license = licenses.asl20;
66 maintainers = with maintainers; [ raitobezarius ];