From 10bb8b1818d309a144b2a0775ce1d0194a433852 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Wed, 4 May 2022 07:13:19 +0200 Subject: [PATCH] =?UTF-8?q?ocamlPackages.easy-format:=201.2.0=20=E2=86=92?= =?UTF-8?q?=201.3.2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ocaml-modules/easy-format/default.nix | 21 ++++++------------- 1 file changed, 6 insertions(+), 15 deletions(-) diff --git a/pkgs/development/ocaml-modules/easy-format/default.nix b/pkgs/development/ocaml-modules/easy-format/default.nix index a6e78977846..a3fb9722965 100644 --- a/pkgs/development/ocaml-modules/easy-format/default.nix +++ b/pkgs/development/ocaml-modules/easy-format/default.nix @@ -1,24 +1,15 @@ -{ lib, stdenv, fetchFromGitHub, ocaml, findlib }: - -stdenv.mkDerivation rec { +{ lib, fetchurl, buildDunePackage }: +buildDunePackage rec { pname = "easy-format"; - version = "1.2.0"; + version = "1.3.2"; - src = fetchFromGitHub { - owner = "mjambon"; - repo = "easy-format"; - rev = "v${version}"; - sha256 = "sha256-qf73+T9a+eDy78iZgpA08TjIo+lvjftfSkwyT3M96gE="; + src = fetchurl { + url = "https://github.com/ocaml-community/easy-format/releases/download/${version}/easy-format-${version}.tbz"; + sha256 = "sha256:09hrikx310pac2sb6jzaa7k6fmiznnmhdsqij1gawdymhawc4h1l"; }; - nativeBuildInputs = [ ocaml findlib ]; - strictDeps = true; - - createFindlibDestdir = true; - doCheck = true; - checkTarget = "test"; meta = with lib; { description = "A high-level and functional interface to the Format module of the OCaml standard library";