2017-09-14 05:18:21 +01:00
|
|
|
{ stdenv, mkDerivation, fetchurl, cmake, extra-cmake-modules, pkgconfig, wrapGAppsHook
|
|
|
|
, kconfig, kcrash, kinit, kdoctools, kiconthemes, kio, kparts, kwidgetsaddons
|
|
|
|
, qtbase, qtsvg
|
|
|
|
, boost, graphviz
|
2015-09-27 16:11:01 +01:00
|
|
|
}:
|
2014-09-03 16:00:13 +01:00
|
|
|
|
2017-09-14 05:18:21 +01:00
|
|
|
mkDerivation rec {
|
2014-09-03 16:00:13 +01:00
|
|
|
name = "kgraphviewer-${version}";
|
2017-09-14 05:18:21 +01:00
|
|
|
version = "2.4.2";
|
2014-09-03 16:00:13 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2017-09-14 05:18:21 +01:00
|
|
|
url = "mirror://kde/stable/kgraphviewer/${version}/${name}.tar.xz";
|
|
|
|
sha256 = "1jc5zfgy4narwgn7rscfwz7l5pjy0jghal6yb3kd4sfadi78nhs9";
|
2014-09-03 16:00:13 +01:00
|
|
|
};
|
|
|
|
|
2017-09-14 05:18:21 +01:00
|
|
|
buildInputs = [
|
|
|
|
qtbase qtsvg
|
|
|
|
boost graphviz
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake extra-cmake-modules pkgconfig wrapGAppsHook
|
|
|
|
kdoctools
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
kconfig kinit kio kparts kwidgetsaddons
|
|
|
|
];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
2014-09-03 16:00:13 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A Graphviz dot graph viewer for KDE";
|
2017-09-14 05:18:21 +01:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = with maintainers; [ lethalman ];
|
|
|
|
platforms = platforms.linux;
|
2014-09-03 16:00:13 +01:00
|
|
|
};
|
|
|
|
}
|