python3Packages.itsdangerous: 1.1.0 -> 2.0.1

This commit is contained in:
Martin Weinelt 2021-06-02 20:21:25 +02:00 committed by Jonathan Ringer
parent 19581cb961
commit f6f96866b0
No known key found for this signature in database
GPG Key ID: 5C841D3CFDFEC4E0

View File

@ -1,21 +1,30 @@
{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, freezegun
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "itsdangerous";
version = "1.1.0";
version = "2.0.1";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "321b033d07f2a4136d3ec762eac9f16a10ccd60f53c0c91af90217ace7ba1f19";
sha256 = "1w6gfb2zhbcmrfj6digwzw1z68w6zg1q87rm6la2m412zil4swly";
};
checkInputs = [
freezegun
pytestCheckHook
];
meta = with lib; {
description = "Helpers to pass trusted data to untrusted environments and back";
homepage = "https://pypi.python.org/pypi/itsdangerous/";
license = licenses.bsd0;
description = "Safely pass data to untrusted environments and back";
homepage = "https://itsdangerous.palletsprojects.com";
license = licenses.bsd3;
};
}