python3Packages.scipy-stubs: init at 1.16.0.0 (#420481)

This commit is contained in:
Aleksana
2025-07-05 17:48:47 +08:00
committed by GitHub
2 changed files with 51 additions and 0 deletions
@@ -0,0 +1,49 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
hatchling,
optype,
scipy,
}:
buildPythonPackage rec {
pname = "scipy-stubs";
version = "1.16.0.0";
pyproject = true;
src = fetchFromGitHub {
owner = "scipy";
repo = "scipy-stubs";
tag = "v${version}";
hash = "sha256-LuBypvtbLp7Zo8Rou1JwBwJjZr0BBic25dhX5Yg1Esk=";
};
disabled = pythonOlder "3.11";
build-system = [
hatchling
];
dependencies = [
optype
];
optional-dependencies = {
scipy = [
scipy
];
};
nativeCheckInputs = [
scipy
];
meta = {
description = "Typing Stubs for SciPy";
homepage = "https://github.com/scipy/scipy-stubs";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ jolars ];
};
}
+2
View File
@@ -15958,6 +15958,8 @@ self: super: with self; {
scipy = callPackage ../development/python-modules/scipy { };
scipy-stubs = callPackage ../development/python-modules/scipy-stubs { };
scmrepo = callPackage ../development/python-modules/scmrepo { };
scooby = callPackage ../development/python-modules/scooby { };