1{ lib
2, buildPythonPackage
3, pythonOlder
4, fetchFromGitHub
5, pytestCheckHook
6, pytz
7, simplejson
8}:
9
10buildPythonPackage rec {
11 pname = "marshmallow";
12 version = "3.13.0";
13
14 disabled = pythonOlder "3.6";
15
16 src = fetchFromGitHub {
17 owner = "marshmallow-code";
18 repo = pname;
19 rev = version;
20 sha256 = "sha256-tP/RKo2Hzxz2bT7ybRs9wGzq7TpsmzmOPi3BGuSLDA0=";
21 };
22
23 checkInputs = [
24 pytestCheckHook
25 pytz
26 simplejson
27 ];
28
29 pythonImportsCheck = [
30 "marshmallow"
31 ];
32
33 meta = with lib; {
34 description = ''
35 A lightweight library for converting complex objects to and from
36 simple Python datatypes.
37 '';
38 homepage = "https://github.com/marshmallow-code/marshmallow";
39 license = licenses.mit;
40 maintainers = with maintainers; [ cript0nauta ];
41 };
42}