python311Packages.python-docs-theme: equalize content

This commit is contained in:
Fabian Affolter
2023-11-04 10:47:35 +01:00
committed by GitHub
parent 04a686d5bd
commit 5dfa3bc700
@@ -1,26 +1,37 @@
{ lib, buildPythonPackage, fetchFromGitHub, flit-core, sphinx }:
{ lib
, buildPythonPackage
, fetchFromGitHub
, flit-core
, sphinx
}:
buildPythonPackage rec {
pname = "python-docs-theme";
version = "2023.9";
format = "pyproject";
pyproject = true;
src = fetchFromGitHub {
owner = "python";
repo = "python-docs-theme";
rev = "refs/tags/${version}";
sha256 = "sha256-XVwMEfprTNdNnaW38HMCAu4CswdVjBXYtNWBgqXfbno=";
hash = "sha256-XVwMEfprTNdNnaW38HMCAu4CswdVjBXYtNWBgqXfbno=";
};
nativeBuildInputs = [ flit-core ];
nativeBuildInputs = [
flit-core
];
propagatedBuildInputs = [ sphinx ];
propagatedBuildInputs = [
sphinx
];
pythonImportsCheck = [ "python_docs_theme" ];
pythonImportsCheck = [
"python_docs_theme"
];
meta = with lib; {
homepage = "https://github.com/python/python-docs-theme";
description = "Sphinx theme for CPython project";
homepage = "https://github.com/python/python-docs-theme";
changelog = "https://github.com/python/python-docs-theme/blob/${version}/CHANGELOG.rst";
license = licenses.psfl;
maintainers = with maintainers; [ kaction ];