nixpkgs/pkgs/development/libraries/LASzip/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

22 lines
592 B
Nix

{ 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;
};
}