mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-30 03:39:59 +00:00
41 lines
1.1 KiB
Nix
41 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
buildGoModule (finalAttrs: {
|
|
pname = "goeland";
|
|
version = "0.28.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "slurdge";
|
|
repo = "goeland";
|
|
rev = "v${finalAttrs.version}";
|
|
sha256 = "sha256-1mHuwXWYYp9VHJqeXeC3faDgEKwz9AlVukL9Hg9XkWw=";
|
|
};
|
|
|
|
vendorHash = "sha256-aITCLQoLIJEwlsZBQ9DuTqbnJYm8EGqNIX2dykq2QlU=";
|
|
|
|
ldflags = [
|
|
"-s"
|
|
"-w"
|
|
"-X github.com/slurdge/goeland/version.GitCommit=${finalAttrs.version}"
|
|
];
|
|
|
|
meta = {
|
|
description = "Alternative to rss2email written in golang with many filters";
|
|
mainProgram = "goeland";
|
|
longDescription = ''
|
|
Goeland excels at creating beautiful emails from RSS feeds,
|
|
tailored for daily or weekly digest. It includes a number of
|
|
filters that can transform the RSS content along the way.
|
|
It can also consume other sources, such as Imgur tags.
|
|
'';
|
|
homepage = "https://github.com/slurdge/goeland";
|
|
changelog = "https://github.com/slurdge/goeland/blob/v${finalAttrs.version}/CHANGELOG.md";
|
|
license = lib.licenses.mit;
|
|
maintainers = [ lib.maintainers.sweenu ];
|
|
};
|
|
})
|