From 75b59386b471a3809d3b6fd206f7ce90fd40d846 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Tue, 3 Nov 2020 11:43:56 +0100 Subject: [PATCH] =?UTF-8?q?ocamlPackages.owl:=200.9.0=20=E2=86=92=200.10.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ocaml-modules/owl-base/default.nix | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/pkgs/development/ocaml-modules/owl-base/default.nix b/pkgs/development/ocaml-modules/owl-base/default.nix index 3e1eb09faad..7a454e9ef44 100644 --- a/pkgs/development/ocaml-modules/owl-base/default.nix +++ b/pkgs/development/ocaml-modules/owl-base/default.nix @@ -1,23 +1,19 @@ -{ stdenv, buildDunePackage, fetchFromGitHub, stdlib-shims }: +{ lib, buildDunePackage, fetchurl }: buildDunePackage rec { pname = "owl-base"; - version = "0.9.0"; + version = "0.10.0"; useDune2 = true; - src = fetchFromGitHub { - owner = "owlbarn"; - repo = "owl"; - rev = version; - sha256 = "0xxchsymmdbwszs6barqq8x4vqz5hbap64yxq82c2la9sdxgk0vv"; + src = fetchurl { + url = "https://github.com/owlbarn/owl/releases/download/${version}/owl-${version}.tbz"; + sha256 = "148ny2cdzga1l36kcibvlz5xlyi5zvkywifxaqn8lf79n1swmlzf"; }; - propagatedBuildInputs = [ stdlib-shims ]; - minimumOCamlVersion = "4.10"; - meta = with stdenv.lib; { + meta = with lib; { description = "Numerical computing library for Ocaml"; homepage = "https://ocaml.xyz"; changelog = "https://github.com/owlbarn/owl/releases";