ocamlPackages.routes: init at 0.9.1

launchpad/nixpkgs/master
Ulrik Strid 3 years ago committed by Vincent Laporte
parent bd29bbb985
commit 483be376f7
  1. 21
      pkgs/development/ocaml-modules/routes/default.nix
  2. 2
      pkgs/top-level/ocaml-packages.nix

@ -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 ];
};
}

@ -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 { };

Loading…
Cancel
Save