2021-12-06 16:07:01 +00:00
|
|
|
{ buildDunePackage
|
|
|
|
, bigstringaf
|
|
|
|
, faraday
|
|
|
|
, fetchurl
|
|
|
|
, lib
|
2023-02-02 18:25:31 +00:00
|
|
|
, ke
|
2021-12-06 16:07:01 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "gluten";
|
2023-02-02 18:25:31 +00:00
|
|
|
version = "0.3.0";
|
2021-12-06 16:07:01 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/anmonteiro/gluten/releases/download/${version}/gluten-${version}.tbz";
|
2023-02-02 18:25:31 +00:00
|
|
|
hash = "sha256-9jctX3G/nQJTGJ7ClSBEiXwxeu0GcT9N+EmPfLuSFOU=";
|
2021-12-06 16:07:01 +00:00
|
|
|
};
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
minimalOCamlVersion = "4.08";
|
|
|
|
duneVersion = "3";
|
2021-12-06 16:07:01 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
bigstringaf
|
|
|
|
faraday
|
2023-02-02 18:25:31 +00:00
|
|
|
ke
|
2021-12-06 16:07:01 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|