11 rustPlatform.buildRustPackage rec {
12 pname = "uniffi-bindgen";
16 inherit pname version;
17 sha256 = "sha256-E0OMMg9GuZCwPuJKzMpN0PNxZicGW1blD322Jl01qQE=";
20 cargoSha256 = "sha256-REY88irDm45JOBwdb79JVrIyfuOB6HcAgIzYO65O0uE=";
22 nativeBuildInputs = [ makeWrapper ];
25 # this test assumes it is run from the repository
26 "--skip=test::test_guessing_of_crate_root_directory_from_udl_file"
30 wrapProgram "$out/bin/uniffi-bindgen" \
31 --suffix PATH : ${lib.strings.makeBinPath [ ktlint yapf rubocop rustfmt ] }
35 description = "Toolkit for building cross-platform software components in Rust";
36 homepage = "https://mozilla.github.io/uniffi-rs/";
37 license = licenses.mpl20;
38 maintainers = with maintainers; [ figsoda vtuan10 ];