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
36 lines
731 B
Nix
36 lines
731 B
Nix
{
|
|
fetchFromGitHub,
|
|
lib,
|
|
lz4,
|
|
lzop,
|
|
nix-update-script,
|
|
rustPlatform,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "3cpio";
|
|
version = "0.11.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "bdrung";
|
|
repo = "3cpio";
|
|
tag = version;
|
|
hash = "sha256-TZw9IixZxQ00uFZw6RtAY4zWV22zuuaP6dAB4vkXwaM=";
|
|
};
|
|
|
|
cargoHash = "sha256-2IT5zdgUvzeYt81iwYssR/xEp03Qz6+Ll5u02y+R3qo=";
|
|
|
|
# Tests attempt to access arbitrary filepaths
|
|
doCheck = false;
|
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
meta = {
|
|
description = "Manage initrd cpio archives";
|
|
homepage = "https://github.com/bdrung/3cpio";
|
|
license = lib.licenses.isc;
|
|
maintainers = [ lib.maintainers.jmbaur ];
|
|
mainProgram = "3cpio";
|
|
};
|
|
}
|