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