From 235c5134de61d155d246d32adcb65c86de633d8f Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Tue, 18 Jun 2024 10:00:51 +0200 Subject: [PATCH] python311Packages.color-operations: 0.1.3 -> 0.1.4 Diff: https://github.com/vincentsarago/color-operations/compare/refs/tags/0.1.3...0.1.4 --- .../color-operations/default.nix | 23 ++++++++++++------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/color-operations/default.nix b/pkgs/development/python-modules/color-operations/default.nix index e4189e06809a..e92bcfe70b70 100644 --- a/pkgs/development/python-modules/color-operations/default.nix +++ b/pkgs/development/python-modules/color-operations/default.nix @@ -1,35 +1,42 @@ { lib, buildPythonPackage, - fetchFromGitHub, - pytestCheckHook, pythonOlder, + fetchFromGitHub, - colormath, + # build-system cython, oldest-supported-numpy, setuptools, + + # dependencies + numpy, + + # checks + colormath, + pytestCheckHook, }: buildPythonPackage rec { pname = "color-operations"; - version = "0.1.3"; + version = "0.1.4"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "vincentsarago"; repo = "color-operations"; - rev = version; - hash = "sha256-KsrgilcNK2ufPKrhtGdf8mdlFzhsHB2jHN+WDlZqabc="; + rev = "refs/tags/${version}"; + hash = "sha256-qqOTmVYD3VfjeVJtYvDQw+cxjcTsmqTYQNL1qMX+fL4="; }; - nativeBuildInputs = [ + build-system = [ cython + oldest-supported-numpy setuptools ]; - propagatedBuildInputs = [ oldest-supported-numpy ]; + dependencies = [ numpy ]; nativeCheckInputs = [ colormath