1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 03:30:45 +00:00

igvm-tooling: add passthru.update-script

Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
Paul Meyer 2024-08-29 10:46:02 +02:00
parent ff236364ef
commit c6f02dd309

View file

@ -1,9 +1,11 @@
{ lib
, python3
, fetchFromGitHub
, fetchpatch
, which
, acpica-tools
{
lib,
python3,
fetchFromGitHub,
fetchpatch,
which,
acpica-tools,
nix-update-script,
}:
python3.pkgs.buildPythonApplication rec {
@ -38,18 +40,20 @@ python3.pkgs.buildPythonApplication rec {
nativeBuildInputs = [ acpica-tools ];
propagatedBuildInputs = (with python3.pkgs; [
setuptools
ecdsa
cstruct
pyelftools
pytest
cached-property
frozendict
]) ++ [
acpica-tools
which
];
propagatedBuildInputs =
(with python3.pkgs; [
setuptools
ecdsa
cstruct
pyelftools
pytest
cached-property
frozendict
])
++ [
acpica-tools
which
];
postInstall = ''
mkdir -p $out/share/igvm-tooling/acpi/acpi-clh
@ -58,11 +62,16 @@ python3.pkgs.buildPythonApplication rec {
find $out/share/igvm-tooling/acpi -name "*.dsl" -exec iasl -f {} \;
'';
passthru.updateScript = nix-update-script { };
meta = {
description = "IGVM Image Generator";
homepage = "https://github.com/microsoft/igvm-tooling";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ malt3 katexochen ];
maintainers = with lib.maintainers; [
malt3
katexochen
];
changelog = "https://github.com/microsoft/igvm-tooling/releases/tag/igvm-${version}";
mainProgram = "igvmgen";
platforms = lib.platforms.all;