nixpkgs/pkgs/development/python-modules/sphinxcontrib-openapi/default.nix
Florian Klink ca3e08f3bc python3.pkgs.sphinxcontrib-openapi: switch back to upstream
Upstream incorporated the changes present in the cilium fork into their
repository, and tagged a new release (0.8.0). We can switch back to the
upstream version, rather than the temporary fork.

See https://github.com/NixOS/nixpkgs/pull/188280#issuecomment-1384088517
2023-01-16 22:16:46 +01:00

46 lines
875 B
Nix

{ lib
, buildPythonPackage
, deepmerge
, fetchPypi
, fetchpatch
, isPy27
, setuptools-scm
, jsonschema
, picobox
, pyyaml
, sphinx-mdinclude
, sphinxcontrib_httpdomain
}:
buildPythonPackage rec {
pname = "sphinxcontrib-openapi";
version = "0.8.0";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
hash = "sha256-rO1qloTOgU5qVHURMyA6Ug7rC3UOjICqPUiFJ9RsLzA=";
};
nativeBuildInputs = [ setuptools-scm ];
propagatedBuildInputs = [
deepmerge
jsonschema
picobox
pyyaml
sphinx-mdinclude
sphinxcontrib_httpdomain
];
SETUPTOOLS_SCM_PRETEND_VERSION = version;
doCheck = false;
meta = with lib; {
homepage = "https://github.com/ikalnytskyi/sphinxcontrib-openapi";
description = "OpenAPI (fka Swagger) spec renderer for Sphinx";
license = licenses.bsd0;
maintainers = [ maintainers.flokli ];
};
}