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