summary refs log tree commit diff
path: root/pkgs/tools/networking/ua/default.nix
blob: 425d7b61c4a2c7eb13db2808acc910a4f9dc395c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ lib, buildGoModule, fetchFromGitHub, pkg-config, glib, libxml2 }:

buildGoModule rec {
  pname = "ua";
  version = "unstable-2022-10-23";

  src = fetchFromGitHub {
    owner = "sloonz";
    repo = "ua";
    rev = "f636f5eec425754d8a8be8e767c5b3e4f31fe1f9";
    hash = "sha256-U9fApk/dyz7xSho2W8UT0OGIeOYR/v9lM0LHN2OqTEQ=";
  };

  vendorHash = "sha256-0O80uhxSVsV9N7Z/FgaLwcjZqeb4MqSCE1YW5Zd32ns=";

  nativeBuildInputs = [ pkg-config ];
  buildInputs = [ glib libxml2 ];

  ldflags = [ "-s" "-w" ];

  meta = with lib; {
    homepage = "https://github.com/sloonz/ua";
    license = licenses.isc;
    description = "Universal Aggregator";
    maintainers = with maintainers; [ ttuegel ];
  };
}