mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
b2c49d1d71
Co-authored-by: Vincent Laporte <vbgl@users.noreply.github.com>
35 lines
612 B
Nix
35 lines
612 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
|
|
];
|
|
|
|
doCheck = true;
|
|
|
|
meta = {
|
|
description = "An opinionated clean-exit and signal-handling library for Lwt programs";
|
|
license = lib.licenses.mit;
|
|
maintainers = [ lib.maintainers.ulrikstrid ];
|
|
};
|
|
}
|