summary refs log tree commit diff
path: root/pkgs/applications/audio/r128gain
diff options
context:
space:
mode:
authorAluísio Augusto Silva Gonçalves <aluisio@aasg.name>2021-04-26 16:57:30 -0300
committerAluísio Augusto Silva Gonçalves <aluisio@aasg.name>2021-04-26 16:57:30 -0300
commit2efafe69ef0f83bb9c68b889db9055228ba46ef7 (patch)
tree96b553e730ccc37cf0269252941fc9e41b206967 /pkgs/applications/audio/r128gain
parent8e4fe32876ca15e3d5eb3ecd3ca0b224417f5f17 (diff)
downloadnixpkgs-2efafe69ef0f83bb9c68b889db9055228ba46ef7.tar
nixpkgs-2efafe69ef0f83bb9c68b889db9055228ba46ef7.tar.gz
nixpkgs-2efafe69ef0f83bb9c68b889db9055228ba46ef7.tar.bz2
nixpkgs-2efafe69ef0f83bb9c68b889db9055228ba46ef7.tar.lz
nixpkgs-2efafe69ef0f83bb9c68b889db9055228ba46ef7.tar.xz
nixpkgs-2efafe69ef0f83bb9c68b889db9055228ba46ef7.tar.zst
nixpkgs-2efafe69ef0f83bb9c68b889db9055228ba46ef7.zip
r128gain: replace ffmpeg_3 with ffmpeg
See https://github.com/NixOS/nixpkgs/issues/120705 for the rationale.
Diffstat (limited to 'pkgs/applications/audio/r128gain')
-rw-r--r--pkgs/applications/audio/r128gain/default.nix12
1 files changed, 5 insertions, 7 deletions
diff --git a/pkgs/applications/audio/r128gain/default.nix b/pkgs/applications/audio/r128gain/default.nix
index 3044acb3264..96053d08d00 100644
--- a/pkgs/applications/audio/r128gain/default.nix
+++ b/pkgs/applications/audio/r128gain/default.nix
@@ -3,7 +3,7 @@
 , genericUpdater
 , substituteAll
 , common-updater-scripts
-, ffmpeg_3
+, ffmpeg
 , python3Packages
 , sox
 }:
@@ -20,12 +20,10 @@ python3Packages.buildPythonApplication rec {
   };
 
   patches = [
-    (
-      substituteAll {
-        src = ./ffmpeg-location.patch;
-        ffmpeg = ffmpeg_3;
-      }
-    )
+    (substituteAll {
+      src = ./ffmpeg-location.patch;
+      inherit ffmpeg;
+    })
   ];
 
   propagatedBuildInputs = with python3Packages; [ crcmod ffmpeg-python mutagen tqdm ];