14 buildPythonPackage rec {
19 disabled = pythonOlder "3.8";
24 hash = "sha256-3Ei0edVAdwyBH70eubortmlRhj5Ejv7C4sECYlMo6S8=";
27 cargoDeps = rustPlatform.fetchCargoTarball {
29 name = "${pname}-${version}";
30 hash = "sha256-caNEmU3K5COYa/UImE4BZYaFTc3Csi3WmnBSbFN3Yn8=";
34 rustPlatform.cargoSetupHook
35 rustPlatform.maturinBuildHook
40 buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ libiconv ];
42 nativeCheckInputs = [ pytestCheckHook ];
44 pythonImportsCheck = [ "rpds" ];
47 description = "Python bindings to Rust's persistent data structures (rpds";
48 homepage = "https://pypi.org/project/rpds-py/";
49 license = licenses.mit;
50 maintainers = with maintainers; [ fab ];