1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/sphinxcontrib-openapi/default.nix

30 lines
626 B
Nix
Raw Normal View History

{ 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;
};
}