forked from mirrors/nixpkgs
fetchFromGitea: init
This commit is contained in:
parent
8ab19de80d
commit
f96cff58df
7
pkgs/build-support/fetchgitea/default.nix
Normal file
7
pkgs/build-support/fetchgitea/default.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
# Gitea's URLs are compatible with GitHub
|
||||
|
||||
{ lib, fetchFromGitHub }:
|
||||
|
||||
{ domain, ... }@args:
|
||||
|
||||
fetchFromGitHub ((removeAttrs args [ "domain" ]) // { githubBase = domain; })
|
|
@ -556,6 +556,8 @@ in
|
|||
|
||||
fetchCrate = callPackage ../build-support/rust/fetchcrate.nix { };
|
||||
|
||||
fetchFromGitea = callPackage ../build-support/fetchgitea { };
|
||||
|
||||
fetchFromGitHub = callPackage ../build-support/fetchgithub {};
|
||||
|
||||
fetchFromBitbucket = callPackage ../build-support/fetchbitbucket {};
|
||||
|
|
Loading…
Reference in a new issue