depot/third_party/nixpkgs/pkgs/development/python-modules/itsdangerous/default.nix
Default email 841d9c7fc1 Project import generated by Copybara.
GitOrigin-RevId: 3a8d7958a610cd3fec3a6f424480f91a1b259185
2021-06-29 00:13:55 +01:00

30 lines
562 B
Nix

{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, freezegun
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "itsdangerous";
version = "2.0.1";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "1w6gfb2zhbcmrfj6digwzw1z68w6zg1q87rm6la2m412zil4swly";
};
checkInputs = [
freezegun
pytestCheckHook
];
meta = with lib; {
description = "Safely pass data to untrusted environments and back";
homepage = "https://itsdangerous.palletsprojects.com";
license = licenses.bsd3;
};
}