39 lines
707 B
Nix
39 lines
707 B
Nix
{
|
|
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 ];
|
|
};
|
|
}
|