From b872d76484b1c3c24616e909c340433ff01682c9 Mon Sep 17 00:00:00 2001 From: Alexis Praga Date: Thu, 13 Feb 2025 23:00:39 +0100 Subject: [PATCH] python312Packages.spectra: 0.0.11 -> 0.1.0 Main change : colormath -> colormath2 --- .../python-modules/spectra/default.nix | 25 ++++++------------- 1 file changed, 7 insertions(+), 18 deletions(-) diff --git a/pkgs/development/python-modules/spectra/default.nix b/pkgs/development/python-modules/spectra/default.nix index f07c17a3bd16..8090bd49dd1f 100644 --- a/pkgs/development/python-modules/spectra/default.nix +++ b/pkgs/development/python-modules/spectra/default.nix @@ -1,40 +1,29 @@ { - buildPythonPackage, - colormath, - fetchFromGitHub, - fetchpatch2, lib, - pytestCheckHook, + buildPythonPackage, + fetchFromGitHub, setuptools, + colormath2, + pytestCheckHook, }: buildPythonPackage rec { pname = "spectra"; - version = "0.0.11"; + version = "0.1.0"; pyproject = true; src = fetchFromGitHub { owner = "jsvine"; repo = "spectra"; tag = "v${version}"; - hash = "sha256-4A2TWTxYqckJ3DX5cd2KN3KXcmO/lQdXmOEnGi76RsA="; + hash = "sha256-PS5p9IR3v6+Up5Fcq8mhkprVgXigD6PZUF4/6hbv7NI="; }; - patches = [ - # https://github.com/jsvine/spectra/pull/21 - (fetchpatch2 { - name = "nose-to-pytest.patch"; - url = "https://github.com/jsvine/spectra/commit/50037aba16dac4bf0fb7ffbd787d0e6b906e8a4b.patch"; - hash = "sha256-cMoIbjRwcZjvhiIOcJR7NmIAOaqpr/e5eh9+sPGKqos="; - excludes = [ ".github/*" ]; - }) - ]; - build-system = [ setuptools ]; - propagatedBuildInputs = [ colormath ]; + dependencies = [ colormath2 ]; nativeCheckInputs = [ pytestCheckHook