mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 23:23:07 +00:00
37 lines
999 B
Nix
37 lines
999 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "ghorg";
|
|
version = "1.8.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "gabrie30";
|
|
repo = "ghorg";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-xB/TdeXC0V8dZs6N6Uq1+gzG84j9uhSrwkSbIMwUWSk=";
|
|
};
|
|
|
|
doCheck = false;
|
|
vendorSha256 = null;
|
|
|
|
subPackages = [ "." ];
|
|
|
|
ldflags = [ "-s" "-w" "-X main.version=${version}" ];
|
|
|
|
meta = with lib; {
|
|
description = "Quickly clone an entire org/users repositories into one directory";
|
|
longDescription = ''
|
|
ghorg allows you to quickly clone all of an orgs, or users repos into a
|
|
single directory. This can be useful in many situations including
|
|
- Searching an orgs/users codebase with ack, silver searcher, grep etc..
|
|
- Bash scripting
|
|
- Creating backups
|
|
- Onboarding
|
|
- Performing Audits
|
|
'';
|
|
homepage = "https://github.com/gabrie30/ghorg";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ vidbina ];
|
|
};
|
|
}
|