ripasso-cursive: cosmetic changes (#361736)
[NixPkgs.git] / pkgs / by-name / se / segger-jlink / qt4-bundled.nix
blob76fb252afe251fee5d698dd1a3104907a5e99347
2   lib
3 , stdenv
4 , src
5 , version
6 , autoPatchelfHook
7 , fontconfig
8 , xorg
9 }:
11 stdenv.mkDerivation {
12   pname = "segger-jlink-qt4";
13   inherit src version;
15   nativeBuildInputs = [
16     autoPatchelfHook
17   ];
19   buildInputs = [
20     (lib.getLib stdenv.cc.cc)
21     fontconfig
22     xorg.libXrandr
23     xorg.libXfixes
24     xorg.libXcursor
25     xorg.libSM
26     xorg.libICE
27     xorg.libX11
28   ];
30   dontConfigure = true;
31   dontBuild = true;
33   installPhase = ''
34     runHook preInstall
36     # Install libraries
37     mkdir -p $out/lib
38     mv libQt* $out/lib
40     runHook postInstall
41   '';
43   meta = with lib; {
44     description = "Bundled QT4 libraries for the J-Link Software and Documentation pack";
45     homepage = "https://www.segger.com/downloads/jlink/#J-LinkSoftwareAndDocumentationPack";
46     license = licenses.lgpl21;
47     maintainers = with maintainers; [ stargate01 ];
48     knownVulnerabilities = [
49       "This bundled version of Qt 4 has reached its end of life after 2015. See https://github.com/NixOS/nixpkgs/pull/174634"
50       "CVE-2023-43114"
51       "CVE-2023-38197"
52       "CVE-2023-37369"
53       "CVE-2023-34410"
54       "CVE-2023-32763"
55       "CVE-2023-32762"
56       "CVE-2023-32573"
57       "CVE-2022-25634"
58       "CVE-2020-17507"
59       "CVE-2020-0570"
60       "CVE-2018-21035"
61       "CVE-2018-19873"
62       "CVE-2018-19871"
63       "CVE-2018-19870"
64       "CVE-2018-19869"
65       "CVE-2015-1290"
66       "CVE-2014-0190"
67       "CVE-2013-0254"
68       "CVE-2012-6093"
69       "CVE-2012-5624"
70       "CVE-2009-2700"
71     ];
72   };