2021-06-28 23:13:55 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, pythonOlder
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pytestCheckHook
|
|
|
|
, pytz
|
|
|
|
, simplejson
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "marshmallow";
|
2021-09-26 12:46:18 +00:00
|
|
|
version = "3.13.0";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.6";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-06-28 23:13:55 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "marshmallow-code";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2021-09-26 12:46:18 +00:00
|
|
|
sha256 = "sha256-tP/RKo2Hzxz2bT7ybRs9wGzq7TpsmzmOPi3BGuSLDA0=";
|
2021-06-28 23:13:55 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
pytestCheckHook
|
|
|
|
pytz
|
|
|
|
simplejson
|
|
|
|
];
|
|
|
|
|
2021-09-26 12:46:18 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"marshmallow"
|
|
|
|
];
|
|
|
|
|
2021-06-28 23:13:55 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = ''
|
|
|
|
A lightweight library for converting complex objects to and from
|
|
|
|
simple Python datatypes.
|
|
|
|
'';
|
2021-06-28 23:13:55 +00:00
|
|
|
homepage = "https://github.com/marshmallow-code/marshmallow";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ cript0nauta ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|