blob: 8aa79ebf8d6988427cc1671fc9bb67645a6980ec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
{
config,
lib,
pkgs,
...
}:
let
inherit ((import ../lib.nix { inherit lib pkgs; })) mkScriptModule;
base = mkScriptModule {
name = "git-log-graph";
path = ./script.sh;
description = "Git log graph with signature verification\nRun with GIT_LOG_GRAPH_EMBED=1 or --embed to skip the pager";
deps = [
pkgs.bash
pkgs.git
pkgs.git-graph
pkgs.gawk
pkgs.less
];
completion = builtins.readFile ./completion.zsh;
inherit config;
};
in
{
options = base.options;
config = base.moduleConfig;
}
|