Skip to content

Commit

Permalink
overcommit: add passthru.tests.version, meta.mainProgram
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonyroussel committed Sep 17, 2024
1 parent 41789ee commit bbef1be
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pkgs/by-name/ov/overcommit/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
bundlerUpdateScript,
git,
makeWrapper,
overcommit,
testers,
}:

bundlerApp {
Expand All @@ -18,13 +20,19 @@ bundlerApp {
'';

passthru = {
tests.version = testers.testVersion {
package = overcommit;
version = (import ./gemset.nix).overcommit.version;
};
updateScript = bundlerUpdateScript "overcommit";
};

meta = with lib; {
description = "Tool to manage and configure Git hooks";
homepage = "https://github.com/sds/overcommit";
changelog = "https://github.com/sds/overcommit/blob/main/CHANGELOG.md";
license = licenses.mit;
mainProgram = "overcommit";
maintainers = with maintainers; [
Br1ght0ne
anthonyroussel
Expand Down

0 comments on commit bbef1be

Please sign in to comment.