Skip to content

Commit

Permalink
packages.tdx-tools: noble-24.04 -> 3.1
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Meyer <[email protected]>
  • Loading branch information
katexochen committed Jan 17, 2025
1 parent 599a15b commit 8c1509d
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions packages/by-name/tdx-tools/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,21 @@
# SPDX-License-Identifier: AGPL-3.0-only

{
lib,
python3Packages,
fetchFromGitHub,
}:

python3Packages.buildPythonApplication rec {
pname = "tdx-tools";
version = "noble-24.04";
version = "3.1";
pyproject = true;

src = fetchFromGitHub {
owner = "canonical";
repo = "tdx";
rev = version;
sha256 = "sha256-4Uzsnrf/B3awMutSPSF9PeOZ68mstNzQXnaD11nHWD4=";
tag = version;
hash = "sha256-EfVZFsdVSpfi1jpmS/z31OKihhk4kVl4RxohYxBrYLA=";
};

build-system = [ python3Packages.setuptools ];
Expand All @@ -27,4 +28,12 @@ python3Packages.buildPythonApplication rec {
preBuild = ''
cd tests/lib/tdx-tools
'';

meta = {
homepage = "https://github.com/canonical/tdx";
license = with lib.licenses; [
gpl3Only
asl20
];
};
}

0 comments on commit 8c1509d

Please sign in to comment.