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

ocamlPackages.jose: init at 0.10.0

parent 29daeb69
Loading
Loading
Loading
Loading
+47 −0
Original line number Diff line number Diff line
{
  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
    ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -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 { };