diff --git a/pkgs/by-name/la/LAStools/package.nix b/pkgs/by-name/la/LAStools/package.nix index f19157f28750..35da3703adb5 100644 --- a/pkgs/by-name/la/LAStools/package.nix +++ b/pkgs/by-name/la/LAStools/package.nix @@ -5,15 +5,15 @@ cmake, }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "LAStools"; version = "2.0.4"; src = fetchFromGitHub { owner = "LAStools"; repo = "LAStools"; - rev = "v${version}"; - sha256 = "sha256-ow7zcvkenJ2j+tj2TxuEtK0dQEwzUtJ9f0wzt5/qimM="; + tag = "v${finalAttrs.version}"; + hash = "sha256-ow7zcvkenJ2j+tj2TxuEtK0dQEwzUtJ9f0wzt5/qimM="; }; patches = [ @@ -30,12 +30,12 @@ stdenv.mkDerivation rec { cmake ]; - meta = with lib; { + meta = { description = "Software for rapid LiDAR processing"; homepage = "http://lastools.org/"; - license = licenses.unfree; - maintainers = with maintainers; [ stephenwithph ]; - teams = [ teams.geospatial ]; - platforms = platforms.unix; + license = lib.licenses.unfree; + maintainers = with lib.maintainers; [ stephenwithph ]; + teams = [ lib.teams.geospatial ]; + platforms = lib.platforms.unix; }; -} +})