3
0
Fork 0
forked from mirrors/nixpkgs

Add clipgrab 3.4.9: web video downloader and converter

This commit is contained in:
Tobias Geerinckx-Rice 2015-04-08 05:09:16 +02:00
parent 74ea55a175
commit bee0ccd1f5
3 changed files with 54 additions and 0 deletions

View file

@ -0,0 +1,10 @@
[Desktop Entry]
Encoding=UTF-8
Name=ClipGrab
GenericName=Web video downloader
Comment=A friendly downloader for YouTube and other sites
Type=Application
Categories=Qt;AudioVideo;Audio;Video;
Icon=clipgrab
Exec=clipgrab
Terminal=false

View file

@ -0,0 +1,42 @@
{ stdenv, fetchurl, qt4 }:
let version = "3.4.9"; in
stdenv.mkDerivation rec {
name = "clipgrab-${version}";
src = fetchurl {
sha256 = "0valq3cgx7yz11zcscz1vdjmppwbicvg0id61dcar22pyp2zkap1";
url = "http://download.clipgrab.de/${name}.tar.bz2";
};
meta = with stdenv.lib; {
inherit version;
description = "Video downloader for YouTube and other sites";
longDescription = ''
ClipGrab is a free downloader and converter for YouTube, Vimeo, Metacafe,
Dailymotion and many other online video sites. It converts downloaded
videos to MPEG4, MP3 or other formats in just one easy step.
'';
homepage = http://clipgrab.org/;
license = with licenses; gpl3Plus;
platforms = with platforms; linux;
maintainers = with maintainers; [ nckx ];
};
buildInputs = [ qt4 ];
configurePhase = ''
qmake clipgrab.pro
'';
enableParallelBuilding = true;
installPhase = ''
mkdir -p $out/bin
install -Dm755 clipgrab $out/bin
mkdir -p $out/share
install -Dm644 icon.png $out/share/pixmaps/clipgrab.png
install -Dm644 ${./clipgrab.desktop} $out/share/applications/clipgrab.desktop
'';
}

View file

@ -10123,6 +10123,8 @@ let
enableNetworkManager = config.networking.networkmanager.enable or false;
};
clipgrab = callPackage ../applications/video/clipgrab { };
clipit = callPackage ../applications/misc/clipit { };
bomi = callPackage ../applications/video/bomi {