git.iko.soy/typeable/nixpkgs
on master help sign in
ocamlPackages.lwt-canceler: init at 0.2
commit4c0834929cafb7478a5e82616d484578a80a3e41 authorUlrik Strid <ulrik.strid@outlook.com> dateWed 7 Jul 2021, 09:33 (5 years ago) parent8d0df26
2 files changed+29
pkgs/development/ocaml-modules/lwt-canceler/default.nix+27 pkgs/top-level/ocaml-packages.nix+2
pkgs/development/ocaml-modules/lwt-canceler/default.nixnew file+27
@@ -0,0 +1,27 @@
1+{ lib, fetchFromGitLab, buildDunePackage, lwt }:
2+
3+buildDunePackage rec {
4+ pname = "lwt-canceler";
5+ version = "0.2";
6+
7+ src = fetchFromGitLab {
8+ owner = "nomadic-labs";
9+ repo = "lwt-canceler";
10+ rev = "v${version}";
11+ sha256 = "07931486vg83sl1c268i0vyw61l8n8xs2krjsj43070zljqi8rf1";
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+}
pkgs/top-level/ocaml-packages.nix+2
@@ -612,6 +612,8 @@ let
612612 ocaml-migrate-parsetree = ocaml-migrate-parsetree-2;
613613 };
614614
615+ lwt-canceler = callPackage ../development/ocaml-modules/lwt-canceler { };
616+
615617 ocaml_lwt = lwt;
616618
617619 lwt_camlp4 = callPackage ../development/ocaml-modules/lwt/camlp4.nix { };