{ lib, buildNpmPackage, fetchzip, }: buildNpmPackage rec { pname = "codebuff"; version = "1.0.451"; src = fetchzip { url = "https://registry.npmjs.org/codebuff/-/codebuff-${version}.tgz"; hash = "sha256-98NiHDb0PrK71I28y7DwDJf2i+mKTQBp22PY4WJh5ig="; }; npmDepsHash = "sha256-qtBi5OT7UBsCIriO6Fk33gLOFNp5Ae0bT9qN+37b2sg="; 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"; }; }