python313Packages.liccheck: modernize

This commit is contained in:
Fabian Affolter
2025-08-26 23:15:42 +02:00
committed by Fabian Affolter
parent 3b28da6a0b
commit e47e0b8a14
@@ -9,13 +9,14 @@
python3-openid,
pythonOlder,
semantic-version,
setuptools,
toml,
}:
buildPythonPackage rec {
pname = "liccheck";
version = "0.9.3";
format = "setuptools";
pyproject = true;
disabled = pythonOlder "3.7";
@@ -26,7 +27,9 @@ buildPythonPackage rec {
hash = "sha256-ohq3ZsbZcyqhwmvaVF/+mo7lNde5gjbz8pwhzHi3SPY=";
};
propagatedBuildInputs = [
build-system = [ setuptools ];
dependencies = [
configparser
semantic-version
toml
@@ -43,10 +46,10 @@ buildPythonPackage rec {
meta = with lib; {
description = "Check python packages from requirement.txt and report issues";
mainProgram = "liccheck";
homepage = "https://github.com/dhatim/python-license-check";
changelog = "https://github.com/dhatim/python-license-check/releases/tag/${version}";
changelog = "https://github.com/dhatim/python-license-check/releases/tag/${src.tag}";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
mainProgram = "liccheck";
};
}