Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, fetchFromGitLab, buildDunePackage, lwt }:
2
3buildDunePackage rec {
4 pname = "lwt-canceler";
5 version = "0.3";
6
7 src = fetchFromGitLab {
8 owner = "nomadic-labs";
9 repo = "lwt-canceler";
10 rev = "v${version}";
11 sha256 = "1xbb7012hp901b755kxmfgg293rz34rkhwzg2z9i6sakwd7i0h9p";
12 };
13 useDune2 = true;
14
15 propagatedBuildInputs = [
16 lwt
17 ];
18
19 doCheck = true;
20
21 meta = {
22 homepage = "https://gitlab.com/nomadic-labs/lwt-canceler";
23 description = "Cancellation synchronization object";
24 license = lib.licenses.mit;
25 maintainers = [ lib.maintainers.ulrikstrid ];
26 };
27}