Merge pull request #136940 from Izorkin/init-gitty

gitty: init at 0.3.0
This commit is contained in:
Fabian Affolter 2021-09-07 00:40:02 +02:00 committed by GitHub
commit fffe8611bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,25 @@
{ lib, fetchFromGitHub, buildGoModule }:
buildGoModule rec {
pname = "gitty";
version = "0.3.0";
src = fetchFromGitHub {
owner = "muesli";
repo = "gitty";
rev = "v${version}";
sha256 = "1byjcvzimwn6nmhz0agicq7zq0xhkj4idi9apm1mgd3m2l509ivj";
};
vendorSha256 = "1mbl585ja82kss5p8vli3hbykqxa00j8z63ypq6vi464qkh5x3py";
ldflags = [ "-s" "-w" "-X=main.Version=${version}" ];
meta = with lib; {
homepage = "https://github.com/muesli/gitty/";
description = "Contextual information about your git projects, right on the command-line";
license = licenses.mit;
platforms = platforms.unix;
maintainers = with maintainers; [ izorkin ];
};
}

View File

@ -5434,6 +5434,8 @@ with pkgs;
gitstatus = callPackage ../applications/version-management/git-and-tools/gitstatus { };
gitty = callPackage ../applications/version-management/git-and-tools/gitty { };
gitui = callPackage ../applications/version-management/git-and-tools/gitui {
inherit (darwin.apple_sdk.frameworks) Security AppKit;
};