diff options
author | Jan Solanti <jhs@psonet.com> | 2021-08-01 18:48:48 +0300 |
---|---|---|
committer | Jan Solanti <jhs@psonet.com> | 2021-08-01 19:03:39 +0300 |
commit | a9b07d1cb70ff23d9f251e3b9323af3dd6222195 (patch) | |
tree | eb96c6ed6047e88da6466e3e8f278a96d5c80ee3 | |
parent | 9d865ef9f640be342cc1d9317abbf116cb1c109e (diff) | |
download | nixpkgs-a9b07d1cb70ff23d9f251e3b9323af3dd6222195.tar nixpkgs-a9b07d1cb70ff23d9f251e3b9323af3dd6222195.tar.gz nixpkgs-a9b07d1cb70ff23d9f251e3b9323af3dd6222195.tar.bz2 nixpkgs-a9b07d1cb70ff23d9f251e3b9323af3dd6222195.tar.lz nixpkgs-a9b07d1cb70ff23d9f251e3b9323af3dd6222195.tar.xz nixpkgs-a9b07d1cb70ff23d9f251e3b9323af3dd6222195.tar.zst nixpkgs-a9b07d1cb70ff23d9f251e3b9323af3dd6222195.zip |
renderdoc: 1.14 -> 1.15
-rw-r--r-- | pkgs/applications/graphics/renderdoc/default.nix | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/pkgs/applications/graphics/renderdoc/default.nix b/pkgs/applications/graphics/renderdoc/default.nix index d6a2658d862..c48441b66c4 100644 --- a/pkgs/applications/graphics/renderdoc/default.nix +++ b/pkgs/applications/graphics/renderdoc/default.nix @@ -2,6 +2,7 @@ , qtbase, qtx11extras, qtsvg, makeWrapper , vulkan-loader, libglvnd, xorg, python3, python3Packages , bison, pcre, automake, autoconf, addOpenGLRunpath +, waylandSupport ? false, wayland }: let custom_swig = fetchFromGitHub { @@ -11,22 +12,24 @@ let sha256 = "15r2m5kcs0id64pa2fsw58qll3jyh71jzc04wy20pgsh2326zis6"; }; pythonPackages = python3Packages; + cmakeBool = b: if b then "ON" else "OFF"; in mkDerivation rec { - version = "1.14"; + version = "1.15"; pname = "renderdoc"; src = fetchFromGitHub { owner = "baldurk"; repo = "renderdoc"; rev = "v${version}"; - sha256 = "VO7pOLodXI0J7O4Y9b7YSl5BdtsIxmalFG5mqfuiJEw="; + sha256 = "HSWl3FC5YDIADO3h6oHxHdwsrFQKKj2zTtH2e3cc5iI="; }; buildInputs = [ qtbase qtsvg xorg.libpthreadstubs xorg.libXdmcp qtx11extras vulkan-loader python3 - ]; # ++ (with pythonPackages; [pyside2 pyside2-tools shiboken2]); + ] # ++ (with pythonPackages; [pyside2 pyside2-tools shiboken2]) # TODO: figure out how to make cmake recognise pyside2 + ++ (lib.optional waylandSupport wayland); nativeBuildInputs = [ cmake makeWrapper pkg-config bison pcre automake autoconf addOpenGLRunpath ]; @@ -42,6 +45,7 @@ mkDerivation rec { "-DBUILD_VERSION_DIST_VER=${version}" "-DBUILD_VERSION_DIST_CONTACT=https://github.com/NixOS/nixpkgs/tree/master/pkgs/applications/graphics/renderdoc" "-DBUILD_VERSION_STABLE=ON" + "-DENABLE_WAYLAND=${cmakeBool waylandSupport}" ]; # TODO: define these in the above array via placeholders, once those are widely supported |