15 rustPlatform.buildRustPackage rec {
20 inherit pname version;
21 hash = "sha256-M/ljgtTHMSc7rY/a8CpKGNuOSdVDwRt6+tzPPHdpKOw=";
24 cargoHash = "sha256-u3YqXQZCfveSBjxdWb+GC0IA9bpruAYQdxX1zanT3fw=";
33 ] ++ lib.optionals stdenv.isLinux [
42 ] ++ lib.optionals stdenv.isDarwin [
43 darwin.apple_sdk.frameworks.AppKit
46 postFixup = lib.optionalString stdenv.isLinux ''
47 patchelf $out/bin/cargo-ui \
48 --add-rpath ${lib.makeLibraryPath [ fontconfig libGL ]}
52 LIBGIT2_NO_VENDOR = 1;
56 description = "A GUI for Cargo";
57 mainProgram = "cargo-ui";
58 homepage = "https://github.com/slint-ui/cargo-ui";
59 changelog = "https://github.com/slint-ui/cargo-ui/blob/v${version}/CHANGELOG.md";
60 license = with licenses; [ mit asl20 gpl3Only ];
61 maintainers = with maintainers; [ figsoda matthiasbeyer ];