mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
ocamlPackages.ke: init at 0.4
This commit is contained in:
parent
7d43ee015a
commit
9f26063077
2 changed files with 30 additions and 0 deletions
28
pkgs/development/ocaml-modules/ke/default.nix
Normal file
28
pkgs/development/ocaml-modules/ke/default.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{ lib, buildDunePackage, fetchurl
|
||||
, bigarray-compat, fmt
|
||||
, alcotest, bigstringaf
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "ke";
|
||||
version = "0.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/mirage/ke/releases/download/v${version}/ke-v${version}.tbz";
|
||||
sha256 = "13c9xy60vmq29mnwpg3h3zgl6gjbjfwbx1s0crfc6xwvark0zxnx";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ bigarray-compat fmt ];
|
||||
|
||||
checkInputs = lib.optionals doCheck [ alcotest bigstringaf ];
|
||||
doCheck = true;
|
||||
|
||||
minimumOCamlVersion = "4.03";
|
||||
|
||||
meta = {
|
||||
description = "Fast implementation of queue in OCaml";
|
||||
homepage = "https://github.com/mirage/ke";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.vbgl ];
|
||||
};
|
||||
}
|
|
@ -362,6 +362,8 @@ let
|
|||
|
||||
jsonm = callPackage ../development/ocaml-modules/jsonm { };
|
||||
|
||||
ke = callPackage ../development/ocaml-modules/ke { };
|
||||
|
||||
lablgl = callPackage ../development/ocaml-modules/lablgl { };
|
||||
|
||||
lablgtk3 = callPackage ../development/ocaml-modules/lablgtk3 { };
|
||||
|
|
Loading…
Reference in a new issue