Files
nixpkgs/pkgs/by-name/co/codebuff/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
822 B
Nix
Raw Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
buildNpmPackage,
fetchzip,
}:
buildNpmPackage rec {
pname = "codebuff";
version = "1.0.496";
src = fetchzip {
url = "https://registry.npmjs.org/codebuff/-/codebuff-${version}.tgz";
hash = "sha256-X/quHRF+DrGtbyDbthXENLXI9vKfjhp9WOn6FBgss4g=";
};
npmDepsHash = "sha256-ni7tCSyqXSyowVl1XzGkzoovaN3AawYvmW1cWdeHxgw=";
postPatch = ''
cp ${./package-lock.json} package-lock.json
'';
dontNpmBuild = true;
passthru.updateScript = ./update.sh;
meta = {
description = "Use natural language to edit your codebase and run commands from your terminal faster";
homepage = "https://www.codebuff.com/";
downloadPage = "https://www.npmjs.com/package/codebuff";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.malo ];
mainProgram = "codebuff";
};
}