1{
2 lib,
3 fetchFromGitHub,
4 python3Packages,
5 git,
6}:
7
8python3Packages.buildPythonApplication {
9 pname = "git-bars";
10 version = "0-unstable-2023-08-08";
11 format = "setuptools";
12
13 src = fetchFromGitHub {
14 owner = "knadh";
15 repo = "git-bars";
16 rev = "f15fbc15345d9ef021e5a9b278e352bb532dcee8";
17 hash = "sha256-jHP6LqhUQv6hh97tSXAdOruWdtp2FXM6ANlpWoA+fHQ=";
18 };
19
20 propagatedBuildInputs = [
21 git
22 python3Packages.setuptools
23 ];
24
25 meta = with lib; {
26 homepage = "https://github.com/knadh/git-bars";
27 description = "Utility for visualising git commit activity as bars on the terminal";
28 license = licenses.mit;
29 maintainers = [ maintainers.matthiasbeyer ];
30 mainProgram = "git-bars";
31 };
32}