chromium,chromedriver: 129.0.6668.91 -> 129.0.6668.100
[NixPkgs.git] / pkgs / by-name / ht / http3-ytproxy / package.nix
blob04e6965012937c9445612145d722a5f036a1b228
1 { lib
2 , fetchFromGitHub
3 , buildGoModule
4 , libwebp
5 }:
6 buildGoModule rec {
7   pname = "http3-ytproxy";
8   version = "unstable-2022-07-03";
10   src = fetchFromGitHub {
11     owner = "TeamPiped";
12     repo = pname;
13     rev = "4059da180bb9d7b0de10c1a041bd0e134f1b6408";
14     hash = "sha256-ilIOkZ9lcuSigh/mMU7IGpWlFMFb2/Y11ri3659S8+I=";
15   };
17   patches = [
18     # this patch was created by updating the quic-go dependency, bumping the go version
19     # and running `go mod tidy`
20     ./dependencies.patch
21   ];
23   vendorHash = "sha256-17y+kxlLSqCFoxinNNKzg7IqGpbiv0IBsUuC9EC8xnk=";
25   buildInputs = [ libwebp ];
27   ldflags = [ "-s" "-w" ];
29   meta = with lib; {
30     description = "YouTube traffic proxy for video playback and images";
31     homepage = "https://github.com/TeamPiped/http3-ytproxy";
32     license = licenses.agpl3Only;
33     maintainers = with maintainers; [ _999eagle ];
34     mainProgram = "http3-ytproxy";
35   };