2022-06-16 17:23:12 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub, pkg-config, glib, libxml2 }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-06-16 17:23:12 +00:00
|
|
|
buildGoModule rec {
|
2022-03-30 09:31:56 +00:00
|
|
|
pname = "ua";
|
2022-06-16 17:23:12 +00:00
|
|
|
version = "unstable-2021-12-18";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-03-30 09:31:56 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sloonz";
|
|
|
|
repo = "ua";
|
2022-06-16 17:23:12 +00:00
|
|
|
rev = "b6d75970bb4f6f340887e1eadad5aa8ce78f30e3";
|
|
|
|
sha256 = "sha256-rCp8jyqQfq5eVdvKZz3vKuDfcR+gQOEAfBZx2It/rb0=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-06-16 17:23:12 +00:00
|
|
|
vendorSha256 = "sha256-0O80uhxSVsV9N7Z/FgaLwcjZqeb4MqSCE1YW5Zd32ns=";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ glib libxml2 ];
|
|
|
|
|
2022-06-16 17:23:12 +00:00
|
|
|
ldflags = [ "-s" "-w" ];
|
|
|
|
|
2022-03-30 09:31:56 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/sloonz/ua";
|
2022-03-30 09:31:56 +00:00
|
|
|
license = licenses.isc;
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Universal Aggregator";
|
2022-03-30 09:31:56 +00:00
|
|
|
maintainers = with maintainers; [ ttuegel ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|