summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python_docs_theme
diff options
context:
space:
mode:
authorPeder Bergebakken Sundt <pbsds@hotmail.com>2023-09-10 00:31:29 +0200
committerPeder Bergebakken Sundt <pbsds@hotmail.com>2023-09-22 21:11:21 +0200
commit6f4a2b3b5f83579db10937a99eb2b67b7df5d05d (patch)
tree6e1ed82d550ad7fcf379b0822c47b56ee26d775f /pkgs/development/python-modules/python_docs_theme
parenta624dbce03fc6668ea7f08011cf76d3eaa34f327 (diff)
python3Packages.python_docs_theme: switch to pypaBuildHook
Diffstat (limited to 'pkgs/development/python-modules/python_docs_theme')
-rw-r--r--pkgs/development/python-modules/python_docs_theme/default.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/python_docs_theme/default.nix b/pkgs/development/python-modules/python_docs_theme/default.nix
index 1e3776b906a5..90cf78e4d69b 100644
--- a/pkgs/development/python-modules/python_docs_theme/default.nix
+++ b/pkgs/development/python-modules/python_docs_theme/default.nix
@@ -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" ];