Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.2 kB · 59 lines
Nix
at litex
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960{ lib, buildPythonPackage, fetchPypi, marshmallow, mock, openapi-spec-validator, packaging, prance, pytestCheckHook, pythonOlder, pyyaml}:
buildPythonPackage rec { pname = "apispec"; version = "6.3.0"; format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi { inherit pname version; hash = "sha256-bLCNks5z/ws79Gyy6lwA1XKJsPJ5+wJWo99GgYK6U0Q="; };
propagatedBuildInputs = [ packaging ];
passthru.optional-dependencies = { marshmallow = [ marshmallow ]; yaml = [ pyyaml ]; validation = [ openapi-spec-validator prance ] ++ prance.optional-dependencies.osv; };
nativeCheckInputs = [ mock pytestCheckHook ] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies);
pythonImportsCheck = [ "apispec" ];
meta = with lib; { changelog = "https://github.com/marshmallow-code/apispec/blob/${version}/CHANGELOG.rst"; description = "A pluggable API specification generator with support for the OpenAPI Specification"; homepage = "https://github.com/marshmallow-code/apispec"; license = licenses.mit; maintainers = with maintainers; [ costrouc ]; };}