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
30 lines
765 B
Nix
30 lines
765 B
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
fetchCrate,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage (finalAttrs: {
|
|
pname = "svd2rust-form";
|
|
version = "0.13.0";
|
|
|
|
src = fetchCrate {
|
|
pname = "form";
|
|
inherit (finalAttrs) version;
|
|
hash = "sha256-7+5HEyP7480UM5dydavoiclX3YTvW46V8r+Vpqt4xWk=";
|
|
};
|
|
|
|
cargoHash = "sha256-ItNBQKye1GD01KFBubMLxksv8OCWIxya/LlZ9g6Jdg8=";
|
|
|
|
meta = {
|
|
description = "Library for splitting apart a large file with multiple modules into the idiomatic rust directory structure";
|
|
mainProgram = "form";
|
|
homepage = "https://github.com/djmcgill/form";
|
|
changelog = "https://github.com/djmcgill/form/blob/main/CHANGELOG.md";
|
|
license = with lib.licenses; [
|
|
mit
|
|
];
|
|
maintainers = with lib.maintainers; [ fidgetingbits ];
|
|
};
|
|
})
|