uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
34
pkgs/development/octave-modules/video/default.nix
Normal file
34
pkgs/development/octave-modules/video/default.nix
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
{ buildOctavePackage
|
||||
, stdenv
|
||||
, 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";
|
||||
# error: declaration of 'panic' has a different language linkage
|
||||
broken = stdenv.isDarwin;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue