Skip to content

Commit

Permalink
ocamlPackages.opium_kernel: 0.17.1 → 0.18.0
Browse files Browse the repository at this point in the history
  • Loading branch information
vbgl committed Oct 20, 2020
1 parent 6dbdd13 commit 37eb705
Showing 1 changed file with 17 additions and 16 deletions.
33 changes: 17 additions & 16 deletions pkgs/development/ocaml-modules/opium_kernel/default.nix
@@ -1,42 +1,43 @@
{ lib
, buildDunePackage
, fetchFromGitHub
, fetchurl

, ppx_fields_conv
, ppx_sexp_conv

, cohttp-lwt
, ezjsonm
, hmap
, sexplib
}:

buildDunePackage rec {
pname = "opium_kernel";
version = "0.17.1";
pname = "opium_kernel";
version = "0.18.0";

useDune2 = true;

minimumOCamlVersion = "4.04.1";

src = fetchFromGitHub {
owner = "rgrinberg";
repo = "opium";
rev = "v${version}";
sha256 = "03xzh0ik6k3c0yn1w1avph667vdagwclzimwwrlf9qdxnzxvcnp3";
};

src = fetchurl {
url = "https://github.com/rgrinberg/opium/releases/download/${version}/opium-${version}.tbz";
sha256 = "0a2y9gw55psqhqli3a5ps9mfdab8r46fnbj882r2sp366sfcy37q";
};

doCheck = true;

buildInputs = [
buildInputs = [
ppx_sexp_conv ppx_fields_conv
];

propagatedBuildInputs = [
hmap cohttp-lwt ezjsonm
propagatedBuildInputs = [
hmap cohttp-lwt ezjsonm sexplib
];

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";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.pmahoney ];
license = lib.licenses.mit;
maintainers = [ lib.maintainers.pmahoney ];
};
}

0 comments on commit 37eb705

Please sign in to comment.