mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 13:57:10 +03:00
ocamlPackages.jwto: init at 0.3.0 (#95173)
This commit is contained in:
parent
d4da9bbbc9
commit
9d5733098b
30
pkgs/development/ocaml-modules/jwto/default.nix
Normal file
30
pkgs/development/ocaml-modules/jwto/default.nix
Normal file
@ -0,0 +1,30 @@
|
||||
{ lib, buildDunePackage, fetchFromGitHub, alcotest, cryptokit, fmt, yojson
|
||||
, base64, re, ppx_deriving }:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "jwto";
|
||||
version = "0.3.0";
|
||||
|
||||
minimumOCamlVersion = "4.05";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "sporto";
|
||||
repo = "jwto";
|
||||
rev = version;
|
||||
sha256 = "1p799zk8j9c0002xzi2x7ndj1bzqf14744ampcqndrjnsi7mq71s";
|
||||
};
|
||||
|
||||
propagatedBuildInputs =
|
||||
[ cryptokit fmt yojson base64 re ppx_deriving ];
|
||||
|
||||
checkInputs = [ alcotest ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/sporto/jwto";
|
||||
description = "JSON Web Tokens (JWT) for OCaml";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ Zimmi48 jtcoolen ];
|
||||
};
|
||||
}
|
@ -431,6 +431,8 @@ let
|
||||
|
||||
jsonm = callPackage ../development/ocaml-modules/jsonm { };
|
||||
|
||||
jwto = callPackage ../development/ocaml-modules/jwto { };
|
||||
|
||||
kafka = callPackage ../development/ocaml-modules/kafka { };
|
||||
|
||||
ke = callPackage ../development/ocaml-modules/ke { };
|
||||
|
Loading…
Reference in New Issue
Block a user