ocamlPackages.middleware: init at 0.0.1

This commit is contained in:
Trent Small 2024-01-23 16:16:07 -07:00 committed by Vincent Laporte
parent 95c1439b20
commit 647a5851aa
2 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,32 @@
{ lib
, buildDunePackage
, fetchurl
, alcotest
}:
buildDunePackage rec {
pname = "middleware";
version = "0.0.1";
minimalOCamlVersion = "4.14.0";
src = fetchurl {
url = "https://github.com/skolemlabs/middleware/releases/download/${version}/${pname}-${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/${version}/CHANGES.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ sixstring982 ];
};
}

View File

@ -1068,6 +1068,8 @@ let
mezzo = callPackage ../development/compilers/mezzo { };
middleware = callPackage ../development/ocaml-modules/middleware { };
mimic = callPackage ../development/ocaml-modules/mimic { };
mimic-happy-eyeballs = callPackage ../development/ocaml-modules/mimic/happy-eyeballs.nix { };