nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildDunePackage,
4 fetchFromGitHub,
5 uri,
6}:
7
8buildDunePackage (finalAttrs: {
9 pname = "pure-html";
10 version = "3.11.2";
11
12 src = fetchFromGitHub {
13 owner = "yawaramin";
14 repo = "dream-html";
15 tag = "v${finalAttrs.version}";
16 hash = "sha256-/I233A86T+QEb2qbSHucgzRzYEjS08eKezSXOwz2ml0=";
17 };
18
19 doCheck = true;
20
21 propagatedBuildInputs = [ uri ];
22
23 meta = {
24 description = "Write HTML directly in your OCaml source files with editor support";
25 homepage = "https://github.com/yawaramin/dream-html";
26 changelog = "https://raw.githubusercontent.com/yawaramin/dream-html/refs/tags/v${finalAttrs.version}/CHANGES.md";
27 license = lib.licenses.gpl3;
28 maintainers = [ lib.maintainers.naora ];
29 };
30})