Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 17.09 23 lines 568 B view raw
1{ lib, buildPythonPackage, fetchPypi, 2 future, pycryptodomex, pytest, requests, six 3}: 4 5buildPythonPackage rec { 6 pname = "pyjwkest"; 7 name = "${pname}-${version}"; 8 version = "1.3.2"; 9 10 meta = { 11 description = "Implementation of JWT, JWS, JWE and JWK"; 12 homepage = https://github.com/rohe/pyjwkest; 13 license = lib.licenses.asl20; 14 }; 15 16 src = fetchPypi { 17 inherit pname version; 18 sha256 = "11rrswsmma3wzi2qnmq929323yc6i9fkjsv8zr7b3vajd72yr49d"; 19 }; 20 21 buildInputs = [ pytest ]; 22 propagatedBuildInputs = [ future pycryptodomex requests six ]; 23}