python313Packages.liccheck: modernize

Changed files
+7 -4
pkgs
development
python-modules
liccheck
+7 -4
pkgs/development/python-modules/liccheck/default.nix
···
python3-openid,
pythonOlder,
semantic-version,
+
setuptools,
toml,
}:
buildPythonPackage rec {
pname = "liccheck";
version = "0.9.3";
-
format = "setuptools";
+
pyproject = true;
disabled = pythonOlder "3.7";
···
hash = "sha256-ohq3ZsbZcyqhwmvaVF/+mo7lNde5gjbz8pwhzHi3SPY=";
};
-
propagatedBuildInputs = [
+
build-system = [ setuptools ];
+
+
dependencies = [
configparser
semantic-version
toml
···
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";
};
}