Update aider (#375634)
[NixPkgs.git] / pkgs / development / python-modules / lazy-loader / default.nix
blobde49729634cbde3bb305981ed0e9f5f7af8bf706
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   setuptools,
6   pytestCheckHook,
7 }:
9 buildPythonPackage rec {
10   pname = "lazy-loader";
11   version = "0.4";
12   pyproject = true;
14   src = fetchFromGitHub {
15     owner = "scientific-python";
16     repo = "lazy_loader";
17     tag = "v${version}";
18     hash = "sha256-4Kid6yhm9C2liPoW+NlCsOiBZvv6iYt7hDunARc4PRY=";
19   };
21   build-system = [ setuptools ];
23   nativeCheckInputs = [ pytestCheckHook ];
25   pythonImportsCheck = [ "lazy_loader" ];
27   meta = with lib; {
28     description = "Populate library namespace without incurring immediate import costs";
29     homepage = "https://github.com/scientific-python/lazy_loader";
30     changelog = "https://github.com/scientific-python/lazy_loader/releases/tag/v${version}";
31     license = licenses.bsd3;
32     maintainers = [ ];
33   };