evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / lazy-loader / default.nix
blobad51358ccb78dd792cce8bfb348a3141eb5c76ef
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     rev = "refs/tags/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   };