mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
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 New Issue
Block a user