Unverified Commit cf830f78 authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

Merge pull request #262904 from jakuzure/netnewswire

net-news-wire: init at 6.1.4
parents ab198ea5 4815708f
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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";
+42 −0
Original line number Diff line number Diff line
{ 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 ];
  };
}