nixpkgs/pkgs/development/ocaml-modules/middleware/default.nix
2024-01-24 03:51:55 +01: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 ];
};
}