otadump: init at 0.1.2 (#329129)
[NixPkgs.git] / pkgs / development / octave-modules / video / default.nix
blob903d68589d2f881bd0283f74f31fb2d4b6939dac
2   buildOctavePackage,
3   stdenv,
4   lib,
5   fetchFromGitHub,
6   pkg-config,
7   ffmpeg,
8 }:
10 buildOctavePackage rec {
11   pname = "video";
12   version = "2.1.1";
14   src = fetchFromGitHub {
15     owner = "Andy1978";
16     repo = "octave-video";
17     rev = version;
18     hash = "sha256-JFySAu/3lCnfuFMNGYPzX2MqhsRi1+IyJQBcKB9vCo0=";
19   };
21   nativeBuildInputs = [
22     pkg-config
23   ];
25   propagatedBuildInputs = [
26     ffmpeg
27   ];
29   meta = with lib; {
30     homepage = "https://octave.sourceforge.io/video/index.html";
31     license = with licenses; [
32       gpl3Plus
33       bsd3
34     ];
35     maintainers = with maintainers; [ KarlJoad ];
36     description = "Wrapper for OpenCV's CvCapture_FFMPEG and CvVideoWriter_FFMPEG";
37   };