1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 sphinx,
6}:
7
8buildPythonPackage rec {
9 pname = "sphinxcontrib-httpdomain";
10 version = "1.8.1";
11 format = "setuptools";
12
13 src = fetchPypi {
14 inherit pname version;
15 hash = "sha256-bC3+bKKC119m3zM4absM5zMcAbR122gJ/50Qe3zf4Es=";
16 };
17
18 propagatedBuildInputs = [ sphinx ];
19
20 # Check is disabled due to this issue:
21 # https://bitbucket.org/pypa/setuptools/issue/137/typeerror-unorderable-types-str-nonetype
22 doCheck = false;
23
24 pythonNamespaces = [ "sphinxcontrib" ];
25
26 meta = with lib; {
27 description = "Provides a Sphinx domain for describing RESTful HTTP APIs";
28 homepage = "https://bitbucket.org/birkenfeld/sphinx-contrib";
29 license = licenses.bsd0;
30 };
31}