diff options
author | Peter Hoeg <peter@hoeg.com> | 2017-09-14 12:18:21 +0800 |
---|---|---|
committer | Peter Hoeg <peter@hoeg.com> | 2017-09-30 14:17:55 +0800 |
commit | 3fa6afdb35c94a02d6f5a01fb1c8927814877fac (patch) | |
tree | b8c69d692dd0762c73507c2ca6a7213a3bdd8d84 /pkgs/applications/graphics/kgraphviewer | |
parent | 0bf3f4bbe722426220b8e441eeabc60ea3307c30 (diff) | |
download | nixpkgs-3fa6afdb35c94a02d6f5a01fb1c8927814877fac.tar nixpkgs-3fa6afdb35c94a02d6f5a01fb1c8927814877fac.tar.gz nixpkgs-3fa6afdb35c94a02d6f5a01fb1c8927814877fac.tar.bz2 nixpkgs-3fa6afdb35c94a02d6f5a01fb1c8927814877fac.tar.lz nixpkgs-3fa6afdb35c94a02d6f5a01fb1c8927814877fac.tar.xz nixpkgs-3fa6afdb35c94a02d6f5a01fb1c8927814877fac.tar.zst nixpkgs-3fa6afdb35c94a02d6f5a01fb1c8927814877fac.zip |
kgraphviewer: 2.2.0 -> 2.4.2
This also moves it from qt4 to qt5/kf5.
Diffstat (limited to 'pkgs/applications/graphics/kgraphviewer')
-rw-r--r-- | pkgs/applications/graphics/kgraphviewer/default.nix | 38 |
1 files changed, 26 insertions, 12 deletions
diff --git a/pkgs/applications/graphics/kgraphviewer/default.nix b/pkgs/applications/graphics/kgraphviewer/default.nix index 6c2be6ea73c..8f043816ba0 100644 --- a/pkgs/applications/graphics/kgraphviewer/default.nix +++ b/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; }; } - |