mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 15:11:35 +00:00
rssguard: use fetchgit; wrapGAppsHook
This commit is contained in:
parent
fe53a6c17c
commit
85aa14fa37
|
@ -1,26 +1,19 @@
|
|||
{ stdenv, fetchFromGitHub, qmakeHook, qtwebengine, qttools }:
|
||||
{ stdenv, fetchgit, qmakeHook, qtwebengine, qttools, wrapGAppsHook }:
|
||||
|
||||
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";
|
||||
src = fetchgit {
|
||||
url = https://github.com/martinrotter/rssguard;
|
||||
rev = "refs/tags/${version}";
|
||||
sha256 = "1cdpfjj2lm1q2qh0w0mh505blcmi4n78458d3z3c1zn9ls9b9zsp";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
buildInputs = [ qmakeHook qtwebengine qttools ];
|
||||
|
||||
preConfigure = ''
|
||||
qmakeFlags="$qmakeFlags CONFIG+=release"
|
||||
'';
|
||||
buildInputs = [ qtwebengine qttools ];
|
||||
nativeBuildInputs = [ qmakeHook wrapGAppsHook ];
|
||||
qmakeFlags = [ "CONFIG+=release" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Simple RSS/Atom feed reader with online synchronization";
|
||||
|
|
|
@ -15163,7 +15163,6 @@ 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 { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue