Skip to content

Commit

Permalink
git-sizer: init at 1.0.0
Browse files Browse the repository at this point in the history
(cherry picked from commit 0b04beb)
  • Loading branch information
matthewbauer authored and LnL7 committed Mar 7, 2018
1 parent 17ff10a commit bf5e7c4
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
23 changes: 23 additions & 0 deletions 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;
};
}
4 changes: 3 additions & 1 deletion pkgs/top-level/all-packages.nix
Expand Up @@ -2446,6 +2446,8 @@ with pkgs;

git-series = callPackage ../development/tools/git-series { };

git-sizer = callPackage ../applications/version-management/git-sizer { };

git-up = callPackage ../applications/version-management/git-up { };

gitfs = callPackage ../tools/filesystems/gitfs { };
Expand Down Expand Up @@ -10435,7 +10437,7 @@ with pkgs;
## libGL/libGLU/Mesa stuff

# Default libGL implementation, should provide headers and libGL.so/libEGL.so/... to link agains them
# Default implementation is `mesa`, but can be eventually replaced with `libglvnd`,
# Default implementation is `mesa`, but can be eventually replaced with `libglvnd`,
# or other runtime dispatcher
libGL = mesa_noglu;

Expand Down

0 comments on commit bf5e7c4

Please sign in to comment.