mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 10:53:11 +00:00
commit
09c91f5fea
47
pkgs/development/tools/vogl/default.nix
Normal file
47
pkgs/development/tools/vogl/default.nix
Normal file
@ -0,0 +1,47 @@
|
||||
{ fetchFromGitHub, stdenv
|
||||
, cmake, git, pkgconfig, wget, zip
|
||||
, makeQtWrapper, qtbase, qtx11extras
|
||||
, libdwarf, libjpeg_turbo, libunwind, lzma, tinyxml, libX11
|
||||
, SDL2, SDL2_gfx, SDL2_image, SDL2_ttf
|
||||
, freeglut, mesa, mesa_glu
|
||||
}:
|
||||
stdenv.mkDerivation rec {
|
||||
name = "vogl-${version}";
|
||||
version = "2016-05-13";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "deepfire";
|
||||
repo = "vogl";
|
||||
rev = "cbc5f1853e294b363f16c4e00b3e0c49dbf74559";
|
||||
sha256 = "17gwd73x3lnqv6ccqs48pzqwbzjhbn41c0x0l5zzirhiirb3yh0n";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake makeQtWrapper pkgconfig
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
git wget zip
|
||||
qtbase qtx11extras
|
||||
libdwarf libjpeg_turbo libunwind lzma tinyxml libX11
|
||||
SDL2 SDL2_gfx SDL2_image SDL2_ttf
|
||||
freeglut mesa mesa_glu
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
dontUseCmakeBuildDir = true;
|
||||
preConfigure = ''
|
||||
cmakeDir=$PWD
|
||||
mkdir -p vogl/vogl_build/release64 && cd $_
|
||||
'';
|
||||
cmakeFlags = '' -DCMAKE_VERBOSE=On -DCMAKE_BUILD_TYPE=Release -DBUILD_X64=On'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "OpenGL capture / playback debugger.";
|
||||
homepage = https://github.com/ValveSoftware/vogl;
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.deepfire ];
|
||||
platforms = [ "x86_64-linux" "i686-linux" ];
|
||||
};
|
||||
}
|
@ -15913,6 +15913,8 @@ with pkgs;
|
||||
|
||||
vnstat = callPackage ../applications/networking/vnstat { };
|
||||
|
||||
vogl = qt57.callPackage ../development/tools/vogl { };
|
||||
|
||||
volnoti = callPackage ../applications/misc/volnoti { };
|
||||
|
||||
vorbis-tools = callPackage ../applications/audio/vorbis-tools { };
|
||||
|
Loading…
Reference in New Issue
Block a user