nixpkgs/pkgs/applications/video/smplayer/default.nix

27 lines
716 B
Nix
Raw Normal View History

{ lib, mkDerivation, fetchurl, qmake, qtscript }:
2013-06-23 02:48:21 -07:00
mkDerivation rec {
pname = "smplayer";
version = "19.10.0";
2013-06-23 02:48:21 -07:00
src = fetchurl {
url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.bz2";
sha256 = "0sq7hr10b4pbbi0y1q4mxs24h2lb042nv4rqr03r72bp57353xsl";
2013-06-23 02:48:21 -07:00
};
2017-01-14 04:44:19 -08:00
buildInputs = [ qtscript ];
2017-06-02 08:40:19 -07:00
nativeBuildInputs = [ qmake ];
2016-04-28 14:37:16 -07:00
dontUseQmakeConfigure = true;
2013-06-23 02:48:21 -07:00
makeFlags = [ "PREFIX=${placeholder "out"}" ];
2013-06-23 02:48:21 -07:00
meta = {
description = "A complete front-end for MPlayer";
longDescription = "Either mplayer or mpv should also be installed for smplayer to play medias";
homepage = https://www.smplayer.info;
license = lib.licenses.gpl3Plus;
platforms = lib.platforms.linux;
2013-06-23 02:48:21 -07:00
};
}