Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
726 B · 39 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940{ lib, buildPythonPackage, fetchFromGitHub, poetry-core, pydantic,}:
buildPythonPackage rec { pname = "openapi-pydantic"; version = "0.5.1"; pyproject = true;
src = fetchFromGitHub { owner = "mike-oakley"; repo = "openapi-pydantic"; rev = "v${version}"; hash = "sha256-SMAjzHGuu+QVWe/y8jQ4UWJI9f+pLR2BxgjvE6vOT0Q="; };
build-system = [ poetry-core ];
dependencies = [ pydantic ];
pythonImportsCheck = [ "openapi_pydantic" ];
meta = { description = "Pydantic OpenAPI schema implementation"; homepage = "https://github.com/mike-oakley/openapi-pydantic"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ taha-yassine ]; };}