about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/ezjsonm-encoding/default.nix
blob: ec81d52da687e859efd686edd8a301533ae07d7c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ lib, fetchurl, buildDunePackage, ezjsonm }:

buildDunePackage rec {
  pname = "ezjsonm-encoding";
  version = "2.0.0";

  src = fetchurl {
    url = "https://github.com/lthms/ezjsonm-encoding/releases/download/${version}/ezjsonm-encoding-${version}.tbz";
    hash = "sha256-e5OPcbbQLr16ANFNZ5i10LjlHgwcRTCYhyvOhVk22yI=";
  };

  propagatedBuildInputs = [ ezjsonm ];

  meta = {
    description = "Encoding combinators a la Data_encoding for Ezjsonm";
    homepage = "https://github.com/lthms/ezjsonmi-encoding";
    license = lib.licenses.mpl20;
    maintainers = with lib.maintainers; [ fgaz ];
  };
}