polybar: aozora: use fetchFromGitea
This commit is contained in:
parent
7e17bbdb7c
commit
fb3b5f310d
1 changed files with 5 additions and 3 deletions
|
@ -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…
Add table
Reference in a new issue