nixpkgs/pkgs/applications/video/smplayer/default.nix
2017-07-08 13:53:04 +02:00

26 lines
611 B
Nix

{ 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;
};
}