depot/third_party/nixpkgs/pkgs/development/ocaml-modules/resource-pooling/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

26 lines
598 B
Nix

{ lib, fetchFromGitHub, buildDunePackage, lwt_log }:
buildDunePackage rec {
version = "1.1";
pname = "resource-pooling";
minimumOCamlVersion = "4.06";
src = fetchFromGitHub {
owner = "ocsigen";
repo = pname;
rev = version;
sha256 = "0wsbnwszafdv3gsiiaslgf6m6pfx74h7h19i0gp2c4ivdiv3wck9";
};
propagatedBuildInputs = [ lwt_log ];
doCheck = true;
meta = {
inherit (src.meta) homepage;
description = "A library for pooling resources like connections, threads, or similar";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.vbgl ];
};
}