depot/third_party/nixpkgs/pkgs/development/ocaml-modules/lwt-canceler/default.nix
Default email 6064764516 Project import generated by Copybara.
GitOrigin-RevId: 2cf9db0e3d45b9d00f16f2836cb1297bcadc475e
2021-10-14 08:43:12 +08:00

27 lines
600 B
Nix

{ lib, fetchFromGitLab, buildDunePackage, lwt }:
buildDunePackage rec {
pname = "lwt-canceler";
version = "0.3";
src = fetchFromGitLab {
owner = "nomadic-labs";
repo = "lwt-canceler";
rev = "v${version}";
sha256 = "1xbb7012hp901b755kxmfgg293rz34rkhwzg2z9i6sakwd7i0h9p";
};
useDune2 = true;
propagatedBuildInputs = [
lwt
];
doCheck = true;
meta = {
homepage = "https://gitlab.com/nomadic-labs/lwt-canceler";
description = "Cancellation synchronization object";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.ulrikstrid ];
};
}