Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / lazy-loader / default.nix
blobe118b3bd649fc786de811ff376a166a012be050f
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , flit-core
5 , pytestCheckHook
6 }:
8 buildPythonPackage rec {
9   pname = "lazy-loader";
10   version = "0.3";
11   format = "pyproject";
13   src = fetchFromGitHub {
14     owner = "scientific-python";
15     repo = "lazy_loader";
16     rev = "refs/tags/v${version}";
17     hash = "sha256-Ky9EwPYt/wBqWXopH5WFjlVG+/Rd2gc+mlCeWqG7mZg=";
18   };
20   nativeBuildInputs = [
21     flit-core
22   ];
24   nativeCheckInputs = [
25     pytestCheckHook
26   ];
28   meta = with lib; {
29     description = "Populate library namespace without incurring immediate import costs";
30     homepage = "https://github.com/scientific-python/lazy_loader";
31     changelog = "https://github.com/scientific-python/lazy_loader/releases/tag/v${version}";
32     license = licenses.bsd3;
33     maintainers = with maintainers; [ hexa ];
34   };