summary refs log tree commit diff
path: root/pkgs/applications/audio/cmus
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2014-11-14 21:18:16 +0000
committerVincent Laporte <Vincent.Laporte@gmail.com>2014-11-14 21:22:26 +0000
commit2995072b53499db9fdf8e3c1c63d9412e58b76db (patch)
tree13d91c2d19c83e386180e35cb3253378a6bffc8a /pkgs/applications/audio/cmus
parent6d6695ec14fd3d8122145cd4944da35d2595ff39 (diff)
downloadnixpkgs-2995072b53499db9fdf8e3c1c63d9412e58b76db.tar
nixpkgs-2995072b53499db9fdf8e3c1c63d9412e58b76db.tar.gz
nixpkgs-2995072b53499db9fdf8e3c1c63d9412e58b76db.tar.bz2
nixpkgs-2995072b53499db9fdf8e3c1c63d9412e58b76db.tar.lz
nixpkgs-2995072b53499db9fdf8e3c1c63d9412e58b76db.tar.xz
nixpkgs-2995072b53499db9fdf8e3c1c63d9412e58b76db.tar.zst
nixpkgs-2995072b53499db9fdf8e3c1c63d9412e58b76db.zip
cmus: update from 2.5.0 to 2.6.0
Adds CUE and pulseaudio support
Diffstat (limited to 'pkgs/applications/audio/cmus')
-rw-r--r--pkgs/applications/audio/cmus/default.nix15
1 files changed, 8 insertions, 7 deletions
diff --git a/pkgs/applications/audio/cmus/default.nix b/pkgs/applications/audio/cmus/default.nix
index 4f9c491a3a5..7cabc98ebaa 100644
--- a/pkgs/applications/audio/cmus/default.nix
+++ b/pkgs/applications/audio/cmus/default.nix
@@ -1,21 +1,22 @@
-{ stdenv, fetchurl, ncurses, pkgconfig, alsaLib, flac, libmad, ffmpeg, libvorbis, mpc, mp4v2 }:
+{ stdenv, fetchgit, ncurses, pkgconfig, alsaLib, flac, libmad, ffmpeg, libvorbis, mpc, mp4v2, libcue, pulseaudio}:
 
 stdenv.mkDerivation rec {
   name = "cmus-${version}";
-  version = "2.5.0";
+  version = "2.6.0";
 
-  src = fetchurl {
-    url = "mirror://sourceforge/cmus/cmus-v${version}.tar.bz2";
-    sha256 = "1pwd3jifv12yr0yr77hsv5c9y8ay6kn2b5a3s5i8v2c882vgl890";
+  src = fetchgit {
+    url = https://github.com/cmus/cmus.git;
+    rev = "46b71032da827d22d4fae5bf2afcc4c9afef568c";
+    sha256 = "1hkqifll5ryf3ljp3w1dxz1p8m6rk34fpazc6vwavis6ga310hka";
   };
 
   configurePhase = "./configure prefix=$out";
 
-  buildInputs = [ ncurses pkgconfig alsaLib flac libmad ffmpeg libvorbis mpc mp4v2 ];
+  buildInputs = [ ncurses pkgconfig alsaLib flac libmad ffmpeg libvorbis mpc mp4v2 libcue pulseaudio ];
 
   meta = {
     description = "Small, fast and powerful console music player for Linux and *BSD";
-    homepage = http://cmus.sourceforge.net;
+    homepage = https://cmus.github.io/;
     license = stdenv.lib.licenses.gpl2;
   };
 }