summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2016-07-18 20:23:08 +0200
committerVincent Laporte <Vincent.Laporte@gmail.com>2016-08-19 08:14:43 +0200
commit1e419d505b7d2a38abfd945c8e43f9db7209ecee (patch)
tree92f121c73b323e7841774f18cbd0a97597c2c5bb /pkgs/development/ocaml-modules
parenta99d7b1071d9ab31250311065052e3352fb94f14 (diff)
downloadnixpkgs-1e419d505b7d2a38abfd945c8e43f9db7209ecee.tar
nixpkgs-1e419d505b7d2a38abfd945c8e43f9db7209ecee.tar.gz
nixpkgs-1e419d505b7d2a38abfd945c8e43f9db7209ecee.tar.bz2
nixpkgs-1e419d505b7d2a38abfd945c8e43f9db7209ecee.tar.lz
nixpkgs-1e419d505b7d2a38abfd945c8e43f9db7209ecee.tar.xz
nixpkgs-1e419d505b7d2a38abfd945c8e43f9db7209ecee.tar.zst
nixpkgs-1e419d505b7d2a38abfd945c8e43f9db7209ecee.zip
ocaml-uucd: 2.0.0 -> 4.0.0
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r--pkgs/development/ocaml-modules/uucd/default.nix10
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/development/ocaml-modules/uucd/default.nix b/pkgs/development/ocaml-modules/uucd/default.nix
index 8e497560c68..2f19b2c17ef 100644
--- a/pkgs/development/ocaml-modules/uucd/default.nix
+++ b/pkgs/development/ocaml-modules/uucd/default.nix
@@ -1,7 +1,7 @@
-{stdenv, fetchurl, ocaml, findlib, opam, xmlm}:
+{ stdenv, fetchurl, ocaml, findlib, opam, xmlm, topkg }:
 let
   pname = "uucd";
-  version = "2.0.0";
+  version = "4.0.0";
   webpage = "http://erratique.ch/software/${pname}";
   ocaml_version = (builtins.parseDrvName ocaml.name).version;
 in
@@ -11,16 +11,16 @@ stdenv.mkDerivation rec {
 
   src = fetchurl {
     url = "${webpage}/releases/${pname}-${version}.tbz";
-    sha256 = "12lbrrdjwdxfa99pbg344dfkj51lr5d2ispcj7d7lwsqyxy6h57i";
+    sha256 = "11cjfwa4wjhsyvzq4wl9z44xi28n49drz8nbfpx754vyfzwj3yc6";
   };
 
-  buildInputs = [ ocaml findlib opam xmlm ];
+  buildInputs = [ ocaml findlib opam topkg ];
 
   createFindlibDestdir = true;
 
   unpackCmd = "tar xjf $src";
 
-  buildPhase = "ocaml ./pkg/build.ml native=true native-dynlink=true";
+  inherit (topkg) buildPhase;
 
   installPhase = ''
     opam-installer --script --prefix=$out ${pname}.install > install.sh