2021-03-09 03:18:52 +00:00
|
|
|
{ buildOctavePackage
|
2021-12-30 13:39:12 +00:00
|
|
|
, stdenv
|
2021-03-09 03:18:52 +00:00
|
|
|
, lib
|
2024-09-19 14:19:46 +00:00
|
|
|
, fetchFromGitHub
|
2021-03-09 03:18:52 +00:00
|
|
|
, pkg-config
|
2024-10-11 05:15:48 +00:00
|
|
|
, ffmpeg
|
2021-03-09 03:18:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildOctavePackage rec {
|
|
|
|
pname = "video";
|
2024-09-19 14:19:46 +00:00
|
|
|
version = "2.1.1";
|
2021-03-09 03:18:52 +00:00
|
|
|
|
2024-09-19 14:19:46 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Andy1978";
|
|
|
|
repo = "octave-video";
|
|
|
|
rev = version;
|
|
|
|
hash = "sha256-JFySAu/3lCnfuFMNGYPzX2MqhsRi1+IyJQBcKB9vCo0=";
|
2021-03-09 03:18:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
pkg-config
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2024-10-11 05:15:48 +00:00
|
|
|
ffmpeg
|
2021-03-09 03:18:52 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
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";
|
|
|
|
};
|
|
|
|
}
|