mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
ocamlPackages.httpun-ws: init at 0.2.0
This commit is contained in:
parent
e2be410cef
commit
75a60571b4
40
pkgs/development/ocaml-modules/httpun-ws/default.nix
Normal file
40
pkgs/development/ocaml-modules/httpun-ws/default.nix
Normal file
@ -0,0 +1,40 @@
|
||||
{ lib
|
||||
, fetchurl
|
||||
, buildDunePackage
|
||||
, angstrom
|
||||
, base64
|
||||
, bigstringaf
|
||||
, faraday
|
||||
, gluten
|
||||
, httpun
|
||||
, alcotest
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "httpun-ws";
|
||||
version = "0.2.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/anmonteiro/httpun-ws/releases/download/${version}/httpun-ws-${version}.tbz";
|
||||
hash = "sha256-6uDNLg61tPyctthitxFqbw/IUDsuQ5BGvw5vTLLCl/0=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
angstrom
|
||||
base64
|
||||
bigstringaf
|
||||
faraday
|
||||
gluten
|
||||
httpun
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
checkInputs = [ alcotest ];
|
||||
|
||||
meta = {
|
||||
description = "Websocket implementation for httpun";
|
||||
license = lib.licenses.bsd3;
|
||||
homepage = "https://github.com/anmonteiro/httpun-ws";
|
||||
maintainers = [ lib.maintainers.vbgl ];
|
||||
};
|
||||
}
|
@ -697,6 +697,8 @@ let
|
||||
|
||||
httpun-types = callPackage ../development/ocaml-modules/httpun/types.nix { };
|
||||
|
||||
httpun-ws = callPackage ../development/ocaml-modules/httpun-ws { };
|
||||
|
||||
hxd = callPackage ../development/ocaml-modules/hxd { };
|
||||
|
||||
### I ###
|
||||
|
Loading…
Reference in New Issue
Block a user