@@ -1,8 +1,25 @@
1−{ lib, fetchFromGitHub, cmake, pkg-config, mkDerivation
2−, qtbase, qtx11extras, qtsvg, makeWrapper
3−, vulkan-loader, libglvnd, xorg, python3, python3Packages
4−, bison, pcre, automake, autoconf, addOpenGLRunpath
5−, waylandSupport ? false, wayland
1+{ lib
2+, fetchFromGitHub
3+, nix-update-script
4+, cmake
5+, pkg-config
6+, mkDerivation
7+, qtbase
8+, qtx11extras
9+, qtsvg
10+, makeWrapper
11+, vulkan-loader
12+, libglvnd
13+, xorg
14+, python3
15+, python3Packages
16+, bison
17+, pcre
18+, automake
19+, autoconf
20+, addOpenGLRunpath
21+, waylandSupport ? false
22+, wayland
623}:
724let
825 custom_swig = fetchFromGitHub {
@@ -15,13 +32,13 @@ let
1532in
1633mkDerivation rec {
1734 pname = "renderdoc";
18− version = "1.16";
35+ version = "1.17";
1936
2037 src = fetchFromGitHub {
2138 owner = "baldurk";
2239 repo = "renderdoc";
2340 rev = "v${version}";
24− sha256 = "150d1qzjs420clqr48gickiw5ymjx4md6iyjbxmxsdml0pyxpwwn";
41+ sha256 = "sha256-Zr7Av49mK48B4N+Ca2vPIgKuVNP4YLVEs4EQepukSs8=";
2542 };
2643
2744 buildInputs = [
@@ -64,6 +81,10 @@ mkDerivation rec {
6481 addOpenGLRunpath $out/lib/librenderdoc.so
6582 '';
6683
84+ passthru.updateScript = nix-update-script {
85+ attrPath = pname;
86+ };
87+
6788 meta = with lib; {
6889 description = "A single-frame graphics debugger";
6990 homepage = "https://renderdoc.org/";