Skip to content

Commit

Permalink
pkgs/ultisnips-vscode: import
Browse files Browse the repository at this point in the history
  • Loading branch information
tomodachi94 committed Apr 20, 2024
1 parent 48a8801 commit 2805a7b
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
32 changes: 32 additions & 0 deletions pkgs/all/ultisnips-vscode.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{ lib
, python3
, fetchFromGitHub
}:

python3.pkgs.buildPythonApplication {
pname = "ultisnips-vscode";
version = "unstable-2022-06-04";
pyproject = true;

src = fetchFromGitHub {
owner = "erietz";
repo = "ultisnips-vscode";
rev = "e59ba44087765b61d55d81d53bdd8f34b54db704";
hash = "sha256-Mru8oypy3zBvA3587nQ74BZ1gtCM3X9xkuV2E9FLW6w=";
};

nativeBuildInputs = with python3.pkgs; [
setuptools
wheel
];

pythonImportChecks = [ "ultisnips2vscode" ];

meta = with lib; {
description = "Mass convert UltiSnips snippets to JSON for VSCode";
homepage = "https://github.com/erietz/ultisnips-vscode";
license = licenses.gpl3Only;
maintainers = with maintainers; [ tomodachi94 ];
mainProgram = "ultisnips-vscode";
};
}
1 change: 1 addition & 0 deletions pkgs/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ in
developercolorpicker = cp ./darwin/developercolorpicker.nix { };
hugo-bearblog = cp ./all/hugo-bearblog.nix { };
spyglass = cp ./all/spyglass { };
ultisnips-vscode = cp ./all/ultisnips-vscode.nix { };
}

0 comments on commit 2805a7b

Please sign in to comment.