Merge pull request #264634 from GaetanLepage/array-record

python310Packages.array-record: 0.4.1 -> 0.5.0

authored by OTABI Tomoya and committed by GitHub d032c71d 5350639d

+19 -9
+19 -9
pkgs/development/python-modules/array-record/default.nix
··· 1 1 { lib 2 + , buildPythonPackage 3 + , pythonOlder 4 + , python 5 + , fetchPypi 2 6 , absl-py 3 - , buildPythonPackage 4 7 , etils 5 - , fetchPypi 6 8 , importlib-resources 7 - , python 8 9 , typing-extensions 9 10 , zipp 10 11 }: 11 12 12 13 buildPythonPackage rec { 13 14 pname = "array-record"; 14 - version = "0.4.1"; 15 + version = "0.5.0"; 15 16 format = "wheel"; 16 17 17 - disabled = python.pythonVersion != "3.10"; 18 + # As of 2023-10-31, PyPI includes wheels for Python 3.9, 3.10, and 3.11. 19 + disabled = pythonOlder "3.9"; 18 20 19 - src = fetchPypi { 21 + src = let 22 + pyShortVersion = "cp${builtins.replaceStrings ["."] [""] python.pythonVersion}"; 23 + in fetchPypi { 20 24 inherit version format; 21 25 pname = "array_record"; 22 - dist = "py310"; 23 - python = "py310"; 24 - hash = "sha256-agyO1v36ryzs09XGucE+EWrTKZZJYRyP0YTWRVf7q6g="; 26 + dist = pyShortVersion; 27 + python = pyShortVersion; 28 + abi = pyShortVersion; 29 + platform = "manylinux_2_17_x86_64.manylinux2014_x86_64"; 30 + hash = { 31 + cp39 = "sha256-BzMOVue7E1S1+5+XTcPELko81ujc9MbmqLhNsU7pqO0="; 32 + cp310 = "sha256-eUD9pQu9GsbV8MPD1MiF3Ihr+zYioSOo6P15hYIwPYo="; 33 + cp311 = "sha256-rAmkI3EIZPYiXrxFowfDC0Gf3kRw0uX0i6Kx6Zu+hNM="; 34 + }.${pyShortVersion}; 25 35 }; 26 36 27 37 propagatedBuildInputs = [