From b941cbeb2ba4afbb5a491d266cac4135762f0c76 Mon Sep 17 00:00:00 2001 From: Hythera <87016780+Hythera@users.noreply.github.com> Date: Fri, 22 May 2026 21:32:11 +0200 Subject: [PATCH] python3Packages.crossandra: 2.2.1 -> 2.3.0 changelog: https://github.com/trag1c/crossandra/blob/2.3.0/CHANGELOG.md diff: https://github.com/trag1c/crossandra/compare/2.2.1...2.3.0 --- .../python-modules/crossandra/default.nix | 21 +++++++++---------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/pkgs/development/python-modules/crossandra/default.nix b/pkgs/development/python-modules/crossandra/default.nix index 6c32ad924276..22f6c60a4126 100644 --- a/pkgs/development/python-modules/crossandra/default.nix +++ b/pkgs/development/python-modules/crossandra/default.nix @@ -2,35 +2,34 @@ lib, buildPythonPackage, fetchFromGitHub, - setuptools, + hatchling, + hatch-mypyc, + pytestCheckHook, result, - mypy, }: buildPythonPackage (finalAttrs: { pname = "crossandra"; - version = "2.2.1"; + version = "2.3.0"; pyproject = true; src = fetchFromGitHub { owner = "trag1c"; repo = "crossandra"; tag = finalAttrs.version; - hash = "sha256-/JhrjXRH7Rs2bUil9HRneBC9wlVYEyfwivjzb+eyRv8="; + hash = "sha256-xKMySbt+Bf+6BGyIKsmYHTZTl25HxlG8hY/HuUtDjSM="; }; build-system = [ - setuptools - mypy + hatchling + hatch-mypyc ]; + dependencies = [ result ]; + nativeCheckInputs = [ pytestCheckHook ]; + pythonImportsCheck = [ "crossandra" ]; - prePatch = '' - # pythonRelaxDepsHook did not work - substituteInPlace pyproject.toml \ - --replace-fail "result ~= 0.9.0" "result >= 0.9.0" - ''; meta = { changelog = "https://github.com/trag1c/crossandra/blob/${finalAttrs.src.tag}/CHANGELOG.md";