2021-07-14 22:03:04 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, marshmallow, setuptools }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "marshmallow-oneofschema";
|
2021-09-18 10:52:07 +00:00
|
|
|
version = "3.0.1";
|
2021-07-14 22:03:04 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-09-18 10:52:07 +00:00
|
|
|
sha256 = "62cd2099b29188c92493c2940ee79d1bf2f2619a71721664e5a98ec2faa58237";
|
2021-07-14 22:03:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ marshmallow setuptools ];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "marshmallow_oneofschema" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/marshmallow-code/marshmallow-oneofschema";
|
|
|
|
description = "Marshmallow library extension that allows schema (de)multiplexing";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.ivan-tkatchev ];
|
|
|
|
};
|
|
|
|
}
|