LASzip, LASzip2: Rename LASzip -> LASzip2, add LASzip 3.
We have to keep the old one because libLAS does not support LASzip 3, see https://github.com/libLAS/libLAS/issues/144.
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
{ stdenv, fetchurl, cmake }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "2.2.0";
|
||||
pname = "LASzip";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/LASzip/LASzip/archive/v${version}.tar.gz";
|
||||
sha256 = "b8e8cc295f764b9d402bc587f3aac67c83ed8b39f1cb686b07c168579c61fbb2";
|
||||
};
|
||||
|
||||
buildInputs = [cmake];
|
||||
|
||||
meta = {
|
||||
description = "Turn quickly bulky LAS files into compact LAZ files without information loss";
|
||||
homepage = https://laszip.org;
|
||||
license = stdenv.lib.licenses.lgpl2;
|
||||
maintainers = [ stdenv.lib.maintainers.michelk ];
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
@@ -1,15 +1,19 @@
|
||||
{ stdenv, fetchurl, cmake }:
|
||||
{ stdenv, fetchFromGitHub, cmake }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "2.2.0";
|
||||
version = "3.4.3";
|
||||
pname = "LASzip";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/LASzip/LASzip/archive/v${version}.tar.gz";
|
||||
sha256 = "b8e8cc295f764b9d402bc587f3aac67c83ed8b39f1cb686b07c168579c61fbb2";
|
||||
src = fetchFromGitHub {
|
||||
owner = "LASzip";
|
||||
repo = "LASzip";
|
||||
rev = version;
|
||||
sha256 = "09lcsgxwv0jq50fhsgfhx0npbf1zcwn3hbnq6q78fshqksbxmz7m";
|
||||
};
|
||||
|
||||
buildInputs = [cmake];
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Turn quickly bulky LAS files into compact LAZ files without information loss";
|
||||
|
||||
Reference in New Issue
Block a user