Something went wrong. Try again.
lol
Something went wrong. Try again.
833 B · 34 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435{ lib, buildPythonPackage, fetchFromGitHub, hatchling, pytestCheckHook,}:
buildPythonPackage (finalAttrs: { pname = "importmagic"; version = "0.2.0"; pyproject = true;
src = fetchFromGitHub { owner = "alecthomas"; repo = "importmagic"; tag = finalAttrs.version; hash = "sha256-776HbSRl5hIrSyIyIF7jnNAJF41QzdjXe0vDaKwlCnc="; };
build-system = [ hatchling ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "importmagic" ];
meta = { description = "Python Import Magic - automagically add, remove and manage imports"; homepage = "https://github.com/alecthomas/importmagic"; changelog = "https://github.com/alecthomas/importmagic/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.bsd2; maintainers = with lib.maintainers; [ onny ]; };})