mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-31 17:23:34 +00:00
pdal: 2.5.6 -> 2.6.2
This commit is contained in:
parent
d95f2f3962
commit
d986b226f0
@ -2,6 +2,7 @@
|
|||||||
, stdenv
|
, stdenv
|
||||||
, callPackage
|
, callPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, fetchpatch
|
||||||
, testers
|
, testers
|
||||||
|
|
||||||
, enableE57 ? lib.meta.availableOn stdenv.hostPlatform libe57format
|
, enableE57 ? lib.meta.availableOn stdenv.hostPlatform libe57format
|
||||||
@ -18,6 +19,7 @@
|
|||||||
, openscenegraph
|
, openscenegraph
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, postgresql
|
, postgresql
|
||||||
|
, proj
|
||||||
, tiledb
|
, tiledb
|
||||||
, xercesc
|
, xercesc
|
||||||
, zlib
|
, zlib
|
||||||
@ -26,15 +28,24 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "pdal";
|
pname = "pdal";
|
||||||
version = "2.5.6";
|
version = "2.6.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "PDAL";
|
owner = "PDAL";
|
||||||
repo = "PDAL";
|
repo = "PDAL";
|
||||||
rev = finalAttrs.version;
|
rev = finalAttrs.version;
|
||||||
sha256 = "sha256-JKwa89c05EfZ/FxOkj8lYmw0o2EgSqafRDIV2mTpZ5E=";
|
sha256 = "sha256-bYTSmrel8MLza+OxO+aOSsnkahjjqRRqUiVwAk23Gxk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# Fix running tests
|
||||||
|
# https://github.com/PDAL/PDAL/issues/4280
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://patch-diff.githubusercontent.com/raw/PDAL/PDAL/pull/4291.patch";
|
||||||
|
sha256 = "sha256-jFS+trwMRBfm+MpT0CcuD/hdYmfyuQj2zyoe06B6G9U=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
cmake
|
cmake
|
||||||
pkg-config
|
pkg-config
|
||||||
@ -50,6 +61,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
libxml2
|
libxml2
|
||||||
openscenegraph
|
openscenegraph
|
||||||
postgresql
|
postgresql
|
||||||
|
proj
|
||||||
tiledb
|
tiledb
|
||||||
xercesc
|
xercesc
|
||||||
zlib
|
zlib
|
||||||
@ -63,6 +75,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
"-DBUILD_PLUGIN_HDF=ON"
|
"-DBUILD_PLUGIN_HDF=ON"
|
||||||
"-DBUILD_PLUGIN_PGPOINTCLOUD=ON"
|
"-DBUILD_PLUGIN_PGPOINTCLOUD=ON"
|
||||||
"-DBUILD_PLUGIN_TILEDB=ON"
|
"-DBUILD_PLUGIN_TILEDB=ON"
|
||||||
|
"-DWITH_COMPLETION=ON"
|
||||||
"-DWITH_TESTS=ON"
|
"-DWITH_TESTS=ON"
|
||||||
"-DBUILD_PGPOINTCLOUD_TESTS=OFF"
|
"-DBUILD_PGPOINTCLOUD_TESTS=OFF"
|
||||||
|
|
||||||
@ -92,6 +105,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
"pdal_io_tiledb_time_writer_test"
|
"pdal_io_tiledb_time_writer_test"
|
||||||
"pdal_io_tiledb_time_reader_test"
|
"pdal_io_tiledb_time_reader_test"
|
||||||
"pdal_io_tiledb_bit_fields_test"
|
"pdal_io_tiledb_bit_fields_test"
|
||||||
|
"pdal_io_tiledb_utils_test"
|
||||||
"pdal_io_e57_read_test"
|
"pdal_io_e57_read_test"
|
||||||
"pdal_io_e57_write_test"
|
"pdal_io_e57_write_test"
|
||||||
"pdal_io_stac_reader_test"
|
"pdal_io_stac_reader_test"
|
||||||
|
Loading…
Reference in New Issue
Block a user