blob: edd1b149905ff00473540822eb8e11624699067c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
{ 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;
};
}
|