Merge pull request #138722 from figsoda/cross-mainProgram
cargo-cross: set meta.mainProgram
This commit is contained in:
commit
2fc1eeb9e1
|
@ -13,7 +13,7 @@ rustPlatform.buildRustPackage rec {
|
||||||
owner = "rust-embedded";
|
owner = "rust-embedded";
|
||||||
repo = "cross";
|
repo = "cross";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256:1py5w4kf612x4qxi190ilsrx0zzwdzk9i47ppvqblska1s47qa2w";
|
sha256 = "1py5w4kf612x4qxi190ilsrx0zzwdzk9i47ppvqblska1s47qa2w";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "sha256-zk6cbN4iSHnyoeWupufVf2yQK6aq3S99uk9lqpjCw4c=";
|
cargoSha256 = "sha256-zk6cbN4iSHnyoeWupufVf2yQK6aq3S99uk9lqpjCw4c=";
|
||||||
|
@ -21,7 +21,7 @@ rustPlatform.buildRustPackage rec {
|
||||||
cargoPatches = [
|
cargoPatches = [
|
||||||
(fetchpatch {
|
(fetchpatch {
|
||||||
url = "https://github.com/rust-embedded/cross/commit/e86ad2e5a55218395df7eaaf91900e22b809083c.patch";
|
url = "https://github.com/rust-embedded/cross/commit/e86ad2e5a55218395df7eaaf91900e22b809083c.patch";
|
||||||
sha256 = "sha256:1zrcj5fm3irmlrfkgb65kp2pjkry0rg5nn9pwsk9p0i6dpapjc7k";
|
sha256 = "1zrcj5fm3irmlrfkgb65kp2pjkry0rg5nn9pwsk9p0i6dpapjc7k";
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -36,5 +36,6 @@ rustPlatform.buildRustPackage rec {
|
||||||
homepage = "https://github.com/rust-embedded/cross";
|
homepage = "https://github.com/rust-embedded/cross";
|
||||||
license = with licenses; [ asl20 /* or */ mit ];
|
license = with licenses; [ asl20 /* or */ mit ];
|
||||||
maintainers = with maintainers; [ otavio ];
|
maintainers = with maintainers; [ otavio ];
|
||||||
|
mainProgram = "cross";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue