summaryrefslogtreecommitdiffstats
path: root/pkgs/development/ocaml-modules/middleware/default.nix
blob: 736b4a6ec0c1edcc86f84c8180353f2fad909eae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
  lib,
  buildDunePackage,
  fetchurl,
  alcotest,
}:

buildDunePackage (finalAttrs: {
  pname = "middleware";
  version = "0.0.1";

  minimalOCamlVersion = "4.14.0";

  src = fetchurl {
    url = "https://github.com/skolemlabs/middleware/releases/download/${finalAttrs.version}/middleware-${finalAttrs.version}.tbz";
    hash = "sha256-zhLEGvyZiKrdBKWcEbB4PHvYzBlkrp1Ldnon0mP2Ypg=";
  };

  checkInputs = [
    alcotest
  ];

  doCheck = true;

  meta = {
    description = "Composable stacked functions, which can respond to inner calls";
    homepage = "https://github.com/skolemlabs/middleware";
    changelog = "https://github.com/skolemlabs/middleware/blob/${finalAttrs.version}/CHANGES.md";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ sixstring982 ];
  };
})