10 buildPythonPackage rec {
11 pname = "jaraco-context";
15 disabled = pythonOlder "3.8";
17 src = fetchFromGitHub {
19 repo = "jaraco.context";
20 rev = "refs/tags/v${version}";
21 hash = "sha256-WXZX2s9Qehp0F3bSv2c5lGxhhn6HKFkABbtYKizG1/8=";
24 pythonNamespaces = [ "jaraco" ];
26 build-system = [ setuptools-scm ];
28 dependencies = lib.optionals (pythonOlder "3.12") [ backports-tarfile ];
33 pythonImportsCheck = [ "jaraco.context" ];
36 description = "Python module for context management";
37 homepage = "https://github.com/jaraco/jaraco.context";
38 changelog = "https://github.com/jaraco/jaraco.context/blob/v${version}/CHANGES.rst";
39 license = licenses.mit;
40 maintainers = with maintainers; [ fab ];