summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeder Bergebakken Sundt <pbsds@hotmail.com>2024-04-18 11:57:52 +0200
committerPeder Bergebakken Sundt <pbsds@hotmail.com>2024-04-18 13:55:14 +0200
commit19777c0e96abfdfd189cd38409dfcb4c68d1379a (patch)
tree7f269c2b69b0d3e95b6c5a80c570e2ab0b7236be
parent8541bf74864d83dd6d5af74c5449c12679fd5291 (diff)
python312Packages.uarray: 0.8.2 -> 0.8.8
Diff: https://github.com/Quansight-Labs/uarray/compare/0.8.2...0.8.8
-rw-r--r--pkgs/development/python-modules/uarray/default.nix18
1 files 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 ];