depot/pkgs/by-name/jo/journalist/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

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";
};
}