File tree Expand file tree Collapse file tree 2 files changed +43
-0
lines changed
development/ocaml-modules/h1 Expand file tree Collapse file tree 2 files changed +43
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ lib ,
3+ buildDunePackage ,
4+ fetchurl ,
5+ angstrom ,
6+ bigstringaf ,
7+ faraday ,
8+ httpun-types ,
9+ alcotest ,
10+ version ? "1.0.0" ,
11+ } :
12+
13+ buildDunePackage {
14+ inherit version ;
15+
16+ pname = "h1" ;
17+
18+ src = fetchurl {
19+ url = "https://github.com/robur-coop/ocaml-h1/releases/download/v${ version } /h1-${ version } .tbz" ;
20+ hash = "sha256-uFHRcNmfHiFmdMAMKiS5KilIwMylf/AoJCfxllrIvRM=" ;
21+ } ;
22+
23+ propagatedBuildInputs = [
24+ angstrom
25+ bigstringaf
26+ faraday
27+ httpun-types
28+ ] ;
29+
30+ doCheck = true ;
31+ checkInputs = [
32+ alcotest
33+ ] ;
34+
35+ meta = {
36+ description = "A high-performance, memory-efficient, and scalable web server for OCaml" ;
37+ homepage = "https://github.com/robur-coop/ocaml-h1" ;
38+ maintainers = [ lib . maintainers . vbgl ] ;
39+ license = lib . licenses . bsd3 ;
40+ } ;
41+ }
Original file line number Diff line number Diff line change 684684
685685 ### H ###
686686
687+ h1 = callPackage ../development/ocaml-modules/h1 { } ;
688+
687689 h2 = callPackage ../development/ocaml-modules/h2 { } ;
688690
689691 h2-eio = callPackage ../development/ocaml-modules/h2/eio.nix { } ;
You can’t perform that action at this time.
0 commit comments