ocamlPackages.routes: init at 0.9.1

This commit is contained in:
Ulrik Strid 2021-07-02 09:06:49 +02:00 committed by Vincent Laporte
parent bd29bbb985
commit 483be376f7
2 changed files with 23 additions and 0 deletions

View file

@ -0,0 +1,21 @@
{ lib, fetchurl, buildDunePackage }:
buildDunePackage rec {
pname = "routes";
version = "0.9.1";
useDune2 = true;
minimalOCamlVersion = "4.05";
src = fetchurl {
url = "https://github.com/anuragsoni/routes/releases/download/${version}/routes-${version}.tbz";
sha256 = "0h2c1p5w6237c1lmsl5c8q2dj5dq20gf2cmb12nbmlfn12sfmcrl";
};
meta = with lib; {
description = "Typed routing for OCaml applications";
license = licenses.bsd3;
homepage = "https://anuragsoni.github.io/routes";
maintainers = with maintainers; [ ulrikstrid anmonteiro ];
};
}

View file

@ -1155,6 +1155,8 @@ let
rope = callPackage ../development/ocaml-modules/rope { };
routes = callPackage ../development/ocaml-modules/routes { };
rpclib = callPackage ../development/ocaml-modules/rpclib { };
rpclib-lwt = callPackage ../development/ocaml-modules/rpclib/lwt.nix { };