depot/third_party/nixpkgs/pkgs/development/python-modules/itsdangerous/default.nix
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

36 lines
718 B
Nix

{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, flit-core
, freezegun
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "itsdangerous";
version = "2.2.0";
pyproject = true;
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-4AUMC32h7qU/+vFJwM+7XG4uK2nEvvIsgfputz5fYXM=";
};
build-system = [ flit-core ];
nativeCheckInputs = [
freezegun
pytestCheckHook
];
meta = with lib; {
changelog = "https://github.com/pallets/itsdangerous/blob/${version}/CHANGES.rst";
description = "Safely pass data to untrusted environments and back";
homepage = "https://itsdangerous.palletsprojects.com";
license = licenses.bsd3;
};
}