summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python_docs_theme
diff options
context:
space:
mode:
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" ];