mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 11:53:27 +00:00
Merge pull request #36419 from matthewbauer/init-git-sizer
git-sizer: init at 1.0.0
This commit is contained in:
commit
b235f5a62f
23
pkgs/applications/version-management/git-sizer/default.nix
Normal file
23
pkgs/applications/version-management/git-sizer/default.nix
Normal file
@ -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;
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user