gjay: mpd_clientlib -> libmpdclient

+24 -7
+24 -7
pkgs/applications/audio/gjay/default.nix
··· 1 - { lib, stdenv, fetchurl, pkg-config, mpd_clientlib, dbus-glib, audacious, gtk2, gsl 2 - , libaudclient }: 1 + { lib 2 + , stdenv 3 + , fetchurl 4 + , pkg-config 5 + , dbus-glib 6 + , audacious 7 + , gtk2 8 + , gsl 9 + , libaudclient 10 + , libmpdclient 11 + }: 3 12 4 - stdenv.mkDerivation { 5 - name = "gjay-0.3.2"; 13 + stdenv.mkDerivation rec { 14 + pname = "gjay"; 15 + version = "0.3.2"; 6 16 7 17 src = fetchurl { 8 - url = "mirror://sourceforge/project/gjay/gjay-0.3.2.tar.gz"; 18 + url = "mirror://sourceforge/project/gjay/${pname}-${version}.tar.gz"; 9 19 sha256 = "1a1vv4r0vnxjdyl0jyv7gga3zfd5azxlwjm1l6hjrf71lb228zn8"; 10 20 }; 11 21 12 22 nativeBuildInputs = [ pkg-config ]; 13 23 14 - buildInputs = [ mpd_clientlib dbus-glib audacious gtk2 gsl libaudclient ]; 24 + buildInputs = [ 25 + libmpdclient 26 + dbus-glib 27 + audacious 28 + gtk2 29 + gsl 30 + libaudclient 31 + ]; 15 32 16 33 hardeningDisable = [ "format" ]; 17 34 18 35 meta = with lib; { 19 36 description = "Generates playlists such that each song sounds good following the previous song"; 20 37 homepage = "http://gjay.sourceforge.net/"; 21 - license = licenses.gpl2; 38 + license = licenses.gpl2Plus; 22 39 maintainers = with maintainers; [ pSub ]; 23 40 platforms = with platforms; linux; 24 41 };