summary refs log tree commit diff
path: root/pkgs/tools/misc/ytarchive
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2022-05-01 04:20:00 +0000
committerMario Rodas <marsam@users.noreply.github.com>2022-05-01 04:20:00 +0000
commita609bf9e8602e4cf5bd961f33f2c7aca7d5da9f5 (patch)
treeeac162aa19de0933aea5b14f5791b8e11fe5b560 /pkgs/tools/misc/ytarchive
parent761c21a16a4a6e18909f5a9a81139b515a11bfd9 (diff)
downloadnixpkgs-a609bf9e8602e4cf5bd961f33f2c7aca7d5da9f5.tar
nixpkgs-a609bf9e8602e4cf5bd961f33f2c7aca7d5da9f5.tar.gz
nixpkgs-a609bf9e8602e4cf5bd961f33f2c7aca7d5da9f5.tar.bz2
nixpkgs-a609bf9e8602e4cf5bd961f33f2c7aca7d5da9f5.tar.lz
nixpkgs-a609bf9e8602e4cf5bd961f33f2c7aca7d5da9f5.tar.xz
nixpkgs-a609bf9e8602e4cf5bd961f33f2c7aca7d5da9f5.tar.zst
nixpkgs-a609bf9e8602e4cf5bd961f33f2c7aca7d5da9f5.zip
ytarchive: 2022-02-16 -> 2022-03-11
Diffstat (limited to 'pkgs/tools/misc/ytarchive')
-rw-r--r--pkgs/tools/misc/ytarchive/default.nix14
1 files changed, 10 insertions, 4 deletions
diff --git a/pkgs/tools/misc/ytarchive/default.nix b/pkgs/tools/misc/ytarchive/default.nix
index 7176ea0953d..ecf1fe9ff69 100644
--- a/pkgs/tools/misc/ytarchive/default.nix
+++ b/pkgs/tools/misc/ytarchive/default.nix
@@ -1,20 +1,26 @@
-{ lib, buildGoModule, fetchFromGitHub }:
+{ lib, buildGoModule, fetchFromGitHub, makeWrapper, ffmpeg }:
 
 buildGoModule rec {
   pname = "ytarchive";
-  version = "unstable-2022-02-16";
+  version = "unstable-2022-03-11";
 
   src = fetchFromGitHub {
     owner = "Kethsar";
     repo = "ytarchive";
-    rev = "66a1ca003de7302c99bda943500257d5fd374199";
-    sha256 = "sha256-6eLNyInqXB+LWbZ18DvXbTdpRpiCDMGwJaiyQfZZ4xM=";
+    rev = "34825e8777637ca114a0ab394a4b4fead6ad7c88";
+    sha256 = "sha256-/x6YcF2EyjOFnIHlsh+ZESF+7AYO3QRNaqbJgycQai4=";
   };
 
   vendorSha256 = "sha256-r9fDFSCDItQ7YSj9aTY1LXRrFE9T3XD0X36ywCfu0R8=";
 
+  nativeBuildInputs = [ makeWrapper ];
+
   ldflags = [ "-s" "-w" ];
 
+  postInstall = ''
+    wrapProgram $out/bin/ytarchive --prefix PATH : ${lib.makeBinPath [ ffmpeg ]}
+  '';
+
   meta = with lib; {
     homepage = "https://github.com/Kethsar/ytarchive";
     description = "Garbage Youtube livestream downloader";