dream-html: init at 3.10.1

This commit is contained in:
Naora
2025-06-11 09:51:22 +02:00
parent 151e2ec2f3
commit 2ced86ef52
3 changed files with 52 additions and 0 deletions
@@ -0,0 +1,22 @@
{
lib,
buildDunePackage,
dream,
pure-html,
}:
buildDunePackage {
pname = "dream-html";
inherit (pure-html) src version;
propagatedBuildInputs = [
pure-html
dream
];
meta = {
description = "Write HTML directly in your OCaml source files with editor support.";
license = lib.licenses.gpl3;
maintainers = [ lib.maintainers.naora ];
};
}
@@ -0,0 +1,26 @@
{
lib,
buildDunePackage,
fetchFromGitHub,
uri,
}:
buildDunePackage rec {
pname = "pure-html";
version = "3.10.1";
src = fetchFromGitHub {
owner = "yawaramin";
repo = "dream-html";
tag = "v${version}";
hash = "sha256-LywQG5AaQrrq8lW+aN1doB1MKPSMciZISOeo583Kr9k=";
};
propagatedBuildInputs = [ uri ];
meta = {
description = "Write HTML directly in your OCaml source files with editor support.";
license = lib.licenses.gpl3;
maintainers = [ lib.maintainers.naora ];
};
}
+4
View File
@@ -414,6 +414,8 @@ let
dream = callPackage ../development/ocaml-modules/dream { };
dream-html = callPackage ../development/ocaml-modules/dream-html { };
dream-httpaf = callPackage ../development/ocaml-modules/dream/httpaf.nix { };
dream-pure = callPackage ../development/ocaml-modules/dream/pure.nix { };
@@ -1819,6 +1821,8 @@ let
inherit (pkgs) pulseaudio;
};
pure-html = callPackage ../development/ocaml-modules/dream-html/pure.nix { };
pure-splitmix = callPackage ../development/ocaml-modules/pure-splitmix { };
pyml = callPackage ../development/ocaml-modules/pyml { };