about summary refs log tree commit diff
path: root/pkgs/applications/audio/pianobar
diff options
context:
space:
mode:
authorThomas Gerbet <thomas@gerbet.me>2021-05-02 12:04:54 +0200
committerThomas Gerbet <thomas@gerbet.me>2021-05-02 12:04:54 +0200
commit885caf29af3271199e99a8f4df0240508b28b927 (patch)
tree3f4839ac2de8e7b2efe855958c21b91fdf3c83e1 /pkgs/applications/audio/pianobar
parentc576998594b4b8790f291d17fa92d499d1dc5d42 (diff)
pianobar: use ffmpeg4
See migrate away from ffmpeg_3 #120705.
Diffstat (limited to 'pkgs/applications/audio/pianobar')
-rw-r--r--pkgs/applications/audio/pianobar/default.nix9
1 files changed, 5 insertions, 4 deletions
diff --git a/pkgs/applications/audio/pianobar/default.nix b/pkgs/applications/audio/pianobar/default.nix
index 0abc933d62863..c5ef0352503fc 100644
--- a/pkgs/applications/audio/pianobar/default.nix
+++ b/pkgs/applications/audio/pianobar/default.nix
@@ -1,16 +1,17 @@
-{ fetchurl, lib, stdenv, pkg-config, libao, json_c, libgcrypt, ffmpeg_3, curl }:
+{ fetchurl, lib, stdenv, pkg-config, libao, json_c, libgcrypt, ffmpeg, curl }:
 
 stdenv.mkDerivation rec {
-  name = "pianobar-2020.11.28";
+  pname = "pianobar";
+  version = "2020.11.28";
 
   src = fetchurl {
-    url = "http://6xq.net/projects/pianobar/${name}.tar.bz2";
+    url = "https://6xq.net/projects/pianobar/${pname}-${version}.tar.bz2";
     sha256 = "1znlwybfpxsjqr1jmr8j0ci8wzmpzmk2yxb0qcx9w9a8nnbgnfv5";
   };
 
   nativeBuildInputs = [ pkg-config ];
   buildInputs = [
-    libao json_c libgcrypt ffmpeg_3 curl
+    libao json_c libgcrypt ffmpeg curl
   ];
 
   makeFlags = [ "PREFIX=$(out)" ];