From 9d5d5b243d0eea7acbb1fbcd22381cc4a88880f6 Mon Sep 17 00:00:00 2001 From: "R. RyanTM" Date: Tue, 26 Mar 2019 13:53:42 -0700 Subject: [PATCH] ocamlPackages.reactivedata: 0.2.1 -> 0.2.2 Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/ocaml4.06.1-reactivedata/versions Closes #58405 --- .../development/ocaml-modules/reactivedata/default.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pkgs/development/ocaml-modules/reactivedata/default.nix b/pkgs/development/ocaml-modules/reactivedata/default.nix index fa85f217468..05bfe2c0934 100644 --- a/pkgs/development/ocaml-modules/reactivedata/default.nix +++ b/pkgs/development/ocaml-modules/reactivedata/default.nix @@ -1,12 +1,14 @@ { stdenv, fetchurl, ocaml, findlib, ocamlbuild, react, opaline }: -assert stdenv.lib.versionAtLeast ocaml.version "3.11"; +if !stdenv.lib.versionAtLeast ocaml.version "4.04" +then throw "reactiveData is not available for OCaml ${ocaml.version}" +else stdenv.mkDerivation { - name = "ocaml${ocaml.version}-reactiveData-0.2.1"; + name = "ocaml${ocaml.version}-reactiveData-0.2.2"; src = fetchurl { - url = https://github.com/ocsigen/reactiveData/archive/0.2.1.tar.gz; - sha256 = "0wcs0z50nia1cpk8mh6i5qbc6sff9cc8x7s7q1q89d7m73bnv4vf"; + url = https://github.com/ocsigen/reactiveData/archive/0.2.2.tar.gz; + sha256 = "0jzagyp4zla28wykvcgqwd8df71ir0vb4s8akp02cfacd5v86sng"; }; buildInputs = [ ocaml findlib ocamlbuild opaline ];