···11+{ lib
22+, buildGoModule
33+, fetchFromGitHub
44+}:
55+66+buildGoModule rec {
77+ pname = "goeland";
88+ version = "0.11.0";
99+1010+ src = fetchFromGitHub {
1111+ owner = "slurdge";
1212+ repo = pname;
1313+ rev = "v${version}";
1414+ sha256 = "sha256-9SxlxRco+eLyyIrMjNCdqAyttDnoc8nuMh+ecCpk3bg=";
1515+ };
1616+1717+ vendorSha256 = "sha256-a29TtT6xSapIiHvC9KHQm4gd1QCK3l0RpKe1ieaKUKA=";
1818+1919+ ldflags = [
2020+ "-s"
2121+ "-w"
2222+ "-X github.com/slurdge/goeland/version.GitCommit=${version}"
2323+ ];
2424+2525+ meta = with lib; {
2626+ description = "An alternative to RSS2Email written in golang with many filters.";
2727+ longDescription = ''
2828+ Goeland excels at creating beautiful emails from RSS,
2929+ tailored for daily or weekly digest. It include a number of
3030+ filters that can transform the RSS content along the way.
3131+ It can also consume other sources, such as a Imgur tag.
3232+ '';
3333+ homepage = "https://github.com/slurdge/goeland";
3434+ license = with licenses; [ mit ];
3535+ maintainers = [ maintainers.sweenu ];
3636+ };
3737+}