python310Packages.lazy-loader: init at 0.1
Packaged up as a dependency for librosa.
This commit is contained in:
parent
5b3185becc
commit
0bec9a90db
35
pkgs/development/python-modules/lazy-loader/default.nix
Normal file
35
pkgs/development/python-modules/lazy-loader/default.nix
Normal file
@ -0,0 +1,35 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, flit-core
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "lazy-loader";
|
||||
version = "0.1";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "scientific-python";
|
||||
repo = "lazy_loader";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-zMmDvAyCaTSMOXgCiLQ4Z/9Ro3k0qJxJPLLoNmK/dmE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
flit-core
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
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 = with maintainers; [ hexa ];
|
||||
};
|
||||
}
|
@ -5283,6 +5283,8 @@ self: super: with self; {
|
||||
|
||||
lazy_import = callPackage ../development/python-modules/lazy_import { };
|
||||
|
||||
lazy-loader = callPackage ../development/python-modules/lazy-loader { };
|
||||
|
||||
lazy-object-proxy = callPackage ../development/python-modules/lazy-object-proxy { };
|
||||
|
||||
lc7001 = callPackage ../development/python-modules/lc7001 { };
|
||||
|
Loading…
Reference in New Issue
Block a user