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

23 lines
606 B
Nix
Raw Normal View History

{ lib, fetchurl, buildDunePackage, jsonm, hex, sexplib0 }:
buildDunePackage rec {
pname = "ezjsonm";
2023-03-17 05:07:51 +00:00
version = "1.3.0";
2023-03-17 05:07:51 +00:00
duneVersion = "3";
2020-10-21 05:19:58 +00:00
src = fetchurl {
2023-03-17 05:07:51 +00:00
url = "https://github.com/mirage/ezjsonm/releases/download/v${version}/ezjsonm-${version}.tbz";
hash = "sha256-CGM+Dw52eoroGTXKfnTxaTuFp5xFAtVo7t/1Fw8M13s=";
};
2020-10-21 05:19:58 +00:00
propagatedBuildInputs = [ jsonm hex sexplib0 ];
meta = {
description = "Easy interface on top of the Jsonm library";
homepage = "https://github.com/mirage/ezjsonm";
license = lib.licenses.isc;
maintainers = with lib.maintainers; [ vbgl ];
};
}