python3Packages.tern: modernize

This commit is contained in:
Harinn
2026-07-24 03:08:23 +07:00
parent 18a7730f6d
commit 117e971984
@@ -18,13 +18,16 @@
stevedore,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "tern";
version = "2.12.1";
pyproject = true;
__structuredAttrs = true;
src = fetchPypi {
inherit pname version;
pname = "tern";
inherit (finalAttrs) version;
hash = "sha256-yMIvFiliEHrbZMqvX3ZAROWcqii5VmB54QEYHGRJocA=";
};
@@ -61,8 +64,8 @@ buildPythonPackage rec {
description = "Software composition analysis tool and Python library that generates a Software Bill of Materials for container images and Dockerfiles";
mainProgram = "tern";
homepage = "https://github.com/tern-tools/tern";
changelog = "https://github.com/tern-tools/tern/releases/tag/v${version}";
changelog = "https://github.com/tern-tools/tern/releases/tag/v${finalAttrs.version}";
license = lib.licenses.bsd2;
maintainers = [ ];
};
}
})