tracy: 0.7 → 0.7.1
This commit is contained in:
parent
5622b6b6fe
commit
1a51de1f36
2 changed files with 15 additions and 5 deletions
|
@ -9474,6 +9474,12 @@
|
||||||
github = "fzakaria";
|
github = "fzakaria";
|
||||||
githubId = 605070;
|
githubId = 605070;
|
||||||
};
|
};
|
||||||
|
nagisa = {
|
||||||
|
name = "Simonas Kazlauskas";
|
||||||
|
email = "nixpkgs@kazlauskas.me";
|
||||||
|
github = "nagisa";
|
||||||
|
githubId = 679122;
|
||||||
|
};
|
||||||
yevhenshymotiuk = {
|
yevhenshymotiuk = {
|
||||||
name = "Yevhen Shymotiuk";
|
name = "Yevhen Shymotiuk";
|
||||||
email = "yevhenshymotiuk@gmail.com";
|
email = "yevhenshymotiuk@gmail.com";
|
||||||
|
|
|
@ -1,21 +1,21 @@
|
||||||
{ stdenv, lib, darwin, fetchFromGitHub, tbb, gtk2, glfw, pkgconfig, freetype, Carbon, AppKit, capstone }:
|
{ stdenv, lib, darwin, fetchFromGitHub, tbb, gtk3, glfw, pkgconfig, freetype, Carbon, AppKit, capstone }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "tracy";
|
pname = "tracy";
|
||||||
version = "0.7";
|
version = "0.7.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "wolfpld";
|
owner = "wolfpld";
|
||||||
repo = "tracy";
|
repo = "tracy";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "07cmz2w7iv10f9i9q3fhg80s6riy9bxnk9xvc3q4lw47mc150skp";
|
sha256 = "13zg3ijzhh7qkhgqff2ca23nd4gj7ac8jr0bp9w1gjf2cpgqkm40";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
|
|
||||||
buildInputs = [ glfw capstone ]
|
buildInputs = [ glfw capstone ]
|
||||||
++ lib.optionals stdenv.isDarwin [ Carbon AppKit freetype ]
|
++ lib.optionals stdenv.isDarwin [ Carbon AppKit freetype ]
|
||||||
++ lib.optionals stdenv.isLinux [ gtk2 tbb ];
|
++ lib.optionals stdenv.isLinux [ gtk3 tbb ];
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = [ ]
|
NIX_CFLAGS_COMPILE = [ ]
|
||||||
++ lib.optional stdenv.isLinux "-ltbb"
|
++ lib.optional stdenv.isLinux "-ltbb"
|
||||||
|
@ -35,11 +35,15 @@ stdenv.mkDerivation rec {
|
||||||
install -D ./update/build/unix/update-release $out/bin/update
|
install -D ./update/build/unix/update-release $out/bin/update
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
fixupPhase = lib.optionalString stdenv.isDarwin ''
|
||||||
|
install_name_tool -change libcapstone.4.dylib ${capstone}/lib/libcapstone.4.dylib $out/bin/Tracy
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A real time, nanosecond resolution, remote telemetry frame profiler for games and other applications.";
|
description = "A real time, nanosecond resolution, remote telemetry frame profiler for games and other applications.";
|
||||||
homepage = "https://github.com/wolfpld/tracy";
|
homepage = "https://github.com/wolfpld/tracy";
|
||||||
platforms = platforms.linux ++ platforms.darwin;
|
platforms = platforms.linux ++ platforms.darwin;
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
maintainers = with maintainers; [ mpickering ];
|
maintainers = with maintainers; [ mpickering nagisa ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue