ocamlPackages.tiny_httpd: init at 0.12
This commit is contained in:
parent
501d81fa39
commit
25bfced875
28
pkgs/development/ocaml-modules/tiny_httpd/default.nix
Normal file
28
pkgs/development/ocaml-modules/tiny_httpd/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -1165,6 +1165,8 @@ let
|
|||||||
|
|
||||||
tcpip = callPackage ../development/ocaml-modules/tcpip { };
|
tcpip = callPackage ../development/ocaml-modules/tcpip { };
|
||||||
|
|
||||||
|
tiny_httpd = callPackage ../development/ocaml-modules/tiny_httpd { };
|
||||||
|
|
||||||
tsort = callPackage ../development/ocaml-modules/tsort { };
|
tsort = callPackage ../development/ocaml-modules/tsort { };
|
||||||
|
|
||||||
tuntap = callPackage ../development/ocaml-modules/tuntap { };
|
tuntap = callPackage ../development/ocaml-modules/tuntap { };
|
||||||
|
Loading…
Reference in New Issue
Block a user