octave.pkgs.video: init at 2.0.0
This commit is contained in:
parent
2c9224cd8f
commit
97ac699883
2 changed files with 33 additions and 0 deletions
31
pkgs/development/octave-modules/video/default.nix
Normal file
31
pkgs/development/octave-modules/video/default.nix
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
{ buildOctavePackage
|
||||||
|
, lib
|
||||||
|
, fetchurl
|
||||||
|
, pkg-config
|
||||||
|
, ffmpeg
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildOctavePackage rec {
|
||||||
|
pname = "video";
|
||||||
|
version = "2.0.0";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
|
||||||
|
sha256 = "0s6j3c4dh5nsbh84s7vnd2ajcayy1gn07b4fcyrcynch3wl28mrv";
|
||||||
|
};
|
||||||
|
|
||||||
|
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";
|
||||||
|
};
|
||||||
|
}
|
|
@ -209,4 +209,6 @@ makeScope newScope (self:
|
||||||
# https://github.com/ENSTABretagneRobotics/VIBES
|
# https://github.com/ENSTABretagneRobotics/VIBES
|
||||||
};
|
};
|
||||||
|
|
||||||
|
video = callPackage ../development/octave-modules/video { };
|
||||||
|
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue