mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
61922738bb
Per the adjusted FFmpeg pinning advice, packages that work on the default version should use the unversioned variants to ease the migration to future versions and reduce the number of packages that end up referencing old versions. I have left HandBrake pinned as it builds a custom patched FFmpeg.
35 lines
679 B
Nix
35 lines
679 B
Nix
{ buildOctavePackage
|
|
, stdenv
|
|
, lib
|
|
, fetchFromGitHub
|
|
, pkg-config
|
|
, ffmpeg
|
|
}:
|
|
|
|
buildOctavePackage rec {
|
|
pname = "video";
|
|
version = "2.1.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Andy1978";
|
|
repo = "octave-video";
|
|
rev = version;
|
|
hash = "sha256-JFySAu/3lCnfuFMNGYPzX2MqhsRi1+IyJQBcKB9vCo0=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
ffmpeg
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://octave.sourceforge.io/video/index.html";
|
|
license = with licenses; [ gpl3Plus bsd3 ];
|
|
maintainers = with maintainers; [ KarlJoad ];
|
|
description = "Wrapper for OpenCV's CvCapture_FFMPEG and CvVideoWriter_FFMPEG";
|
|
};
|
|
}
|