nixpkgs/pkgs/tools/misc/vsc-leetcode-cli/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

29 lines
682 B
Nix

{ buildNpmPackage
, fetchFromGitHub
, lib
}:
buildNpmPackage {
pname = "vsc-leetcode-cli";
version = "unstable-2021-04-11";
src = fetchFromGitHub {
owner = "leetcode-tools";
repo = "leetcode-cli";
rev = "c5f6b8987185ae9f181e138f999825516240f44c";
hash = "sha256-N8hQqIzCUYTT5RAd0eqNynSNkGiN4omFY+8QLBemIbs=";
};
npmDepsHash = "sha256-t8eEnyAKeDmbmduUXuxo/WbJTced5dLeJTbtjxrrxY8=";
dontNpmBuild = true;
meta = with lib; {
description = "CLI tool for leetcode.com";
homepage = "https://github.com/leetcode-tools/leetcode-cli";
license = licenses.mit;
maintainers = with maintainers; [ cpcloud ];
mainProgram = "leetcode";
};
}