diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2015-07-01 20:20:19 +0200 |
---|---|---|
committer | Vincent Laporte <Vincent.Laporte@gmail.com> | 2015-07-01 20:23:19 +0200 |
commit | ba4ddf51efe55707eac722f5bf00c12f250864ff (patch) | |
tree | eb267d856fbafb298b1c406cba5efa56be8a993c /pkgs/development/ocaml-modules | |
parent | 9a97c3c7aed398d1d86f93a817f3cdf7ea1a3d85 (diff) | |
download | nixpkgs-ba4ddf51efe55707eac722f5bf00c12f250864ff.tar nixpkgs-ba4ddf51efe55707eac722f5bf00c12f250864ff.tar.gz nixpkgs-ba4ddf51efe55707eac722f5bf00c12f250864ff.tar.bz2 nixpkgs-ba4ddf51efe55707eac722f5bf00c12f250864ff.tar.lz nixpkgs-ba4ddf51efe55707eac722f5bf00c12f250864ff.tar.xz nixpkgs-ba4ddf51efe55707eac722f5bf00c12f250864ff.tar.zst nixpkgs-ba4ddf51efe55707eac722f5bf00c12f250864ff.zip |
ocaml-uri: 1.9.0 -> 1.9.1
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r-- | pkgs/development/ocaml-modules/uri/default.nix | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/pkgs/development/ocaml-modules/uri/default.nix b/pkgs/development/ocaml-modules/uri/default.nix index 41cd2f64823..03620d05f54 100644 --- a/pkgs/development/ocaml-modules/uri/default.nix +++ b/pkgs/development/ocaml-modules/uri/default.nix @@ -1,25 +1,27 @@ -{ stdenv, fetchzip, ocaml, findlib, re, sexplib, stringext }: +{ stdenv, fetchzip, ocaml, findlib, re, sexplib, stringext, ounit }: assert stdenv.lib.versionAtLeast (stdenv.lib.getVersion ocaml) "4"; -let version = "1.9.0"; in +let version = "1.9.1"; in stdenv.mkDerivation { name = "ocaml-uri-${version}"; src = fetchzip { url = "https://github.com/mirage/ocaml-uri/archive/v${version}.tar.gz"; - sha256 = "13vbv6q7npl2bvvqfw03mav90jcrrvjbdpdp4y8mcjz0iax5ww9b"; + sha256 = "0v3jxqgyi4kj92r3x83rszfpnvvzy9lyb913basch4q64yka3w85"; }; - buildInputs = [ ocaml findlib ]; + buildInputs = [ ocaml findlib ounit ]; propagatedBuildInputs = [ re sexplib stringext ]; - configurePhase = "ocaml setup.ml -configure --prefix $out"; + configurePhase = "ocaml setup.ml -configure --prefix $out --enable-tests"; buildPhase = '' ocaml setup.ml -build ocaml setup.ml -doc ''; + doCheck = true; + checkPhase = "ocaml setup.ml -test"; installPhase = "ocaml setup.ml -install"; createFindlibDestdir = true; |