From 9357bb51fa803685bb87bf4ff4cddd72a72ce526 Mon Sep 17 00:00:00 2001 From: Michel Kuhlmann Date: Tue, 23 Sep 2014 16:49:48 +0200 Subject: [PATCH] libLAS: initial expression Closes #4233 --- pkgs/development/libraries/libLAS/default.nix | 22 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 24 insertions(+) create mode 100644 pkgs/development/libraries/libLAS/default.nix diff --git a/pkgs/development/libraries/libLAS/default.nix b/pkgs/development/libraries/libLAS/default.nix new file mode 100644 index 000000000000..c67b3701ec91 --- /dev/null +++ b/pkgs/development/libraries/libLAS/default.nix @@ -0,0 +1,22 @@ +{ stdenv, fetchurl, boost, cmake, gdal, libgeotiff, libtiff, LASzip }: + +stdenv.mkDerivation rec { + name = "libLAS-1.8.0"; + + src = fetchurl { + + url = "http://download.osgeo.org/liblas/${name}.tar.bz2"; + md5 = "599881281d45db4ce9adb2d75458391e"; + }; + + buildInputs = [ boost cmake gdal libgeotiff libtiff LASzip]; + + + meta = { + description = "LAS 1.0/1.1/1.2 ASPRS LiDAR data translation toolset"; + homepage = http://www.liblas.org; + license = stdenv.lib.licenses.bsd3; + platforms = stdenv.lib.platforms.linux; + maintainers = [ stdenv.lib.maintainers.michelk ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c7bdfde7a795..5cea83938fd3 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -5486,6 +5486,8 @@ let libgtop = callPackage ../development/libraries/libgtop {}; + libLAS = callPackage ../development/libraries/libLAS { }; + liblo = callPackage ../development/libraries/liblo { }; liblrdf = librdf;