nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 fetchFromGitLab,
4 buildDunePackage,
5 lwt,
6 ptime,
7}:
8
9buildDunePackage (finalAttrs: {
10 pname = "lwt-exit";
11 version = "1.0";
12 src = fetchFromGitLab {
13 owner = "nomadic-labs";
14 repo = "lwt-exit";
15 tag = finalAttrs.version;
16 hash = "sha256-bQniNH2PGpOQFzAIp+tkOZUW4IA5jaxkTFKrIOsa5sw=";
17 };
18
19 propagatedBuildInputs = [
20 lwt
21 ptime
22 ];
23
24 # for some reason this never exits
25 doCheck = false;
26
27 meta = {
28 description = "Opinionated clean-exit and signal-handling library for Lwt programs";
29 license = lib.licenses.mit;
30 maintainers = [ lib.maintainers.ulrikstrid ];
31 };
32})