mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-11-28 08:49:51 +00:00
generated using https://git.kybe.xyz/2kybe3/nixpkgs-github-redirect continuation of: #581558
35 lines
803 B
Nix
35 lines
803 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "lazy-loader";
|
|
version = "0.4";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "scientific-python";
|
|
repo = "lazy-loader";
|
|
tag = "v${version}";
|
|
hash = "sha256-4Kid6yhm9C2liPoW+NlCsOiBZvv6iYt7hDunARc4PRY=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "lazy_loader" ];
|
|
|
|
meta = {
|
|
description = "Populate library namespace without incurring immediate import costs";
|
|
homepage = "https://github.com/scientific-python/lazy-loader";
|
|
changelog = "https://github.com/scientific-python/lazy-loader/releases/tag/v${version}";
|
|
license = lib.licenses.bsd3;
|
|
maintainers = [ ];
|
|
};
|
|
}
|