2017-08-31 02:55:53 +00:00
|
|
|
{ stdenv, lib, fetchurl, callPackage, vscode-utils }:
|
2017-08-12 04:27:17 +00:00
|
|
|
|
|
|
|
let
|
2017-10-19 01:32:15 +00:00
|
|
|
inherit (vscode-utils) buildVscodeExtension buildVscodeMarketplaceExtension
|
|
|
|
extensionFromVscodeMarketplace;
|
2017-08-12 04:27:17 +00:00
|
|
|
in
|
2017-08-24 01:24:57 +00:00
|
|
|
#
|
|
|
|
# Unless there is a good reason not to, we attemp to use the same name as the
|
|
|
|
# extension's unique identifier (the name the extension gets when installed
|
|
|
|
# from vscode under `~/.vscode`) and found on the marketplace extension page.
|
|
|
|
# So an extension's attribute name should be of the form:
|
|
|
|
# "${mktplcRef.publisher}.${mktplcRef.name}".
|
|
|
|
#
|
2017-08-12 04:27:17 +00:00
|
|
|
rec {
|
2017-08-24 01:24:57 +00:00
|
|
|
bbenoist.Nix = buildVscodeMarketplaceExtension {
|
2017-08-12 04:27:17 +00:00
|
|
|
mktplcRef = {
|
2017-08-24 01:24:57 +00:00
|
|
|
name = "Nix";
|
2017-08-12 04:27:17 +00:00
|
|
|
publisher = "bbenoist";
|
|
|
|
version = "1.0.1";
|
|
|
|
sha256 = "0zd0n9f5z1f0ckzfjr38xw2zzmcxg1gjrava7yahg5cvdcw6l35b";
|
|
|
|
};
|
2017-08-24 01:24:57 +00:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
2017-08-12 04:27:17 +00:00
|
|
|
};
|
2017-08-31 02:55:53 +00:00
|
|
|
|
|
|
|
ms-vscode.cpptools = callPackage ./cpptools {};
|
2017-10-19 01:32:15 +00:00
|
|
|
|
|
|
|
ms-python.python = callPackage ./python {};
|
2017-08-12 04:27:17 +00:00
|
|
|
}
|