git.iko.soy/typeable/nixpkgs
on master help sign in
git-sizer: init at 1.0.0
commit0b04beb8054fe9f56f98d3836a1c5ecf4d9fb68d authorMatthew Bauer <mjbauer95@gmail.com> dateWed 7 Mar 2018, 08:22 (9 years ago) parent4ff4ef5
2 files changed+26−1
pkgs/applications/version-management/git-sizer/default.nix+23 pkgs/top-level/all-packages.nix+3−1
pkgs/applications/version-management/git-sizer/default.nixnew file+23
@@ -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
@@ -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 { };
@@ -10440,7 +10442,7 @@ with pkgs;
1044010442 ## libGL/libGLU/Mesa stuff
1044110443
1044210444 # Default libGL implementation, should provide headers and libGL.so/libEGL.so/... to link agains them
10443− # Default implementation is `mesa`, but can be eventually replaced with `libglvnd`,
10445+ # Default implementation is `mesa`, but can be eventually replaced with `libglvnd`,
1044410446 # or other runtime dispatcher
1044510447 libGL = mesa_noglu;
1044610448