Skip to content

Commit

Permalink
codebuff: 1.0.99 -> 1.0.119 and rename from manicode
Browse files Browse the repository at this point in the history
  • Loading branch information
malob committed Dec 10, 2024
1 parent 75d54b4 commit bc84ae7
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 49 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
}:

buildNpmPackage rec {
pname = "manicode";
version = "1.0.99";
pname = "codebuff";
version = "1.0.119";

src = fetchzip {
url = "https://registry.npmjs.org/manicode/-/manicode-${version}.tgz";
hash = "sha256-LVTh8yOfP92zGSdxLpThC+U9E8cBjoL0+iMQOldNO8A=";
url = "https://registry.npmjs.org/codebuff/-/codebuff-${version}.tgz";
hash = "sha256-nIjNwvEhlgmfj3d0XEyMBWWNy+kh8iS4SEOZ9u8PWZQ=";
};

npmDepsHash = "sha256-MAm/FE8M6BBDZD5Fy2k6GcM5Qv35jNeUwHcemmbUj/A=";
npmDepsHash = "sha256-fO4rjRY31hOWuBnAeDKMSM5wbpPxLa93QQ3DPRCe/ig=";

postPatch = ''
cp ${./package-lock.json} package-lock.json
Expand All @@ -25,10 +25,10 @@ buildNpmPackage rec {

meta = {
description = "Use natural language to edit your codebase and run commands from your terminal faster";
homepage = "https://manicode.ai";
downloadPage = "https://www.npmjs.com/package/manicode";
homepage = "https://codebuff.ai";
downloadPage = "https://www.npmjs.com/package/codebuff";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.malo ];
mainProgram = "manicode";
mainProgram = "codebuff";
};
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@

set -euo pipefail

version=$(npm view manicode version)
version=$(npm view codebuff version)

# Generate updated lock file
cd "$(dirname "${BASH_SOURCE[0]}")"
npm i --package-lock-only manicode@$version
npm i --package-lock-only codebuff@"$version"
rm -f package.json

# Update version and hases
cd -
nix-update manicode --version "$version"
nix-update codebuff --version "$version"
1 change: 1 addition & 0 deletions pkgs/top-level/aliases.nix
Original file line number Diff line number Diff line change
Expand Up @@ -788,6 +788,7 @@ mapAliases {
mariadb_110 = throw "mariadb_110 has been removed from nixpkgs, please switch to another version like mariadb_114"; # Added 2024-08-15
mariadb-client = hiPrio mariadb.client; #added 2019.07.28
maligned = throw "maligned was deprecated upstream in favor of x/tools/go/analysis/passes/fieldalignment"; # Added 20204-08-24
manicode = throw "manicode has been renamed to codebuff"; # Added 2024-12-10
marwaita-manjaro = lib.warnOnInstantiate "marwaita-manjaro has been renamed to marwaita-teal" marwaita-teal; # Added 2024-07-08
marwaita-peppermint = lib.warnOnInstantiate "marwaita-peppermint has been renamed to marwaita-red" marwaita-red; # Added 2024-07-01
marwaita-ubuntu = lib.warnOnInstantiate "marwaita-ubuntu has been renamed to marwaita-orange" marwaita-orange; # Added 2024-07-08
Expand Down

0 comments on commit bc84ae7

Please sign in to comment.