about summary refs log tree commit diff
path: root/pkgs/tools/typesetting
diff options
context:
space:
mode:
authortoastal <toastal@posteo.net>2024-03-19 21:52:16 +0700
committerVincent Laporte <vbgl@users.noreply.github.com>2024-03-20 16:42:45 +0100
commitbde81af2418c785a93160c7113b368d217c00caa (patch)
tree3ba257a05a5076d5598b13fce88e3d14134286ba /pkgs/tools/typesetting
parentb03eafd6b9622b78bcb65a18e1ae8f70234cc1fb (diff)
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.
Diffstat (limited to 'pkgs/tools/typesetting')
-rw-r--r--pkgs/tools/typesetting/soupault/default.nix12
1 files changed, 6 insertions, 6 deletions
diff --git a/pkgs/tools/typesetting/soupault/default.nix b/pkgs/tools/typesetting/soupault/default.nix
index fcfe87f7e8a3d..639af41367290 100644
--- a/pkgs/tools/typesetting/soupault/default.nix
+++ b/pkgs/tools/typesetting/soupault/default.nix
@@ -1,5 +1,5 @@
 { lib
-, fetchFromGitea
+, fetchzip
 , ocamlPackages
 , soupault
 , testers
@@ -15,11 +15,11 @@ ocamlPackages.buildDunePackage {
 
   minimalOCamlVersion = "4.13";
 
-  src = fetchFromGitea {
-    domain = "codeberg.org";
-    owner = "PataphysicalSociety";
-    repo = pname;
-    rev = version;
+  src = fetchzip {
+    urls = [
+      "https://github.com/PataphysicalSociety/soupault/archive/${version}.tar.gz"
+      "https://codeberg.org/PataphysicalSociety/soupault/archive/${version}.tar.gz"
+    ];
     hash = "sha256-vGTJUbAeYs/EYFykNSmCc4c9G66/Lz3BsUYnZQ8feFo=";
   };