Merge pull request #326359 from LeSuisse/avml-init-0.14.0

avml: init at 0.14.0
This commit is contained in:
Masum Reza 2024-08-02 15:21:16 +05:30 committed by GitHub
commit e18c970b1a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,38 @@
{
lib,
fetchFromGitHub,
rustPlatform,
perl,
testers,
avml,
nix-update-script,
}:
rustPlatform.buildRustPackage rec {
pname = "avml";
version = "0.14.0";
src = fetchFromGitHub {
owner = "microsoft";
repo = "avml";
rev = "refs/tags/v${version}";
hash = "sha256-MIqQ5NRWAfXm7AblsKCrUiaYN5IGUo2jWJMJZL+w3V4=";
};
cargoHash = "sha256-gcpjrxnQDyO92OW6LZVc4x73TmTtQoaEYhmGmqhz8ng=";
nativeBuildInputs = [ perl ];
passthru.tests.version = testers.testVersion { package = avml; };
passthru.updateScript = nix-update-script { };
meta = {
description = "A 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";
};
}