mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 18:33:00 +00:00
31 lines
797 B
Nix
31 lines
797 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitLab,
|
|
}: let
|
|
version = "1.1";
|
|
in
|
|
buildGoModule {
|
|
pname = "invidious-router";
|
|
inherit version;
|
|
|
|
src = fetchFromGitLab {
|
|
owner = "gaincoder";
|
|
repo = "invidious-router";
|
|
rev = version;
|
|
hash = "sha256-t8KQqMPkBbVis1odDcSu+H0uvyvoFqCmtWoHqVRxmfc=";
|
|
};
|
|
|
|
vendorHash = "sha256-c03vYidm8SkoesRVQZdg/bCp9LIpdTmpXdfwInlHBKk=";
|
|
|
|
doCheck = true;
|
|
|
|
meta = {
|
|
homepage = "https://gitlab.com/gaincoder/invidious-router";
|
|
description = "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";
|
|
};
|
|
}
|