diff --git a/pkgs/applications/editors/emacs/elisp-packages/update-melpa.el b/pkgs/applications/editors/emacs/elisp-packages/update-melpa.el index c8c1bfee566b..a900d1bedd34 100644 --- a/pkgs/applications/editors/emacs/elisp-packages/update-melpa.el +++ b/pkgs/applications/editors/emacs/elisp-packages/update-melpa.el @@ -103,6 +103,10 @@ return Promise to resolve in that process." (url-hexify-string repo) "/repository/archive.tar.gz?ref=" commit))) + ("sourcehut" (list "nix-prefetch-url" + "--unpack" (concat "https://git.sr.ht/~" repo "/archive/" commit ".tar.gz"))) + ("codeberg" (list "nix-prefetch-url" + "--unpack" (concat "https://codeberg.org/" repo "/archive/" commit ".tar.gz"))) ("bitbucket" (list "nix-prefetch-hg" (concat "https://bitbucket.com/" repo) commit)) ("hg" (list "nix-prefetch-hg"