mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 12:29:02 +02:00
ocaml-vdom: init at 0.2 (#187622)
This commit is contained in:
parent
6cd3b7de50
commit
ee1674cfcc
31
pkgs/development/ocaml-modules/ocaml-vdom/default.nix
Normal file
31
pkgs/development/ocaml-modules/ocaml-vdom/default.nix
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
{ lib, fetchurl, buildDunePackage, js_of_ocaml-compiler , gen_js_api, ojs }:
|
||||||
|
|
||||||
|
buildDunePackage rec {
|
||||||
|
pname = "ocaml-vdom";
|
||||||
|
version = "0.2";
|
||||||
|
minimalOCamlVersion = "4.08";
|
||||||
|
duneVersion = "3";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://github.com/LexiFi/ocaml-vdom/archive/refs/tags/v${version}.tar.gz";
|
||||||
|
sha256 = "sha256-FVR0WubW9VJBGVtVaXdJ+O/ghq0w5+BuItFWXkuVYL8=";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
gen_js_api
|
||||||
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
js_of_ocaml-compiler
|
||||||
|
ojs
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = "https://github.com/LexiFi/ocaml-vdom";
|
||||||
|
description = "Elm architecture and (V)DOM for OCaml";
|
||||||
|
license = lib.licenses.mit;
|
||||||
|
maintainers = with lib.maintainers; [ jayesh-bhoot ];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
|
|
@ -1013,6 +1013,8 @@ let
|
||||||
|
|
||||||
ocaml-syntax-shims = callPackage ../development/ocaml-modules/ocaml-syntax-shims { };
|
ocaml-syntax-shims = callPackage ../development/ocaml-modules/ocaml-syntax-shims { };
|
||||||
|
|
||||||
|
ocaml-vdom = callPackage ../development/ocaml-modules/ocaml-vdom { };
|
||||||
|
|
||||||
syslog = callPackage ../development/ocaml-modules/syslog { };
|
syslog = callPackage ../development/ocaml-modules/syslog { };
|
||||||
|
|
||||||
syslog-message = callPackage ../development/ocaml-modules/syslog-message { };
|
syslog-message = callPackage ../development/ocaml-modules/syslog-message { };
|
||||||
|
|
Loading…
Reference in a new issue