about summary refs log tree commit diff
path: root/pkgs/applications/version-management/git-graph/default.nix
blob: 93db500f0a267c25e509e57e9698fdf4d0f22bc8 (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
27
{ lib
, rustPlatform
, fetchFromGitHub
, stdenv
}:

rustPlatform.buildRustPackage rec {
  pname = "git-graph";
  version = "unstable-2023-01-14";

  src = fetchFromGitHub {
    owner = "mlange-42";
    repo = pname;
    rev = "9bd54eb0aed6f108364bce9ad0bdff12077038fc";
    hash = "sha256-tMM/mpt9yzZYSpnOGBuGLM0XTJiiyChfUrERMuyn3mQ=";
  };

  cargoHash = "sha256-ZLF/l2HnIbmkayWXhjYr01M6lGaGiK2UYyp654ncxgo=";

  meta = with lib; {
    description = "Command line tool to show clear git graphs arranged for your branching model";
    homepage = "https://github.com/mlange-42/git-graph";
    license = licenses.mit;
    broken = stdenv.isDarwin;
    maintainers = with maintainers; [ cafkafk ];
  };
}