···1818 $out/$installPrefix/server/bin/lua-language-server
1919 '';
20202121- meta = with lib; {
2121+ meta = {
2222 description = "The Lua language server provides various language features for Lua to make development easier and faster.";
2323 homepage = "https://marketplace.visualstudio.com/items?itemName=sumneko.lua";
2424- license = licenses.mit;
2525- maintainers = with maintainers; [ lblasc ];
2424+ license = lib.licenses.mit;
2525+ maintainers = [ lib.maintainers.lblasc ];
2626 };
2727}
···166166167167 HGNAME = "sl";
168168 SAPLING_OSS_BUILD = "true";
169169- SAPLING_VERSION = version;
170169 SAPLING_VERSION_HASH = versionHash;
171170171171+ # Python setuptools version 66 and newer does not support upstream Sapling's
172172+ # version numbers (e.g. "0.2.20230124-180750-hf8cd450a"). Change the version
173173+ # number to something supported by setuptools (e.g. "0.2.20230124").
174174+ # https://github.com/facebook/sapling/issues/571
175175+ SAPLING_VERSION = builtins.elemAt (builtins.split "-" version) 0;
176176+172177 # just a simple check phase, until we have a running test suite. this should
173178 # help catch issues like lack of a LOCALE_ARCHIVE setting (see GH PR #202760)
174179 doCheck = true;
175180 installCheckPhase = ''
176176- echo -n "testing sapling version; should be \"${version}\"... "
177177- $out/bin/sl version | grep -qw "${version}"
181181+ echo -n "testing sapling version; should be \"$SAPLING_VERSION\"... "
182182+ $out/bin/sl version | grep -qw "$SAPLING_VERSION"
178183 echo "OK!"
179184 '';
180185