diff --git a/pkgs/development/libraries/LASzip/default.nix b/pkgs/development/libraries/LASzip/default.nix new file mode 100644 index 00000000000..22fa8b099f8 --- /dev/null +++ b/pkgs/development/libraries/LASzip/default.nix @@ -0,0 +1,20 @@ +{ stdenv, fetchurl, cmake }: + +stdenv.mkDerivation rec { + version = "2.2.0"; + name = "LASzip-${version}"; + + 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 = http://www.laszip.org; + license = stdenv.lib.licenses.lgpl2; + platforms = stdenv.lib.platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 09d8682edcb..9947c6642ad 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -5249,6 +5249,8 @@ let krb5 = callPackage ../development/libraries/kerberos/krb5.nix { }; + LASzip = callPackage ../development/libraries/LASzip { }; + lcms = lcms1; lcms1 = callPackage ../development/libraries/lcms { };