diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2019-04-06 13:54:37 +0000 |
---|---|---|
committer | Vincent Laporte <Vincent.Laporte@gmail.com> | 2019-04-07 20:11:18 +0000 |
commit | 2dfc7524c66f2753031ddfd26e762f3b8c100a7b (patch) | |
tree | 48350198d012ec6cbbc65392f65cf1acfd959d9f /pkgs/development/ocaml-modules/cohttp | |
parent | 905405eb725bd108b646b15bd12246813ec0983d (diff) |
ocamlPackages.cohttp: 1.1.1 -> 2.0.0
Diffstat (limited to 'pkgs/development/ocaml-modules/cohttp')
-rw-r--r-- | pkgs/development/ocaml-modules/cohttp/default.nix | 12 | ||||
-rw-r--r-- | pkgs/development/ocaml-modules/cohttp/lwt.nix | 4 |
2 files changed, 8 insertions, 8 deletions
diff --git a/pkgs/development/ocaml-modules/cohttp/default.nix b/pkgs/development/ocaml-modules/cohttp/default.nix index 0110ea0223c..23585ad009c 100644 --- a/pkgs/development/ocaml-modules/cohttp/default.nix +++ b/pkgs/development/ocaml-modules/cohttp/default.nix @@ -1,27 +1,27 @@ -{ stdenv, fetchFromGitHub, buildDunePackage +{ lib, fetchFromGitHub, buildDunePackage , ppx_fields_conv, ppx_sexp_conv, ppx_deriving , base64, fieldslib, jsonm, re, stringext, uri }: buildDunePackage rec { pname = "cohttp"; - version = "1.1.1"; + version = "2.0.0"; src = fetchFromGitHub { owner = "mirage"; repo = "ocaml-cohttp"; rev = "v${version}"; - sha256 = "1dzd6vy43b7p9xplzg2whylz5br59zxaqywa14b4l377f31gnwq1"; + sha256 = "0nz9y7l5s9a2rq5sb1m5705h99wvf4dk3fhcgragwhy5nwwzcya8"; }; buildInputs = [ jsonm ppx_fields_conv ppx_sexp_conv ]; - propagatedBuildInputs = [ ppx_deriving base64 fieldslib re stringext uri ]; + propagatedBuildInputs = [ base64 fieldslib re stringext uri ]; meta = { description = "HTTP(S) library for Lwt, Async and Mirage"; - license = stdenv.lib.licenses.isc; - maintainers = [ stdenv.lib.maintainers.vbgl ]; + license = lib.licenses.isc; + maintainers = [ lib.maintainers.vbgl ]; inherit (src.meta) homepage; }; } diff --git a/pkgs/development/ocaml-modules/cohttp/lwt.nix b/pkgs/development/ocaml-modules/cohttp/lwt.nix index 37348c55262..93ba084703e 100644 --- a/pkgs/development/ocaml-modules/cohttp/lwt.nix +++ b/pkgs/development/ocaml-modules/cohttp/lwt.nix @@ -1,4 +1,4 @@ -{ stdenv, buildDunePackage, cohttp, ocaml_lwt, uri, ppx_sexp_conv }: +{ stdenv, buildDunePackage, cohttp, ocaml_lwt, uri, ppx_sexp_conv, logs }: if !stdenv.lib.versionAtLeast cohttp.version "0.99" then cohttp @@ -10,5 +10,5 @@ buildDunePackage rec { buildInputs = [ uri ppx_sexp_conv ]; - propagatedBuildInputs = [ cohttp ocaml_lwt ]; + propagatedBuildInputs = [ cohttp ocaml_lwt logs ]; } |