diff --git a/pkgs/development/python-modules/liccheck/default.nix b/pkgs/development/python-modules/liccheck/default.nix index 0571d96588af..4be930d0dcb3 100644 --- a/pkgs/development/python-modules/liccheck/default.nix +++ b/pkgs/development/python-modules/liccheck/default.nix @@ -9,13 +9,14 @@ python3-openid, pythonOlder, semantic-version, + setuptools, toml, }: buildPythonPackage rec { pname = "liccheck"; - version = "0.9.2"; - format = "setuptools"; + version = "0.9.3"; + pyproject = true; disabled = pythonOlder "3.7"; @@ -23,10 +24,12 @@ buildPythonPackage rec { owner = "dhatim"; repo = "python-license-check"; tag = version; - hash = "sha256-2WJw5TVMjOr+GX4YV0nssOtQeYvDHBLnlWquJQWPL9I="; + 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"; }; }