Files
nixpkgs/pkgs/by-name/av/avml/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

45 lines
946 B
Nix

{
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";
};
}