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
56
pkgs/tools/graphics/gmic/default.nix
Normal file
56
pkgs/tools/graphics/gmic/default.nix
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
{ lib, stdenv
|
||||
, fetchurl
|
||||
, cmake
|
||||
, ninja
|
||||
, pkg-config
|
||||
, opencv
|
||||
, openexr
|
||||
, graphicsmagick
|
||||
, fftw
|
||||
, zlib
|
||||
, libjpeg
|
||||
, libtiff
|
||||
, libpng
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gmic";
|
||||
version = "3.0.0";
|
||||
|
||||
outputs = [ "out" "lib" "dev" "man" ];
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://gmic.eu/files/source/gmic_${version}.tar.gz";
|
||||
sha256 = "sha256-PwVruebb8GdK9Mjc5Z9BmBchh2Yvf7s2zGPryMG3ESA=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
ninja
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
fftw
|
||||
zlib
|
||||
libjpeg
|
||||
libtiff
|
||||
libpng
|
||||
opencv
|
||||
openexr
|
||||
graphicsmagick
|
||||
];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DBUILD_LIB_STATIC=OFF"
|
||||
"-DENABLE_CURL=OFF"
|
||||
"-DENABLE_DYNAMIC_LINKING=ON"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Open and full-featured framework for image processing";
|
||||
homepage = "https://gmic.eu/";
|
||||
license = licenses.cecill20;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue