Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / ocaml-modules / rock / default.nix
blobae484e937b83c90cfa64250120a292594e83a34b
1 { lib, fetchurl, buildDunePackage
2 , bigstringaf
3 , hmap
4 , httpaf
5 , lwt
6 , sexplib0
7 }:
9 buildDunePackage rec {
10   pname = "rock";
11   version = "0.20.0";
12   minimalOCamlVersion = "4.08";
13   duneVersion = "3";
15   src = fetchurl {
16     url = "https://github.com/rgrinberg/opium/releases/download/${version}/opium-${version}.tbz";
17     hash = "sha256-MmuRhm3pC69TX4t9Sy/yPjnZUuVzwEs8E/EFS1n/L7Y=";
18   };
20   propagatedBuildInputs = [
21     bigstringaf
22     hmap
23     httpaf
24     lwt
25     sexplib0
26   ];
28   meta = {
29     description = "Minimalist framework to build extensible HTTP servers and clients";
30     homepage = "https://github.com/rgrinberg/opium";
31     license = lib.licenses.mit;
32     maintainers = [ lib.maintainers.vbgl ];
33   };