lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

ocamlPackages.opium_kernel: 0.17.1 → 0.18.0

authored by

Vincent Laporte and committed by
Vincent Laporte
37eb705a 6dbdd13e

+17 -16
+17 -16
pkgs/development/ocaml-modules/opium_kernel/default.nix
··· 1 1 { lib 2 2 , buildDunePackage 3 - , fetchFromGitHub 3 + , fetchurl 4 4 5 5 , ppx_fields_conv 6 6 , ppx_sexp_conv ··· 8 8 , cohttp-lwt 9 9 , ezjsonm 10 10 , hmap 11 + , sexplib 11 12 }: 12 13 13 14 buildDunePackage rec { 14 - pname = "opium_kernel"; 15 - version = "0.17.1"; 15 + pname = "opium_kernel"; 16 + version = "0.18.0"; 17 + 18 + useDune2 = true; 16 19 17 20 minimumOCamlVersion = "4.04.1"; 18 - 19 - src = fetchFromGitHub { 20 - owner = "rgrinberg"; 21 - repo = "opium"; 22 - rev = "v${version}"; 23 - sha256 = "03xzh0ik6k3c0yn1w1avph667vdagwclzimwwrlf9qdxnzxvcnp3"; 24 - }; 21 + 22 + src = fetchurl { 23 + url = "https://github.com/rgrinberg/opium/releases/download/${version}/opium-${version}.tbz"; 24 + sha256 = "0a2y9gw55psqhqli3a5ps9mfdab8r46fnbj882r2sp366sfcy37q"; 25 + }; 25 26 26 27 doCheck = true; 27 28 28 - buildInputs = [ 29 + buildInputs = [ 29 30 ppx_sexp_conv ppx_fields_conv 30 31 ]; 31 32 32 - propagatedBuildInputs = [ 33 - hmap cohttp-lwt ezjsonm 33 + propagatedBuildInputs = [ 34 + hmap cohttp-lwt ezjsonm sexplib 34 35 ]; 35 36 36 37 meta = { 37 - description = "Sinatra like web toolkit for OCaml based on cohttp & lwt"; 38 + description = "Sinatra like web toolkit for OCaml based on cohttp & lwt"; 38 39 homepage = "https://github.com/rgrinberg/opium"; 39 - license = lib.licenses.mit; 40 - maintainers = [ lib.maintainers.pmahoney ]; 40 + license = lib.licenses.mit; 41 + maintainers = [ lib.maintainers.pmahoney ]; 41 42 }; 42 43 }