invidious-router: init at 1.0
This commit is contained in:
parent
091b832816
commit
179a5ac3c3
30
pkgs/by-name/in/invidious-router/package.nix
Normal file
30
pkgs/by-name/in/invidious-router/package.nix
Normal file
@ -0,0 +1,30 @@
|
||||
{
|
||||
lib,
|
||||
buildGo122Module,
|
||||
fetchFromGitLab,
|
||||
}: let
|
||||
version = "1.0";
|
||||
in
|
||||
buildGo122Module {
|
||||
pname = "invidious-router";
|
||||
inherit version;
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "gaincoder";
|
||||
repo = "invidious-router";
|
||||
rev = version;
|
||||
hash = "sha256-6apw+UnhDSuPa9QB3S8b8Ej3NJTK+UCdbDjC2LkhLIg=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-c03vYidm8SkoesRVQZdg/bCp9LIpdTmpXdfwInlHBKk=";
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = {
|
||||
homepage = "https://gitlab.com/gaincoder/invidious-router";
|
||||
description = "A Go application that routes requests to different Invidious instances based on their health status and (optional) response time";
|
||||
license = with lib.licenses; [mit];
|
||||
maintainers = with lib.maintainers; [sils];
|
||||
mainProgram = "invidious-router";
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user