Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
37 lines
1.1 KiB
Nix
37 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "ldproxy";
|
|
version = "0.31.4";
|
|
|
|
# The source of this tools actually comes from the set of tools located in the `esp-rs:embuild` repository
|
|
# cf: https://github.com/esp-rs/embuild
|
|
src = fetchFromGitHub {
|
|
owner = "esp-rs";
|
|
repo = "embuild";
|
|
rev = "v${version}";
|
|
hash = "sha256-YH2CPb3uBlPncd+KkP25xhCVvDB7HDxJuSqWOJ1LT3k=";
|
|
};
|
|
|
|
cargoHash = "sha256-/WBhgPyd5hR3DBYvV8pd7uZb6FeD3yiDe3wOKtyFRG8=";
|
|
|
|
# However we are only interested in building the specific crate located at `/ldproxy`
|
|
# cf: https://github.com/esp-rs/embuild/tree/v0.31.4/ldproxy
|
|
buildAndTestSubdir = "ldproxy";
|
|
|
|
meta = {
|
|
description = "Linker Proxy: a simple tool to forward linker arguments to the actual linker executable";
|
|
homepage = "https://github.com/esp-rs/embuild";
|
|
changelog = "https://github.com/esp-rs/embuild/blob/v${version}/CHANGELOG.md";
|
|
license = with lib.licenses; [
|
|
mit # or
|
|
asl20
|
|
];
|
|
maintainers = with lib.maintainers; [ vpochapuis ];
|
|
};
|
|
}
|