Skip to content

Commit bf5e7c4

Browse files
matthewbauerLnL7
authored andcommittedMar 7, 2018
git-sizer: init at 1.0.0
(cherry picked from commit 0b04beb)
1 parent 17ff10a commit bf5e7c4

File tree

2 files changed

+26
-1
lines changed

2 files changed

+26
-1
lines changed
 
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{ stdenv, lib, buildGoPackage, fetchFromGitHub }:
2+
3+
buildGoPackage rec {
4+
pname = "git-sizer";
5+
name = "${pname}-${version}";
6+
version = "1.0.0";
7+
8+
goPackagePath = "github.com/github/git-sizer";
9+
10+
src = fetchFromGitHub {
11+
owner = "github";
12+
repo = pname;
13+
rev = "v${version}";
14+
sha256 = "11rvqpsyl41ph0fgm62k5q2p33zgnwj1jd91rd4lkaarpcd1sg5h";
15+
};
16+
17+
meta = with lib; {
18+
description = "Compute various size metrics for a Git repository";
19+
license = licenses.mit;
20+
maintainers = with maintainers; [ matthewbauer ];
21+
platforms = platforms.all;
22+
};
23+
}

‎pkgs/top-level/all-packages.nix

+3-1
Original file line numberDiff line numberDiff line change
@@ -2446,6 +2446,8 @@ with pkgs;
24462446

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

2449+
git-sizer = callPackage ../applications/version-management/git-sizer { };
2450+
24492451
git-up = callPackage ../applications/version-management/git-up { };
24502452

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

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

0 commit comments

Comments
 (0)