ocamlPackages.tiny_httpd: init at 0.12

This commit is contained in:
Vincent Laporte 2022-05-24 20:51:42 +02:00 committed by obadz
parent 501d81fa39
commit 25bfced875
2 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,28 @@
{ lib, buildDunePackage, fetchFromGitHub
, result
, seq
}:
buildDunePackage rec {
pname = "tiny_httpd";
version = "0.12";
minimalOCamlVersion = "4.04";
src = fetchFromGitHub {
owner = "c-cube";
repo = pname;
rev = "v${version}";
sha256 = "sha256:1z9hzc0ib7pg9fsjmpggjqwrnip57izr2v0na7vc7s25lxsiag6a";
};
buildInputs = [ result ];
propagatedBuildInputs = [ seq ];
meta = {
description = "Minimal HTTP server using good old threads";
inherit (src.meta) homepage;
license = lib.licenses.mit;
maintainers = [ lib.maintainers.vbgl ];
};
}

View file

@ -1165,6 +1165,8 @@ let
tcpip = callPackage ../development/ocaml-modules/tcpip { };
tiny_httpd = callPackage ../development/ocaml-modules/tiny_httpd { };
tsort = callPackage ../development/ocaml-modules/tsort { };
tuntap = callPackage ../development/ocaml-modules/tuntap { };