summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/uuidm
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2017-10-14 12:53:46 +0000
committerVincent Laporte <Vincent.Laporte@gmail.com>2017-10-14 12:53:46 +0000
commit415db05504cdf8422fd8b681fd1f1e91b920230a (patch)
treecb455d8ecd62a13d3747654394d1469cde44adbf /pkgs/development/ocaml-modules/uuidm
parent27bcd6c426914509e472d742ef17501ae6e885ed (diff)
downloadnixpkgs-415db05504cdf8422fd8b681fd1f1e91b920230a.tar
nixpkgs-415db05504cdf8422fd8b681fd1f1e91b920230a.tar.gz
nixpkgs-415db05504cdf8422fd8b681fd1f1e91b920230a.tar.bz2
nixpkgs-415db05504cdf8422fd8b681fd1f1e91b920230a.tar.lz
nixpkgs-415db05504cdf8422fd8b681fd1f1e91b920230a.tar.xz
nixpkgs-415db05504cdf8422fd8b681fd1f1e91b920230a.tar.zst
nixpkgs-415db05504cdf8422fd8b681fd1f1e91b920230a.zip
ocamlPackages.uuidm: 0.9.5 -> 0.9.6
Diffstat (limited to 'pkgs/development/ocaml-modules/uuidm')
-rw-r--r--pkgs/development/ocaml-modules/uuidm/default.nix12
1 files changed, 5 insertions, 7 deletions
diff --git a/pkgs/development/ocaml-modules/uuidm/default.nix b/pkgs/development/ocaml-modules/uuidm/default.nix
index 0391cd5033f..5a1689eaeeb 100644
--- a/pkgs/development/ocaml-modules/uuidm/default.nix
+++ b/pkgs/development/ocaml-modules/uuidm/default.nix
@@ -1,20 +1,18 @@
-{ stdenv, fetchurl, ocaml, findlib, ocamlbuild }:
+{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, topkg, opam, cmdliner }:
 
 stdenv.mkDerivation rec {
-  version = "0.9.5";
+  version = "0.9.6";
   name = "uuidm-${version}"; 
   src = fetchurl {
     url = "http://erratique.ch/software/uuidm/releases/uuidm-${version}.tbz";
-    sha256 = "03bgxs119bphv9ggg97nsl5m61s43ixgby05hhggv16iadx9zndm";
+    sha256 = "0hz4fdx0x16k0pw9995vkz5d1hmzz6b16wck9li399rcbfnv5jlc";
   };
 
   unpackCmd = "tar -xf $curSrc";
 
-  buildInputs = [ ocaml findlib ocamlbuild ];
+  buildInputs = [ ocaml findlib ocamlbuild topkg opam cmdliner ];
 
-  configurePhase = "ocaml setup.ml -configure --prefix $prefix";
-  buildPhase = "ocaml setup.ml -build";
-  installPhase = "ocaml setup.ml -install";
+  inherit (topkg) buildPhase installPhase;
 
   createFindlibDestdir = true;