summary refs log tree commit diff
path: root/pkgs/tools/video
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2017-08-29 12:33:49 +0100
committerJörg Thalheim <joerg@thalheim.io>2017-08-29 12:36:39 +0100
commitf9192394ba80c70e50cab0d23a637b6c02e3dfa3 (patch)
treea5bd99131d37a15fb56ba5bec3f6e9191e71ae90 /pkgs/tools/video
parent263978219cf570d57d61377d14f73b5a38e295cf (diff)
downloadnixlib-f9192394ba80c70e50cab0d23a637b6c02e3dfa3.tar
nixlib-f9192394ba80c70e50cab0d23a637b6c02e3dfa3.tar.gz
nixlib-f9192394ba80c70e50cab0d23a637b6c02e3dfa3.tar.bz2
nixlib-f9192394ba80c70e50cab0d23a637b6c02e3dfa3.tar.lz
nixlib-f9192394ba80c70e50cab0d23a637b6c02e3dfa3.tar.xz
nixlib-f9192394ba80c70e50cab0d23a637b6c02e3dfa3.tar.zst
nixlib-f9192394ba80c70e50cab0d23a637b6c02e3dfa3.zip
dvgrab: 3.5 -> 2016-05-16
Diffstat (limited to 'pkgs/tools/video')
-rw-r--r--pkgs/tools/video/dvgrab/default.nix47
1 files changed, 26 insertions, 21 deletions
diff --git a/pkgs/tools/video/dvgrab/default.nix b/pkgs/tools/video/dvgrab/default.nix
index 73986b5be05d..cec4fc1ce8bf 100644
--- a/pkgs/tools/video/dvgrab/default.nix
+++ b/pkgs/tools/video/dvgrab/default.nix
@@ -1,34 +1,39 @@
-{ fetchurl, stdenv, libunwind, libraw1394, libjpeg, libiec61883, libdv
-, libavc1394, pkgconfig }:
+{ fetchFromGitHub, stdenv, libunwind, libraw1394, libjpeg, libiec61883, libdv
+, libavc1394, pkgconfig, autoreconfHook }:
 
 stdenv.mkDerivation rec {
-  name = "dvgrab-3.5";
+  name = "dvgrab-2016-05-16";
 
-  src = fetchurl {
-    url = "mirror://sourceforge/kino/${name}.tar.gz";
-    sha256 = "1y8arv14nc9sf8njfcxf96pb4nyimpsly1fnhcbj406k54s1h42r";
+  src = fetchFromGitHub {
+    # mirror of original project with some build fixes
+    owner = "ddennedy";
+    repo = "dvgrab";
+    rev = "e46042e0c7b3523b6854ee547b0534e8310b7460";
+    sha256 = "17qy76fjpzrbxm4pj0ljx5lbimxryv24fvr13jwkh24j85dxailn";
   };
 
-  buildInputs =
-    [ libunwind libraw1394 libjpeg libiec61883 libdv libavc1394
-      pkgconfig
-    ];
+  buildInputs = [
+    libunwind libraw1394 libjpeg libiec61883 libdv libavc1394
+  ];
 
-  meta = {
+  nativeBuildInputs = [
+    autoreconfHook pkgconfig
+  ];
+
+  meta = with stdenv.lib; {
     description = "Receive and store audio & video over IEEE1394";
 
-    longDescription =
-      '' dvgrab receives audio and video data from a digital camcorder via an
-         IEEE1394 (widely known as FireWire) or USB link and stores them into
-         one of several file formats. It features autosplit of long video
-         sequences, and supports saving the data as raw frames, AVI type 1,
-         AVI type 2, Quicktime DV, a series of JPEG stills or MPEG2-TS.
-      '';
+    longDescription = ''
+      dvgrab receives audio and video data from a digital camcorder via an
+      IEEE1394 (widely known as FireWire) or USB link and stores them into
+      one of several file formats. It features autosplit of long video
+      sequences, and supports saving the data as raw frames, AVI type 1,
+      AVI type 2, Quicktime DV, a series of JPEG stills or MPEG2-TS.
+    '';
 
     homepage = http://kinodv.org/;
 
-    license = stdenv.lib.licenses.gpl2Plus;
-    platforms = stdenv.lib.platforms.gnu;
-    maintainers = [ ];
+    license = licenses.gpl2Plus;
+    platforms = platforms.gnu;
   };
 }