python3Packages.lazy-loader: 0.3 -> 0.4

https://github.com/scientific-python/lazy_loader/releases/tag/v0.4
This commit is contained in:
Martin Weinelt
2024-06-24 12:15:39 +02:00
parent e6ee0fc67c
commit 1dcfbfcee0
@@ -2,26 +2,28 @@
lib,
buildPythonPackage,
fetchFromGitHub,
flit-core,
setuptools,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "lazy-loader";
version = "0.3";
format = "pyproject";
version = "0.4";
pyproject = true;
src = fetchFromGitHub {
owner = "scientific-python";
repo = "lazy_loader";
rev = "refs/tags/v${version}";
hash = "sha256-Ky9EwPYt/wBqWXopH5WFjlVG+/Rd2gc+mlCeWqG7mZg=";
hash = "sha256-4Kid6yhm9C2liPoW+NlCsOiBZvv6iYt7hDunARc4PRY=";
};
nativeBuildInputs = [ flit-core ];
build-system = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "lazy_loader" ];
meta = with lib; {
description = "Populate library namespace without incurring immediate import costs";
homepage = "https://github.com/scientific-python/lazy_loader";