Skip to content

Commit aa1fde6

Browse files
LeSuisseJohnRTitor
authored andcommitted
avml: init at 0.14.0
https://github.com/microsoft/avml add update script Signed-off-by: John Titor <50095635+JohnRTitor@users.noreply.github.com>
1 parent b846976 commit aa1fde6

1 file changed

Lines changed: 38 additions & 0 deletions

File tree

pkgs/by-name/av/avml/package.nix

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
lib,
3+
fetchFromGitHub,
4+
rustPlatform,
5+
perl,
6+
testers,
7+
avml,
8+
nix-update-script,
9+
}:
10+
11+
rustPlatform.buildRustPackage rec {
12+
pname = "avml";
13+
version = "0.14.0";
14+
15+
src = fetchFromGitHub {
16+
owner = "microsoft";
17+
repo = "avml";
18+
rev = "refs/tags/v${version}";
19+
hash = "sha256-MIqQ5NRWAfXm7AblsKCrUiaYN5IGUo2jWJMJZL+w3V4=";
20+
};
21+
22+
cargoHash = "sha256-gcpjrxnQDyO92OW6LZVc4x73TmTtQoaEYhmGmqhz8ng=";
23+
24+
nativeBuildInputs = [ perl ];
25+
26+
passthru.tests.version = testers.testVersion { package = avml; };
27+
28+
passthru.updateScript = nix-update-script { };
29+
30+
meta = {
31+
description = "A portable volatile memory acquisition tool for Linux";
32+
homepage = "https://github.com/microsoft/avml";
33+
license = lib.licenses.mit;
34+
maintainers = [ lib.maintainers.lesuisse ];
35+
platforms = lib.platforms.linux;
36+
mainProgram = "avml";
37+
};
38+
}

0 commit comments

Comments
 (0)