diff --git a/pkgs/development/ocaml-modules/dream-html/default.nix b/pkgs/development/ocaml-modules/dream-html/default.nix index dc115db96c31..d46990d44847 100644 --- a/pkgs/development/ocaml-modules/dream-html/default.nix +++ b/pkgs/development/ocaml-modules/dream-html/default.nix @@ -1,5 +1,4 @@ { - lib, buildDunePackage, dream, pure-html, @@ -8,7 +7,7 @@ buildDunePackage { pname = "dream-html"; - inherit (pure-html) src version; + inherit (pure-html) src version meta; buildInputs = [ ppxlib @@ -18,11 +17,4 @@ buildDunePackage { pure-html dream ]; - - meta = { - description = "Write HTML directly in your OCaml source files with editor support"; - license = lib.licenses.gpl3; - maintainers = [ lib.maintainers.naora ]; - broken = lib.versionAtLeast ppxlib.version "0.36"; - }; } diff --git a/pkgs/development/ocaml-modules/dream-html/pure.nix b/pkgs/development/ocaml-modules/dream-html/pure.nix index fd0f4573d7af..60fc809e320d 100644 --- a/pkgs/development/ocaml-modules/dream-html/pure.nix +++ b/pkgs/development/ocaml-modules/dream-html/pure.nix @@ -5,22 +5,26 @@ uri, }: -buildDunePackage rec { +buildDunePackage (finalAttrs: { pname = "pure-html"; - version = "3.11.1"; + version = "3.11.2"; src = fetchFromGitHub { owner = "yawaramin"; repo = "dream-html"; - tag = "v${version}"; - hash = "sha256-L/q3nxUONPdZtzmfCfP8nnNCwQNSpeYI0hqowioGYNg="; + tag = "v${finalAttrs.version}"; + hash = "sha256-/I233A86T+QEb2qbSHucgzRzYEjS08eKezSXOwz2ml0="; }; + doCheck = true; + propagatedBuildInputs = [ uri ]; meta = { description = "Write HTML directly in your OCaml source files with editor support"; + homepage = "https://github.com/yawaramin/dream-html"; + changelog = "https://raw.githubusercontent.com/yawaramin/dream-html/refs/tags/v${finalAttrs.version}/CHANGES.md"; license = lib.licenses.gpl3; maintainers = [ lib.maintainers.naora ]; }; -} +})