nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 40 lines 929 B view raw
1{ 2 lib, 3 fetchFromGitHub, 4 buildGoModule, 5 libwebp, 6}: 7buildGoModule { 8 pname = "http3-ytproxy"; 9 version = "0-unstable-2022-07-03"; 10 11 src = fetchFromGitHub { 12 owner = "TeamPiped"; 13 repo = "http3-ytproxy"; 14 rev = "4059da180bb9d7b0de10c1a041bd0e134f1b6408"; 15 hash = "sha256-ilIOkZ9lcuSigh/mMU7IGpWlFMFb2/Y11ri3659S8+I="; 16 }; 17 18 patches = [ 19 # this patch was created by updating the quic-go dependency, bumping the go version 20 # and running `go mod tidy` 21 ./dependencies.patch 22 ]; 23 24 vendorHash = "sha256-17y+kxlLSqCFoxinNNKzg7IqGpbiv0IBsUuC9EC8xnk="; 25 26 buildInputs = [ libwebp ]; 27 28 ldflags = [ 29 "-s" 30 "-w" 31 ]; 32 33 meta = { 34 description = "YouTube traffic proxy for video playback and images"; 35 homepage = "https://github.com/TeamPiped/http3-ytproxy"; 36 license = lib.licenses.agpl3Only; 37 maintainers = with lib.maintainers; [ _999eagle ]; 38 mainProgram = "http3-ytproxy"; 39 }; 40}