From 64177363b24aa566f1aba5278ab07125fa9f79c9 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 19 May 2026 22:50:07 +0200 Subject: [PATCH] python3Packages.moreorless: 0.5.0 -> 0.6.0 Changelog: https://github.com/thatch/moreorless/releases/tag/v0.6.0 --- .../python-modules/moreorless/default.nix | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/pkgs/development/python-modules/moreorless/default.nix b/pkgs/development/python-modules/moreorless/default.nix index 6cd26bb28bf1..e2ac4ab31407 100644 --- a/pkgs/development/python-modules/moreorless/default.nix +++ b/pkgs/development/python-modules/moreorless/default.nix @@ -8,16 +8,16 @@ setuptools-scm, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "moreorless"; - version = "0.5.0"; + version = "0.6.0"; pyproject = true; src = fetchFromGitHub { owner = "thatch"; repo = "moreorless"; - tag = "v${version}"; - hash = "sha256-VCvvPxDWriaeKeRaj/YbPLPfNL7fipGwCydr6K0HMjc="; + tag = "v${finalAttrs.version}"; + hash = "sha256-uFcNjQLr/rO2hf2ujWWSsOVxfwgAeIxDZ0yskOfBSe4="; }; build-system = [ setuptools-scm ]; @@ -31,18 +31,11 @@ buildPythonPackage rec { pythonImportsCheck = [ "moreorless" ]; - enabledTestPaths = [ - "moreorless/tests/click.py" - "moreorless/tests/combined.py" - "moreorless/tests/general.py" - "moreorless/tests/patch.py" - ]; - meta = { - changelog = "https://github.com/thatch/moreorless/releases/tag/${src.tag}"; description = "Wrapper to make difflib.unified_diff more fun to use"; homepage = "https://github.com/thatch/moreorless/"; + changelog = "https://github.com/thatch/moreorless/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; }; -} +})