mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
qcachegrind: Use kcachegrind src/name attributes
This commit is contained in:
parent
7dea1f20ed
commit
08ab28b9a3
2 changed files with 10 additions and 11 deletions
|
@ -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; {
|
||||
|
|
|
@ -7925,7 +7925,7 @@ with pkgs;
|
|||
|
||||
valkyrie = callPackage ../development/tools/analysis/valkyrie { };
|
||||
|
||||
qcachegrind = libsForQt56.callPackage ../development/tools/analysis/qcachegrind {};
|
||||
qcachegrind = libsForQt5.callPackage ../development/tools/analysis/qcachegrind {};
|
||||
|
||||
verasco = ocaml-ng.ocamlPackages_4_02.verasco.override {
|
||||
coq = coq_8_4;
|
||||
|
|
Loading…
Reference in a new issue