Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ocamlPackages.opium_kernel: 0.17.1 → 0.18.0
- Loading branch information
Showing
1 changed file
with
17 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 ]; | ||
}; | ||
} |