summary refs log tree commit diff
path: root/pkgs/applications/networking/feedreaders/goeland/default.nix
diff options
context:
space:
mode:
authorBruno Inec <contact@sweenu.xyz>2022-11-04 15:15:24 +0100
committerBruno Inec <contact@sweenu.xyz>2022-11-04 15:15:24 +0100
commite358319a5b5aaba76186253e52671023c81d157c (patch)
treea89614e8160bcb36b5669ee69cc4a8f58588ca96 /pkgs/applications/networking/feedreaders/goeland/default.nix
parent176676c4cf385cf073d6a2ee9bd5f0e0eb15048f (diff)
goeland: init at version 0.11.0
Diffstat (limited to 'pkgs/applications/networking/feedreaders/goeland/default.nix')
-rw-r--r--pkgs/applications/networking/feedreaders/goeland/default.nix37
1 files changed, 37 insertions, 0 deletions
diff --git a/pkgs/applications/networking/feedreaders/goeland/default.nix b/pkgs/applications/networking/feedreaders/goeland/default.nix
new file mode 100644
index 0000000000000..fa80860769e0b
--- /dev/null
+++ b/pkgs/applications/networking/feedreaders/goeland/default.nix
@@ -0,0 +1,37 @@
+{ lib
+, buildGoModule
+, fetchFromGitHub
+}:
+
+buildGoModule rec {
+  pname = "goeland";
+  version = "0.11.0";
+
+  src = fetchFromGitHub {
+    owner = "slurdge";
+    repo = pname;
+    rev = "v${version}";
+    sha256 = "sha256-9SxlxRco+eLyyIrMjNCdqAyttDnoc8nuMh+ecCpk3bg=";
+  };
+
+  vendorSha256 = "sha256-a29TtT6xSapIiHvC9KHQm4gd1QCK3l0RpKe1ieaKUKA=";
+
+  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,
+      tailored for daily or weekly digest. It include a number of
+      filters that can transform the RSS content along the way.
+      It can also consume other sources, such as a Imgur tag.
+    '';
+    homepage = "https://github.com/slurdge/goeland";
+    license = with licenses; [ mit ];
+    maintainers = [ maintainers.sweenu ];
+  };
+}