Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
35 lines
717 B
Nix
35 lines
717 B
Nix
{ 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 ];
|
|
};
|
|
|
|
}
|