Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at python-updates 33 lines 672 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 flit-core, 6 freezegun, 7 pytestCheckHook, 8}: 9 10buildPythonPackage rec { 11 pname = "itsdangerous"; 12 version = "2.2.0"; 13 pyproject = true; 14 15 src = fetchPypi { 16 inherit pname version; 17 hash = "sha256-4AUMC32h7qU/+vFJwM+7XG4uK2nEvvIsgfputz5fYXM="; 18 }; 19 20 build-system = [ flit-core ]; 21 22 nativeCheckInputs = [ 23 freezegun 24 pytestCheckHook 25 ]; 26 27 meta = { 28 changelog = "https://github.com/pallets/itsdangerous/blob/${version}/CHANGES.rst"; 29 description = "Safely pass data to untrusted environments and back"; 30 homepage = "https://itsdangerous.palletsprojects.com"; 31 license = lib.licenses.bsd3; 32 }; 33}