2021-07-03 03:11:41 +00:00
|
|
|
{ lib, fetchurl, buildDunePackage }:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "routes";
|
2022-03-30 09:31:56 +00:00
|
|
|
version = "1.0.0";
|
2021-07-03 03:11:41 +00:00
|
|
|
|
|
|
|
useDune2 = true;
|
|
|
|
minimalOCamlVersion = "4.05";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/anuragsoni/routes/releases/download/${version}/routes-${version}.tbz";
|
2022-03-30 09:31:56 +00:00
|
|
|
sha256 = "sha256-WSlASDTA1UX+NhW38/XuLkOkdwjIxz0OUkX6Nd2iROg=";
|
2021-07-03 03:11:41 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Typed routing for OCaml applications";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
homepage = "https://anuragsoni.github.io/routes";
|
|
|
|
maintainers = with maintainers; [ ulrikstrid anmonteiro ];
|
|
|
|
};
|
|
|
|
}
|