about summary refs log tree commit diff
path: root/pkgs/applications/video/smtube
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2014-10-11 10:41:14 +0100
committerVincent Laporte <Vincent.Laporte@gmail.com>2014-10-11 10:56:00 +0100
commit8280d6522e85a755f354bec638357e09d28ebf05 (patch)
treed2b9fbed1b91d65c92f04e07e41798c5540a568e /pkgs/applications/video/smtube
parent826572a9e369e71ef0d19c11e509be890468a2db (diff)
smtube: new package
SMTube allows to search, play and download Youtube videos.

Homepage: http://smplayer.sourceforge.net/smtube.php
Diffstat (limited to 'pkgs/applications/video/smtube')
-rw-r--r--pkgs/applications/video/smtube/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/applications/video/smtube/default.nix b/pkgs/applications/video/smtube/default.nix
new file mode 100644
index 0000000000000..d648b5866e04b
--- /dev/null
+++ b/pkgs/applications/video/smtube/default.nix
@@ -0,0 +1,23 @@
+{stdenv, fetchurl, qt4}:
+
+stdenv.mkDerivation {
+  name = "smtube-14.8.0";
+  src = fetchurl {
+    url = mirror://sourceforge/smplayer/smtube-14.8.0.tar.bz2;
+    sha256 = "0h0kw4dvdj9sbxp0p6bdib9y8i7854f45lsmrdkykzk6rmgrf1cw";
+  };
+
+  buildInputs = [qt4];
+
+  preConfigure = ''
+    makeFlags="PREFIX=$out"
+  '';
+
+  meta = with stdenv.lib; {
+    description = "Play and download Youtube videos";
+    homepage = http://smplayer.sourceforge.net/smtube.php;
+    license = licenses.gpl2Plus;
+    maintainers = with maintainers; [ vbgl ];
+    platforms = platforms.linux;
+  };
+}