Skip to content

Commit

Permalink
pianobar: 2022.04.01 -> 2022.04.01-unstable-2024-08-16
Browse files Browse the repository at this point in the history
Includes fixes for FFmpeg 7.
  • Loading branch information
emilazy committed Sep 1, 2024
1 parent bccb6af commit 4bbb842
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions pkgs/applications/audio/pianobar/default.nix
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
{ fetchurl, lib, stdenv, pkg-config, libao, json_c, libgcrypt, ffmpeg, curl }:
{ fetchFromGitHub, lib, stdenv, pkg-config, libao, json_c, libgcrypt, ffmpeg_7, curl }:

stdenv.mkDerivation rec {
pname = "pianobar";
version = "2022.04.01";
version = "2022.04.01-unstable-2024-08-16";

src = fetchurl {
url = "https://6xq.net/projects/pianobar/${pname}-${version}.tar.bz2";
sha256 = "sha256-FnCyiGWouCpXu23+p/FuL6QUXS81SRC7FzgLMsm5R2M=";
src = fetchFromGitHub {
owner = "PromyLOPh";
repo = "pianobar";
rev = "41ac06c8585dc535c4b1737b4c2943bb3fe7beb0";
hash = "sha256-5LTZ6J9bvfsnpD/bGuojekutFVdH9feWLF+nLFvkeOA=";
};

nativeBuildInputs = [ pkg-config ];
buildInputs = [
libao json_c libgcrypt ffmpeg curl
libao json_c libgcrypt ffmpeg_7 curl
];

makeFlags = [ "PREFIX=$(out)" ];
Expand Down

0 comments on commit 4bbb842

Please sign in to comment.