summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2023-05-26 08:38:24 +0200
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2023-05-31 04:03:19 +0000
commit35a6f5fba6e7e6a239825bb95ba2e30a7cc098ca (patch)
tree973c1996473f69524a7e105ba9896bc3c0a8f62f
parent91f654d57cbd42ccf7f1038a43e2aa60d5e26133 (diff)
ocamlPackages.iter: 1.6 → 1.7
(cherry picked from commit 56376c4eee79d43725bccff13258aaefa0ac8199)
-rw-r--r--pkgs/development/ocaml-modules/iter/default.nix20
1 files changed, 7 insertions, 13 deletions
diff --git a/pkgs/development/ocaml-modules/iter/default.nix b/pkgs/development/ocaml-modules/iter/default.nix
index 7d0f9366a554c..167f3739d2693 100644
--- a/pkgs/development/ocaml-modules/iter/default.nix
+++ b/pkgs/development/ocaml-modules/iter/default.nix
@@ -1,25 +1,19 @@
-{ lib, fetchFromGitHub, buildDunePackage, ocaml, dune-configurator
-, result, seq
+{ lib, fetchurl, buildDunePackage
 , mdx, ounit2, qcheck-core
 }:
 
 buildDunePackage rec {
   pname = "iter";
-  version = "1.6";
+  version = "1.7";
 
-  duneVersion = "3";
+  minimalOCamlVersion = "4.08";
 
-  src = fetchFromGitHub {
-    owner = "c-cube";
-    repo = pname;
-    rev = "v${version}";
-    sha256 = "sha256-FbM/Vk/h4wkrBjyf9/QXTvTOA0nNqsdHP1mDnVkg1is=";
+  src = fetchurl {
+    url = "https://github.com/c-cube/iter/releases/download/v${version}/iter-${version}.tbz";
+    hash = "sha256-vtcSnPMxpBwDve1zsR6cEnUsyu3JELPt2Kwu4OEEtzA=";
   };
 
-  buildInputs = [ dune-configurator ];
-  propagatedBuildInputs = [ result seq ];
-
-  doCheck = lib.versionAtLeast ocaml.version "4.08";
+  doCheck = true;
   nativeCheckInputs = [ mdx.bin ];
   checkInputs = [ ounit2 qcheck-core ];