From 77dc8455c69f95a538edab862cfc3ee6f7be2c59 Mon Sep 17 00:00:00 2001 From: AndersonTorres Date: Thu, 4 Nov 2021 00:28:18 -0300 Subject: [PATCH] smplayer: 21.1.0 -> 21.10.0 --- pkgs/applications/video/smplayer/default.nix | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/pkgs/applications/video/smplayer/default.nix b/pkgs/applications/video/smplayer/default.nix index 007ef4262ef2..6d4e0f18d6fb 100644 --- a/pkgs/applications/video/smplayer/default.nix +++ b/pkgs/applications/video/smplayer/default.nix @@ -1,6 +1,6 @@ { lib , stdenv -, fetchurl +, fetchFromGitHub , qmake , qtscript , wrapQtAppsHook @@ -8,14 +8,20 @@ stdenv.mkDerivation rec { pname = "smplayer"; - version = "21.1.0"; + version = "21.10.0"; - src = fetchurl { - url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.bz2"; - hash = "sha256-Y0uq32XoQ8fpIJDScRfA7p3RYd6x1PWZSsYyAYYKf/c="; + src = fetchFromGitHub { + owner = "smplayer-dev"; + repo = pname; + rev = "v${version}"; + hash = "sha256-p6036c8KX3GCINmkjHZlDLgHhLKri+t2WNWzP4KsSI8="; }; - nativeBuildInputs = [ qmake wrapQtAppsHook ]; + nativeBuildInputs = [ + qmake + wrapQtAppsHook + ]; + buildInputs = [ qtscript ]; dontUseQmakeConfigure = true;