Giter Site home page Giter Site logo

ameertaweel / nix-vscode-marketplace Goto Github PK

View Code? Open in Web Editor NEW
32.0 5.0 0.0 29.75 MB

VSCode and OpenVSX extensions for Nix

Home Page: https://github.com/AmeerTaweel/nix-vscode-marketplace

License: MIT License

Nix 99.91% TypeScript 0.03% Python 0.05% Shell 0.01%
openvsx vscode vscode-extension

nix-vscode-marketplace's Introduction

Moved to nix-community/nix-vscode-extensions.

Nix VSCode Marketplace

At the time of writing this, searching nixpkgs yields around 200 VS Code extensions. However, the VS Code marketplace contains more than 40,000 extensions!

This flake provides the Nix expressions for the majority of available extensions from Open VSX and VSCode Marketplace.

A GitHub action updates the extensions daily.

How To Use

Try a template:

nix flake new vscodium-project -t github:deemp/nix-vscode-extensions#vscodium-with-extensions
cd vscodium-project
git init && git add .
nix develop

Contribute

  1. (Optional) Start VSCodium with necessary extensions

    nix develop nix-dev/
    write-settings-json
    codium .
  2. Select TARGET in flake.nix, e.g., open-vsx. Comment out another target like so: # export TARGET=vscode-marketplace.

  3. Export variables

    nix develop
  4. Run scripts in this environment

    nix run .#scripts.generateConfigs

Improvement on any part of this project is welcome. These are possible areas of improvement that I have in mind:

  • License information is only included with OpenVSX extensions. This is because I could not obtain license information from the official VSCode Marketplace API. The official API is not documented at all, so I'm not sure if I can get license information out of it or not.
  • The Nix expressions that converts the output of Nvfetcher to package definitions is not the most pretty Nix expressions ever.
  • The GitHub action is not great either. I'm sure it can be way better, but I'm not particularly good with actions (this is my first one ever).

nix-vscode-marketplace's People

Contributors

ameertaweel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

nix-vscode-marketplace's Issues

Some extensions are missing

Thanks for the effort of making it and configuring daily updates on GH Actions.

I tried to incorporate it into my MacBooks Darwin setup, but spotted some troubles.

  1. Some extensions are missing, for example:
Name: cabal-fmt
Id: berberman.vscode-cabal-fmt
Description: Format .cabal using cabal-fmt
Version: 0.0.3
Publisher: berberman
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=berberman.vscode-cabal-fmt
  1. Preview versions of the extensions are missing. For example:
ms-vscode-remote.remote-containers
ms-vscode-remote.remote-ssh
ms-vscode-remote.remote-ssh-edit
  1. Something is wrong with hashing on darwin platform. For example redhat.vscode-yaml gives:
error: hash mismatch in fixed-output derivation '/nix/store/l76q3k9amxm1kgdins7x45nfa2rvcbib-vscode-yaml-1.10.20220805.zip.drv':
         specified: sha256-XFg6L+DYhq7cmbnYPkRaZJK5zPTp4yeQR24fCpUGp4I=
            got:    sha256-BZHU9FrFqsO09fllMF3+vszrGnPrfQmhVgpcNQhPv/w=

Publisher and extension name was reversed

The VSCode extensions provided by Nixpkgs are, for example, vscode-extensions.github.copilot, ({publisher}. {ext-name}), but all VSCode extensions provided by this flake are like vscode-xml.redhat, ({ext-name}. {publisher}). Is there some intention behind this?

Moving to nix-community

Hi @AmeerTaweel! I moved my fork to nix-community. It's now here. This is to have it in a safe place before we include extensions into nixpkgs. Would you like to become a maintainer?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.