a0cb138ada
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
30 lines
567 B
Nix
30 lines
567 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, pythonOlder
|
|
, fetchPypi
|
|
, freezegun
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "itsdangerous";
|
|
version = "2.1.2";
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-XbvGizF+XkLzJ/kCF2NUXcP8O/4i5t65aq8fw4h0FWo=";
|
|
};
|
|
|
|
nativeCheckInputs = [
|
|
freezegun
|
|
pytestCheckHook
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Safely pass data to untrusted environments and back";
|
|
homepage = "https://itsdangerous.palletsprojects.com";
|
|
license = licenses.bsd3;
|
|
};
|
|
|
|
}
|