11 pname = "contextlib2";
12 version = "21.6.0-unstable-2024-05-23";
15 disabled = pythonOlder "3.6";
17 src = fetchFromGitHub {
20 rev = "f64cf04df8a1f6a32ce2095192b4638d229ff25e";
21 hash = "sha256-HX9N8G8jl6cpEwdJ80pDcoo4osTO/f8fz5sNcY/R1Nk=";
24 build-system = [ setuptools ];
26 nativeCheckInputs = [ unittestCheckHook ];
28 pythonImportsCheck = [ "contextlib2" ];
31 description = "Backports and enhancements for the contextlib module";
32 homepage = "https://contextlib2.readthedocs.org/";
33 license = lib.licenses.psfl;
34 maintainers = with lib.maintainers; [ sigmanificient ];