diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/gdal/2.4.0.nix')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/gdal/2.4.0.nix | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/nixpkgs/pkgs/development/libraries/gdal/2.4.0.nix b/nixpkgs/pkgs/development/libraries/gdal/2.4.0.nix index d3505679e4d0..9cb9c448c1d2 100644 --- a/nixpkgs/pkgs/development/libraries/gdal/2.4.0.nix +++ b/nixpkgs/pkgs/development/libraries/gdal/2.4.0.nix @@ -1,11 +1,11 @@ -{ stdenv, fetchurl, fetchpatch, unzip, libjpeg, libtiff, zlib +{ lib, stdenv, fetchurl, fetchpatch, unzip, libjpeg, libtiff, zlib , postgresql, libmysqlclient, libgeotiff, pythonPackages, proj, geos, openssl , libpng, sqlite, libspatialite, poppler, hdf4, qhull, giflib, expat , libiconv, libxml2 , netcdfSupport ? true, netcdf, hdf5, curl }: -with stdenv.lib; +with lib; stdenv.mkDerivation rec { pname = "gdal"; @@ -28,8 +28,8 @@ stdenv.mkDerivation rec { buildInputs = [ unzip libjpeg libtiff libgeotiff libpng proj openssl sqlite libspatialite poppler hdf4 qhull giflib expat libxml2 proj ] ++ (with pythonPackages; [ python numpy wrapPython ]) - ++ stdenv.lib.optional stdenv.isDarwin libiconv - ++ stdenv.lib.optionals netcdfSupport [ netcdf hdf5 curl ]; + ++ lib.optional stdenv.isDarwin libiconv + ++ lib.optionals netcdfSupport [ netcdf hdf5 curl ]; configureFlags = [ "--with-expat=${expat.dev}" @@ -97,8 +97,8 @@ stdenv.mkDerivation rec { meta = { description = "Translator library for raster geospatial data formats"; homepage = "https://www.gdal.org/"; - license = stdenv.lib.licenses.mit; - maintainers = [ stdenv.lib.maintainers.marcweber ]; - platforms = with stdenv.lib.platforms; linux ++ darwin; + license = lib.licenses.mit; + maintainers = [ lib.maintainers.marcweber ]; + platforms = with lib.platforms; linux ++ darwin; }; } |