mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 12:11:28 +00:00
ocamlPackages.dispatch: init at 0.4.1
This commit is contained in:
parent
81b3a3ff71
commit
84d650ed2b
27
pkgs/development/ocaml-modules/dispatch/default.nix
Normal file
27
pkgs/development/ocaml-modules/dispatch/default.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{ lib, buildDunePackage, fetchFromGitHub, alcotest, result }:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "dispatch";
|
||||
version = "0.4.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "inhabitedtype";
|
||||
repo = "ocaml-dispatch";
|
||||
rev = "${version}";
|
||||
sha256 = "05kb9zcihk50r2haqz8vrlr7kmaka6vrs4j1z500lmnl877as6qr";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ result ];
|
||||
|
||||
checkInputs = lib.optional doCheck alcotest;
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = {
|
||||
inherit (src.meta) homepage;
|
||||
license = lib.licenses.bsd3;
|
||||
description = "Path-based dispatching for client- and server-side applications";
|
||||
maintainers = [ lib.maintainers.vbgl ];
|
||||
};
|
||||
|
||||
}
|
|
@ -223,6 +223,8 @@ let
|
|||
|
||||
digestif = callPackage ../development/ocaml-modules/digestif { };
|
||||
|
||||
dispatch = callPackage ../development/ocaml-modules/dispatch { };
|
||||
|
||||
dolmen = callPackage ../development/ocaml-modules/dolmen { };
|
||||
|
||||
dolog = callPackage ../development/ocaml-modules/dolog { };
|
||||
|
|
Loading…
Reference in a new issue