Sourcery.ai is a non free package for Python which is available from this link.
Or it can be made available for VScode via this link.
Similar for Vim, Command Line, PyCharm, Emacs or Sublime.
I tried to add this this to my home.nix within a vsocde section:
{
name = "sourcery.sourcery";
publisher = "sourcery.ai";
version = "1.6.0";
sha256 = "0000000000000000000000000000000000000000000000000000";
}
But result:
Cant install sourcery for vscode:
home-manager build switch
produces
building '/nix/store/ag5i8qpv0wkpayjvnkdi0dnwdmhrqa12-sourcery.ai-sourcery.sourcery.zip.drv'...
trying https://sourcery.ai.gallery.vsassets.io/_apis/public/gallery/publisher/sourcery.ai/extension/sourcery.sourcery/1.6.0/assetbyname/Microsoft.VisualStudio.Services.VSIXPackage
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (22) The requested URL returned error: 400
error: cannot download sourcery.ai-sourcery.sourcery.zip from any mirror
For full logs, run 'nix log /nix/store/ag5i8qpv0wkpayjvnkdi0dnwdmhrqa12-sourcery.ai-sourcery.sourcery.zip.drv'.
error: 1 dependencies of derivation '/nix/store/z62dqgjxbm3v3p4hj62bf4aa9nv8y1ix-vscode-extension-sourcery.ai-sourcery.sourcery-1.6.0.drv' failed to build
error: 1 dependencies of derivation '/nix/store/y3rmcb7pcc9j03j0408dsn6g5cnzkvw5-hm_.vscodeextensions.extensionsimmutable.json.drv' failed to build
error: 1 dependencies of derivation '/nix/store/ixfc6bjhprz4n88zk6rsgzs8kas925xi-home-manager-files.drv' failed to build
error: 1 dependencies of derivation '/nix/store/qfxzn9qqbzpq5mmsk1py6ni9lw70zhgk-home-manager-generation.drv' failed to build`
When I visit the link in browser I get:
Our services aren't available right now
I note that searching Nix packages for sourcery produces a result for Code Sourcery C++ ABI, which is unrelated, hence the name should be distinctive.
Add Sourcery.ai to packages
Sourcery.ai is a non free package for Python which is available from this link. Or it can be made available for VScode via this link. Similar for Vim, Command Line, PyCharm, Emacs or Sublime.
I tried to add this this to my home.nix within a vsocde section: { name = "sourcery.sourcery"; publisher = "sourcery.ai"; version = "1.6.0"; sha256 = "0000000000000000000000000000000000000000000000000000"; }
But result: Cant install sourcery for vscode: home-manager build switch produces building '/nix/store/ag5i8qpv0wkpayjvnkdi0dnwdmhrqa12-sourcery.ai-sourcery.sourcery.zip.drv'...
trying https://sourcery.ai.gallery.vsassets.io/_apis/public/gallery/publisher/sourcery.ai/extension/sourcery.sourcery/1.6.0/assetbyname/Microsoft.VisualStudio.Services.VSIXPackage % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 400 error: cannot download sourcery.ai-sourcery.sourcery.zip from any mirror error: builder for '/nix/store/ag5i8qpv0wkpayjvnkdi0dnwdmhrqa12-sourcery.ai-sourcery.sourcery.zip.drv' failed with exit code 1; last 7 log lines:
When I visit the link in browser I get:
Our services aren't available right now
I note that searching Nix packages for sourcery produces a result for Code Sourcery C++ ABI, which is unrelated, hence the name should be distinctive.
Metadata