Merge pull request #190863 from osama-re/melpa-fetchers

Handle melpa new fetchers (sourcehut, codeberg)
This commit is contained in:
Anderson Torres 2022-09-17 10:03:52 -03:00 committed by GitHub
commit cd26687906
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -103,6 +103,10 @@ return Promise to resolve in that process."
(url-hexify-string repo) (url-hexify-string repo)
"/repository/archive.tar.gz?ref=" "/repository/archive.tar.gz?ref="
commit))) 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" ("bitbucket" (list "nix-prefetch-hg"
(concat "https://bitbucket.com/" repo) commit)) (concat "https://bitbucket.com/" repo) commit))
("hg" (list "nix-prefetch-hg" ("hg" (list "nix-prefetch-hg"