blob: 880e3c869aabff11261c9a25c071cdb25717ba05 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
, pytz
, simplejson
, packaging
, setuptools
}:
buildPythonPackage rec {
pname = "marshmallow";
version = "3.20.2";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "marshmallow-code";
repo = "marshmallow";
rev = "refs/tags/${version}";
hash = "sha256-z6Quf6uTelGwB/uYayVXtVmculwaoI5LL8I0kKiM/e8=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
packaging
];
nativeCheckInputs = [
pytestCheckHook
pytz
simplejson
];
pythonImportsCheck = [
"marshmallow"
];
meta = with lib; {
description = "Library for converting complex objects to and from simple Python datatypes";
homepage = "https://github.com/marshmallow-code/marshmallow";
changelog = "https://github.com/marshmallow-code/marshmallow/blob/${version}/CHANGELOG.rst";
license = licenses.mit;
maintainers = with maintainers; [ cript0nauta ];
};
}
|