summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/ppx_tools
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2017-02-02 20:16:07 +0000
committerVincent Laporte <Vincent.Laporte@gmail.com>2017-02-02 20:27:30 +0000
commit9f334c2732e4d8606ccb09b14893aad5c37bb9da (patch)
tree3d2252cf31056d290882fa4e84a08c0c344837f2 /pkgs/development/ocaml-modules/ppx_tools
parent78960abfc7bdc502d8b4a7312f3dcddad8c1e888 (diff)
downloadnixpkgs-9f334c2732e4d8606ccb09b14893aad5c37bb9da.tar
nixpkgs-9f334c2732e4d8606ccb09b14893aad5c37bb9da.tar.gz
nixpkgs-9f334c2732e4d8606ccb09b14893aad5c37bb9da.tar.bz2
nixpkgs-9f334c2732e4d8606ccb09b14893aad5c37bb9da.tar.lz
nixpkgs-9f334c2732e4d8606ccb09b14893aad5c37bb9da.tar.xz
nixpkgs-9f334c2732e4d8606ccb09b14893aad5c37bb9da.tar.zst
nixpkgs-9f334c2732e4d8606ccb09b14893aad5c37bb9da.zip
ocamlPackages.ppx_tools: init at unstable-20161114 (for OCaml 4.04)
Diffstat (limited to 'pkgs/development/ocaml-modules/ppx_tools')
-rw-r--r--pkgs/development/ocaml-modules/ppx_tools/default.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/development/ocaml-modules/ppx_tools/default.nix b/pkgs/development/ocaml-modules/ppx_tools/default.nix
index b6a6039a4fa..62aa97de5fa 100644
--- a/pkgs/development/ocaml-modules/ppx_tools/default.nix
+++ b/pkgs/development/ocaml-modules/ppx_tools/default.nix
@@ -7,6 +7,10 @@ let param = {
   "4.03.0" = {
     version = "5.0+4.03.0";
     sha256 = "061v1fl5z7z3ywi4ppryrlcywnvnqbsw83ppq72qmkc7ma4603jg"; };
+  "4.04.0" = {
+    version = "unstable-20161114";
+    rev = "49c08e2e4ea8fef88692cd1dcc1b38a9133f17ac";
+    sha256 = "0ywzfkf5brj33nwh49k9if8x8v433ral25f3nbklfc9vqr06zrfl"; };
 }."${ocaml.version}";
 in
   stdenv.mkDerivation {
@@ -14,7 +18,7 @@ in
     src = fetchFromGitHub {
       owner = "alainfrisch";
       repo = "ppx_tools";
-      rev = param.version;
+      rev = if param ? rev then param.rev else param.version;
       inherit (param) sha256;
     };