ocamlPackages.utop: fix source

By using the provided tbz file instead of the auto-generated GitHub
tarball, we ensure that strings like %%VERSION%% have been properly
generated.
This commit is contained in:
Théo Zimmermann 2019-11-12 13:24:35 +01:00
parent e3065afa44
commit 72ef651f55
No known key found for this signature in database
GPG key ID: F1744A0942F536C7

View file

@ -11,8 +11,8 @@ stdenv.mkDerivation rec {
version = "2.4.2";
src = fetchurl {
url = "https://github.com/diml/utop/archive/${version}.tar.gz";
sha256 = "0fl8524vmxb9yxjwrh5varvfp0ff3sgfp627knwbxxr69w45ad8h";
url = "https://github.com/ocaml-community/utop/releases/download/${version}/utop-${version}.tbz";
sha256 = "0y2v8rkfz19nlz8gh0lkh5wx5hyvw5gl4nw1kg8j2pw9jnilq5nb";
};
nativeBuildInputs = [ makeWrapper ];