mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-14 17:53:37 +00:00
f3282c8d1e
* treewide: remove unused variables * making ofborg happy
28 lines
656 B
Nix
28 lines
656 B
Nix
{ lib, fetchFromGitHub, buildDunePackage
|
|
, ppx_fields_conv, ppx_sexp_conv
|
|
, base64, fieldslib, jsonm, re, stringext, uri
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "cohttp";
|
|
version = "2.0.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mirage";
|
|
repo = "ocaml-cohttp";
|
|
rev = "v${version}";
|
|
sha256 = "0nz9y7l5s9a2rq5sb1m5705h99wvf4dk3fhcgragwhy5nwwzcya8";
|
|
};
|
|
|
|
buildInputs = [ jsonm ppx_fields_conv ppx_sexp_conv ];
|
|
|
|
propagatedBuildInputs = [ base64 fieldslib re stringext uri ];
|
|
|
|
meta = {
|
|
description = "HTTP(S) library for Lwt, Async and Mirage";
|
|
license = lib.licenses.isc;
|
|
maintainers = [ lib.maintainers.vbgl ];
|
|
inherit (src.meta) homepage;
|
|
};
|
|
}
|