mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-21 04:28:40 +03:00
promise_jsoo: init at 0.3.1 (#172194)
This commit is contained in:
parent
c907ad423b
commit
2acbedd334
31
pkgs/development/ocaml-modules/promise_jsoo/default.nix
Normal file
31
pkgs/development/ocaml-modules/promise_jsoo/default.nix
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
{ lib, fetchurl, buildDunePackage, js_of_ocaml, ppxlib, js_of_ocaml-ppx, gen_js_api, ojs }:
|
||||||
|
|
||||||
|
buildDunePackage rec {
|
||||||
|
pname = "promise_jsoo";
|
||||||
|
version = "0.3.1";
|
||||||
|
minimalOCamlVersion = "4.08";
|
||||||
|
duneVersion = "3";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://github.com/mnxn/promise_jsoo/releases/download/v${version}/promise_jsoo-v${version}.tbz";
|
||||||
|
sha256 = "00pjnsbv0yv3hhxbbl8dsljgr95kjgi9w8j1x46gjyxg9zayrxzl";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
ppxlib
|
||||||
|
js_of_ocaml-ppx
|
||||||
|
gen_js_api
|
||||||
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
js_of_ocaml
|
||||||
|
ojs
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = "https://github.com/mnxn/promise_jsoo";
|
||||||
|
description = "Js_of_ocaml bindings to JS Promises with supplemental functions";
|
||||||
|
license = lib.licenses.mit;
|
||||||
|
maintainers = with lib.maintainers; [ jayesh-bhoot ];
|
||||||
|
};
|
||||||
|
}
|
@ -1307,6 +1307,8 @@ let
|
|||||||
|
|
||||||
progress = callPackage ../development/ocaml-modules/progress { };
|
progress = callPackage ../development/ocaml-modules/progress { };
|
||||||
|
|
||||||
|
promise_jsoo = callPackage ../development/ocaml-modules/promise_jsoo { };
|
||||||
|
|
||||||
ptmap = callPackage ../development/ocaml-modules/ptmap { };
|
ptmap = callPackage ../development/ocaml-modules/ptmap { };
|
||||||
|
|
||||||
ptset = callPackage ../development/ocaml-modules/ptset { };
|
ptset = callPackage ../development/ocaml-modules/ptset { };
|
||||||
|
Loading…
Reference in New Issue
Block a user