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

python312Packages.clize: refactor

parent 109351ef
Loading
Loading
Loading
Loading
+9 −8
Original line number Diff line number Diff line
@@ -6,18 +6,18 @@
  fetchPypi,
  od,
  pygments,
  pytestCheckHook,
  pythonOlder,
  python-dateutil,
  pythonOlder,
  repeated-test,
  setuptools-scm,
  sigtools,
  unittestCheckHook,
}:

buildPythonPackage rec {
  pname = "clize";
  version = "5.0.2";
  format = "pyproject";
  pyproject = true;

  disabled = pythonOlder "3.7";

@@ -26,23 +26,23 @@ buildPythonPackage rec {
    hash = "sha256-BH9aRHNgJxirG4VnKn4VMDOHF41agcJ13EKd+sHstRA=";
  };

  nativeBuildInputs = [ setuptools-scm ];
  build-system = [ setuptools-scm ];

  propagatedBuildInputs = [
  dependencies = [
    attrs
    docutils
    od
    sigtools
  ];

  passthru.optional-dependencies = {
  optional-dependencies = {
    datetime = [ python-dateutil ];
  };

  nativeCheckInputs = [
    pytestCheckHook
    python-dateutil
    pygments
    unittestCheckHook
    python-dateutil
    repeated-test
  ];

@@ -51,6 +51,7 @@ buildPythonPackage rec {
  meta = with lib; {
    description = "Command-line argument parsing for Python";
    homepage = "https://github.com/epsy/clize";
    changelog = "https://github.com/epsy/clize/releases/tag/v${version}";
    license = licenses.mit;
    maintainers = [ ];
  };