2021-02-05 17:12:51 +00:00
|
|
|
{ lib
|
2020-05-29 06:06:01 +00:00
|
|
|
, buildGoPackage
|
|
|
|
, fetchFromGitHub
|
2021-02-05 17:12:51 +00:00
|
|
|
, pkg-config
|
2020-05-29 06:06:01 +00:00
|
|
|
, libgit2_0_27
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
version = "0.2.3";
|
|
|
|
pname = "gitin";
|
|
|
|
|
|
|
|
goPackagePath = "github.com/isacikgoz/gitin";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "isacikgoz";
|
|
|
|
repo = "gitin";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "00z6i0bjk3hdxbc0cy12ss75b41yvzyl5pm6rdrvsjhzavry2fa3";
|
|
|
|
};
|
|
|
|
|
|
|
|
goDeps = ./deps.nix;
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2020-05-29 06:06:01 +00:00
|
|
|
buildInputs = [ libgit2_0_27 ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-05-29 06:06:01 +00:00
|
|
|
homepage = "https://github.com/isacikgoz/gitin";
|
|
|
|
description = "Text-based user interface for git";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ kimat ];
|
|
|
|
};
|
|
|
|
}
|