Browse Source

git-sizer: init at 1.0.0

nixos-19.03
Matthew Bauer 5 years ago
parent
commit
0b04beb805
  1. 23
      pkgs/applications/version-management/git-sizer/default.nix
  2. 4
      pkgs/top-level/all-packages.nix

23
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
pkgs/top-level/all-packages.nix

@ -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 { };
@ -10440,7 +10442,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;

Loading…
Cancel
Save