From c9cb316342bd27d8cbe136690374cf2cfcd1b4da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Thu, 2 Jan 2025 05:44:01 -0800 Subject: [PATCH] python312Packages.mistune: 3.0.2 -> 3.1.0 Diff: https://github.com/lepture/mistune/compare/refs/tags/v3.0.2...v3.1.0 Changelog: https://github.com/lepture/mistune/blob/v3.1.0/docs/changes.rst --- .../python-modules/mistune/default.nix | 21 +++++++++---------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/pkgs/development/python-modules/mistune/default.nix b/pkgs/development/python-modules/mistune/default.nix index a3ed1114cb13d7..129cef19d5adb3 100644 --- a/pkgs/development/python-modules/mistune/default.nix +++ b/pkgs/development/python-modules/mistune/default.nix @@ -9,30 +9,29 @@ buildPythonPackage rec { pname = "mistune"; - version = "3.0.2"; + version = "3.1.0"; + pyproject = true; - disabled = pythonOlder "3.7"; - - format = "pyproject"; + disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "lepture"; repo = "mistune"; - rev = "refs/tags/v${version}"; - hash = "sha256-OoTiqJ7hsFP1Yx+7xW3rL+Yc/O2lCMdhBBbaZucyZXM="; + tag = "v${version}"; + hash = "sha256-gXCFBe58Ij6CiwTddsI4tkPsGBR2z9D8dnxlvTXGSMw="; }; - nativeBuildInputs = [ setuptools ]; + build-system = [ setuptools ]; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "mistune" ]; - meta = with lib; { - changelog = "https://github.com/lepture/mistune/blob/${src.rev}/docs/changes.rst"; + meta = { + changelog = "https://github.com/lepture/mistune/blob/${src.tag}/docs/changes.rst"; description = "Sane Markdown parser with useful plugins and renderers"; homepage = "https://github.com/lepture/mistune"; - license = licenses.bsd3; - maintainers = with maintainers; [ dotlambda ]; + license = lib.licenses.bsd3; + maintainers = with lib.maintainers; [ dotlambda ]; }; }