python3Packages.marshmallow: 3.10.0 -> 3.11.1
This commit is contained in:
committed by
Jonathan Ringer
parent
ce09a10d5c
commit
e543608ad1
@@ -1,27 +1,40 @@
|
||||
{ lib, buildPythonPackage, fetchPypi,
|
||||
dateutil, simplejson, isPy27
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
, pytz
|
||||
, simplejson
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "marshmallow";
|
||||
version = "3.10.0";
|
||||
disabled = isPy27;
|
||||
version = "3.11.1";
|
||||
disabled = pythonOlder "3.5";
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/marshmallow-code/marshmallow";
|
||||
src = fetchFromGitHub {
|
||||
owner = "marshmallow-code";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "1ypm142y3giaqydc7fkigm9r057yp2sd1ng5zr2x3w3wbbj5yfm6";
|
||||
};
|
||||
|
||||
pythonImportsCheck = [
|
||||
"marshmallow"
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
pytz
|
||||
simplejson
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = ''
|
||||
A lightweight library for converting complex objects to and from
|
||||
simple Python datatypes.
|
||||
'';
|
||||
license = lib.licenses.mit;
|
||||
homepage = "https://github.com/marshmallow-code/marshmallow";
|
||||
license = licenses.mit;
|
||||
};
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "4ab2fdb7f36eb61c3665da67a7ce281c8900db08d72ba6bf0e695828253581f7";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ dateutil simplejson ];
|
||||
|
||||
doCheck = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user