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";
|
2023-07-15 17:15:38 +00:00
|
|
|
version = "unstable-2022-10-23";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-03-30 09:31:56 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sloonz";
|
|
|
|
repo = "ua";
|
2023-07-15 17:15:38 +00:00
|
|
|
rev = "f636f5eec425754d8a8be8e767c5b3e4f31fe1f9";
|
|
|
|
hash = "sha256-U9fApk/dyz7xSho2W8UT0OGIeOYR/v9lM0LHN2OqTEQ=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
vendorHash = "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
|
|
|
};
|
|
|
|
}
|