mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
28 lines
707 B
Nix
28 lines
707 B
Nix
{ lib, mkDerivation, fetchurl, qmake, qtscript, qtwebkit }:
|
|
|
|
mkDerivation rec {
|
|
version = "21.10.0";
|
|
pname = "smtube";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/smtube/SMTube/${version}/${pname}-${version}.tar.bz2";
|
|
sha256 = "sha256-ZQIUAi/YC+zsYHVhlprZ5K6NGvT6LojmdQ1Z+WCg1lU=";
|
|
};
|
|
|
|
makeFlags = [
|
|
"PREFIX=$(out)"
|
|
];
|
|
|
|
dontUseQmakeConfigure = true;
|
|
|
|
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;
|
|
};
|
|
}
|