1 { lib, buildDunePackage, fetchFromGitHub, alcotest, digestif, fmt, yojson
3 , base64, re, ppx_deriving }:
11 minimalOCamlVersion = "4.08";
13 src = fetchFromGitHub {
17 hash = "sha256-TOWwNyrOqboCm8Y4mM6GgtmxGO3NmyDdAX7m8CifA7Y=";
20 buildInputs = [ ppxlib ];
22 propagatedBuildInputs =
23 [ digestif fmt yojson base64 re ppx_deriving ];
25 checkInputs = [ alcotest ];
30 homepage = "https://github.com/sporto/jwto";
31 description = "JSON Web Tokens (JWT) for OCaml";
32 license = lib.licenses.mit;
33 maintainers = with lib.maintainers; [ Zimmi48 jtcoolen ];