mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 12:53:05 +00:00
755b915a15
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/'
29 lines
682 B
Nix
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";
|
|
};
|
|
}
|