about summary refs log tree commit diff
path: root/pkgs/development/libraries
diff options
context:
space:
mode:
authorZitrone <nix@dev.quantenzitrone.eu>2024-06-12 08:01:50 +0200
committerZitrone <general@dev.quantenzitrone.eu>2024-06-17 10:24:57 +0200
commitad99f94c466c9ac2e15c35c753a7ce2e070c8723 (patch)
tree981f828103c74435bd35680c9d1ed188fd22d687 /pkgs/development/libraries
parent6f35d8d79416ecaabd062437baa2ee68eb7b2cfa (diff)
LASzip{,2}: rename to laszip{,_2}
Diffstat (limited to 'pkgs/development/libraries')
-rw-r--r--pkgs/development/libraries/LASzip/LASzip2.nix23
-rw-r--r--pkgs/development/libraries/LASzip/default.nix33
-rw-r--r--pkgs/development/libraries/libLAS/default.nix6
-rw-r--r--pkgs/development/libraries/pdal/default.nix4
4 files changed, 5 insertions, 61 deletions
diff --git a/pkgs/development/libraries/LASzip/LASzip2.nix b/pkgs/development/libraries/LASzip/LASzip2.nix
deleted file mode 100644
index 4f63dfe8059c8..0000000000000
--- a/pkgs/development/libraries/LASzip/LASzip2.nix
+++ /dev/null
@@ -1,23 +0,0 @@
-{ lib, stdenv, fetchFromGitHub, cmake }:
-
-stdenv.mkDerivation rec {
-  version = "2.2.0";
-  pname = "LASzip";
-
-  src = fetchFromGitHub {
-    owner = "LASzip";
-    repo = "LASzip";
-    rev = "v${version}";
-    sha256 = "sha256-TXzse4oLjNX5R2xDR721iV+gW/rP5z3Zciv4OgxfeqA=";
-  };
-
-  nativeBuildInputs = [ cmake ];
-
-  meta = with lib; {
-    description = "Turn quickly bulky LAS files into compact LAZ files without information loss";
-    homepage = "https://laszip.org";
-    license = licenses.lgpl2;
-    maintainers = [ maintainers.michelk ];
-    platforms = platforms.unix;
-  };
-}
diff --git a/pkgs/development/libraries/LASzip/default.nix b/pkgs/development/libraries/LASzip/default.nix
deleted file mode 100644
index ee6e74aa7bc23..0000000000000
--- a/pkgs/development/libraries/LASzip/default.nix
+++ /dev/null
@@ -1,33 +0,0 @@
-{ lib
-, stdenv
-, fetchFromGitHub
-, cmake
-, fixDarwinDylibNames
-}:
-
-stdenv.mkDerivation (finalAttrs: {
-  version = "3.4.3";
-  pname = "LASzip";
-
-  src = fetchFromGitHub {
-    owner = "LASzip";
-    repo = "LASzip";
-    rev = finalAttrs.version;
-    hash = "sha256-9fzal54YaocONtguOCxnP7h1LejQPQ0dKFiCzfvTjCY=";
-  };
-
-  nativeBuildInputs = [
-    cmake
-  ] ++ lib.optionals stdenv.isDarwin [
-    fixDarwinDylibNames
-  ];
-
-  meta = {
-    description = "Turn quickly bulky LAS files into compact LAZ files without information loss";
-    homepage = "https://laszip.org";
-    changelog = "https://github.com/LASzip/LASzip/releases/tag/${finalAttrs.src.rev}";
-    license = lib.licenses.lgpl2;
-    maintainers = [ lib.maintainers.michelk ];
-    platforms = lib.platforms.unix;
-  };
-})
diff --git a/pkgs/development/libraries/libLAS/default.nix b/pkgs/development/libraries/libLAS/default.nix
index 195f77d19231e..4b00de8115735 100644
--- a/pkgs/development/libraries/libLAS/default.nix
+++ b/pkgs/development/libraries/libLAS/default.nix
@@ -1,4 +1,4 @@
-{ lib, stdenv, fetchurl, fetchpatch, boost, cmake, libgeotiff, libtiff, LASzip2, fixDarwinDylibNames }:
+{ lib, stdenv, fetchurl, fetchpatch, boost, cmake, libgeotiff, libtiff, laszip_2, fixDarwinDylibNames }:
 
 stdenv.mkDerivation rec {
   pname = "libLAS";
@@ -35,13 +35,13 @@ stdenv.mkDerivation rec {
   ];
 
   nativeBuildInputs = [ cmake ] ++ lib.optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames;
-  buildInputs = [ boost libgeotiff libtiff LASzip2 ];
+  buildInputs = [ boost libgeotiff libtiff laszip_2 ];
 
   cmakeFlags = [
     "-DWITH_LASZIP=ON"
     # libLAS is currently not compatible with LASzip 3,
     # see https://github.com/libLAS/libLAS/issues/144.
-    "-DLASZIP_INCLUDE_DIR=${LASzip2}/include"
+    "-DLASZIP_INCLUDE_DIR=${laszip_2}/include"
     "-DCMAKE_EXE_LINKER_FLAGS=-pthread"
   ];
 
diff --git a/pkgs/development/libraries/pdal/default.nix b/pkgs/development/libraries/pdal/default.nix
index 86d976531cb37..6e7d1ccabef57 100644
--- a/pkgs/development/libraries/pdal/default.nix
+++ b/pkgs/development/libraries/pdal/default.nix
@@ -10,7 +10,7 @@
 , curl
 , gdal
 , hdf5-cpp
-, LASzip
+, laszip
 , libe57format
 , libgeotiff
 , libtiff
@@ -45,7 +45,7 @@ stdenv.mkDerivation (finalAttrs: {
     curl
     gdal
     hdf5-cpp
-    LASzip
+    laszip
     libgeotiff
     libtiff
     libxml2