blob: cfc364a4a399744f044eb2705508f9ea8ac9172c (
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
|
{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, freezegun
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "itsdangerous";
version = "2.1.2";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-XbvGizF+XkLzJ/kCF2NUXcP8O/4i5t65aq8fw4h0FWo=";
};
nativeCheckInputs = [
freezegun
pytestCheckHook
];
pytestFlagsArray = [
"-W" "ignore::DeprecationWarning"
];
meta = with lib; {
description = "Safely pass data to untrusted environments and back";
homepage = "https://itsdangerous.palletsprojects.com";
license = licenses.bsd3;
};
}
|