mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-18 13:50:04 +00:00
rosa-backdoor-detector: init at 0.6.0 (#562347)
This commit is contained in:
36
pkgs/by-name/ro/rosa-backdoor-detector/package.nix
Normal file
36
pkgs/by-name/ro/rosa-backdoor-detector/package.nix
Normal file
@@ -0,0 +1,36 @@
|
||||
{
|
||||
lib,
|
||||
rustPlatform,
|
||||
fetchFromGitHub,
|
||||
nix-update-script,
|
||||
versionCheckHook,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "rosa-backdoor-detector";
|
||||
version = "0.6.0";
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "binsec";
|
||||
repo = "rosa";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-LqwtJnCfWpQ3iBOPhFIIvRKHSAXp+WcuE/ixuGUcMRE=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-IleXbym7nT/mFr+BDazyPrsc1ciizgnjuxgWLmHfClg=";
|
||||
|
||||
doInstallCheck = true;
|
||||
nativeInstallCheckInputs = [ versionCheckHook ];
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
description = "ROSA: Finding Backdoors with Fuzzing";
|
||||
homepage = "https://github.com/binsec/rosa";
|
||||
changelog = "https://github.com/binsec/rosa/blob/${finalAttrs.src.tag}/CHANGELOG.md";
|
||||
license = lib.licenses.lgpl21Only;
|
||||
maintainers = with lib.maintainers; [ drupol ];
|
||||
mainProgram = "rosa";
|
||||
};
|
||||
})
|
||||
Reference in New Issue
Block a user