Files
Ihar HrachyshkaandWolfgang Walther 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

63 lines
958 B
Nix

{
lib,
buildDunePackage,
fetchFromGitLab,
fmt,
lwt_ppx,
menhir,
ocf_ppx,
ppx_blob,
xtmpl_ppx,
dune-build-info,
dune-site,
higlo,
logs,
lwt,
ocf,
ptime,
uri,
uutf,
xtmpl,
}:
buildDunePackage rec {
pname = "stog";
version = "1.1.0";
minimalOCamlVersion = "4.13";
src = fetchFromGitLab {
domain = "framagit.org";
owner = "zoggy";
repo = "stog";
tag = version;
hash = "sha256-seaVco5AoOxjEuw8zYsrA25vcyo1Un3eUJUU9FT57WU=";
};
nativeBuildInputs = [ menhir ];
buildInputs = [
lwt_ppx
ocf_ppx
ppx_blob
xtmpl_ppx
];
propagatedBuildInputs = [
dune-build-info
dune-site
fmt
higlo
logs
lwt
ocf
ptime
uri
uutf
xtmpl
];
meta = {
description = "XML documents and web site compiler";
homepage = "https://www.good-eris.net/stog";
license = lib.licenses.lgpl3;
maintainers = with lib.maintainers; [ regnat ];
};
}