pythonPackages.sphinxcontrib-openapi: refactor move to python-modules
This commit is contained in:
parent
6a8ee9b084
commit
f2a6838ff1
@ -0,0 +1,29 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, setuptools_scm
|
||||
, pyyaml
|
||||
, jsonschema
|
||||
, sphinxcontrib_httpdomain
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "sphinxcontrib-openapi";
|
||||
version = "0.3.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0fyniq37nnmhrk4j7mzvg6vfcpb624hb9x70g6mccyw4xrnhadv6";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [setuptools_scm pyyaml jsonschema sphinxcontrib_httpdomain];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/ikalnytskyi/sphinxcontrib-openapi;
|
||||
description = "OpenAPI (fka Swagger) spec renderer for Sphinx";
|
||||
license = licenses.bsd0;
|
||||
};
|
||||
|
||||
}
|
@ -3880,18 +3880,7 @@ in {
|
||||
|
||||
sphinxcontrib-blockdiag = callPackage ../development/python-modules/sphinxcontrib-blockdiag { };
|
||||
|
||||
sphinxcontrib-openapi = buildPythonPackage (rec {
|
||||
name = "sphinxcontrib-openapi-0.3.0";
|
||||
|
||||
doCheck = false;
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/s/sphinxcontrib-openapi/${name}.tar.gz";
|
||||
sha256 = "0fyniq37nnmhrk4j7mzvg6vfcpb624hb9x70g6mccyw4xrnhadv6";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with self; [setuptools_scm pyyaml jsonschema sphinxcontrib_httpdomain];
|
||||
});
|
||||
sphinxcontrib-openapi = callPackage ../development/python-modules/sphinxcontrib-openapi { };
|
||||
|
||||
sphinxcontrib_httpdomain = buildPythonPackage (rec {
|
||||
name = "sphinxcontrib-httpdomain-1.5.0";
|
||||
|
Loading…
Reference in New Issue
Block a user