nixpkgs/pkgs/development/ocaml-modules/resource-pooling/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
597 B
Nix
Raw Normal View History

{ lib, fetchFromGitHub, buildDunePackage, lwt_log }:
buildDunePackage rec {
version = "1.2";
pname = "resource-pooling";
minimalOCamlVersion = "4.06";
src = fetchFromGitHub {
owner = "ocsigen";
repo = pname;
rev = version;
sha256 = "sha256-GNYPxjMTo7y40y7aQdseuFyeVF/hSCZKXfEaH/WIO9w=";
};
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 ];
};
}