ocamlPackages.jose: init at 0.10.0

This commit is contained in:
Marijan Petričević
2025-05-02 16:37:48 -05:00
committed by Vincent Laporte
parent 29daeb69b6
commit aa0b417845
2 changed files with 49 additions and 0 deletions

View File

@@ -0,0 +1,47 @@
{
lib,
buildDunePackage,
fetchurl,
containers,
junit_alcotest,
astring,
base64,
x509,
yojson,
zarith,
}:
buildDunePackage rec {
pname = "jose";
version = "0.10.0";
src = fetchurl {
url = "https://github.com/ulrikstrid/ocaml-jose/releases/download/v${version}/${pname}-${version}.tbz";
hash = "sha256-F6Odq5JXTkAxdqV3HQusoF+9rvt4BZytslKnsIjJLI8=";
};
propagatedBuildInputs = [
astring
base64
x509
yojson
zarith
];
doCheck = true;
checkInputs = [
containers
junit_alcotest
];
meta = {
description = "JOSE specification implementation in OCaml";
homepage = "https://github.com/ulrikstrid/ocaml-jose";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [
ulrikstrid
toastal
marijanp
];
};
}

View File

@@ -991,6 +991,8 @@ let
jingoo = callPackage ../development/ocaml-modules/jingoo { };
jose = callPackage ../development/ocaml-modules/jose { };
js_of_ocaml = callPackage ../development/tools/ocaml/js_of_ocaml { };
js_of_ocaml-compiler = callPackage ../development/tools/ocaml/js_of_ocaml/compiler.nix { };