push sheeet
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

This commit is contained in:
Dark Steveneq
2025-10-09 14:15:47 +02:00
commit 646b892680
49168 changed files with 5897842 additions and 0 deletions

View File

@@ -0,0 +1,42 @@
{
lib,
stdenv,
rustPlatform,
fetchFromGitHub,
gitMinimal,
}:
let
target = stdenv.hostPlatform.rust.cargoShortTarget;
in
rustPlatform.buildRustPackage (finalAttrs: {
pname = "bender";
version = "0.28.2";
src = fetchFromGitHub {
owner = "pulp-platform";
repo = "bender";
tag = "v${finalAttrs.version}";
hash = "sha256-OJWYhs5QmfUC1I5OkEJAeLTpklEQyQ6024wmhv1sSnA=";
};
cargoHash = "sha256-nZ2gchifWSmDlVJIsPcvrnUxzhyXYoA1kE9f2pZDJzs=";
nativeCheckInputs = [ gitMinimal ];
postCheck = ''
patchShebangs --build tests
BENDER="target/${target}/$cargoBuildType/bender" tests/run_all.sh
'';
meta = {
description = "Dependency management tool for hardware projects";
homepage = "https://github.com/pulp-platform/bender";
changelog = "https://github.com/pulp-platform/bender/releases/tag/${finalAttrs.src.rev}";
license = with lib.licenses; [
asl20
mit
];
maintainers = with lib.maintainers; [ Liamolucko ];
mainProgram = "bender";
platforms = lib.platforms.all;
};
})