python3Packages.marshmallow-oneofschema: init at 2.1.0

This commit is contained in:
Ivan Tkachev 2021-07-09 11:18:15 +03:00
parent f6d7ad53c4
commit e6a4acc6ad
2 changed files with 24 additions and 0 deletions

View file

@ -0,0 +1,22 @@
{ lib, buildPythonPackage, fetchPypi, marshmallow, setuptools }:
buildPythonPackage rec {
pname = "marshmallow-oneofschema";
version = "2.1.0";
src = fetchPypi {
inherit pname version;
sha256 = "0s0yr7nv06sfgxglghl2vq74g3m49j60k1hi2qzfsv4bj8hvs35k";
};
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 ];
};
}

View file

@ -4321,6 +4321,8 @@ in {
marshmallow-enum = callPackage ../development/python-modules/marshmallow-enum { };
marshmallow-oneofschema = callPackage ../development/python-modules/marshmallow-oneofschema { };
marshmallow-polyfield = callPackage ../development/python-modules/marshmallow-polyfield { };
marshmallow-sqlalchemy = callPackage ../development/python-modules/marshmallow-sqlalchemy { };