meli: support mirrors
Servers go down. We can support mirrors for resilience.
This commit is contained in:
parent
e44a9cc1b6
commit
b285b744ac
1 changed files with 7 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
||||||
{ stdenv
|
{ stdenv
|
||||||
, lib
|
, lib
|
||||||
, fetchgit
|
, fetchzip
|
||||||
, rustPlatform
|
, rustPlatform
|
||||||
|
|
||||||
# native build inputs
|
# native build inputs
|
||||||
|
@ -24,9 +24,12 @@ rustPlatform.buildRustPackage rec {
|
||||||
pname = "meli";
|
pname = "meli";
|
||||||
version = "0.8.4";
|
version = "0.8.4";
|
||||||
|
|
||||||
src = fetchgit {
|
src = fetchzip {
|
||||||
url = "https://git.meli-email.org/meli/meli.git";
|
urls = [
|
||||||
rev = "v${version}";
|
"https://git.meli-email.org/meli/meli/archive/v${version}.tar.gz"
|
||||||
|
"https://codeberg.org/meli/meli/archive/v${version}.tar.gz"
|
||||||
|
"https://github.com/meli/meli/archive/refs/tags/v${version}.tar.gz"
|
||||||
|
];
|
||||||
hash = "sha256-wmIlYgXB17/i9Q+6C7pbcEjVlEuvhmqrSH+cDmaBKLs=";
|
hash = "sha256-wmIlYgXB17/i9Q+6C7pbcEjVlEuvhmqrSH+cDmaBKLs=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue