2020-02-11 16:45:17 +00:00
|
|
|
{ lib, fetchFromGitHub, buildDunePackage, lwt_log }:
|
2019-01-04 17:50:22 +00:00
|
|
|
|
2020-02-11 16:45:17 +00:00
|
|
|
buildDunePackage rec {
|
2022-08-31 05:42:16 +00:00
|
|
|
version = "1.2";
|
2020-02-11 16:45:17 +00:00
|
|
|
pname = "resource-pooling";
|
2019-01-04 17:50:22 +00:00
|
|
|
|
2022-08-31 05:42:16 +00:00
|
|
|
minimalOCamlVersion = "4.06";
|
2019-01-04 17:50:22 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ocsigen";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2022-08-31 05:42:16 +00:00
|
|
|
sha256 = "sha256-GNYPxjMTo7y40y7aQdseuFyeVF/hSCZKXfEaH/WIO9w=";
|
2019-01-04 17:50:22 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ lwt_log ];
|
|
|
|
|
2020-02-11 16:45:17 +00:00
|
|
|
doCheck = true;
|
2019-01-04 17:50:22 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
inherit (src.meta) homepage;
|
|
|
|
description = "A library for pooling resources like connections, threads, or similar";
|
2020-02-11 16:45:17 +00:00
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = [ lib.maintainers.vbgl ];
|
2019-01-04 17:50:22 +00:00
|
|
|
};
|
|
|
|
}
|