evcc: 0.131.8 -> 0.131.10 (#364658)
[NixPkgs.git] / pkgs / development / python-modules / itsdangerous / default.nix
blob29d9ea285a550efd2cf2ef0b90a0dbba711d099e
2   lib,
3   buildPythonPackage,
4   pythonOlder,
5   fetchPypi,
6   flit-core,
7   freezegun,
8   pytestCheckHook,
9 }:
11 buildPythonPackage rec {
12   pname = "itsdangerous";
13   version = "2.2.0";
14   pyproject = true;
16   disabled = pythonOlder "3.6";
18   src = fetchPypi {
19     inherit pname version;
20     hash = "sha256-4AUMC32h7qU/+vFJwM+7XG4uK2nEvvIsgfputz5fYXM=";
21   };
23   build-system = [ flit-core ];
25   nativeCheckInputs = [
26     freezegun
27     pytestCheckHook
28   ];
30   meta = with lib; {
31     changelog = "https://github.com/pallets/itsdangerous/blob/${version}/CHANGES.rst";
32     description = "Safely pass data to untrusted environments and back";
33     homepage = "https://itsdangerous.palletsprojects.com";
34     license = licenses.bsd3;
35   };