aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/applications/version-management/git-and-tools/gitin/default.nix
blob: af9aef6d39c6e5f9f566291d5844fb4255c32a83 (plain)
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
28
29
30
31
32
{ stdenv
, buildGoPackage
, fetchFromGitHub
, pkgconfig
, 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;

  nativeBuildInputs = [ pkgconfig ];
  buildInputs = [ libgit2_0_27 ];

  meta = with stdenv.lib; {
    homepage = "https://github.com/isacikgoz/gitin";
    description = "Text-based user interface for git";
    license = licenses.bsd3;
    maintainers = with maintainers; [ kimat ];
  };
}