mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 18:23:09 +00:00
23 lines
537 B
Nix
23 lines
537 B
Nix
{ lib, buildGoPackage, fetchFromGitHub }:
|
|
|
|
buildGoPackage rec {
|
|
pname = "git-sizer";
|
|
version = "1.3.0";
|
|
|
|
goPackagePath = "github.com/github/git-sizer";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "github";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "0kmyvai5xfalm56ywa6mhdvvjnacdzwcyz28bw0pz9a4gyf1mgvh";
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "Compute various size metrics for a Git repository";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ matthewbauer ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|