integrity-scrub: init at 0.6.5
This commit is contained in:
parent
6ca4c0b61b
commit
7265adea99
39
pkgs/by-name/in/integrity-scrub/package.nix
Normal file
39
pkgs/by-name/in/integrity-scrub/package.nix
Normal file
@ -0,0 +1,39 @@
|
||||
{
|
||||
lib,
|
||||
rustPlatform,
|
||||
fetchFromGitHub,
|
||||
versionCheckHook,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "integrity-scrub";
|
||||
version = "0.6.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "illdefined";
|
||||
repo = "integrity-scrub";
|
||||
tag = version;
|
||||
hash = "sha256-oWS6HxdZ8tGeIRGpfHHkNhNdepBjhhdgTjKmxElNPbk=";
|
||||
};
|
||||
|
||||
useFetchCargoVendor = true;
|
||||
cargoHash = "sha256-3LC3eZNmHG6OFIvQzmvs4BCSX0CVpwaYhZM2H2YoY4M=";
|
||||
|
||||
nativeInstallCheckInputs = [ versionCheckHook ];
|
||||
|
||||
doInstallCheck = true;
|
||||
|
||||
# Requires unstable features
|
||||
env.RUSTC_BOOTSTRAP = true;
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/illdefined/integrity-scrub";
|
||||
description = "Scrub dm-integrity devices";
|
||||
license = lib.licenses.cc0;
|
||||
maintainers = with lib.maintainers; [ mvs ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user