nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildDunePackage,
4 fetchFromGitLab,
5 fmt,
6 lwt_ppx,
7 menhir,
8 ocf_ppx,
9 ppx_blob,
10 xtmpl_ppx,
11 dune-build-info,
12 dune-site,
13 higlo,
14 logs,
15 lwt,
16 ocf,
17 ptime,
18 uri,
19 uutf,
20 xtmpl,
21}:
22
23buildDunePackage rec {
24 pname = "stog";
25 version = "1.0.0";
26 minimalOCamlVersion = "4.13";
27 src = fetchFromGitLab {
28 domain = "framagit.org";
29 owner = "zoggy";
30 repo = "stog";
31 rev = version;
32 hash = "sha256-hMb6D6VSq2o2NjycwxZt3mZKy1FR+3afEwbOmTc991g=";
33 };
34
35 nativeBuildInputs = [ menhir ];
36 buildInputs = [
37 fmt
38 lwt_ppx
39 ocf_ppx
40 ppx_blob
41 xtmpl_ppx
42 ];
43 propagatedBuildInputs = [
44 dune-build-info
45 dune-site
46 higlo
47 logs
48 lwt
49 ocf
50 ppx_blob
51 ptime
52 uri
53 uutf
54 xtmpl
55 ];
56
57 meta = with lib; {
58 description = "XML documents and web site compiler";
59 homepage = "https://www.good-eris.net/stog";
60 license = licenses.lgpl3;
61 maintainers = with maintainers; [ regnat ];
62 };
63}