about summary refs log tree commit diff
path: root/pkgs/development
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2021-04-24 02:57:39 +0200
committerGitHub <noreply@github.com>2021-04-24 02:57:39 +0200
commit4213f6d839faa057d2e082576bbc3b48e8a25df9 (patch)
tree8c130bd443f417929ac967d4e8afd10162c7d113 /pkgs/development
parent965d590fc57b449dc8a6b5d3528b82b7bf46f749 (diff)
parentf192430e47c469f4b8ecef0e13da335e5fe55aba (diff)
Merge pull request #120045 from FlorianFranzen/sphinx-serve
Diffstat (limited to 'pkgs/development')
-rw-r--r--pkgs/development/python-modules/sphinx-serve/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/sphinx-serve/default.nix b/pkgs/development/python-modules/sphinx-serve/default.nix
new file mode 100644
index 0000000000000..ca2b587e3acc0
--- /dev/null
+++ b/pkgs/development/python-modules/sphinx-serve/default.nix
@@ -0,0 +1,25 @@
+{ lib
+, buildPythonPackage
+, fetchPypi
+}:
+
+buildPythonPackage rec {
+  pname = "sphinx-serve";
+  version = "1.0.1";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "8d90f6595114108500b1f935d3f4d07bf5192783c67ce83f944ef289099669c9";
+  };
+
+  doCheck = false; # No tests
+
+  pythonImportsCheck = [ "sphinx_serve" ];
+
+  meta = with lib; {
+    description = "Spawns a simple HTTP server to preview your sphinx documents";
+    homepage = "https://github.com/tlatsas/sphinx-serve";
+    maintainers = with maintainers; [ FlorianFranzen ];
+    license = licenses.mit;
+  };
+}