depot/third_party/nixpkgs/pkgs/development/ocaml-modules/middleware/default.nix
Default email 23b612e36f Project import generated by Copybara.
GitOrigin-RevId: ae5c332cbb5827f6b1f02572496b141021de335f
2024-01-25 23:12:00 +09:00

32 lines
748 B
Nix

{ 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 ];
};
}