Add gitmirror to pkgs
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
{ buildGoModule, fetchFromGitHub }:
|
||||
buildGoModule {
|
||||
pname = "gitmirror";
|
||||
version = "1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dustin";
|
||||
repo = "gitmirror";
|
||||
rev = "9daaa97";
|
||||
sha256 = "2smiuFMrGEiKQapFJe7a1Fhs4mTPJ6jlQG6NHIqPZSM=";
|
||||
};
|
||||
|
||||
vendorSha256 = "x9SK+CstG9pic9qkkdgrd+OvGax93X1N+oC/PKQ6Abs=";
|
||||
|
||||
meta = {
|
||||
description = "A web server to receive webhooks and mirror git repos.";
|
||||
homepage = "https://github.com/dustin/gitmirror";
|
||||
license = lib.licenses.mit;
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user