Skip to content

Commit

Permalink
kgraphviewer: 2.2.0 -> 2.4.2
Browse files Browse the repository at this point in the history
This also moves it from qt4 to qt5/kf5.
  • Loading branch information
peterhoeg committed Sep 30, 2017
1 parent 0bf3f4b commit 3fa6afd
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 13 deletions.
38 changes: 26 additions & 12 deletions pkgs/applications/graphics/kgraphviewer/default.nix
@@ -1,24 +1,38 @@
{ stdenv, fetchurl, automoc4, cmake, gettext, perl, pkgconfig
, kdelibs4, boost, graphviz
{ stdenv, mkDerivation, fetchurl, cmake, extra-cmake-modules, pkgconfig, wrapGAppsHook
, kconfig, kcrash, kinit, kdoctools, kiconthemes, kio, kparts, kwidgetsaddons
, qtbase, qtsvg
, boost, graphviz
}:

stdenv.mkDerivation rec {
mkDerivation rec {
name = "kgraphviewer-${version}";
version = "2.2.0";
version = "2.4.2";

src = fetchurl {
url = "mirror://kde/stable/kgraphviewer/${version}/src/${name}.tar.xz";
sha256 = "1vs5x539mx26xqdljwzkh2bj7s3ydw4cb1wm9nlhgs18siw4gjl5";
url = "mirror://kde/stable/kgraphviewer/${version}/${name}.tar.xz";
sha256 = "1jc5zfgy4narwgn7rscfwz7l5pjy0jghal6yb3kd4sfadi78nhs9";
};

buildInputs = [ kdelibs4 boost graphviz ];
nativeBuildInputs = [ automoc4 cmake gettext perl pkgconfig ];
buildInputs = [
qtbase qtsvg
boost graphviz
];

nativeBuildInputs = [
cmake extra-cmake-modules pkgconfig wrapGAppsHook
kdoctools
];

propagatedBuildInputs = [
kconfig kinit kio kparts kwidgetsaddons
];

enableParallelBuilding = true;

meta = with stdenv.lib; {
description = "A Graphviz dot graph viewer for KDE";
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = [ maintainers.lethalman ];
license = licenses.gpl2;
maintainers = with maintainers; [ lethalman ];
platforms = platforms.linux;
};
}

2 changes: 1 addition & 1 deletion pkgs/top-level/all-packages.nix
Expand Up @@ -15129,7 +15129,7 @@ with pkgs;

keymon = callPackage ../applications/video/key-mon { };

kgraphviewer = kde4.callPackage ../applications/graphics/kgraphviewer { };
kgraphviewer = libsForQt5.callPackage ../applications/graphics/kgraphviewer { };

khal = callPackage ../applications/misc/khal { };

Expand Down

0 comments on commit 3fa6afd

Please sign in to comment.