Commit 72eee9b3 authored by Marijan Petričević's avatar Marijan Petričević Committed by Vincent Laporte
Browse files

ocamlPackages.oidc: init at 0.2.0

parent aa0b4178
Loading
Loading
Loading
Loading
+39 −0
Original line number Diff line number Diff line
{
  lib,
  buildDunePackage,
  fetchurl,
  jose,
  uri,
  junit_alcotest,
}:

buildDunePackage rec {
  pname = "oidc";
  version = "0.2.0";

  src = fetchurl {
    url = "https://github.com/ulrikstrid/ocaml-oidc/releases/download/v${version}/${pname}-v${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
    ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -1585,6 +1585,8 @@ let

        ohex = callPackage ../development/ocaml-modules/ohex { };

        oidc = callPackage ../development/ocaml-modules/oidc { };

        ojs = callPackage ../development/ocaml-modules/gen_js_api/ojs.nix { };

        omd = callPackage ../development/ocaml-modules/omd { };