nixpkgs/pkgs/applications/version-management/git-graph/default.nix
2023-11-27 02:17:53 +01:00

28 lines
733 B
Nix

{ 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 ];
mainProgram = "git-graph";
};
}