depot/third_party/nixpkgs/pkgs/development/ocaml-modules/gluten/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

32 lines
775 B
Nix

{ buildDunePackage
, bigstringaf
, faraday
, fetchurl
, lib
}:
buildDunePackage rec {
pname = "gluten";
version = "0.5.0";
src = fetchurl {
url = "https://github.com/anmonteiro/gluten/releases/download/${version}/gluten-${version}.tbz";
hash = "sha256-mGKbbQSPMOumUCtxrAdoBt5y2RrkAf58spkUymTYhYM=";
};
minimalOCamlVersion = "4.08";
propagatedBuildInputs = [
bigstringaf
faraday
];
doCheck = false; # No tests
meta = {
description = "An implementation of a platform specific runtime code for driving network libraries based on state machines, such as http/af, h2 and websocketaf";
license = lib.licenses.bsd3;
homepage = "https://github.com/anmonteiro/gluten";
maintainers = with lib.maintainers; [ anmonteiro ];
};
}