From 7ca9381dec3e5d8223baee3982cba2bfd09ac317 Mon Sep 17 00:00:00 2001 From: SystematicError Date: Mon, 20 Apr 2026 10:49:27 +0530 Subject: [PATCH 1/2] python3Packages.pyschemes: unstable-2017-11-08 -> 0-unstable-2022-09-12 --- .../python-modules/pyschemes/default.nix | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/pkgs/development/python-modules/pyschemes/default.nix b/pkgs/development/python-modules/pyschemes/default.nix index 327cb078b071..35376c727510 100644 --- a/pkgs/development/python-modules/pyschemes/default.nix +++ b/pkgs/development/python-modules/pyschemes/default.nix @@ -3,29 +3,20 @@ buildPythonPackage, fetchFromGitHub, pytestCheckHook, - fetchpatch, }: buildPythonPackage { pname = "pyschemes"; - version = "unstable-2017-11-08"; + version = "0-unstable-2022-09-12"; format = "setuptools"; src = fetchFromGitHub { owner = "spy16"; repo = "pyschemes"; - rev = "ca6483d13159ba65ba6fc2f77b90421c40f2bbf2"; - hash = "sha256-PssucudvlE8mztwVme70+h+2hRW/ri9oV9IZayiZhdU="; + rev = "c8afdbc045c1ff2bd7cc5a963e7084fc096f5257"; + hash = "sha256-jv6dlZlLuJlTqw2V21BUEhCIc/UGvyjbhggw82eGMz0="; }; - patches = [ - # Fix python 3.10 compatibility. Tracked upstream in - # https://github.com/spy16/pyschemes/pull/6 - (fetchpatch { - url = "https://github.com/spy16/pyschemes/commit/23011128c6c22838d4fca9e00fd322a20bb566c4.patch"; - hash = "sha256-vDaWxMrn2aC2wmd035EWRZ3cd/XME81z/BWG0f2T9jc="; - }) - ]; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "pyschemes" ]; From 106334a081b9495e9f03b84da852046d606266c8 Mon Sep 17 00:00:00 2001 From: SystematicError Date: Thu, 23 Apr 2026 20:42:28 +0100 Subject: [PATCH 2/2] python3Packages.pyschemes: use `pyproject = true` --- pkgs/development/python-modules/pyschemes/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/pyschemes/default.nix b/pkgs/development/python-modules/pyschemes/default.nix index 35376c727510..6b7a90dd2640 100644 --- a/pkgs/development/python-modules/pyschemes/default.nix +++ b/pkgs/development/python-modules/pyschemes/default.nix @@ -3,12 +3,13 @@ buildPythonPackage, fetchFromGitHub, pytestCheckHook, + setuptools, }: buildPythonPackage { pname = "pyschemes"; version = "0-unstable-2022-09-12"; - format = "setuptools"; + pyproject = true; src = fetchFromGitHub { owner = "spy16"; @@ -17,6 +18,8 @@ buildPythonPackage { hash = "sha256-jv6dlZlLuJlTqw2V21BUEhCIc/UGvyjbhggw82eGMz0="; }; + build-system = [ setuptools ]; + nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "pyschemes" ];