python3Packages.python_docs_theme: switch to pypaBuildHook

This commit is contained in:
Peder Bergebakken Sundt 2023-09-10 00:31:29 +02:00
parent a624dbce03
commit 6f4a2b3b5f

View file

@ -1,9 +1,9 @@
{ lib, buildPythonPackage, fetchFromGitHub, sphinx }: { lib, buildPythonPackage, fetchFromGitHub, flit-core, sphinx }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "python_docs_theme"; pname = "python_docs_theme";
version = "2023.7"; version = "2023.7";
format = "flit"; format = "pyproject";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "python"; owner = "python";
@ -12,6 +12,8 @@ buildPythonPackage rec {
sha256 = "sha256-43/TlgYm7Q4ZtY25MiLU9fd1atDmiDUeUK6AYfDfmag="; sha256 = "sha256-43/TlgYm7Q4ZtY25MiLU9fd1atDmiDUeUK6AYfDfmag=";
}; };
nativeBuildInputs = [ flit-core ];
propagatedBuildInputs = [ sphinx ]; propagatedBuildInputs = [ sphinx ];
pythonImportsCheck = [ "python_docs_theme" ]; pythonImportsCheck = [ "python_docs_theme" ];