Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
38 lines
795 B
Nix
38 lines
795 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
pytestCheckHook,
|
|
packaging,
|
|
}:
|
|
let
|
|
pname = "lazy-imports";
|
|
version = "0.3.1";
|
|
in
|
|
buildPythonPackage {
|
|
inherit pname version;
|
|
format = "setuptools";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "telekom";
|
|
repo = "lazy-imports";
|
|
tag = version;
|
|
hash = "sha256-i+VPlBoxNqk56U4oiEgS1Ayhi1t2O8PtLZ/bzEurUY8=";
|
|
};
|
|
|
|
pythonImportsCheck = [ "lazy_imports" ];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
packaging
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Python tool to support lazy imports";
|
|
homepage = "https://github.com/telekom/lazy-imports";
|
|
changelog = "https://github.com/telekom/lazy-imports/releases/tag/${version}";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ happysalada ];
|
|
};
|
|
}
|