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

29 lines
706 B
Nix
Raw Normal View History

{ lib, mkDerivation, fetchurl, qmake, qtscript, qtwebkit }:
mkDerivation rec {
2021-08-28 01:54:23 +02:00
version = "21.7.0";
pname = "smtube";
2015-05-11 07:19:24 +02:00
src = fetchurl {
url = "mirror://sourceforge/smtube/SMTube/${version}/${pname}-${version}.tar.bz2";
2021-08-28 01:54:23 +02:00
sha256 = "sha256-d+R3eM2BPdrsY7XX+6IWpz6cKIy/L2x0iLZH0mTgfcc=";
};
2015-05-11 07:19:24 +02:00
makeFlags = [
"PREFIX=$(out)"
];
2016-04-28 23:38:16 +02:00
dontUseQmakeConfigure = true;
2017-06-02 17:40:19 +02:00
nativeBuildInputs = [ qmake ];
buildInputs = [ qtscript qtwebkit ];
meta = with lib; {
description = "Play and download Youtube videos";
homepage = "http://smplayer.sourceforge.net/smtube.php";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ vbgl ];
platforms = platforms.linux;
};
}