Add gitmirror to pkgs
This commit is contained in:
parent
26218809a5
commit
00709602b3
|
@ -1,5 +1,17 @@
|
||||||
{ pkgs ? import <nixpkgs> {} }: let
|
{ pkgs ? import <nixpkgs> {} }: let
|
||||||
call = pkg: { name = pkg; value = pkgs.callPackage ./${pkg} {}; };
|
call = pkg: { name = pkg; value = pkgs.callPackage ./${pkg} {}; };
|
||||||
in builtins.listToAttrs (map call [
|
in builtins.listToAttrs (map call [
|
||||||
# TODO: Add some packages
|
"gitmirror"
|
||||||
|
# "koneko"
|
||||||
|
# "listen-moe"
|
||||||
|
# "bb"
|
||||||
])
|
])
|
||||||
|
|
||||||
|
# {
|
||||||
|
# koneko = pkgs.callPackage ./koneko {};
|
||||||
|
# listen-moe = pkgs.callPackage ./listen-moe {};
|
||||||
|
# simplicity-studio = pkgs.callPackage ./simplicity-studio-5 {};
|
||||||
|
# # deezloader-remix = pkgs.callPackage ./pkgs/deezloader-remix {};
|
||||||
|
# ani-cli = pkgs.callPackage ./ani-cli {};
|
||||||
|
# bb = pkgs.callPackage ./bb {};
|
||||||
|
# }
|
||||||
|
|
|
@ -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;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue