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
29
pkgs/development/libraries/leptonica/default.nix
Normal file
29
pkgs/development/libraries/leptonica/default.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{ lib, stdenv, fetchurl, autoreconfHook, pkg-config, which, gnuplot
|
||||
, giflib, libjpeg, libpng, libtiff, libwebp, openjpeg, zlib
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "leptonica";
|
||||
version = "1.82.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.leptonica.org/source/${pname}-${version}.tar.gz";
|
||||
sha256 = "sha256-FVMC7pFGaMJ7b+PKn/LaY7JF9tYvMGHI8nVjd0uK4tY=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
||||
buildInputs = [ giflib libjpeg libpng libtiff libwebp openjpeg zlib ];
|
||||
enableParallelBuilding = true;
|
||||
|
||||
checkInputs = [ which gnuplot ];
|
||||
|
||||
# Fails on pngio_reg for unknown reason
|
||||
doCheck = false; # !stdenv.isDarwin;
|
||||
|
||||
meta = {
|
||||
description = "Image processing and analysis library";
|
||||
homepage = "http://www.leptonica.org/";
|
||||
license = lib.licenses.bsd2; # http://www.leptonica.org/about-the-license.html
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue