aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/development/ocaml-modules/ezjsonm/default.nix
blob: 269288ef3cd9563a5723203f9a6f8226a16e4929 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ stdenv, fetchurl, buildDunePackage, jsonm, hex, sexplib0 }:

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

  useDune2 = true;

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

  propagatedBuildInputs = [ jsonm hex sexplib0 ];

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