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
52 lines
1.3 KiB
Nix
52 lines
1.3 KiB
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
rustPlatform,
|
|
nix-update-script,
|
|
versionCheckHook,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage (finalAttrs: {
|
|
pname = "uutils-findutils";
|
|
version = "0.8.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "uutils";
|
|
repo = "findutils";
|
|
tag = finalAttrs.version;
|
|
hash = "sha256-i+ryTF2hlZFbyFft/769c800FkzL26E4snUsxU79sKY=";
|
|
};
|
|
|
|
cargoHash = "sha256-gtaD2jqnGhoJGw9FAJefnU9BSGIODi/RrhTeB3MC69U=";
|
|
|
|
postInstall = ''
|
|
rm $out/bin/testing-commandline
|
|
'';
|
|
|
|
checkFlags = [
|
|
# assertion failed: deps.get_output_as_string().contains("./test_data/simple/subdir")
|
|
"--skip=find::tests::test_find_newer_xy_before_changed_time"
|
|
];
|
|
|
|
nativeInstallCheckInputs = [ versionCheckHook ];
|
|
versionCheckProgram = "${placeholder "out"}/bin/find";
|
|
versionCheckProgramArg = "--version";
|
|
doInstallCheck = true;
|
|
|
|
passthru = {
|
|
updateScript = nix-update-script { };
|
|
};
|
|
|
|
meta = {
|
|
changelog = "https://github.com/uutils/findutils/releases/tag/${finalAttrs.version}";
|
|
description = "Rust implementation of findutils";
|
|
homepage = "https://github.com/uutils/findutils";
|
|
license = lib.licenses.mit;
|
|
mainProgram = "find";
|
|
maintainers = with lib.maintainers; [
|
|
defelo
|
|
];
|
|
platforms = lib.platforms.unix;
|
|
};
|
|
})
|