diff --git a/polybar/aozora.nix b/polybar/aozora.nix index 3de2a58..3391cc3 100644 --- a/polybar/aozora.nix +++ b/polybar/aozora.nix @@ -1,4 +1,4 @@ -{ pkgs, lib, fetchFromGitHub, rustPlatform }: +{ pkgs, lib, fetchgit, rustPlatform }: rustPlatform.buildRustPackage rec { pname = "aozora"; @@ -7,9 +7,8 @@ rustPlatform.buildRustPackage rec { buildInputs = with pkgs; [ openssl ]; nativeBuildInputs = with pkgs; [ pkg-config ]; - src = fetchFromGitHub { - owner = "ElnuDev"; - repo = pname; + src = fetchgit { + url = "https://git.elnu.com/ElnuDev/aozora"; rev = version; sha256 = "93MP1Iw1eklC+IEQXAhzLHJ+qsDASm53qw7vUEtEstI="; }; @@ -18,7 +17,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A simple CLI for fetching Plume Labs air quality info."; - homepage = "https://github.com/ElnuDev/aozora"; + homepage = "https://git.elnu.com/ElnuDev/aozora"; license = licenses.gpl3; maintainers = [ maintainers.tailhook ]; };