Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

45 lines
946 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
fetchFromGitHub,
rustPlatform,
pkg-config,
openssl,
testers,
avml,
nix-update-script,
}:
rustPlatform.buildRustPackage rec {
pname = "avml";
version = "0.15.0";
src = fetchFromGitHub {
owner = "microsoft";
repo = "avml";
tag = "v${version}";
hash = "sha256-QN9GLrs0wjlEdkNnN7Q4Uqu1yJlxD7Dx0SnHJnfV/so=";
};
cargoHash = "sha256-u9oYchTvSvlth/Kn6SYuuP2VDVWQDNqueUsKumPooFU=";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ];
env = {
OPENSSL_NO_VENDOR = true;
};
passthru.tests.version = testers.testVersion { package = avml; };
passthru.updateScript = nix-update-script { };
meta = {
description = "Portable volatile memory acquisition tool for Linux";
homepage = "https://github.com/microsoft/avml";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.lesuisse ];
platforms = lib.platforms.linux;
mainProgram = "avml";
};
}