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 {
pname = "python_docs_theme";
version = "2023.7";
format = "flit";
format = "pyproject";
src = fetchFromGitHub {
owner = "python";
@ -12,6 +12,8 @@ buildPythonPackage rec {
sha256 = "sha256-43/TlgYm7Q4ZtY25MiLU9fd1atDmiDUeUK6AYfDfmag=";
};
nativeBuildInputs = [ flit-core ];
propagatedBuildInputs = [ sphinx ];
pythonImportsCheck = [ "python_docs_theme" ];