mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-11 18:32:23 +08:00
ocamlPackages.jose: init at 0.10.0
This commit is contained in:
committed by
Vincent Laporte
parent
29daeb69b6
commit
aa0b417845
47
pkgs/development/ocaml-modules/jose/default.nix
Normal file
47
pkgs/development/ocaml-modules/jose/default.nix
Normal 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
|
||||
];
|
||||
};
|
||||
}
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user