ghorg: init at 1.4.0
This commit is contained in:
parent
511f36333e
commit
abb7f225ec
@ -34,6 +34,8 @@ let
|
|||||||
|
|
||||||
gh = callPackage ./gh { };
|
gh = callPackage ./gh { };
|
||||||
|
|
||||||
|
ghorg = callPackage ./ghorg { };
|
||||||
|
|
||||||
ghq = callPackage ./ghq { };
|
ghq = callPackage ./ghq { };
|
||||||
|
|
||||||
git = appendToName "minimal" gitBase;
|
git = appendToName "minimal" gitBase;
|
||||||
|
@ -0,0 +1,37 @@
|
|||||||
|
{ stdenv, buildGoModule, fetchFromGitHub }:
|
||||||
|
|
||||||
|
buildGoModule rec {
|
||||||
|
pname = "ghorg";
|
||||||
|
version = "1.4.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "gabrie30";
|
||||||
|
repo = "ghorg";
|
||||||
|
rev = "${version}";
|
||||||
|
sha256 = "0diwndkckv6fga45j9zngizycn5m71r67cziv0zrx6c66ssbj49w";
|
||||||
|
};
|
||||||
|
|
||||||
|
doCheck = false;
|
||||||
|
vendorSha256 = null;
|
||||||
|
|
||||||
|
subPackages = [ "." ];
|
||||||
|
|
||||||
|
buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version}" ];
|
||||||
|
|
||||||
|
meta = with stdenv.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 ];
|
||||||
|
platforms = platforms.all;
|
||||||
|
};
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user