diff options
author | edef <edef@edef.eu> | 2020-08-03T02·14+0000 |
---|---|---|
committer | edef <edef@edef.eu> | 2020-08-03T08·18+0000 |
commit | 6e04b235069e1f4f22218d0a56e452ce36cceff0 (patch) | |
tree | f2461c6dbda3b8ee795cb023e518b9a323b8ec0b /users/edef/loxy.nix | |
parent | 2ab7561ac9f5cc58cad84137bd64c4e330c888c7 (diff) |
feat(edef/loxy): init r/1556
loxy(8) is a logging IRC proxy. Change-Id: I78fd798ec32636cf38f877c364abc87ef9f14836 Co-authored-by: V <v@anomalous.eu> Reviewed-on: https://cl.tvl.fyi/c/depot/+/1587 Tested-by: BuildkiteCI Reviewed-by: lukegb <lukegb@tvl.fyi>
Diffstat (limited to 'users/edef/loxy.nix')
-rw-r--r-- | users/edef/loxy.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/users/edef/loxy.nix b/users/edef/loxy.nix new file mode 100644 index 000000000000..71750fc45a91 --- /dev/null +++ b/users/edef/loxy.nix @@ -0,0 +1,31 @@ +{ lib, pkgs, depot, ... }: + +let + + inherit (depot.users.edef) fetchGoModule; + +in + +pkgs.buildGoModule rec { + pname = "loxy"; + version = "0.1.1"; + + src = fetchGoModule { + path = "go.anomalous.eu/loxy"; + inherit version; + sha256 = "0k1i7wa0v9h7r4kb7pjd3pzvcjrnsp58cfh51z73s74il7462sr5"; + }; + + vendorSha256 = "0243wq6crzy86vc5cm1nijddsrcllr3c66xkd6q8x16jrvnv09jx"; + + postInstall = '' + install -D -m 0644 -t $out/share/man/man8 loxy.8 + ''; + + meta = with lib; { + description = "a logging IRC proxy"; + homepage = "https://anomalous.eu/projects/loxy"; + license = licenses.gpl3Plus; + maintainers = with maintainers; [ V edef ]; + }; +} |