Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 stdenvNoCC, 3 lib, 4 vscode-utils, 5 vscode-extension-update-script, 6}: 7 8vscode-utils.buildVscodeMarketplaceExtension { 9 mktplcRef = 10 let 11 sources = { 12 "x86_64-linux" = { 13 arch = "linux-x64"; 14 hash = "sha256-QOMJIhgc/dixPDUmir7bq5dWYGUfEWHJOlgTbGkxuDo="; 15 }; 16 "x86_64-darwin" = { 17 arch = "darwin-x64"; 18 hash = "sha256-CucMSzmeYdrSbXZbevyJb3M2oTkyatddAt2MUMXNwl0="; 19 }; 20 "aarch64-linux" = { 21 arch = "linux-arm64"; 22 hash = "sha256-Lv/Hqp5OGC66qdIj/5VPlj434ftK4BBHNWlgg2ZAAac="; 23 }; 24 "aarch64-darwin" = { 25 arch = "darwin-arm64"; 26 hash = "sha256-KuAT8+8t6YlQ4VygtxGindvSRs1x7oKT9ZgE7Vhvf8I="; 27 }; 28 }; 29 in 30 { 31 name = "visualjj"; 32 publisher = "visualjj"; 33 version = "0.16.1"; 34 } 35 // sources.${stdenvNoCC.hostPlatform.system} 36 or (throw "Unsupported system ${stdenvNoCC.hostPlatform.system}"); 37 38 passthru.updateScript = vscode-extension-update-script { }; 39 40 meta = { 41 description = "Jujutsu version control integration, for simpler Git workflow"; 42 downloadPage = "https://www.visualjj.com"; 43 homepage = "https://www.visualjj.com"; 44 license = lib.licenses.unfree; 45 platforms = [ 46 "aarch64-linux" 47 "aarch64-darwin" 48 "x86_64-linux" 49 "x86_64-darwin" 50 ]; 51 maintainers = [ lib.maintainers.drupol ]; 52 }; 53}