Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
34 lines
786 B
Nix
34 lines
786 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "journalist";
|
|
version = "1.0.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mrusme";
|
|
repo = "journalist";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-3MnkndG2c4P3oprIRbzj26oAutEmAgsUx8mjlaDLrkI=";
|
|
};
|
|
|
|
vendorHash = "sha256-2EJ96dhhU7FZxMkHOmQo79WCHu8U1AGgFf47FIuQdek=s";
|
|
|
|
ldflags = [
|
|
"-s"
|
|
"-w"
|
|
"-X github.com/mrusme/journalist/journalistd.VERSION=${version}"
|
|
];
|
|
|
|
meta = {
|
|
description = "RSS aggregator";
|
|
homepage = "https://github.com/mrusme/journalist";
|
|
changelog = "https://github.com/mrusme/journalist/releases/tag/v${version}";
|
|
license = lib.licenses.gpl3Only;
|
|
maintainers = with lib.maintainers; [ moraxyc ];
|
|
mainProgram = "journalist";
|
|
};
|
|
}
|