about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/marshmallow-oneofschema/default.nix
blob: 343c5952a434cb66882946fd2c9496902cf5bbb7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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 ];
  };
}