depot/third_party/nixpkgs/pkgs/build-support/fetchgitea/default.nix

8 lines
171 B
Nix
Raw Normal View History

# Gitea's URLs are compatible with GitHub
{ lib, fetchFromGitHub }:
{ domain, ... }@args:
fetchFromGitHub ((removeAttrs args [ "domain" ]) // { githubBase = domain; })