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
35
pkgs/development/libraries/vxl/default.nix
Normal file
35
pkgs/development/libraries/vxl/default.nix
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
{ lib, stdenv, fetchFromGitHub, unzip, cmake, libtiff, expat, zlib, libpng, libjpeg }:
|
||||
stdenv.mkDerivation {
|
||||
pname = "vxl";
|
||||
version = "1.17.0-nix1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "vxl";
|
||||
repo = "vxl";
|
||||
rev = "777c0beb7c8b30117400f6fc9a6d63bf8cb7c67a";
|
||||
sha256 = "0xpkwwb93ka6c3da8zjhfg9jk5ssmh9ifdh1by54sz6c7mbp55m8";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake unzip ];
|
||||
buildInputs = [ libtiff expat zlib libpng libjpeg ];
|
||||
|
||||
cmakeFlags = [
|
||||
# BUILD_OUL wants old linux headers for videodev.h, not available
|
||||
# in stdenv linux headers
|
||||
"-DBUILD_OUL=OFF"
|
||||
# BUILD_BRL fails to find open()
|
||||
"-DBUILD_BRL=OFF"
|
||||
"-DBUILD_CONTRIB=OFF"
|
||||
] ++ lib.optionals (stdenv.hostPlatform.system == "x86_64-linux") [
|
||||
"-DCMAKE_CXX_FLAGS=-fPIC"
|
||||
"-DCMAKE_C_FLAGS=-fPIC"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "C++ Libraries for Computer Vision Research and Implementation";
|
||||
homepage = "http://vxl.sourceforge.net/";
|
||||
license = "VXL License";
|
||||
maintainers = with lib.maintainers; [viric];
|
||||
platforms = with lib.platforms; linux;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue