at master 38 lines 714 B view raw
1{ 2 buildOctavePackage, 3 stdenv, 4 lib, 5 fetchFromGitHub, 6 pkg-config, 7 ffmpeg, 8}: 9 10buildOctavePackage rec { 11 pname = "video"; 12 version = "2.1.3"; 13 14 src = fetchFromGitHub { 15 owner = "Andy1978"; 16 repo = "octave-video"; 17 rev = "refs/tags/${version}"; 18 hash = "sha256-fn9LNfuS9dSStBfzBjRRkvP50JJ5K+Em02J9+cHqt6w="; 19 }; 20 21 nativeBuildInputs = [ 22 pkg-config 23 ]; 24 25 propagatedBuildInputs = [ 26 ffmpeg 27 ]; 28 29 meta = { 30 homepage = "https://gnu-octave.github.io/packages/video/"; 31 license = with lib.licenses; [ 32 gpl3Plus 33 bsd3 34 ]; 35 maintainers = with lib.maintainers; [ KarlJoad ]; 36 description = "Wrapper for OpenCV's CvCapture_FFMPEG and CvVideoWriter_FFMPEG"; 37 }; 38}