ocamlPackages.nonstd: fix fetch error by using fetchzip
This commit is contained in:
parent
e12409de89
commit
d96c347f9d
1 changed files with 3 additions and 5 deletions
|
@ -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";
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue