2018-07-21 02:44:44 +02:00
|
|
|
{ lib, buildGoPackage, fetchFromGitHub }:
|
2018-03-07 15:22:32 +01:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
pname = "git-sizer";
|
2019-11-05 18:36:00 +01:00
|
|
|
version = "1.3.0";
|
2018-03-07 15:22:32 +01:00
|
|
|
|
|
|
|
goPackagePath = "github.com/github/git-sizer";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "github";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2019-11-05 18:36:00 +01:00
|
|
|
sha256 = "0kmyvai5xfalm56ywa6mhdvvjnacdzwcyz28bw0pz9a4gyf1mgvh";
|
2018-03-07 15:22:32 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Compute various size metrics for a Git repository";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ matthewbauer ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|