10 buildPythonPackage rec {
11 pname = "jaraco-context";
15 disabled = pythonOlder "3.7";
17 src = fetchFromGitHub {
19 repo = "jaraco.context";
20 rev = "refs/tags/v${version}";
21 hash = "sha256-Caj51qBLHbuiey023iLc+N2M8QiJKH8G/Pzu1v3AToU=";
24 pythonNamespaces = [ "jaraco" ];
26 nativeBuildInputs = [ 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 ];