From 7a9c3739a41fa5cc5e5050a91d1945f3628ba2ce Mon Sep 17 00:00:00 2001 From: Matthew Pickering Date: Tue, 21 Aug 2018 21:11:44 +0000 Subject: [PATCH] LAStools: init at 180812 --- .../libraries/LAStools/default.nix | 23 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 25 insertions(+) create mode 100644 pkgs/development/libraries/LAStools/default.nix diff --git a/pkgs/development/libraries/LAStools/default.nix b/pkgs/development/libraries/LAStools/default.nix new file mode 100644 index 000000000000..ef0fd4818f5d --- /dev/null +++ b/pkgs/development/libraries/LAStools/default.nix @@ -0,0 +1,23 @@ +{ stdenv, fetchFromGitHub, cmake, fetchurl}: +stdenv.mkDerivation rec { + + version = "180812"; + name = "LAStools-${version}"; + + src = fetchFromGitHub { + owner = "LAStools"; + repo = "LAStools"; + rev = "162cf032f25cac492712a8568a08b224a5fb40c2"; + sha256 = "117c9csbfwsx424ha695l7d99cswi316k8q338mzk1lxlk8p3xbz"; + }; + + nativeBuildInputs = [cmake]; + + meta = { + description = "Efficient tools for LiDAR processing."; + homepage = https://www.laszip.org; + license = stdenv.lib.licenses.lgpl2; + maintainers = [ stdenv.lib.maintainers.mpickering ]; + platforms = stdenv.lib.platforms.unix; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 04579795c56a..2fe2de7bad54 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -13461,6 +13461,8 @@ in lasso = callPackage ../development/libraries/lasso { }; + LAStools = callPackage ../development/libraries/LAStools { }; + LASzip = callPackage ../development/libraries/LASzip { }; LASzip2 = callPackage ../development/libraries/LASzip/LASzip2.nix { };