
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.
Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.
A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.
This commit was automatically created and can be verified using
nix-build a08b3a4d19
.tar.gz \
--argstr baseRev 57b193d8ddeaf4f5219d2bae1d23b081e4906e57
result/bin/apply-formatting $NIXPKGS_PATH
59 lines
1.3 KiB
Nix
59 lines
1.3 KiB
Nix
{
|
|
fetchFromGitHub,
|
|
lib,
|
|
stdenv,
|
|
libunwind,
|
|
libraw1394,
|
|
libjpeg,
|
|
libiec61883,
|
|
libdv,
|
|
libavc1394,
|
|
pkg-config,
|
|
autoreconfHook,
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "dvgrab";
|
|
version = "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
|
|
pkg-config
|
|
];
|
|
|
|
meta = with 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 = "https://github.com/ddennedy/dvgrab"; # Formerly http://www.kinodv.org/
|
|
|
|
license = licenses.gpl2Plus;
|
|
platforms = platforms.gnu ++ platforms.linux;
|
|
mainProgram = "dvgrab";
|
|
};
|
|
}
|