ocamlPackages.oidc: init at 0.2.0

This commit is contained in:
Marijan Petričević 2025-05-02 16:41:59 -05:00 committed by Vincent Laporte
parent aa0b417845
commit 72eee9b3dd
2 changed files with 41 additions and 0 deletions

View file

@ -0,0 +1,39 @@
{
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
];
};
}

View file

@ -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 { };