about summary refs log tree commit diff
path: root/pkgs/development/python-modules/sphinxcontrib-httpdomain
diff options
context:
space:
mode:
authorTheodore Ni <3806110+tjni@users.noreply.github.com>2023-07-20 23:19:14 -0700
committernatsukium <tomoya.otabi@gmail.com>2023-10-26 23:05:14 +0900
commit9cb59072c39d4905659d26fce6c4213a85a4d1d0 (patch)
tree4883ddff5b389f0a566336ef8df3d92d346b4f5f /pkgs/development/python-modules/sphinxcontrib-httpdomain
parent4087ddd6480ec1adab85687b8fa172155e819c78 (diff)
python310Packages.sphinxcontrib-httpdomain: rename from sphinxcontrib_httpdomain
Diffstat (limited to 'pkgs/development/python-modules/sphinxcontrib-httpdomain')
-rw-r--r--pkgs/development/python-modules/sphinxcontrib-httpdomain/default.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/sphinxcontrib-httpdomain/default.nix b/pkgs/development/python-modules/sphinxcontrib-httpdomain/default.nix
new file mode 100644
index 0000000000000..96dad44be8bf2
--- /dev/null
+++ b/pkgs/development/python-modules/sphinxcontrib-httpdomain/default.nix
@@ -0,0 +1,30 @@
+{ lib
+, buildPythonPackage
+, fetchPypi
+, sphinx
+}:
+
+buildPythonPackage rec {
+  pname = "sphinxcontrib-httpdomain";
+  version = "1.8.1";
+
+  src = fetchPypi {
+    inherit pname version;
+    hash = "sha256-bC3+bKKC119m3zM4absM5zMcAbR122gJ/50Qe3zf4Es=";
+  };
+
+  propagatedBuildInputs = [ sphinx ];
+
+  # Check is disabled due to this issue:
+  # https://bitbucket.org/pypa/setuptools/issue/137/typeerror-unorderable-types-str-nonetype
+  doCheck = false;
+
+  pythonNamespaces = [ "sphinxcontrib" ];
+
+  meta = with lib; {
+    description = "Provides a Sphinx domain for describing RESTful HTTP APIs";
+    homepage = "https://bitbucket.org/birkenfeld/sphinx-contrib";
+    license = licenses.bsd0;
+  };
+
+}