python311Packages.python-docs-theme: disable on unsupported Python releases

This commit is contained in:
Fabian Affolter 2023-11-04 10:48:39 +01:00 committed by GitHub
parent 5dfa3bc700
commit 99102ce185
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,6 +2,7 @@
, buildPythonPackage
, fetchFromGitHub
, flit-core
, pythonOlder
, sphinx
}:
@ -10,6 +11,8 @@ buildPythonPackage rec {
version = "2023.9";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "python";
repo = "python-docs-theme";