Loading pkgs/development/python-modules/numpy-typing-compat/default.nix 0 → 100644 +38 −0 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchPypi, uv-build, numpy, }: buildPythonPackage rec { pname = "numpy-typing-compat"; version = "20250818.2.3"; pyproject = true; src = fetchPypi { pname = "numpy_typing_compat"; inherit version; hash = "sha256-cug9U1tjXWaLpzFeQ66AvhRppvrqb8ltMSUW85s9j6U="; }; build-system = [ uv-build ]; dependencies = [ numpy ]; pythonImportsCheck = [ "numpy_typing_compat" ]; meta = { description = "Static typing compatibility layer for older versions of NumPy"; homepage = "https://pypi.org/project/numpy-typing-compat/"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ tm-drtina ]; }; } pkgs/development/python-modules/optype/default.nix +7 −4 Original line number Diff line number Diff line Loading @@ -2,9 +2,10 @@ lib, buildPythonPackage, fetchFromGitHub, hatchling, uv-build, typing-extensions, numpy, numpy-typing-compat, beartype, pytestCheckHook, pythonOlder, Loading @@ -12,20 +13,20 @@ buildPythonPackage rec { pname = "optype"; version = "0.13.1"; version = "0.14.0"; pyproject = true; src = fetchFromGitHub { owner = "jorenham"; repo = "optype"; tag = "v${version}"; hash = "sha256-GhG2TR5FJgEXBXLyGTNQKFYtR2iZ0tLgZ9B0YL8SXu8="; hash = "sha256-0CE6dU4Vt3UP8ZfNcmP2Th7ixceCa0ItYUmNcEU7mgw="; }; disabled = pythonOlder "3.11"; build-system = [ hatchling uv-build ]; dependencies = [ Loading @@ -35,6 +36,7 @@ buildPythonPackage rec { optional-dependencies = { numpy = [ numpy numpy-typing-compat ]; }; Loading @@ -45,6 +47,7 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook numpy numpy-typing-compat beartype ]; Loading pkgs/development/python-modules/scipy-stubs/default.nix +9 −4 Original line number Diff line number Diff line Loading @@ -3,27 +3,32 @@ buildPythonPackage, fetchFromGitHub, pythonOlder, hatchling, uv-build, optype, scipy, }: buildPythonPackage rec { pname = "scipy-stubs"; version = "1.16.1.0"; version = "1.16.2.4"; pyproject = true; src = fetchFromGitHub { owner = "scipy"; repo = "scipy-stubs"; tag = "v${version}"; hash = "sha256-KRwFQG1Nb+Kh9OpQCGtvUzQA0MHNEZnRlzSkpZCNxuw="; hash = "sha256-cmX9uS055kHvmCmsILEyTxW0p9C8xfD3N7HPBVCmIVI="; }; postPatch = '' substituteInPlace pyproject.toml \ --replace-fail "uv_build>=0.9.0,<0.10.0" "uv_build" ''; disabled = pythonOlder "3.11"; build-system = [ hatchling uv-build ]; dependencies = [ Loading pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -10778,6 +10778,8 @@ self: super: with self; { numpy-stl = callPackage ../development/python-modules/numpy-stl { }; numpy-typing-compat = callPackage ../development/python-modules/numpy-typing-compat { }; numpy_1 = callPackage ../development/python-modules/numpy/1.nix { }; numpy_2 = callPackage ../development/python-modules/numpy/2.nix { }; Loading Loading
pkgs/development/python-modules/numpy-typing-compat/default.nix 0 → 100644 +38 −0 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchPypi, uv-build, numpy, }: buildPythonPackage rec { pname = "numpy-typing-compat"; version = "20250818.2.3"; pyproject = true; src = fetchPypi { pname = "numpy_typing_compat"; inherit version; hash = "sha256-cug9U1tjXWaLpzFeQ66AvhRppvrqb8ltMSUW85s9j6U="; }; build-system = [ uv-build ]; dependencies = [ numpy ]; pythonImportsCheck = [ "numpy_typing_compat" ]; meta = { description = "Static typing compatibility layer for older versions of NumPy"; homepage = "https://pypi.org/project/numpy-typing-compat/"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ tm-drtina ]; }; }
pkgs/development/python-modules/optype/default.nix +7 −4 Original line number Diff line number Diff line Loading @@ -2,9 +2,10 @@ lib, buildPythonPackage, fetchFromGitHub, hatchling, uv-build, typing-extensions, numpy, numpy-typing-compat, beartype, pytestCheckHook, pythonOlder, Loading @@ -12,20 +13,20 @@ buildPythonPackage rec { pname = "optype"; version = "0.13.1"; version = "0.14.0"; pyproject = true; src = fetchFromGitHub { owner = "jorenham"; repo = "optype"; tag = "v${version}"; hash = "sha256-GhG2TR5FJgEXBXLyGTNQKFYtR2iZ0tLgZ9B0YL8SXu8="; hash = "sha256-0CE6dU4Vt3UP8ZfNcmP2Th7ixceCa0ItYUmNcEU7mgw="; }; disabled = pythonOlder "3.11"; build-system = [ hatchling uv-build ]; dependencies = [ Loading @@ -35,6 +36,7 @@ buildPythonPackage rec { optional-dependencies = { numpy = [ numpy numpy-typing-compat ]; }; Loading @@ -45,6 +47,7 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook numpy numpy-typing-compat beartype ]; Loading
pkgs/development/python-modules/scipy-stubs/default.nix +9 −4 Original line number Diff line number Diff line Loading @@ -3,27 +3,32 @@ buildPythonPackage, fetchFromGitHub, pythonOlder, hatchling, uv-build, optype, scipy, }: buildPythonPackage rec { pname = "scipy-stubs"; version = "1.16.1.0"; version = "1.16.2.4"; pyproject = true; src = fetchFromGitHub { owner = "scipy"; repo = "scipy-stubs"; tag = "v${version}"; hash = "sha256-KRwFQG1Nb+Kh9OpQCGtvUzQA0MHNEZnRlzSkpZCNxuw="; hash = "sha256-cmX9uS055kHvmCmsILEyTxW0p9C8xfD3N7HPBVCmIVI="; }; postPatch = '' substituteInPlace pyproject.toml \ --replace-fail "uv_build>=0.9.0,<0.10.0" "uv_build" ''; disabled = pythonOlder "3.11"; build-system = [ hatchling uv-build ]; dependencies = [ Loading
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -10778,6 +10778,8 @@ self: super: with self; { numpy-stl = callPackage ../development/python-modules/numpy-stl { }; numpy-typing-compat = callPackage ../development/python-modules/numpy-typing-compat { }; numpy_1 = callPackage ../development/python-modules/numpy/1.nix { }; numpy_2 = callPackage ../development/python-modules/numpy/2.nix { }; Loading