1{
2 lib,
3 buildDunePackage,
4 fetchurl,
5 alcotest,
6}:
7
8buildDunePackage rec {
9 pname = "middleware";
10 version = "0.0.1";
11
12 minimalOCamlVersion = "4.14.0";
13
14 src = fetchurl {
15 url = "https://github.com/skolemlabs/middleware/releases/download/${version}/${pname}-${version}.tbz";
16 hash = "sha256-zhLEGvyZiKrdBKWcEbB4PHvYzBlkrp1Ldnon0mP2Ypg=";
17 };
18
19 checkInputs = [
20 alcotest
21 ];
22
23 doCheck = true;
24
25 meta = {
26 description = "Composable stacked functions, which can respond to inner calls";
27 homepage = "https://github.com/skolemlabs/middleware";
28 changelog = "https://github.com/skolemlabs/middleware/blob/${version}/CHANGES.md";
29 license = lib.licenses.mit;
30 maintainers = with lib.maintainers; [ sixstring982 ];
31 };
32}