My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/ocaml-modules/dispatch/default.nix

29 lines
673 B

{ lib, buildDunePackage, fetchFromGitHub, ocaml, alcotest, result }:
buildDunePackage rec {
pname = "dispatch";
version = "0.5.0";
useDune2 = true;
src = fetchFromGitHub {
owner = "inhabitedtype";
repo = "ocaml-dispatch";
rev = version;
sha256 = "12r39ylbxc297cbwjadhd1ghxnwwcdzfjk68r97wim8hcgzxyxv4";
};
propagatedBuildInputs = [ result ];
checkInputs = [ alcotest ];
doCheck = lib.versionAtLeast ocaml.version "4.05";
meta = {
inherit (src.meta) homepage;
license = lib.licenses.bsd3;
description = "Path-based dispatching for client- and server-side applications";
maintainers = [ lib.maintainers.vbgl ];
};
}