ocamlPackages.re: use released source rather than a git snapshot

This fixes the version information in the META file
This commit is contained in:
Vincent Laporte 2020-10-23 21:22:34 +02:00 committed by Vincent Laporte
parent add6a1ef1f
commit 7f8f1fc182

View file

@ -1,4 +1,4 @@
{ lib, fetchzip, buildDunePackage, ocaml, ounit, seq }:
{ lib, fetchurl, buildDunePackage, ocaml, ounit, seq }:
buildDunePackage rec {
pname = "re";
@ -6,9 +6,9 @@ buildDunePackage rec {
minimumOCamlVersion = "4.02";
src = fetchzip {
url = "https://github.com/ocaml/ocaml-re/archive/${version}.tar.gz";
sha256 = "07ycb103mr4mrkxfd63cwlsn023xvcjp0ra0k7n2gwrg0mwxmfss";
src = fetchurl {
url = "https://github.com/ocaml/ocaml-re/releases/download/${version}/re-${version}.tbz";
sha256 = "1gas4ky49zgxph3870nffzkr6y41kkpqp4nj38pz1gh49zcf12aj";
};
buildInputs = lib.optional doCheck ounit;