blob: 29d9ea285a550efd2cf2ef0b90a0dbba711d099e (
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;
};
}
|