diff options
author | Alyssa Ross <hi@alyssa.is> | 2023-09-15 07:58:52 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2023-09-15 07:58:52 +0000 |
commit | 9d1daa60832979d5d361dfdac136fb9e5a1af2c5 (patch) | |
tree | 5192dd85903cb092cf7dff0e3403387b3b683d84 /nixpkgs/pkgs/tools/misc/vsc-leetcode-cli | |
parent | 67cdfc7d42f721bf85814af5a0095fb9f9ea455d (diff) | |
parent | f2ea252d23ebc9a5336bf6a61e0644921f64e67c (diff) | |
download | nixlib-9d1daa60832979d5d361dfdac136fb9e5a1af2c5.tar nixlib-9d1daa60832979d5d361dfdac136fb9e5a1af2c5.tar.gz nixlib-9d1daa60832979d5d361dfdac136fb9e5a1af2c5.tar.bz2 nixlib-9d1daa60832979d5d361dfdac136fb9e5a1af2c5.tar.lz nixlib-9d1daa60832979d5d361dfdac136fb9e5a1af2c5.tar.xz nixlib-9d1daa60832979d5d361dfdac136fb9e5a1af2c5.tar.zst nixlib-9d1daa60832979d5d361dfdac136fb9e5a1af2c5.zip |
Merge branch 'nixos-unstable' of https://github.com/NixOS/nixpkgs
Diffstat (limited to 'nixpkgs/pkgs/tools/misc/vsc-leetcode-cli')
-rw-r--r-- | nixpkgs/pkgs/tools/misc/vsc-leetcode-cli/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/tools/misc/vsc-leetcode-cli/default.nix b/nixpkgs/pkgs/tools/misc/vsc-leetcode-cli/default.nix new file mode 100644 index 000000000000..cb70f9a80eed --- /dev/null +++ b/nixpkgs/pkgs/tools/misc/vsc-leetcode-cli/default.nix @@ -0,0 +1,28 @@ +{ 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 = "A CLI tool for leetcode.com"; + homepage = "https://github.com/leetcode-tools/leetcode-cli"; + license = licenses.mit; + maintainers = with maintainers; [ cpcloud ]; + mainProgram = "leetcode"; + }; +} |