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
38 lines
852 B
Nix
38 lines
852 B
Nix
{
|
|
lib,
|
|
buildNpmPackage,
|
|
fetchFromGitHub,
|
|
nix-update-script,
|
|
npm-lockfile-fix,
|
|
}:
|
|
|
|
buildNpmPackage rec {
|
|
pname = "opencommit";
|
|
version = "3.2.10";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "di-sukharev";
|
|
repo = "opencommit";
|
|
rev = "v${version}";
|
|
hash = "sha256-FsPtTuvBvbDIldwxLbuXOxNfOIQ8THboRB6ghTSzTbI=";
|
|
postFetch = ''
|
|
cd $out
|
|
# Fix lockfile issues with bundled dependencies
|
|
${lib.getExe npm-lockfile-fix} package-lock.json
|
|
'';
|
|
};
|
|
|
|
npmDepsHash = "sha256-Ilf9lfFegraQRkYU5v7Zv6MubpN5m6bck3j5UkTXk+4=";
|
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
meta = {
|
|
description = "AI-powered commit message generator";
|
|
homepage = "https://www.npmjs.com/package/opencommit";
|
|
license = lib.licenses.mit;
|
|
maintainers = [ lib.maintainers.matteopacini ];
|
|
mainProgram = "oco";
|
|
};
|
|
|
|
}
|