depot/pkgs/development/ocaml-modules/lwt-exit/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

35 lines
642 B
Nix

{ lib
, fetchFromGitLab
, buildDunePackage
, lwt
, ptime
}:
buildDunePackage rec {
pname = "lwt-exit";
version = "1.0";
src = fetchFromGitLab {
owner = "nomadic-labs";
repo = pname;
rev = version;
sha256 = "1k763bmj1asj9ijar39rh3h1d59rckmsf21h2y8966lgglsf42bd";
};
useDune2 = true;
minimalOCamlVersion = "4.08";
propagatedBuildInputs = [
lwt
ptime
];
# for some reason this never exits
doCheck = false;
meta = {
description = "Opinionated clean-exit and signal-handling library for Lwt programs";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.ulrikstrid ];
};
}