1{ lib, buildPythonPackage, fetchPypi, marshmallow, setuptools }: 2 3buildPythonPackage rec { 4 pname = "marshmallow-oneofschema"; 5 version = "3.0.1"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "62cd2099b29188c92493c2940ee79d1bf2f2619a71721664e5a98ec2faa58237"; 10 }; 11 12 propagatedBuildInputs = [ marshmallow setuptools ]; 13 14 pythonImportsCheck = [ "marshmallow_oneofschema" ]; 15 16 meta = with lib; { 17 homepage = "https://github.com/marshmallow-code/marshmallow-oneofschema"; 18 description = "Marshmallow library extension that allows schema (de)multiplexing"; 19 license = licenses.mit; 20 maintainers = [ maintainers.ivan-tkatchev ]; 21 }; 22}