mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 08:53:21 +00:00
ocamlPackages.lwt-canceler: init at 0.2
This commit is contained in:
parent
8d0df26d8e
commit
4c0834929c
27
pkgs/development/ocaml-modules/lwt-canceler/default.nix
Normal file
27
pkgs/development/ocaml-modules/lwt-canceler/default.nix
Normal file
@ -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 ];
|
||||
};
|
||||
}
|
@ -612,6 +612,8 @@ let
|
||||
ocaml-migrate-parsetree = ocaml-migrate-parsetree-2;
|
||||
};
|
||||
|
||||
lwt-canceler = callPackage ../development/ocaml-modules/lwt-canceler { };
|
||||
|
||||
ocaml_lwt = lwt;
|
||||
|
||||
lwt_camlp4 = callPackage ../development/ocaml-modules/lwt/camlp4.nix { };
|
||||
|
Loading…
Reference in New Issue
Block a user