1 { lib, buildGoModule, fetchFromGitHub, testers, git-sizer }:
7 src = fetchFromGitHub {
11 sha256 = "sha256-On7QBTzKfnuuzwMQ8m1odxGqfIKL+EDg5V05Kxuhmqw=";
14 vendorHash = "sha256-oRlsD99XiI/0ZWibjyRcycmGab+vMbXrV5hIdIyUDYg=";
16 ldflags = [ "-s" "-w" "-X main.BuildVersion=${version}" ];
20 passthru.tests.vesion = testers.testVersion {
25 description = "Compute various size metrics for a Git repository";
26 homepage = "https://github.com/github/git-sizer";
27 license = licenses.mit;
28 maintainers = with maintainers; [ matthewbauer ];
29 mainProgram = "git-sizer";