depot/third_party/nixpkgs/pkgs/applications/video/smtube/default.nix
Default email 2495e3f88b Project import generated by Copybara.
GitOrigin-RevId: 78cd22c1b8604de423546cd49bfe264b786eca13
2022-01-03 17:56:52 +01:00

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;
};
}