From fb3b5f310d3d711ce67face524e161c1fdae208d Mon Sep 17 00:00:00 2001 From: ElnuDev Date: Thu, 23 Feb 2023 18:21:09 -0800 Subject: [PATCH] polybar: aozora: use fetchFromGitea --- modules/polybar/aozora.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/modules/polybar/aozora.nix b/modules/polybar/aozora.nix index 3391cc3..9915750 100644 --- a/modules/polybar/aozora.nix +++ b/modules/polybar/aozora.nix @@ -1,4 +1,4 @@ -{ pkgs, lib, fetchgit, rustPlatform }: +{ pkgs, lib, fetchFromGitea, rustPlatform }: rustPlatform.buildRustPackage rec { pname = "aozora"; @@ -7,8 +7,10 @@ rustPlatform.buildRustPackage rec { buildInputs = with pkgs; [ openssl ]; nativeBuildInputs = with pkgs; [ pkg-config ]; - src = fetchgit { - url = "https://git.elnu.com/ElnuDev/aozora"; + src = fetchFromGitea { + domain = "git.elnu.com"; + owner = "ElnuDev"; + repo = "aozora"; rev = version; sha256 = "93MP1Iw1eklC+IEQXAhzLHJ+qsDASm53qw7vUEtEstI="; };