mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-18 01:54:34 +00:00
pythonPackages.sphinxcontrib_httpdomain: refactor move to python-modules
This commit is contained in:
parent
f2a6838ff1
commit
56dfe057d2
@ -0,0 +1,28 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, sphinx
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "sphinxcontrib-httpdomain";
|
||||
version = "1.5.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0srg8lwf4m1hyhz942fcdfxh689xphndngiidb575qmfbi89gc7a";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ sphinx ];
|
||||
|
||||
# Check is disabled due to this issue:
|
||||
# https://bitbucket.org/pypa/setuptools/issue/137/typeerror-unorderable-types-str-nonetype
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Provides a Sphinx domain for describing RESTful HTTP APIs";
|
||||
homepage = https://bitbucket.org/birkenfeld/sphinx-contrib;
|
||||
license = licenses.bsd0;
|
||||
};
|
||||
|
||||
}
|
@ -3882,28 +3882,7 @@ in {
|
||||
|
||||
sphinxcontrib-openapi = callPackage ../development/python-modules/sphinxcontrib-openapi { };
|
||||
|
||||
sphinxcontrib_httpdomain = buildPythonPackage (rec {
|
||||
name = "sphinxcontrib-httpdomain-1.5.0";
|
||||
|
||||
# Check is disabled due to this issue:
|
||||
# https://bitbucket.org/pypa/setuptools/issue/137/typeerror-unorderable-types-str-nonetype
|
||||
doCheck = false;
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/s/sphinxcontrib-httpdomain/${name}.tar.gz";
|
||||
sha256 = "0srg8lwf4m1hyhz942fcdfxh689xphndngiidb575qmfbi89gc7a";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with self; [sphinx];
|
||||
|
||||
meta = {
|
||||
description = "Provides a Sphinx domain for describing RESTful HTTP APIs";
|
||||
|
||||
homepage = https://bitbucket.org/birkenfeld/sphinx-contrib;
|
||||
|
||||
license = "BSD";
|
||||
};
|
||||
});
|
||||
sphinxcontrib_httpdomain = callPackage ../development/python-modules/sphinxcontrib_httpdomain { };
|
||||
|
||||
sphinx-navtree = callPackage ../development/python-modules/sphinx-navtree {};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user