uutils-diffutils: init at 0.4.2 (#389354)
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
rustPlatform,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "uutils-diffutils";
|
||||
version = "0.4.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "uutils";
|
||||
repo = "diffutils";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-IAgrCkhUC2Tkh+OM1lorpmD0GpsHUauLgU0KcmsvKb4=";
|
||||
};
|
||||
|
||||
useFetchCargoVendor = true;
|
||||
cargoHash = "sha256-SiZIp0rJXl0ZqKaxLPtV1nypxSqKXW+NoFLxCVpW4OY=";
|
||||
|
||||
checkFlags = [
|
||||
# called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }
|
||||
"--skip=ed_diff::tests::test_permutations"
|
||||
"--skip=ed_diff::tests::test_permutations_reverse"
|
||||
"--skip=ed_diff::tests::test_permutations_empty_lines"
|
||||
];
|
||||
|
||||
passthru = {
|
||||
updateScript = nix-update-script { };
|
||||
};
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/uutils/diffutils/releases/tag/${finalAttrs.version}";
|
||||
description = "Drop-in replacement of diffutils in Rust";
|
||||
homepage = "https://github.com/uutils/diffutils";
|
||||
license = lib.licenses.mit;
|
||||
mainProgram = "diffutils";
|
||||
maintainers = with lib.maintainers; [ drupol ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
})
|
||||
Reference in New Issue
Block a user