nixpkgs/pkgs/development/ocaml-modules/ezjsonm-encoding/default.nix

20 lines
605 B
Nix

{ lib, fetchurl, buildDunePackage, ezjsonm }:
buildDunePackage rec {
pname = "ezjsonm-encoding";
version = "2.1.0";
src = fetchurl {
url = "https://github.com/lthms/ezjsonm-encoding/releases/download/${version}/ezjsonm-encoding-${version}.tbz";
hash = "sha256-qR8Nn3pL1K33qTBLkElaqsTjLjudtI8IMe0GEK08qW4=";
};
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 ];
};
}