ae2dc6aea6
GitOrigin-RevId: 4c2fcb090b1f3e5b47eaa7bd33913b574a11e0a0
34 lines
679 B
Nix
34 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";
|
|
};
|
|
}
|