overcommit: add passthru.tests.version, meta.mainProgram
This commit is contained in:
committed by
Anthony Roussel
parent
3672d8834a
commit
a17698e803
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user