Skip to content

Commit

Permalink
org-stats: init
Browse files Browse the repository at this point in the history
stolen from @nekowinston
  • Loading branch information
caarlos0 committed May 17, 2023
1 parent a48a129 commit 4d861e4
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
1 change: 1 addition & 0 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
goreleaser-pro = pkgs.callPackage ./pkgs/goreleaser-pro { };
jsonfmt = pkgs.callPackage ./pkgs/jsonfmt { };
mods = pkgs.callPackage ./pkgs/mods { };
org-stats = pkgs.callPackage ./pkgs/org-stats { };
svu = pkgs.callPackage ./pkgs/svu { };
xdg-open-svc = pkgs.callPackage ./pkgs/xdg-open-svc { };
}
21 changes: 21 additions & 0 deletions pkgs/org-stats/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{ buildGo118Module, fetchFromGitHub, lib, ... }:
buildGo118Module rec {
pname = "org-stats";
version = "1.11.2";

src = fetchFromGitHub {
owner = "caarlos0";
repo = "org-stats";
rev = "v${version}";
sha256 = "sha256-b0Cfs4EqQOft/HNAoJvRriCMzNiOgYagBLiPYgsDgJM=";
};

vendorSha256 = "sha256-LKpnEXVfxBR3cebv46QontDVeA64MJe0vNiKSnTjLtQ=";

meta = with lib; {
description =
"Get the contributor stats summary from all repos of any given organization";
homepage = "https://github.com/caarlos0/org-stats";
license = licenses.mit;
};
}

0 comments on commit 4d861e4

Please sign in to comment.