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

buildDunePackage rec {
  pname = "ezjsonm";
  version = "1.3.0";

  duneVersion = "3";

  src = fetchurl {
    url = "https://github.com/mirage/ezjsonm/releases/download/v${version}/ezjsonm-${version}.tbz";
    hash = "sha256-CGM+Dw52eoroGTXKfnTxaTuFp5xFAtVo7t/1Fw8M13s=";
  };

  propagatedBuildInputs = [ jsonm hex sexplib0 ];

  meta = {
    description = "An easy interface on top of the Jsonm library";
    homepage = "https://github.com/mirage/ezjsonm";
    license = lib.licenses.isc;
    maintainers = with lib.maintainers; [ vbgl ];
  };
}