{ stdenv, fetchurl, qmake, qtscript }: stdenv.mkDerivation rec { name = "smplayer-17.7.0"; src = fetchurl { url = "mirror://sourceforge/smplayer/${name}.tar.bz2"; sha256 = "1g35h8xqs2bdwjdibzgs1ab2z2lmwgj8h53a7vqydv3j3crxx9wk"; }; buildInputs = [ qtscript ]; nativeBuildInputs = [ qmake ]; dontUseQmakeConfigure = true; preConfigure = '' makeFlags="PREFIX=$out" ''; meta = { description = "A complete front-end for MPlayer"; homepage = "http://smplayer.sourceforge.net/"; license = stdenv.lib.licenses.gpl3Plus; platforms = stdenv.lib.platforms.linux; }; }