polybar: aozora: use fetchFromGitea

inky
Elnu 1 year ago
parent 7e17bbdb7c
commit fb3b5f310d

@ -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=";
};

Loading…
Cancel
Save