depot/third_party/nixpkgs/pkgs/development/python-modules/marshmallow-oneofschema/default.nix
Default email 3b21d1e521 Project import generated by Copybara.
GitOrigin-RevId: 23cd13167a1432550e48734079c2ffeeb441fb96
2021-07-15 00:03:04 +02:00

22 lines
652 B
Nix

{ 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 ];
};
}