soupault: support both code forge mirrors
Acknowledge the open source, nonprofit forge while prefer using the bandwidth for downloading from the corporate, proprietary forge. Nixpkgs should be like Soupault; Nixpkgs needs a mirror that isn’t locked behind a proprietary, for-profit vendor.
This commit is contained in:
parent
b03eafd6b9
commit
bde81af241
1 changed files with 6 additions and 6 deletions
|
@ -1,5 +1,5 @@
|
||||||
{ lib
|
{ lib
|
||||||
, fetchFromGitea
|
, fetchzip
|
||||||
, ocamlPackages
|
, ocamlPackages
|
||||||
, soupault
|
, soupault
|
||||||
, testers
|
, testers
|
||||||
|
@ -15,11 +15,11 @@ ocamlPackages.buildDunePackage {
|
||||||
|
|
||||||
minimalOCamlVersion = "4.13";
|
minimalOCamlVersion = "4.13";
|
||||||
|
|
||||||
src = fetchFromGitea {
|
src = fetchzip {
|
||||||
domain = "codeberg.org";
|
urls = [
|
||||||
owner = "PataphysicalSociety";
|
"https://github.com/PataphysicalSociety/soupault/archive/${version}.tar.gz"
|
||||||
repo = pname;
|
"https://codeberg.org/PataphysicalSociety/soupault/archive/${version}.tar.gz"
|
||||||
rev = version;
|
];
|
||||||
hash = "sha256-vGTJUbAeYs/EYFykNSmCc4c9G66/Lz3BsUYnZQ8feFo=";
|
hash = "sha256-vGTJUbAeYs/EYFykNSmCc4c9G66/Lz3BsUYnZQ8feFo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue