1{
2 lib,
3 buildDunePackage,
4 fetchurl,
5 jose,
6 uri,
7 junit_alcotest,
8}:
9
10buildDunePackage rec {
11 pname = "oidc";
12 version = "0.2.0";
13
14 src = fetchurl {
15 url = "https://github.com/ulrikstrid/ocaml-oidc/releases/download/v${version}/${pname}-v${version}.tbz";
16 hash = "sha256-NE/OW5BesVWhYfTmh3jP+A0TGML7m/Nw+tnafjMCIFo=";
17 };
18
19 propagatedBuildInputs = [
20 jose
21 uri
22 ];
23
24 doCheck = true;
25 checkInputs = [
26 junit_alcotest
27 ];
28
29 meta = {
30 description = "OpenID Connect implementation in OCaml";
31 homepage = "https://github.com/ulrikstrid/ocaml-oidc";
32 license = lib.licenses.bsd3;
33 maintainers = with lib.maintainers; [
34 ulrikstrid
35 toastal
36 marijanp
37 ];
38 };
39}