From fe53a6c17c0d6388748b593b8513b9c8cfbaf4de Mon Sep 17 00:00:00 2001 From: Jaakko Luttinen Date: Thu, 1 Jun 2017 21:35:03 +0300 Subject: [PATCH] rssguard: init at 3.4.0 --- .../feedreaders/rssguard/default.nix | 37 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 3 ++ 2 files changed, 40 insertions(+) create mode 100644 pkgs/applications/networking/feedreaders/rssguard/default.nix diff --git a/pkgs/applications/networking/feedreaders/rssguard/default.nix b/pkgs/applications/networking/feedreaders/rssguard/default.nix new file mode 100644 index 000000000000..0c17485b27b3 --- /dev/null +++ b/pkgs/applications/networking/feedreaders/rssguard/default.nix @@ -0,0 +1,37 @@ +{ stdenv, fetchFromGitHub, qmakeHook, qtwebengine, qttools }: + +stdenv.mkDerivation rec { + name = "rssguard-${version}"; + version = "3.4.0"; + + src = fetchFromGitHub { + owner = "martinrotter"; + repo = "rssguard"; + # fetchFromGitHub doesn't support rev being a tag when fetchSubmodules=true, + # so need to use the hash commit. See: + # https://github.com/NixOS/nixpkgs/issues/26302 + #rev = "${version}"; + rev = "cb15ba92c9bc1b80e2b81d7976438e562ee1ef90"; + sha256 = "1cdpfjj2lm1q2qh0w0mh505blcmi4n78458d3z3c1zn9ls9b9zsp"; + fetchSubmodules = true; + }; + + buildInputs = [ qmakeHook qtwebengine qttools ]; + + preConfigure = '' + qmakeFlags="$qmakeFlags CONFIG+=release" + ''; + + meta = with stdenv.lib; { + description = "Simple RSS/Atom feed reader with online synchronization"; + longDescription = '' + RSS Guard is a simple, light and easy-to-use RSS/ATOM feed aggregator + developed using Qt framework and with online feed synchronization support + for ownCloud/Nextcloud. + ''; + homepage = https://github.com/martinrotter/rssguard; + license = licenses.gpl3; + platforms = platforms.linux; + maintainers = with maintainers; [ jluttine ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 647aea58623b..c148252df667 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -15162,6 +15162,9 @@ with pkgs; polybar = callPackage ../applications/misc/polybar { }; + rssguard = libsForQt5.callPackage ../applications/networking/feedreaders/rssguard { }; + #rssguard = libsForQt5.callPackage ../applications/networking/newsreaders/rssguard { }; + scudcloud = callPackage ../applications/networking/instant-messengers/scudcloud { }; shotcut = libsForQt5.callPackage ../applications/video/shotcut { };