From 8786f80a1c7c320f9a0637e9cf36bb8274f3602a Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Tue, 8 Nov 2022 09:44:53 +0100 Subject: [PATCH] =?UTF-8?q?ocamlPackages.js=5Fof=5Focaml-ocamlbuild:=204.0?= =?UTF-8?q?.0=20=E2=86=92=205.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../tools/ocaml/js_of_ocaml/ocamlbuild.nix | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/pkgs/development/tools/ocaml/js_of_ocaml/ocamlbuild.nix b/pkgs/development/tools/ocaml/js_of_ocaml/ocamlbuild.nix index fa9ff95b0fd2..18530f3c6690 100644 --- a/pkgs/development/tools/ocaml/js_of_ocaml/ocamlbuild.nix +++ b/pkgs/development/tools/ocaml/js_of_ocaml/ocamlbuild.nix @@ -1,26 +1,24 @@ -{ lib, buildDunePackage, fetchFromGitHub +{ lib, buildDunePackage, fetchurl , ocamlbuild }: buildDunePackage rec { pname = "js_of_ocaml-ocamlbuild"; - version = "4.0.0"; + version = "5.0"; minimalOCamlVersion = "4.02"; - src = fetchFromGitHub { - owner = "ocsigen"; - repo = pname; - rev = "852302c8f35b946e2ec275c529a79e46d8749be6"; - sha256 = "sha256:03ayvakvbh4wi4dwcgd7r9y8ka8cv3d59hb81yk2dxyd94bln145"; + src = fetchurl { + url = "https://github.com/ocsigen/js_of_ocaml-ocamlbuild/releases/download/${version}/js_of_ocaml-ocamlbuild-${version}.tbz"; + sha256 = "sha256-qlm8vxzie8sqPrd6iiwf8X6d2+DyQOOhmMoc67ChwHs="; }; propagatedBuildInputs = [ ocamlbuild ]; meta = { description = "An ocamlbuild plugin to compile to JavaScript"; + homepage = "https://github.com/ocsigen/js_of_ocaml-ocamlbuild"; license = lib.licenses.lgpl2Only; maintainers = [ lib.maintainers.vbgl ]; - inherit (src.meta) homepage; }; }