mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-31 09:14:28 +00:00
Merge pull request #212114 from marsam/update-ytarchive
ytarchive: 2022-05-28 -> 0.3.2
This commit is contained in:
commit
45a5c01a26
@ -1,17 +1,25 @@
|
||||
{ lib, buildGoModule, fetchFromGitHub, makeBinaryWrapper, ffmpeg }:
|
||||
{ lib, buildGoModule, fetchFromGitHub, fetchpatch, makeBinaryWrapper, ffmpeg }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "ytarchive";
|
||||
version = "unstable-2022-05-28";
|
||||
version = "0.3.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Kethsar";
|
||||
repo = "ytarchive";
|
||||
rev = "8d48052f432ec6f78c6aed326e8a1db31ee8e706";
|
||||
sha256 = "sha256-IsG0YPVBzsbHLNs1m/AruDmm0n7vwN9Fj1KMOoQJQ+c=";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-fBYwLGg1h5pn8ZP5vZmzzIEvuXlBJ27p4tv7UVMwOEw=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-r9fDFSCDItQ7YSj9aTY1LXRrFE9T3XD0X36ywCfu0R8=";
|
||||
patches = [
|
||||
# Increase the Go version required. See https://github.com/Kethsar/ytarchive/pull/127
|
||||
(fetchpatch {
|
||||
url = "https://github.com/Kethsar/ytarchive/commit/2a995ead4448d03c975378a1932ad975da1a6383.patch";
|
||||
sha256 = "sha256-Y+y/Sp/xOS9tBT+LQQ9vE+4n/2RH10umFEEEEVXgtuc=";
|
||||
})
|
||||
];
|
||||
|
||||
vendorHash = "sha256-8uTDcu8ucPzck+1dDoySGtc3l1+1USxCfUvdS+ncsnU=";
|
||||
|
||||
nativeBuildInputs = [ makeBinaryWrapper ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user