mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-02 11:03:57 +00:00
39 lines
1.0 KiB
Nix
39 lines
1.0 KiB
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "goeland";
|
|
version = "0.14.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "slurdge";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-O4/dKTphgvcL5V66pMk2blXZ1cVsUgazMBaZCoAAwkY=";
|
|
};
|
|
|
|
vendorHash = "sha256-jOtIA7+rM/2qObhR61utvmXD+Rxi/+dEvzgYkGR76I8=";
|
|
|
|
ldflags = [
|
|
"-s"
|
|
"-w"
|
|
"-X github.com/slurdge/goeland/version.GitCommit=${version}"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "An alternative to rss2email written in golang with many filters";
|
|
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${version}/CHANGELOG.md";
|
|
license = with licenses; [ mit ];
|
|
maintainers = [ maintainers.sweenu ];
|
|
};
|
|
}
|