about summary refs log tree commit diff
path: root/pkgs/applications/version-management/git-bars/default.nix
blob: 79f103468dd81a6a3751f13c41289e8a06edb4cb (plain) (blame)
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
{ stdenv, lib, fetchFromGitHub, python3Packages, git }:

python3Packages.buildPythonApplication {
  pname = "git-bars";
  version = "unstable-2023-08-08";

  src = fetchFromGitHub {
    owner = "knadh";
    repo = "git-bars";
    rev = "f15fbc15345d9ef021e5a9b278e352bb532dcee8";
    hash = "sha256-jHP6LqhUQv6hh97tSXAdOruWdtp2FXM6ANlpWoA+fHQ=";
  };

  propagatedBuildInputs = [
    git
    python3Packages.setuptools
  ];

  meta = with lib; {
    homepage = "https://github.com/knadh/git-bars";
    description = "Utility for visualising git commit activity as bars on the terminal";
    license = licenses.mit;
    maintainers = [ maintainers.matthiasbeyer ];
    mainProgram = "git-bars";
  };
}