Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 60 lines
Nix
at gcc-offload
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061{ lib, buildPythonPackage, pythonOlder, fetchFromGitHub, requests, pyyaml, setuptools, pytestCheckHook, pytest-asyncio, uvloop, hypercorn, starlette, pydantic_1,}:
buildPythonPackage rec { pname = "openapi3"; version = "1.8.2"; pyproject = true;
disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "Dorthu"; repo = "openapi3"; rev = version; hash = "sha256-Crn+nRbptRycnWJzH8Tm/BBLcBSRCcNtLX8NoKnSDdA="; };
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [ requests pyyaml ];
nativeCheckInputs = [ pytestCheckHook pytest-asyncio pydantic_1 uvloop hypercorn starlette ];
disabledTestPaths = [ # tests old fastapi behaviour "tests/fastapi_test.py" ];
pythonImportsCheck = [ "openapi3" ];
meta = with lib; { changelog = "https://github.com/Dorthu/openapi3/releases/tag/${version}"; description = "Python3 OpenAPI 3 Spec Parser"; homepage = "https://github.com/Dorthu/openapi3"; license = licenses.bsd3; maintainers = with maintainers; [ techknowlogick ]; };}