0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 22:20:30 +03:00
nixpkgs/pkgs/development/python-modules/lazy-loader/default.nix
Jörg Thalheim 5356420466 treewide: remove unused with statements from maintainer lists
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
  -e 's!with lib.maintainers; \[ *\];![ ];!' \
  -e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00

34 lines
819 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";
rev = "refs/tags/v${version}";
hash = "sha256-4Kid6yhm9C2liPoW+NlCsOiBZvv6iYt7hDunARc4PRY=";
};
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";
changelog = "https://github.com/scientific-python/lazy_loader/releases/tag/v${version}";
license = licenses.bsd3;
maintainers = [ ];
};
}