zuban: 0.1.0 -> 0.3.0 and typeshed fix (#464530)

This commit is contained in:
Matt Sturgeon
2025-12-18 00:21:31 +00:00
committed by GitHub
+11 -3
View File
@@ -4,22 +4,29 @@
rustPlatform,
versionCheckHook,
nix-update-script,
python3,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "zuban";
version = "0.1.0";
version = "0.3.0";
src = fetchFromGitHub {
owner = "zubanls";
repo = "zuban";
tag = "v${finalAttrs.version}";
hash = "sha256-nSQf3I9O5TP1V8kwJrcBRREqS/47UlILx3IZMmt5ljQ=";
hash = "sha256-LHIrIO9ew5iXgem9W7QkPGic8XH6fQymLrbvQbmkB0M=";
fetchSubmodules = true;
};
postInstall = ''
mkdir -p $out/${python3.sitePackages}/zuban
cp -r third_party $out/${python3.sitePackages}/zuban/
'';
buildAndTestSubdir = "crates/zuban";
cargoHash = "sha256-Q09ZUBVa52fXIKiL6aC9VZB+4Rt/hI045CIjb/t3Xyg=";
cargoHash = "sha256-y3lqa+WWY8+KG59DzGdpiBLMybeqeN1fMAUMFidHX3Q=";
nativeInstallCheckInputs = [
versionCheckHook
@@ -39,6 +46,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
changelog = "https://zubanls.com/blog/";
license = lib.licenses.agpl3Only;
maintainers = with lib.maintainers; [
bew
mcjocobe
];
platforms = lib.platforms.all;