mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 21:53:32 +00:00
4a7f99d55d
Part of: https://github.com/NixOS/nixpkgs/issues/108938 meta = with stdenv.lib; is a widely used pattern. We want to slowly remove the `stdenv.lib` indirection and encourage people to use `lib` directly. Thus let’s start with the meta field. This used a rewriting script to mostly automatically replace all occurances of this pattern, and add the `lib` argument to the package header if it doesn’t exist yet. The script in its current form is available at https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
40 lines
1.2 KiB
Nix
40 lines
1.2 KiB
Nix
{ fetchFromGitHub, lib, stdenv, libunwind, libraw1394, libjpeg, libiec61883, libdv
|
|
, libavc1394, pkgconfig, autoreconfHook }:
|
|
|
|
stdenv.mkDerivation {
|
|
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 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;
|
|
};
|
|
}
|