lol

Merge pull request #212114 from marsam/update-ytarchive

ytarchive: 2022-05-28 -> 0.3.2

authored by

Mario Rodas and committed by
GitHub
45a5c01a 84c765c8

+13 -5
+13 -5
pkgs/tools/misc/ytarchive/default.nix
··· 1 - { lib, buildGoModule, fetchFromGitHub, makeBinaryWrapper, ffmpeg }: 1 + { lib, buildGoModule, fetchFromGitHub, fetchpatch, makeBinaryWrapper, ffmpeg }: 2 2 3 3 buildGoModule rec { 4 4 pname = "ytarchive"; 5 - version = "unstable-2022-05-28"; 5 + version = "0.3.2"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "Kethsar"; 9 9 repo = "ytarchive"; 10 - rev = "8d48052f432ec6f78c6aed326e8a1db31ee8e706"; 11 - sha256 = "sha256-IsG0YPVBzsbHLNs1m/AruDmm0n7vwN9Fj1KMOoQJQ+c="; 10 + rev = "v${version}"; 11 + hash = "sha256-fBYwLGg1h5pn8ZP5vZmzzIEvuXlBJ27p4tv7UVMwOEw="; 12 12 }; 13 13 14 - vendorSha256 = "sha256-r9fDFSCDItQ7YSj9aTY1LXRrFE9T3XD0X36ywCfu0R8="; 14 + patches = [ 15 + # Increase the Go version required. See https://github.com/Kethsar/ytarchive/pull/127 16 + (fetchpatch { 17 + url = "https://github.com/Kethsar/ytarchive/commit/2a995ead4448d03c975378a1932ad975da1a6383.patch"; 18 + sha256 = "sha256-Y+y/Sp/xOS9tBT+LQQ9vE+4n/2RH10umFEEEEVXgtuc="; 19 + }) 20 + ]; 21 + 22 + vendorHash = "sha256-8uTDcu8ucPzck+1dDoySGtc3l1+1USxCfUvdS+ncsnU="; 15 23 16 24 nativeBuildInputs = [ makeBinaryWrapper ]; 17 25