11 rustPlatform.buildRustPackage {
12 pname = "cargo-bundle";
13 # the latest stable release fails to build on darwin
14 version = "unstable-2023-08-18";
16 src = fetchFromGitHub {
18 repo = "cargo-bundle";
19 rev = "c9f7a182d233f0dc4ad84e10b1ffa0d44522ea43";
20 hash = "sha256-n+c83pmCvFdNRAlcadmcZvYj+IRqUYeE8CJVWWYbWDQ=";
23 cargoHash = "sha256-Ea658jHomktmzXtU5wmd0bRX+i5n46hCvexYxYbjjUc=";
29 buildInputs = lib.optionals stdenv.isDarwin [
30 darwin.apple_sdk.frameworks.AppKit
31 ] ++ lib.optionals stdenv.isLinux [
37 description = "Wrap rust executables in OS-specific app bundles";
38 mainProgram = "cargo-bundle";
39 homepage = "https://github.com/burtonageo/cargo-bundle";
40 license = with licenses; [ asl20 mit ];
41 maintainers = with maintainers; [ figsoda ];