16 stdenv.mkDerivation rec {
20 src = fetchFromGitLab {
21 domain = "gitlab.freedesktop.org";
25 sha256 = "sha256-0XTsYeS4tNAnGhuJ81fmjHhFS6fVq1lirui5b+ojxTQ=";
28 nativeBuildInputs = [ cmake pkg-config ];
29 buildInputs = [ libdrm libGL atkmm pcre gtkmm4 pugixml mesa pciutils ];
31 cmakeFlags = [ "-DENABLE_UNIT_TESTS=off" ];
34 install -Dm444 ../flatpak/org.freedesktop.adriconf.metainfo.xml \
35 -t $out/share/metainfo/
36 install -Dm444 ../flatpak/org.freedesktop.adriconf.desktop \
37 -t $out/share/applications/
38 install -Dm444 ../flatpak/org.freedesktop.adriconf.png \
39 -t $out/share/icons/hicolor/256x256/apps/
43 homepage = "https://gitlab.freedesktop.org/mesa/adriconf/";
44 changelog = "https://gitlab.freedesktop.org/mesa/adriconf/-/releases/v${version}";
45 description = "GUI tool used to configure open source graphics drivers";
46 license = licenses.gpl3Plus;
47 maintainers = with maintainers; [ muscaln ];
48 platforms = platforms.linux;
49 mainProgram = "adriconf";