Commit e47e0b8a authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python313Packages.liccheck: modernize

parent 3b28da6a
Loading
Loading
Loading
Loading
+7 −4
Original line number Diff line number Diff line
@@ -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";
  };
}