summaryrefslogtreecommitdiffstats
path: root/pkgs/development/ocaml-modules/ppx_deriving/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/ocaml-modules/ppx_deriving/default.nix')
-rw-r--r--pkgs/development/ocaml-modules/ppx_deriving/default.nix13
1 files changed, 7 insertions, 6 deletions
diff --git a/pkgs/development/ocaml-modules/ppx_deriving/default.nix b/pkgs/development/ocaml-modules/ppx_deriving/default.nix
index 4b4056a69d72..a1255b2dbc17 100644
--- a/pkgs/development/ocaml-modules/ppx_deriving/default.nix
+++ b/pkgs/development/ocaml-modules/ppx_deriving/default.nix
@@ -1,15 +1,16 @@
-{stdenv, buildOcaml, fetchurl,
- cppo, ppx_tools, result, ounit}:
+{ stdenv, buildOcaml, fetchzip
+, cppo, ppx_tools, result, ounit
+}:
buildOcaml rec {
name = "ppx_deriving";
- version = "v3.3";
+ version = "4.1";
minimumSupportedOcamlVersion = "4.02";
- src = fetchurl {
- url = "https://github.com/whitequark/${name}/archive/${version}.tar.gz";
- sha256 = "1j20c6r2v7h05a4v9m8z5m1yqgwif41yrp63mik14pf3dkrj8x3f";
+ src = fetchzip {
+ url = "https://github.com/whitequark/${name}/archive/v${version}.tar.gz";
+ sha256 = "0cy9p8d8cbcxvqyyv8fz2z9ypi121zrgaamdlp4ld9f3jnwz7my9";
};
hasSharedObjects = true;