Add gitmirror to pkgs

This commit is contained in:
2022-04-18 05:50:06 +02:00
parent 26218809a5
commit 00709602b3
2 changed files with 35 additions and 1 deletions
+22
View File
@@ -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;
};
}