2018-07-21 00:44:44 +00:00
|
|
|
{ lib, buildGoPackage, fetchFromGitHub }:
|
2018-03-07 14:22:32 +00:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
pname = "git-sizer";
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|