python3Packages.lazy-import: remove

This commit is contained in:
Moraxyc 2024-05-20 22:42:57 +08:00
parent dcf1ff8d9a
commit 6031d4a700
No known key found for this signature in database
3 changed files with 1 additions and 46 deletions

View File

@ -1,44 +0,0 @@
{ lib, buildPythonPackage, fetchPypi
, pytestCheckHook
, pytest-forked
, py
, python
, six }:
buildPythonPackage rec {
pname = "lazy-import";
version = "0.2.2";
format = "setuptools";
src = fetchPypi {
pname = "lazy_import";
inherit version;
sha256 = "0gca9xj60qr3aprj9qdc66crr4r7hl8wzv6gc9y40nclazwawj91";
};
nativeCheckInputs = [
pytestCheckHook
pytest-forked
py
];
propagatedBuildInputs = [
six
];
preCheck = ''
# avoid AttributeError: module 'py' has no attribute 'process'
export PYTHONPATH=${py}/${python.sitePackages}:$PYTHONPATH
'';
pytestFlagsArray = [
"--forked"
];
meta = with lib; {
description = "A set of functions that load modules, and related attributes, in a lazy fashion";
homepage = "https://github.com/mnmelo/lazy_import";
license = licenses.gpl3Plus;
maintainers = [ ];
};
}

View File

@ -259,6 +259,7 @@ mapAliases ({
lazr_config = lazr-config; # added 2023-11-03
lazr_delegates = lazr-delegates; # added 2023-11-03
lazy_import = lazy-import; # added 2024-01-07
lazy-import = throw "lazy-import has been removed because it was unused."; # added 2024-05-20
lazy_imports = lazy-imports; # added 2023-10-13
ledger_agent = ledger-agent; # Added 2024-01-07
lektor = throw "lektor has been promoted to a top-level attribute name: `pkgs.lektor`"; # added 2023-08-01

View File

@ -6527,8 +6527,6 @@ self: super: with self; {
lazy = callPackage ../development/python-modules/lazy { };
lazy-import = callPackage ../development/python-modules/lazy-import { };
lazy-imports = callPackage ../development/python-modules/lazy-imports { };
lazy-loader = callPackage ../development/python-modules/lazy-loader { };