mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 22:43:01 +00:00
[Backport release-24.05] opencommit: init at 3.2.1 (#354432)
This commit is contained in:
commit
5be621c4b1
31
pkgs/by-name/op/opencommit/package.nix
Normal file
31
pkgs/by-name/op/opencommit/package.nix
Normal file
@ -0,0 +1,31 @@
|
||||
{
|
||||
lib,
|
||||
buildNpmPackage,
|
||||
fetchFromGitHub,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
buildNpmPackage rec {
|
||||
pname = "opencommit";
|
||||
version = "3.2.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "di-sukharev";
|
||||
repo = "opencommit";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-+uKb7qhQJEbuatPsewSGgVd5J6WtsrNO+hE59/KZIJI=";
|
||||
};
|
||||
|
||||
npmDepsHash = "sha256-6tzV4iP7YzlbqOTgYf9XoTmIFPSBug0wYDelc6wcbCA=";
|
||||
|
||||
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";
|
||||
};
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user