summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/routes/default.nix
blob: a83d0db5d84d05acf68e5f7efc40e844b4a6bfb5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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 ];
  };
}