about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/version-management/git-sizer/default.nix
blob: 7a92679583b6047fc10830b63b31efb65ef54147 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ lib, buildGoPackage, fetchFromGitHub }:

buildGoPackage rec {
  pname = "git-sizer";
  version = "1.0.0";

  goPackagePath = "github.com/github/git-sizer";

  src = fetchFromGitHub {
    owner = "github";
    repo = pname;
    rev = "v${version}";
    sha256 = "11rvqpsyl41ph0fgm62k5q2p33zgnwj1jd91rd4lkaarpcd1sg5h";
  };

  meta = with lib; {
    description = "Compute various size metrics for a Git repository";
    license = licenses.mit;
    maintainers = with maintainers; [ matthewbauer ];
    platforms = platforms.all;
  };
}