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

27 lines
717 B
Nix
Raw Normal View History

{ lib, mkDerivation, fetchurl, qmake, qtscript }:
2013-06-23 11:48:21 +02:00
mkDerivation rec {
pname = "smplayer";
2020-05-10 15:37:22 +02:00
version = "20.4.2";
2013-06-23 11:48:21 +02:00
src = fetchurl {
url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.bz2";
2020-05-10 15:37:22 +02:00
sha256 = "0kqdx6q2274gm83rycvdcglka60ymdk4iw2lc39iw7z1zgsv6ky3";
2013-06-23 11:48:21 +02:00
};
2017-01-14 13:44:19 +01:00
buildInputs = [ qtscript ];
2017-06-02 17:40:19 +02:00
nativeBuildInputs = [ qmake ];
2016-04-28 23:37:16 +02:00
dontUseQmakeConfigure = true;
2013-06-23 11:48:21 +02:00
makeFlags = [ "PREFIX=${placeholder "out"}" ];
2013-06-23 11:48:21 +02: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 11:48:21 +02:00
};
}