From eb464f2771a3796dd54c27d58fe58e9ee6a493e8 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Tue, 13 Jun 2023 06:25:04 +0200 Subject: [PATCH] =?UTF-8?q?ocamlPackages.parmap:=201.2.4=20=E2=86=92=201.2?= =?UTF-8?q?.5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkgs/development/ocaml-modules/parmap/default.nix | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/pkgs/development/ocaml-modules/parmap/default.nix b/pkgs/development/ocaml-modules/parmap/default.nix index 18e1975b698d..a8885aa27f27 100644 --- a/pkgs/development/ocaml-modules/parmap/default.nix +++ b/pkgs/development/ocaml-modules/parmap/default.nix @@ -1,12 +1,14 @@ -{ lib, fetchurl, buildDunePackage, dune-configurator }: +{ lib, fetchFromGitHub, buildDunePackage, dune-configurator }: buildDunePackage rec { pname = "parmap"; - version = "1.2.4"; + version = "1.2.5"; - src = fetchurl { - url = "https://github.com/rdicosmo/${pname}/releases/download/${version}/${pname}-${version}.tbz"; - sha256 = "sha256-BTkSEjIK3CVNloJACFo6eQ6Ob9o/cdrA9xuv87NKas4="; + src = fetchFromGitHub { + owner = "rdicosmo"; + repo = pname; + rev = version; + hash = "sha256-tBu7TGtDOe5FbxLZuz6nl+65aN9FHIngq/O4dJWzr3Q="; }; minimalOCamlVersion = "4.03";