855e0463ab
"platforms.gnu" has been linux-only since at least 17.03: $ nix eval -f channel:nixos-17.03 lib.platforms.gnu [ "i686-linux" "x86_64-linux" "armv5tel-linux" "armv6l-linux" "armv7l-linux" "aarch64-linux" "mips64el-linux" ] Unlike platforms.linux, platforms.gnu indicates "must use glibc" which for the most part is not intended. Replacing platforms.gnu with platforms.linux would be the same "today" but let's err on preserving existing behavior and be optimistic about platforms these packages work on.
40 lines
1.2 KiB
Nix
40 lines
1.2 KiB
Nix
{ fetchFromGitHub, stdenv, libunwind, libraw1394, libjpeg, libiec61883, libdv
|
|
, libavc1394, pkgconfig, autoreconfHook }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "dvgrab-2016-05-16";
|
|
|
|
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
|
|
];
|
|
|
|
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.
|
|
'';
|
|
|
|
homepage = http://kinodv.org/;
|
|
|
|
license = licenses.gpl2Plus;
|
|
platforms = platforms.gnu ++ platforms.linux;
|
|
};
|
|
}
|