Commit a17698e8 authored by Anthony ROUSSEL's avatar Anthony ROUSSEL Committed by Anthony Roussel
Browse files

overcommit: add passthru.tests.version, meta.mainProgram

parent 3672d883
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -4,6 +4,8 @@
  bundlerUpdateScript,
  git,
  makeWrapper,
  overcommit,
  testers,
}:

bundlerApp {
@@ -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