git.iko.soy/typeable/nixpkgs
on master help sign in
Add clipgrab 3.4.9: web video downloader and converter
commitbee0ccd1f53ca69a6f433c0b49927c7e86041179 authorTobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com> dateWed 8 Apr 2015, 05:09 (12 years ago) parent74ea55a
3 files changed+54
pkgs/applications/video/clipgrab/clipgrab.desktop+10 pkgs/applications/video/clipgrab/default.nix+42 pkgs/top-level/all-packages.nix+2
pkgs/applications/video/clipgrab/clipgrab.desktopnew file+10
@@ -0,0 +1,10 @@
1+[Desktop Entry]
2+Encoding=UTF-8
3+Name=ClipGrab
4+GenericName=Web video downloader
5+Comment=A friendly downloader for YouTube and other sites
6+Type=Application
7+Categories=Qt;AudioVideo;Audio;Video;
8+Icon=clipgrab
9+Exec=clipgrab
10+Terminal=false
pkgs/applications/video/clipgrab/default.nixnew file+42
@@ -0,0 +1,42 @@
1+{ stdenv, fetchurl, qt4 }:
2+
3+let version = "3.4.9"; in
4+stdenv.mkDerivation rec {
5+ name = "clipgrab-${version}";
6+
7+ src = fetchurl {
8+ sha256 = "0valq3cgx7yz11zcscz1vdjmppwbicvg0id61dcar22pyp2zkap1";
9+ url = "http://download.clipgrab.de/${name}.tar.bz2";
10+ };
11+
12+ meta = with stdenv.lib; {
13+ inherit version;
14+ description = "Video downloader for YouTube and other sites";
15+ longDescription = ''
16+ ClipGrab is a free downloader and converter for YouTube, Vimeo, Metacafe,
17+ Dailymotion and many other online video sites. It converts downloaded
18+ videos to MPEG4, MP3 or other formats in just one easy step.
19+ '';
20+ homepage = http://clipgrab.org/;
21+ license = with licenses; gpl3Plus;
22+ platforms = with platforms; linux;
23+ maintainers = with maintainers; [ nckx ];
24+ };
25+
26+ buildInputs = [ qt4 ];
27+
28+ configurePhase = ''
29+ qmake clipgrab.pro
30+ '';
31+
32+ enableParallelBuilding = true;
33+
34+ installPhase = ''
35+ mkdir -p $out/bin
36+ install -Dm755 clipgrab $out/bin
37+
38+ mkdir -p $out/share
39+ install -Dm644 icon.png $out/share/pixmaps/clipgrab.png
40+ install -Dm644 ${./clipgrab.desktop} $out/share/applications/clipgrab.desktop
41+ '';
42+}
pkgs/top-level/all-packages.nix+2
@@ -10123,6 +10123,8 @@ let
1012310123 enableNetworkManager = config.networking.networkmanager.enable or false;
1012410124 };
1012510125
10126+ clipgrab = callPackage ../applications/video/clipgrab { };
10127+
1012610128 clipit = callPackage ../applications/misc/clipit { };
1012710129
1012810130 bomi = callPackage ../applications/video/bomi {