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
|
|
|
|
, fetchurl
|
|
|
|
, pkg-config
|
2023-03-27 19:17:25 +00:00
|
|
|
, ffmpeg_4
|
2021-03-09 03:18:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildOctavePackage rec {
|
|
|
|
pname = "video";
|
2023-03-24 00:07:29 +00:00
|
|
|
version = "2.0.2";
|
2021-03-09 03:18:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
|
2023-03-24 00:07:29 +00:00
|
|
|
sha256 = "sha256-bZNaRnmJl5UF0bQMNoEWvoIXJaB0E6/V9eChE725OHY=";
|
2021-03-09 03:18:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
pkg-config
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2023-03-27 19:17:25 +00:00
|
|
|
ffmpeg_4
|
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";
|
2021-12-30 13:39:12 +00:00
|
|
|
# error: declaration of 'panic' has a different language linkage
|
|
|
|
broken = stdenv.isDarwin;
|
2021-03-09 03:18:52 +00:00
|
|
|
};
|
|
|
|
}
|