1{ lib
2, rustPlatform
3, fetchFromGitHub
4, stdenv
5}:
6
7rustPlatform.buildRustPackage rec {
8 pname = "git-graph";
9 version = "unstable-2023-01-14";
10
11 src = fetchFromGitHub {
12 owner = "mlange-42";
13 repo = pname;
14 rev = "9bd54eb0aed6f108364bce9ad0bdff12077038fc";
15 hash = "sha256-tMM/mpt9yzZYSpnOGBuGLM0XTJiiyChfUrERMuyn3mQ=";
16 };
17
18 cargoHash = "sha256-ZLF/l2HnIbmkayWXhjYr01M6lGaGiK2UYyp654ncxgo=";
19
20 meta = with lib; {
21 description = "Command line tool to show clear git graphs arranged for your branching model";
22 homepage = "https://github.com/mlange-42/git-graph";
23 license = licenses.mit;
24 broken = stdenv.isDarwin;
25 maintainers = with maintainers; [ cafkafk ];
26 mainProgram = "git-graph";
27 };
28}