diff options
author | Ulrik Strid <ulrik.strid@outlook.com> | 2021-07-07 09:33:06 +0200 |
---|---|---|
committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2021-07-07 13:28:43 +0200 |
commit | 4c0834929cafb7478a5e82616d484578a80a3e41 (patch) | |
tree | ac3295e636004dcbc809b6849fae9f0dd3dba706 /pkgs/development/ocaml-modules | |
parent | 8d0df26d8e115c14dd800a09e7bb8fa1289142de (diff) | |
download | nixlib-4c0834929cafb7478a5e82616d484578a80a3e41.tar nixlib-4c0834929cafb7478a5e82616d484578a80a3e41.tar.gz nixlib-4c0834929cafb7478a5e82616d484578a80a3e41.tar.bz2 nixlib-4c0834929cafb7478a5e82616d484578a80a3e41.tar.lz nixlib-4c0834929cafb7478a5e82616d484578a80a3e41.tar.xz nixlib-4c0834929cafb7478a5e82616d484578a80a3e41.tar.zst nixlib-4c0834929cafb7478a5e82616d484578a80a3e41.zip |
ocamlPackages.lwt-canceler: init at 0.2
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r-- | pkgs/development/ocaml-modules/lwt-canceler/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/lwt-canceler/default.nix b/pkgs/development/ocaml-modules/lwt-canceler/default.nix new file mode 100644 index 000000000000..2e4d12082b75 --- /dev/null +++ b/pkgs/development/ocaml-modules/lwt-canceler/default.nix @@ -0,0 +1,27 @@ +{ lib, fetchFromGitLab, buildDunePackage, lwt }: + +buildDunePackage rec { + pname = "lwt-canceler"; + version = "0.2"; + + src = fetchFromGitLab { + owner = "nomadic-labs"; + repo = "lwt-canceler"; + rev = "v${version}"; + sha256 = "07931486vg83sl1c268i0vyw61l8n8xs2krjsj43070zljqi8rf1"; + }; + useDune2 = true; + + propagatedBuildInputs = [ + lwt + ]; + + doCheck = true; + + meta = { + homepage = "https://gitlab.com/nomadic-labs/lwt-canceler"; + description = "Cancellation synchronization object"; + license = lib.licenses.mit; + maintainers = [ lib.maintainers.ulrikstrid ]; + }; +} |