nixpkgs/pkgs/applications/graphics/kgraphviewer/default.nix
Jonathan Ringer 9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00

36 lines
874 B
Nix

{ lib, stdenv, mkDerivation, fetchurl, cmake, extra-cmake-modules, pkg-config, wrapGAppsHook
, kconfig, kinit, kdoctools, kio, kparts, kwidgetsaddons
, qtbase, qtsvg
, boost, graphviz
}:
mkDerivation rec {
pname = "kgraphviewer";
version = "2.4.3";
src = fetchurl {
url = "mirror://kde/stable/kgraphviewer/${version}/${pname}-${version}.tar.xz";
sha256 = "1h6pgg89gvxl8gw7wmkabyqqrzad5pxyv5lsmn1fl4ir8lcc5q2l";
};
buildInputs = [
qtbase qtsvg
boost graphviz
];
nativeBuildInputs = [
cmake extra-cmake-modules pkg-config wrapGAppsHook
kdoctools
];
propagatedBuildInputs = [
kconfig kinit kio kparts kwidgetsaddons
];
meta = with lib; {
description = "A Graphviz dot graph viewer for KDE";
license = licenses.gpl2;
maintainers = with maintainers; [ lethalman ];
platforms = platforms.linux;
};
}