{ stdenv, fetchurl, qmake, qtscript }: stdenv.mkDerivation rec { name = "smplayer-17.8.0"; src = fetchurl { url = "mirror://sourceforge/smplayer/${name}.tar.bz2"; sha256 = "0sm7zf7nvcjlx8fvzfnlrs7rr0c549j7r60j68lv898vp6yhwybh"; }; 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; }; }