python3Packages.scipy-stubs: init at 1.16.0.0

This commit is contained in:
Johan Larsson 2025-06-11 09:05:18 +02:00
parent 10fa426b3d
commit b0575c6fd2
No known key found for this signature in database
GPG Key ID: 2A41C0FEDD6FF540
2 changed files with 51 additions and 0 deletions

View File

@ -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 ];
};
}

View File

@ -15913,6 +15913,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 { };