Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, fetchurl, buildDunePackage }:
2
3buildDunePackage rec {
4 pname = "routes";
5 version = "2.0.0";
6
7 duneVersion = "3";
8 minimalOCamlVersion = "4.05";
9
10 src = fetchurl {
11 url = "https://github.com/anuragsoni/routes/releases/download/${version}/routes-${version}.tbz";
12 hash = "sha256-O2KdaYwrAOUEwTtM14NUgGNxnc8BWAycP1EEuB6w1og=";
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}