about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWeijia Wang <9713184+wegank@users.noreply.github.com>2023-10-28 18:52:41 +0200
committerGitHub <noreply@github.com>2023-10-28 18:52:41 +0200
commitcf830f7890e3fc59d352f0a28775d161c57c0dd6 (patch)
tree4c2c3398da4f0c849b1e02e86260e047545ab116
parentab198ea54cc0cf92bb93ab92fb72deb328bec32a (diff)
parent4815708fe5dddb267eea5aff70d4f8a0a4b3da46 (diff)
Merge pull request #262904 from jakuzure/netnewswire
net-news-wire: init at 6.1.4
-rw-r--r--maintainers/maintainer-list.nix6
-rw-r--r--pkgs/by-name/ne/net-news-wire/package.nix42
2 files changed, 48 insertions, 0 deletions
diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix
index 2b43447c5efcc..75c6dd0b60e9d 100644
--- a/maintainers/maintainer-list.nix
+++ b/maintainers/maintainer-list.nix
@@ -7878,6 +7878,12 @@
     githubId = 2212681;
     name = "Jakub Grzgorz Sokołowski";
   };
+  jakuzure = {
+    email = "shin@posteo.jp";
+    github = "jakuzure";
+    githubId = 11823547;
+    name = "jakuzure";
+  };
   jali-clarke = {
     email = "jinnah.ali-clarke@outlook.com";
     name = "Jinnah Ali-Clarke";
diff --git a/pkgs/by-name/ne/net-news-wire/package.nix b/pkgs/by-name/ne/net-news-wire/package.nix
new file mode 100644
index 0000000000000..95873d5da0c64
--- /dev/null
+++ b/pkgs/by-name/ne/net-news-wire/package.nix
@@ -0,0 +1,42 @@
+{ lib
+, stdenvNoCC
+, fetchurl
+, unzip
+}:
+
+stdenvNoCC.mkDerivation rec {
+  pname = "net-news-wire";
+  version = "6.1.4";
+
+  src = fetchurl {
+    url = "https://github.com/Ranchero-Software/NetNewsWire/releases/download/mac-${version}/NetNewsWire${version}.zip";
+    hash = "sha256-dNdbniXGre8G2/Ac0GB3GHJ2k1dEiHmAlTX3dJOEC7s=";
+  };
+
+  sourceRoot = ".";
+
+  nativeBuildInputs = [
+    unzip
+  ];
+
+  installPhase = ''
+    runHook preInstall
+    mkdir -p $out/Applications
+    cp -R NetNewsWire.app $out/Applications/
+    runHook postInstall
+  '';
+
+  meta = with lib; {
+    description = "RSS reader for macOS and iOS";
+    longDescription = ''
+      It's like podcasts — but for reading.
+      NetNewsWire shows you articles from your favorite blogs and news sites and keeps track of what you've read.
+    '';
+    homepage = "https://github.com/Ranchero-Software/NetNewsWire";
+    changelog =
+      "https://github.com/Ranchero-Software/NetNewsWire/releases/tag/mac-${version}";
+    license = licenses.mit;
+    platforms = platforms.darwin;
+    maintainers = with maintainers; [ jakuzure ];
+  };
+}