nixpkg: opencv 2.4.9 -> 2.4.10
This commit is contained in:
parent
a2bb84a936
commit
ff7d9ae2f5
@ -2,14 +2,14 @@
|
|||||||
, pkgconfig, gstreamer, xineLib, glib, python27, python27Packages, unzip
|
, pkgconfig, gstreamer, xineLib, glib, python27, python27Packages, unzip
|
||||||
, enableBloat ? false }:
|
, enableBloat ? false }:
|
||||||
|
|
||||||
let v = "2.4.9"; in
|
let v = "2.4.10"; in
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "opencv-${v}";
|
name = "opencv-${v}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/opencvlibrary/opencv-${v}.zip";
|
url = "mirror://sourceforge/opencvlibrary/opencv-${v}.zip";
|
||||||
sha256 = "0wacpc00dr57w4lxfvllqa177cnbgy2zmcx8pnf8x62lh6210c40";
|
sha256 = "1ilnfm7id8jqg5xmfjhbq81sjxx64av90kwxcs8zv5rp523wpx0v";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs =
|
buildInputs =
|
||||||
@ -20,11 +20,15 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
cmakeFlags = [
|
||||||
|
"-DCMAKE_BUILD_TYPE=Release"
|
||||||
|
];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Open Computer Vision Library with more than 500 algorithms";
|
description = "Open Computer Vision Library with more than 500 algorithms";
|
||||||
homepage = http://opencv.willowgarage.com/;
|
homepage = http://opencv.org/;
|
||||||
license = "BSD";
|
license = "BSD";
|
||||||
maintainers = with stdenv.lib.maintainers; [viric];
|
maintainers = with stdenv.lib.maintainers; [viric flosse];
|
||||||
platforms = with stdenv.lib.platforms; linux;
|
platforms = with stdenv.lib.platforms; linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user