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