From 19777c0e96abfdfd189cd38409dfcb4c68d1379a Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Thu, 18 Apr 2024 11:57:52 +0200 Subject: [PATCH] python312Packages.uarray: 0.8.2 -> 0.8.8 Diff: https://github.com/Quansight-Labs/uarray/compare/0.8.2...0.8.8 --- .../python-modules/uarray/default.nix | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/pkgs/development/python-modules/uarray/default.nix b/pkgs/development/python-modules/uarray/default.nix index 7429ed5750ac..d04304cbbfea 100644 --- a/pkgs/development/python-modules/uarray/default.nix +++ b/pkgs/development/python-modules/uarray/default.nix @@ -2,6 +2,8 @@ , buildPythonPackage , fetchFromGitHub , fetchpatch +, setuptools +, setuptools-scm , matchpy , numpy , astunparse @@ -12,25 +14,17 @@ buildPythonPackage rec { pname = "uarray"; - version = "0.8.2"; - format = "setuptools"; + version = "0.8.8"; + pyproject = true; src = fetchFromGitHub { owner = "Quansight-Labs"; repo = pname; rev = version; - sha256 = "1x2jp7w2wmn2awyv05xs0frpq0fa0rprwcxyg72wgiss0bnzxnhm"; + hash = "sha256-wTKqOw64b+/kdZpSYLwCJATOuo807BWCtVHB4pH58fY="; }; - patches = [( - # Fixes a compile error with newer versions of GCC -- should be included - # in the next release after 0.8.2 - fetchpatch { - url = "https://github.com/Quansight-Labs/uarray/commit/a2012fc7bb94b3773eb402c6fe1ba1a894ea3d18.patch"; - sha256 = "1qqh407qg5dz6x766mya2bxrk0ffw5h17k478f5kcs53g4dyfc3s"; - } - )]; - + nativeBuildInputs = [ setuptools setuptools-scm ]; nativeCheckInputs = [ pytestCheckHook pytest-cov ]; propagatedBuildInputs = [ matchpy numpy astunparse typing-extensions ];