Merge pull request #129961 from KAction/tea

tea: use fetchFromGitea instead of fetchgit
This commit is contained in:
Sandro 2021-07-11 23:37:12 +02:00 committed by GitHub
commit 07a318da2a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,11 +1,13 @@
{ lib, buildGoModule, fetchgit }:
{ lib, buildGoModule, fetchFromGitea }:
buildGoModule rec {
pname = "tea";
version = "0.7.0";
src = fetchgit {
url = "https://gitea.com/gitea/tea";
src = fetchFromGitea {
domain = "gitea.com";
owner = "gitea";
repo = "tea";
rev = "v${version}";
sha256 = "sha256-Kq+A6YELfBJ04t7pPnX8Ulh4NSMFn3AHggplLD9J8MY=";
};