tvl-depot/third_party/loxy/default.nix
kanepyork 32d9e6c8d0 revert(3p/loxy): Add link to source repository
This reverts commit 4d113ae9f9.

Reason for revert: Source repository link has been added to the homepage

Change-Id: I21667fab928621ba8973c8598d01920ecbf512ef
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1801
Reviewed-by: lukegb <lukegb@tvl.fyi>
Tested-by: BuildkiteCI
2020-08-18 22:36:18 +00:00

31 lines
651 B
Nix

{ lib, pkgs, depot, ... }:
let
inherit (depot.nix) 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 ];
};
}