Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
35 lines
822 B
Nix
35 lines
822 B
Nix
{
|
|
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";
|
|
};
|
|
}
|