diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/LASzip')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/LASzip/LASzip2.nix | 23 | ||||
-rw-r--r-- | nixpkgs/pkgs/development/libraries/LASzip/default.nix | 25 |
2 files changed, 48 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/LASzip/LASzip2.nix b/nixpkgs/pkgs/development/libraries/LASzip/LASzip2.nix new file mode 100644 index 000000000000..4f63dfe8059c --- /dev/null +++ b/nixpkgs/pkgs/development/libraries/LASzip/LASzip2.nix @@ -0,0 +1,23 @@ +{ 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/nixpkgs/pkgs/development/libraries/LASzip/default.nix b/nixpkgs/pkgs/development/libraries/LASzip/default.nix new file mode 100644 index 000000000000..f170ea44c0ee --- /dev/null +++ b/nixpkgs/pkgs/development/libraries/LASzip/default.nix @@ -0,0 +1,25 @@ +{ lib, stdenv, fetchFromGitHub, cmake }: + +stdenv.mkDerivation rec { + version = "3.4.3"; + pname = "LASzip"; + + src = fetchFromGitHub { + owner = "LASzip"; + repo = "LASzip"; + rev = version; + sha256 = "09lcsgxwv0jq50fhsgfhx0npbf1zcwn3hbnq6q78fshqksbxmz7m"; + }; + + nativeBuildInputs = [ + cmake + ]; + + meta = { + description = "Turn quickly bulky LAS files into compact LAZ files without information loss"; + homepage = "https://laszip.org"; + license = lib.licenses.lgpl2; + maintainers = [ lib.maintainers.michelk ]; + platforms = lib.platforms.unix; + }; +} |