ocamlPackages.routes: init at 0.9.1
commit483be376f7b20119149380f5acb533e0f2a199e9
authorUlrik Strid <ulrik.strid@outlook.com>
dateFri 2 Jul 2021, 09:06 (5 years ago)
parentbd29bbb
pkgs/development/ocaml-modules/routes/default.nixnew file+21
@@ -0,0 +1,21 @@
1+{ lib, fetchurl, buildDunePackage }:
2+
3+buildDunePackage rec {
4+ pname = "routes";
5+ version = "0.9.1";
6+
7+ useDune2 = true;
8+ minimalOCamlVersion = "4.05";
9+
10+ src = fetchurl {
11+ url = "https://github.com/anuragsoni/routes/releases/download/${version}/routes-${version}.tbz";
12+ sha256 = "0h2c1p5w6237c1lmsl5c8q2dj5dq20gf2cmb12nbmlfn12sfmcrl";
13+ };
14+
15+ meta = with lib; {
16+ description = "Typed routing for OCaml applications";
17+ license = licenses.bsd3;
18+ homepage = "https://anuragsoni.github.io/routes";
19+ maintainers = with maintainers; [ ulrikstrid anmonteiro ];
20+ };
21+}
pkgs/top-level/ocaml-packages.nix+2
@@ -1155,6 +1155,8 @@ let
11551155
11561156 rope = callPackage ../development/ocaml-modules/rope { };
11571157
1158+ routes = callPackage ../development/ocaml-modules/routes { };
1159+
11581160 rpclib = callPackage ../development/ocaml-modules/rpclib { };
11591161
11601162 rpclib-lwt = callPackage ../development/ocaml-modules/rpclib/lwt.nix { };