|
|
|
@ -1,13 +1,12 @@ |
|
|
|
|
{ stdenv, fetchurl, cmake, qmake, qtbase, perl, python, php }: |
|
|
|
|
{ stdenv, fetchurl, cmake, qmake, qtbase, perl, python, php, kcachegrind }: |
|
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec { |
|
|
|
|
name = "qcachegrind-${version}"; |
|
|
|
|
version = "16.12.3"; |
|
|
|
|
let |
|
|
|
|
name = stdenv.lib.replaceStrings ["kcachegrind"] ["qcachegrind"] kcachegrind.name; |
|
|
|
|
|
|
|
|
|
src = fetchurl { |
|
|
|
|
url = "http://download.kde.org/stable/applications/${version}/src/kcachegrind-${version}.tar.xz"; |
|
|
|
|
sha256 = "109y94nz96izzsjjdpj9c6g344rcr86srp5w0433mssbyvym4x7q"; |
|
|
|
|
}; |
|
|
|
|
in stdenv.mkDerivation rec { |
|
|
|
|
inherit name; |
|
|
|
|
|
|
|
|
|
src = kcachegrind.src; |
|
|
|
|
|
|
|
|
|
buildInputs = [ qtbase perl python php ]; |
|
|
|
|
|
|
|
|
@ -28,8 +27,8 @@ stdenv.mkDerivation rec { |
|
|
|
|
'' else '' |
|
|
|
|
install qcachegrind/qcachegrind cgview/cgview -t "$out/bin" |
|
|
|
|
install -Dm644 qcachegrind/qcachegrind.desktop -t "$out/share/applications" |
|
|
|
|
install -Dm644 kcachegrind/hi32-app-kcachegrind.png "$out/share/icons/hicolor/32x32/apps/kcachegrind.png" |
|
|
|
|
install -Dm644 kcachegrind/hi48-app-kcachegrind.png "$out/share/icons/hicolor/48x48/apps/kcachegrind.png" |
|
|
|
|
install -Dm644 kcachegrind/32-apps-kcachegrind.png "$out/share/icons/hicolor/32x32/apps/kcachegrind.png" |
|
|
|
|
install -Dm644 kcachegrind/48-apps-kcachegrind.png "$out/share/icons/hicolor/48x48/apps/kcachegrind.png" |
|
|
|
|
''); |
|
|
|
|
|
|
|
|
|
meta = with stdenv.lib; { |
|
|
|
|