summaryrefslogtreecommitdiffstats
path: root/pkgs/development/ocaml-modules/oidc/default.nix
blob: 3e33605156ef170b06d57c85922b08d7e9d28bb1 (plain)
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
36
37
38
39
{
  lib,
  buildDunePackage,
  fetchurl,
  jose,
  uri,
  junit_alcotest,
}:

buildDunePackage (finalAttrs: {
  pname = "oidc";
  version = "0.2.0";

  src = fetchurl {
    url = "https://github.com/ulrikstrid/ocaml-oidc/releases/download/v${finalAttrs.version}/oidc-v${finalAttrs.version}.tbz";
    hash = "sha256-NE/OW5BesVWhYfTmh3jP+A0TGML7m/Nw+tnafjMCIFo=";
  };

  propagatedBuildInputs = [
    jose
    uri
  ];

  doCheck = true;
  checkInputs = [
    junit_alcotest
  ];

  meta = {
    description = "OpenID Connect implementation in OCaml";
    homepage = "https://github.com/ulrikstrid/ocaml-oidc";
    license = lib.licenses.bsd3;
    maintainers = with lib.maintainers; [
      ulrikstrid
      toastal
      marijanp
    ];
  };
})