1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-30 01:20:40 +00:00
nixpkgs/pkgs/applications/video/smplayer/default.nix
2019-11-29 07:40:56 -08:00

27 lines
716 B
Nix

{ lib, mkDerivation, fetchurl, qmake, qtscript }:
mkDerivation rec {
pname = "smplayer";
version = "19.10.2";
src = fetchurl {
url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.bz2";
sha256 = "0i2c15yxk4by2zyjhb7n08larz9pmpa6zw383aybjxqh0nd9zv9p";
};
buildInputs = [ qtscript ];
nativeBuildInputs = [ qmake ];
dontUseQmakeConfigure = true;
makeFlags = [ "PREFIX=${placeholder "out"}" ];
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;
};
}