about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/version-management/git-and-tools/bit/default.nix
blob: cce37df357b8f2709e33fb9e60e25682d012715a (plain) (blame)
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
{ lib
, buildGoModule
, fetchFromGitHub
, git
}:

buildGoModule rec {
  pname = "bit";
  version = "1.1.1";

  src = fetchFromGitHub {
    owner = "chriswalz";
    repo = pname;
    rev = "v${version}";
    sha256 = "sha256-85GEx9y8r9Fjgfcwh1Bi8WDqBm6KF7uidutlF77my60=";
  };

  vendorSha256 = "sha256-3Y/B14xX5jaoL44rq9+Nn4niGViLPPXBa8WcJgTvYTA=";

  propagatedBuildInputs = [ git ];

  # Tests require a repository
  doCheck = false;

  meta = with lib; {
    description = "Command-line tool for git";
    homepage = "https://github.com/chriswalz/bit";
    license = with licenses; [ asl20 ];
    maintainers = with maintainers; [ fab ];
  };
}