ocamlPackages.rock: init at 0.20.0

This commit is contained in:
Vincent Laporte 2022-12-20 08:48:25 +01:00 committed by Vincent Laporte
parent b169e34beb
commit 55d12597f3
2 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,35 @@
{ lib, fetchurl, buildDunePackage
, bigstringaf
, hmap
, httpaf
, lwt
, sexplib0
}:
buildDunePackage rec {
pname = "rock";
version = "0.20.0";
minimalOCamlVersion = "4.08";
duneVersion = "3";
src = fetchurl {
url = "https://github.com/rgrinberg/opium/releases/download/${version}/opium-${version}.tbz";
hash = "sha256-MmuRhm3pC69TX4t9Sy/yPjnZUuVzwEs8E/EFS1n/L7Y=";
};
propagatedBuildInputs = [
bigstringaf
hmap
httpaf
lwt
sexplib0
];
meta = {
description = "Minimalist framework to build extensible HTTP servers and clients";
homepage = "https://github.com/rgrinberg/opium";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.vbgl ];
};
}

View File

@ -1204,6 +1204,8 @@ let
result = callPackage ../development/ocaml-modules/ocaml-result { };
rock = callPackage ../development/ocaml-modules/rock { };
samplerate = callPackage ../development/ocaml-modules/samplerate { };
secp256k1 = callPackage ../development/ocaml-modules/secp256k1 {