polybar: aozora: use fetchFromGitea

inky
Elnu 2 years ago
parent 7e17bbdb7c
commit fb3b5f310d

@ -1,4 +1,4 @@
{ pkgs, lib, fetchgit, rustPlatform }: { pkgs, lib, fetchFromGitea, rustPlatform }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "aozora"; pname = "aozora";
@ -7,8 +7,10 @@ rustPlatform.buildRustPackage rec {
buildInputs = with pkgs; [ openssl ]; buildInputs = with pkgs; [ openssl ];
nativeBuildInputs = with pkgs; [ pkg-config ]; nativeBuildInputs = with pkgs; [ pkg-config ];
src = fetchgit { src = fetchFromGitea {
url = "https://git.elnu.com/ElnuDev/aozora"; domain = "git.elnu.com";
owner = "ElnuDev";
repo = "aozora";
rev = version; rev = version;
sha256 = "93MP1Iw1eklC+IEQXAhzLHJ+qsDASm53qw7vUEtEstI="; sha256 = "93MP1Iw1eklC+IEQXAhzLHJ+qsDASm53qw7vUEtEstI=";
}; };

Loading…
Cancel
Save