diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2018-03-07 08:22:32 -0600 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2018-03-07 08:22:32 -0600 |
commit | 0b04beb8054fe9f56f98d3836a1c5ecf4d9fb68d (patch) | |
tree | 69e1bff081a40f8d4af8b55d84f8c5318af9dce5 /pkgs/applications/version-management/git-sizer | |
parent | 4ff4ef51b77ef06ca8a9a00ee28bcd6447033680 (diff) |
git-sizer: init at 1.0.0
Diffstat (limited to 'pkgs/applications/version-management/git-sizer')
-rw-r--r-- | pkgs/applications/version-management/git-sizer/default.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/applications/version-management/git-sizer/default.nix b/pkgs/applications/version-management/git-sizer/default.nix new file mode 100644 index 0000000000000..a0d7382de3419 --- /dev/null +++ b/pkgs/applications/version-management/git-sizer/default.nix @@ -0,0 +1,23 @@ +{ stdenv, lib, buildGoPackage, fetchFromGitHub }: + +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; + }; +} |