aboutsummaryrefslogtreecommitdiff
path: root/pkgs/applications/graphics/apitrace
diff options
context:
space:
mode:
authorOliver Charles <ollie@ocharles.org.uk>2014-12-14 15:41:04 +0000
committerOliver Charles <ollie@ocharles.org.uk>2014-12-14 15:41:51 +0000
commit6221af50c48664693b7249b253b68083dbca2706 (patch)
tree28c935872c4114a1f9222445ec98ece712561f3d /pkgs/applications/graphics/apitrace
parent1a0a1619206f4a25d724bf04027980b45b15b16e (diff)
apitrace: New expression
Diffstat (limited to 'pkgs/applications/graphics/apitrace')
-rw-r--r--pkgs/applications/graphics/apitrace/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/apitrace/default.nix b/pkgs/applications/graphics/apitrace/default.nix
new file mode 100644
index 00000000000..c2f963f001b
--- /dev/null
+++ b/pkgs/applications/graphics/apitrace/default.nix
@@ -0,0 +1,24 @@
+{ stdenv, fetchgit, cmake, python, libX11, qt4 }:
+
+stdenv.mkDerivation {
+ name = "apitrace-09519af205";
+
+ src = fetchgit {
+ url = git://github.com/apitrace/apitrace.git;
+ rev = "09519af2056879ce0ea59f7085ac4b282c7d01d0";
+ sha256 = "1ka34fhl85k90r7kvp89awlqb6prkbqx0kg1whb3535rnvficxdv";
+ };
+
+ buildInputs = [ cmake python libX11 qt4 ];
+
+ buildPhase = ''
+ cmake
+ make
+ '';
+
+ meta = with stdenv.lib; {
+ homepage = https://apitrace.github.io;
+ description = "A set of tools to trace OpenGL, OpenGL ES, Direct3D, and DirectDraw APIs";
+ platforms = platforms.linux;
+ };
+}