Skip to content

Commit e18c970

Browse files
authored
Merge pull request #326359 from LeSuisse/avml-init-0.14.0
avml: init at 0.14.0
2 parents d218f86 + aa1fde6 commit e18c970

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)