summaryrefslogtreecommitdiffstats
path: root/pkgs/development/ocaml-modules/ppx_show/default.nix
blob: 02a8b4baa3cbc0974aeef7c150471adff8c38fb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
  lib,
  buildDunePackage,
  fetchFromGitHub,
  stdcompat,
  ppxlib,
}:

buildDunePackage (finalAttrs: {
  pname = "ppx_show";
  version = "0.2.1";

  src = fetchFromGitHub {
    owner = "thierry-martinez";
    repo = "ppx_show";
    rev = "v${finalAttrs.version}";
    sha256 = "sha256-YwWAdOtb0zg2hqNkGRiigz/Pci8Jy/QD+WyUEohEsns=";
  };

  buildInputs = [
    stdcompat
    ppxlib
  ];

  meta = {
    homepage = "https://github.com/thierry-martinez/ppx_show";
    description = "OCaml PPX deriver for deriving show based on ppxlib";
    license = lib.licenses.bsd2;
    maintainers = with lib.maintainers; [ niols ];
  };
})