ocamlPackages.opium_kernel: 0.17.1 → 0.18.0

This commit is contained in:
Vincent Laporte 2020-10-14 07:35:35 +02:00 committed by Vincent Laporte
parent 6dbdd13e8a
commit 37eb705a65

View file

@ -1,6 +1,6 @@
{ lib { lib
, buildDunePackage , buildDunePackage
, fetchFromGitHub , fetchurl
, ppx_fields_conv , ppx_fields_conv
, ppx_sexp_conv , ppx_sexp_conv
@ -8,35 +8,36 @@
, cohttp-lwt , cohttp-lwt
, ezjsonm , ezjsonm
, hmap , hmap
, sexplib
}: }:
buildDunePackage rec { buildDunePackage rec {
pname = "opium_kernel"; pname = "opium_kernel";
version = "0.17.1"; version = "0.18.0";
useDune2 = true;
minimumOCamlVersion = "4.04.1"; minimumOCamlVersion = "4.04.1";
src = fetchFromGitHub { src = fetchurl {
owner = "rgrinberg"; url = "https://github.com/rgrinberg/opium/releases/download/${version}/opium-${version}.tbz";
repo = "opium"; sha256 = "0a2y9gw55psqhqli3a5ps9mfdab8r46fnbj882r2sp366sfcy37q";
rev = "v${version}"; };
sha256 = "03xzh0ik6k3c0yn1w1avph667vdagwclzimwwrlf9qdxnzxvcnp3";
};
doCheck = true; doCheck = true;
buildInputs = [ buildInputs = [
ppx_sexp_conv ppx_fields_conv ppx_sexp_conv ppx_fields_conv
]; ];
propagatedBuildInputs = [ propagatedBuildInputs = [
hmap cohttp-lwt ezjsonm hmap cohttp-lwt ezjsonm sexplib
]; ];
meta = { meta = {
description = "Sinatra like web toolkit for OCaml based on cohttp & lwt"; description = "Sinatra like web toolkit for OCaml based on cohttp & lwt";
homepage = "https://github.com/rgrinberg/opium"; homepage = "https://github.com/rgrinberg/opium";
license = lib.licenses.mit; license = lib.licenses.mit;
maintainers = [ lib.maintainers.pmahoney ]; maintainers = [ lib.maintainers.pmahoney ];
}; };
} }