ocamlPackages.nonstd: fix fetch error by using fetchzip

This commit is contained in:
sternenseemann 2021-01-12 19:59:15 +01:00 committed by Vincent Laporte
parent e12409de89
commit d96c347f9d

View file

@ -1,4 +1,4 @@
{ lib, fetchFromBitbucket, buildDunePackage }:
{ lib, fetchzip, buildDunePackage }:
buildDunePackage rec {
pname = "nonstd";
@ -6,10 +6,8 @@ buildDunePackage rec {
minimumOCamlVersion = "4.02";
src = fetchFromBitbucket {
owner = "smondet";
repo = pname;
rev = "${pname}.${version}";
src = fetchzip {
url = "https://bitbucket.org/smondet/${pname}/get/${pname}.${version}.tar.gz";
sha256 = "0ccjwcriwm8fv29ij1cnbc9win054kb6pfga3ygzdbjpjb778j46";
};