mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 04:19:00 +02:00
Merge pull request #291384 from s1ls/invidious-router
invidious-router: init at 1.1
This commit is contained in:
commit
38482561f2
|
@ -18090,6 +18090,16 @@
|
|||
github = "silky";
|
||||
githubId = 129525;
|
||||
};
|
||||
sils = {
|
||||
name = "Silas Schöffel";
|
||||
email = "sils@sils.li";
|
||||
matrix = "@sils:vhack.eu";
|
||||
github = "s1ls";
|
||||
githubId = 91412114;
|
||||
keys = [{
|
||||
fingerprint = "C1DA A551 B422 7A6F 3FD9 6B3A 467B 7D12 9EA7 3AC9";
|
||||
}];
|
||||
};
|
||||
Silver-Golden = {
|
||||
name = "Brendan Golden";
|
||||
email = "github+nixpkgs@brendan.ie";
|
||||
|
|
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.1";
|
||||
in
|
||||
buildGo122Module {
|
||||
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 = "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 a new issue