From d274ef1aa4d51e5e3bfdf0cd56020cb0c3653636 Mon Sep 17 00:00:00 2001 From: Karl <37496339+aquarial@users.noreply.github.com> Date: Fri, 23 Oct 2020 09:41:18 -0500 Subject: [PATCH 01/13] redshift-plasma-applet: patch to work with redshift 1.12 update From patch commit message: > Redshift version >= 1.12 requires the -P option to clear the > existing gamma ramps for one-shot mode. Without it the screen > gets darker and darker until it is impossible to see anything. Apply this fix since a new version of the applet has not been released. --- .../misc/redshift-plasma-applet/default.nix | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/misc/redshift-plasma-applet/default.nix b/pkgs/applications/misc/redshift-plasma-applet/default.nix index b8d25f0db1de..9bc39aaac4ff 100644 --- a/pkgs/applications/misc/redshift-plasma-applet/default.nix +++ b/pkgs/applications/misc/redshift-plasma-applet/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, cmake, extra-cmake-modules, plasma-framework, kwindowsystem, redshift, fetchFromGitHub, }: +{ lib, stdenv, cmake, extra-cmake-modules, plasma-framework, kwindowsystem, redshift, fetchFromGitHub, fetchpatch, }: let version = "1.0.18"; in @@ -13,6 +13,17 @@ stdenv.mkDerivation { sha256 = "122nnbafa596rxdxlfshxk45lzch8c9342bzj7kzrsjkjg0xr9pq"; }; + patches = [ + # This patch fetches from out-of-source repo because the GitHub copy is frozen, + # the active fork is now on invent.kde.org. Remove this patch when a new version is released and src is updated + # Redshift version >= 1.12 requires the -P option to clear the existing effects before applying shading. + # Without it scrolling makes the screen gets darker and darker until it is impossible to see anything. + (fetchpatch { + url = "https://invent.kde.org/plasma/plasma-redshift-control/-/commit/898c3a4cfc6c317915f1e664078d8606497c4049.patch"; + sha256 = "0b6pa3fcj698mgqnc85jbbmcl3qpf418mh06qgsd3c4v237my0nv"; + }) + ]; + patchPhase = '' substituteInPlace package/contents/ui/main.qml \ --replace "redshiftCommand: 'redshift'" \ From e9574d0c04a728a98822e3c75dfa4728f09704a0 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Sat, 18 Sep 2021 12:39:26 +0200 Subject: [PATCH 02/13] =?UTF-8?q?gegl:=200.4.30=20=E2=86=92=200.4.32?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://gitlab.gnome.org/GNOME/gegl/-/blob/GEGL_0_4_32/docs/NEWS.adoc --- pkgs/development/libraries/gegl/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/libraries/gegl/default.nix b/pkgs/development/libraries/gegl/default.nix index 11f4f070c08f..3277faa4c2d6 100644 --- a/pkgs/development/libraries/gegl/default.nix +++ b/pkgs/development/libraries/gegl/default.nix @@ -36,14 +36,14 @@ stdenv.mkDerivation rec { pname = "gegl"; - version = "0.4.30"; + version = "0.4.32"; outputs = [ "out" "dev" "devdoc" ]; outputBin = "dev"; src = fetchurl { url = "https://download.gimp.org/pub/gegl/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; - sha256 = "sha256-wRJ4LPQJaWniMhfM36vkIoTjXVQ1/wxD1A5McPrsqN0="; + sha256 = "sha256-Zo48a5+vdfsAUScBw2J0q28iqLoF7GLb8YfTS40pj6E="; }; nativeBuildInputs = [ @@ -87,7 +87,7 @@ stdenv.mkDerivation rec { ]; mesonFlags = [ - "-Ddocs=true" + "-Dgtk-doc=true" "-Dmrg=disabled" # not sure what that is "-Dsdl2=disabled" "-Dpygobject=disabled" From 8e2a0342dcebac64e7f8aed16586e4f886523647 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Sat, 18 Sep 2021 12:55:39 +0200 Subject: [PATCH 03/13] =?UTF-8?q?gimp:=202.10.24=20=E2=86=92=202.10.28?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://www.gimp.org/news/2021/09/18/gimp-2-10-28-released/ https://gitlab.gnome.org/GNOME/gimp/-/blob/473b05ea3a302757da555b9c5649f91793906044/NEWS#L11 --- pkgs/applications/graphics/gimp/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/graphics/gimp/default.nix b/pkgs/applications/graphics/gimp/default.nix index 08d3f122aab5..86550b873719 100644 --- a/pkgs/applications/graphics/gimp/default.nix +++ b/pkgs/applications/graphics/gimp/default.nix @@ -53,13 +53,13 @@ let python = python2.withPackages (pp: [ pp.pygtk ]); in stdenv.mkDerivation rec { pname = "gimp"; - version = "2.10.24"; + version = "2.10.28"; outputs = [ "out" "dev" ]; src = fetchurl { url = "http://download.gimp.org/pub/gimp/v${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2"; - sha256 = "17lq6ns5qhspd171zqh76yf98xnn5n0hcl7hbhbx63cc6ribf6xx"; + sha256 = "T03CLP8atfAm/qoqtV4Fd1s6EeGYGGtHvat5y/oHiCY="; }; patches = [ From 1e3b8412c0f73aa96b16f793d33e1a409849c802 Mon Sep 17 00:00:00 2001 From: Bradley Walters Date: Tue, 12 Oct 2021 16:35:17 -0600 Subject: [PATCH 04/13] python3Packages.kivy: make gstreamer optional --- pkgs/development/python-modules/kivy/default.nix | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/kivy/default.nix b/pkgs/development/python-modules/kivy/default.nix index d4fa39c0c363..e40a9465d1a2 100644 --- a/pkgs/development/python-modules/kivy/default.nix +++ b/pkgs/development/python-modules/kivy/default.nix @@ -2,7 +2,9 @@ , buildPythonPackage, fetchPypi , pkg-config, cython, docutils , kivy-garden -, mesa, mtdev, SDL2, SDL2_image, SDL2_ttf, SDL2_mixer, gst_all_1 +, mesa, mtdev, SDL2, SDL2_image, SDL2_ttf, SDL2_mixer +, withGstreamer ? true +, gst_all_1 , pillow, requests, pygments }: @@ -28,13 +30,13 @@ buildPythonPackage rec { SDL2_image SDL2_ttf SDL2_mixer - + ] ++ lib.optionals withGstreamer (with gst_all_1; [ # NOTE: The degree to which gstreamer actually works is unclear - gst_all_1.gstreamer - gst_all_1.gst-plugins-base - gst_all_1.gst-plugins-good - gst_all_1.gst-plugins-bad - ]; + gstreamer + gst-plugins-base + gst-plugins-good + gst-plugins-bad + ]); propagatedBuildInputs = [ kivy-garden From 5b6d500300ba282f966d2da530eda0b4b96262b9 Mon Sep 17 00:00:00 2001 From: Bradley Walters Date: Tue, 12 Oct 2021 18:49:04 -0600 Subject: [PATCH 05/13] python3Packages.kivy: add darwin support --- .../python-modules/kivy/default.nix | 36 ++++++++++++++----- pkgs/top-level/python-packages.nix | 1 + 2 files changed, 29 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/kivy/default.nix b/pkgs/development/python-modules/kivy/default.nix index e40a9465d1a2..0e8b81ed19cd 100644 --- a/pkgs/development/python-modules/kivy/default.nix +++ b/pkgs/development/python-modules/kivy/default.nix @@ -1,8 +1,9 @@ -{ lib -, buildPythonPackage, fetchPypi +{ lib, stdenv +, buildPythonPackage, fetchFromGitHub, fetchpatch , pkg-config, cython, docutils , kivy-garden , mesa, mtdev, SDL2, SDL2_image, SDL2_ttf, SDL2_mixer +, ApplicationServices, AVFoundation, libcxx , withGstreamer ? true , gst_all_1 , pillow, requests, pygments @@ -12,11 +13,21 @@ buildPythonPackage rec { pname = "Kivy"; version = "2.0.0"; - src = fetchPypi { - inherit pname version; - sha256 = "1n0j9046vgjncy50v06r3wcg3q2l37jp8n0cznr64dz48kml8pnj"; + # use github since pypi line endings are CRLF and patches do not apply + src = fetchFromGitHub { + owner = "kivy"; + repo = "kivy"; + rev = version; + sha256 = "sha256-/7GSVQUkYSBEnLVBizMnZAZZxvXVN4r4lskyOgLEcew="; }; + patches = [ + (fetchpatch { + url = "https://github.com/kivy/kivy/commit/1c0656c4472817677cf3b08be504de9ca6b1713f.patch"; + sha256 = "sha256-phAjMaC3LQuvufwiD0qXzie5B+kezCf8FpKeQMhy/ms="; + }) + ]; + nativeBuildInputs = [ pkg-config cython @@ -24,12 +35,17 @@ buildPythonPackage rec { ]; buildInputs = [ - mesa - mtdev SDL2 SDL2_image SDL2_ttf SDL2_mixer + ] ++ lib.optionals stdenv.isLinux [ + mesa + mtdev + ] ++ lib.optionals stdenv.isDarwin [ + ApplicationServices + AVFoundation + libcxx ] ++ lib.optionals withGstreamer (with gst_all_1; [ # NOTE: The degree to which gstreamer actually works is unclear gstreamer @@ -48,8 +64,12 @@ buildPythonPackage rec { KIVY_NO_CONFIG = 1; KIVY_NO_ARGS = 1; KIVY_NO_FILELOG = 1; + # prefer pkg-config over hardcoded framework paths + USE_OSX_FRAMEWORKS = 0; + # work around python distutils compiling C++ with $CC (see issue #26709) + NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin "-I${lib.getDev libcxx}/include/c++/v1"; - postPatch = '' + postPatch = lib.optionalString stdenv.isLinux '' substituteInPlace kivy/lib/mtdev.py \ --replace "LoadLibrary('libmtdev.so.1')" "LoadLibrary('${mtdev}/lib/libmtdev.so.1')" ''; diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 10f2bbca0928..209372db3763 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -4075,6 +4075,7 @@ in { kivy = callPackage ../development/python-modules/kivy { inherit (pkgs) mesa; + inherit (pkgs.darwin.apple_sdk.frameworks) ApplicationServices AVFoundation; }; kivy-garden = callPackage ../development/python-modules/kivy-garden { }; From 5c2879d8854ec35f5bd79807b27d1fcc4d9e51bf Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 23 Oct 2021 00:00:40 +0200 Subject: [PATCH 06/13] python3Packages.restfly: 1.4.2 -> 1.4.3 --- pkgs/development/python-modules/restfly/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/restfly/default.nix b/pkgs/development/python-modules/restfly/default.nix index 2eef8cdba604..30db5c663813 100644 --- a/pkgs/development/python-modules/restfly/default.nix +++ b/pkgs/development/python-modules/restfly/default.nix @@ -11,13 +11,13 @@ buildPythonPackage rec { pname = "restfly"; - version = "1.4.2"; + version = "1.4.3"; src = fetchFromGitHub { owner = "stevemcgrath"; repo = pname; rev = version; - sha256 = "sha256-1sLkjM6hRAbfrZEXP97N9ZDqpL255LC7JS1r2yOXG5E="; + sha256 = "sha256-F+1Z+VAJkfqD345ZLE/DMyDW0ZqdV+wIA9N6ohl2rbY="; }; propagatedBuildInputs = [ From 5be11d92d3caff849d74bf006385b1887c5f531e Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 23 Oct 2021 00:17:35 +0200 Subject: [PATCH 07/13] python3Packages.yara-python: 4.1.2 -> 4.1.3 --- pkgs/development/python-modules/yara-python/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/yara-python/default.nix b/pkgs/development/python-modules/yara-python/default.nix index 050ee7315908..e29ff3b12de7 100644 --- a/pkgs/development/python-modules/yara-python/default.nix +++ b/pkgs/development/python-modules/yara-python/default.nix @@ -7,13 +7,13 @@ buildPythonPackage rec { pname = "yara-python"; - version = "4.1.2"; + version = "4.1.3"; src = fetchFromGitHub { owner = "VirusTotal"; repo = "yara-python"; rev = "v${version}"; - sha256 = "1sg7ghb43qajziiym1y584rk0wfflyfc9fx507wrh4iahq5xp622"; + sha256 = "sha256-lOP+OVnMgpP8S+Q3jGRNEAFXAohXgX5Nvl+l4EK5ebs="; }; buildInputs = [ From 4b63a6dacc25d5eead0466ecf56e67136656257d Mon Sep 17 00:00:00 2001 From: "(cdep)illabout" Date: Sat, 23 Oct 2021 12:03:50 +0900 Subject: [PATCH 08/13] purescript: 0.14.4 -> 0.14.5 --- .../development/compilers/purescript/purescript/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/compilers/purescript/purescript/default.nix b/pkgs/development/compilers/purescript/purescript/default.nix index 9b71975f5023..daa8a542b76d 100644 --- a/pkgs/development/compilers/purescript/purescript/default.nix +++ b/pkgs/development/compilers/purescript/purescript/default.nix @@ -18,7 +18,7 @@ let in stdenv.mkDerivation rec { pname = "purescript"; - version = "0.14.4"; + version = "0.14.5"; # These hashes can be updated automatically by running the ./update.sh script. src = @@ -26,12 +26,12 @@ in stdenv.mkDerivation rec { then fetchurl { url = "https://github.com/${pname}/${pname}/releases/download/v${version}/macos.tar.gz"; - sha256 = "0m6zwb5f890d025zpn006qr8cky6zhjycap5az9zh6h47jfbrcf9"; + sha256 = "1brvbpzr3cwls809fl0sjrm9cbh8v7maf5d7ic2mha0xapabgfpv"; } else fetchurl { url = "https://github.com/${pname}/${pname}/releases/download/v${version}/linux64.tar.gz"; - sha256 = "0hgsh6l52z873b2zk3llvqik18ifika48lmr71qyhlqf250ng9m0"; + sha256 = "1mvxvn30iyrq0ck6g08f925gxnnhbfgl29b2gjjsmm3m9mpll7ws"; }; From 43b33a0aeb14e74bfd12f1ea5d22ca0708e01f42 Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Wed, 13 Oct 2021 22:12:24 +0200 Subject: [PATCH 09/13] sacc: 1.03 -> 1.04 --- pkgs/applications/networking/gopher/sacc/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/applications/networking/gopher/sacc/default.nix b/pkgs/applications/networking/gopher/sacc/default.nix index 4d18f6a4f4a7..64f58daec765 100644 --- a/pkgs/applications/networking/gopher/sacc/default.nix +++ b/pkgs/applications/networking/gopher/sacc/default.nix @@ -1,19 +1,19 @@ -{ lib, stdenv, fetchurl, ncurses +{ lib, stdenv, fetchurl, ncurses, libressl , patches ? [] # allow users to easily override config.def.h }: stdenv.mkDerivation rec { pname = "sacc"; - version = "1.03"; + version = "1.04"; src = fetchurl { url = "ftp://bitreich.org/releases/sacc/sacc-${version}.tgz"; - sha512 = "sha512-vOjAGBM2+080JZv4C4b5dNRTTX45evWFEJfK1DRaWCYrHRCAe07QdEIrHhbaIxhSYfrBd3D1y75rmDnuPC4THA=="; + sha512 = "1rjxs77a5k2mgpwr2ln1czn64fmss9yw59g0k60r25c2ny2la6ddfcl5zclawcikk346na6m96jrfwssmka0axr2spwpl61wm0lijnk"; }; inherit patches; - buildInputs = [ ncurses ]; + buildInputs = [ ncurses libressl ]; CFLAGS = lib.optionals stdenv.isDarwin [ "-D_DARWIN_C_SOURCE" From f71d3ea520cdc91c3fa61c8b37bdd5f7e762c45f Mon Sep 17 00:00:00 2001 From: Bobby Rong Date: Sat, 23 Oct 2021 11:05:51 +0800 Subject: [PATCH 10/13] pantheon.elementary-photos: fix build with vala 0.54 --- .../apps/elementary-photos/default.nix | 26 ++++++++++++------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/pkgs/desktops/pantheon/apps/elementary-photos/default.nix b/pkgs/desktops/pantheon/apps/elementary-photos/default.nix index 61ec86dec44e..efd59f6ca0f7 100644 --- a/pkgs/desktops/pantheon/apps/elementary-photos/default.nix +++ b/pkgs/desktops/pantheon/apps/elementary-photos/default.nix @@ -1,11 +1,12 @@ { lib, stdenv , fetchFromGitHub +, fetchpatch , nix-update-script , pantheon , meson , ninja , pkg-config -, vala_0_52 +, vala , desktop-file-utils , gtk3 , libaccounts-glib @@ -45,11 +46,14 @@ stdenv.mkDerivation rec { sha256 = "1zq9zfsc987vvrzadw9xqi3rlbi4jv2s82axkgy7ijm3ibi58ddc"; }; - passthru = { - updateScript = nix-update-script { - attrPath = "pantheon.${pname}"; - }; - }; + patches = [ + # Fix build with vala 0.54 + # https://github.com/elementary/photos/pull/650 + (fetchpatch { + url = "https://github.com/elementary/photos/commit/bc7feca8caa4c8fc076a759a2d36e26e93c75596.patch"; + sha256 = "sha256-iOHYKV7rSAuMm4ZhoJWjlpu96zlxwTosQe+z/iEVFR8="; + }) + ]; nativeBuildInputs = [ appstream @@ -58,9 +62,7 @@ stdenv.mkDerivation rec { ninja pkg-config python3 - # Does not build with vala 0.54 - # https://github.com/elementary/photos/issues/638 - vala_0_52 + vala wrapGAppsHook ]; @@ -100,6 +102,12 @@ stdenv.mkDerivation rec { patchShebangs meson/post_install.py ''; + passthru = { + updateScript = nix-update-script { + attrPath = "pantheon.${pname}"; + }; + }; + meta = with lib; { description = "Photo viewer and organizer designed for elementary OS"; homepage = "https://github.com/elementary/photos"; From 4e1740b9deada68469741f5b802dda26553dd799 Mon Sep 17 00:00:00 2001 From: Bobby Rong Date: Sat, 23 Oct 2021 11:13:49 +0800 Subject: [PATCH 11/13] pantheon.wingpanel-indicator-sound: fix build with vala 0.54 --- .../wingpanel-indicators/sound/default.nix | 24 +++++++++++-------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/pkgs/desktops/pantheon/desktop/wingpanel-indicators/sound/default.nix b/pkgs/desktops/pantheon/desktop/wingpanel-indicators/sound/default.nix index 55f27d606467..3ea90b348ed0 100644 --- a/pkgs/desktops/pantheon/desktop/wingpanel-indicators/sound/default.nix +++ b/pkgs/desktops/pantheon/desktop/wingpanel-indicators/sound/default.nix @@ -7,7 +7,7 @@ , meson , python3 , ninja -, vala_0_52 +, vala , gtk3 , granite , wingpanel @@ -36,23 +36,21 @@ stdenv.mkDerivation rec { url = "https://github.com/elementary/wingpanel-indicator-sound/commit/df816104c15e4322c1077313b1f43114cdaf710e.patch"; sha256 = "029z7l467jz1ymxwrzrf874062r6xmskl7mldpq39jh110fijy5l"; }) + # Fix build with vala 0.54 + # https://github.com/elementary/wingpanel-indicator-sound/pull/221 + (fetchpatch { + url = "https://github.com/elementary/wingpanel-indicator-sound/commit/398d181eabe3dd803dc0ba335ac629902ec5b5ab.patch"; + sha256 = "1r2x3n6ws56jk7xcgk60am8mc5dgf8pz5ipsydxvmlrmipkjxyqi"; + }) ]; - passthru = { - updateScript = nix-update-script { - attrPath = "pantheon.${pname}"; - }; - }; - nativeBuildInputs = [ libxml2 meson ninja pkg-config python3 - # Does not build with vala 0.54 - # https://github.com/elementary/wingpanel-indicator-sound/issues/219 - vala_0_52 + vala ]; buildInputs = [ @@ -70,6 +68,12 @@ stdenv.mkDerivation rec { patchShebangs meson/post_install.py ''; + passthru = { + updateScript = nix-update-script { + attrPath = "pantheon.${pname}"; + }; + }; + meta = with lib; { description = "Sound Indicator for Wingpanel"; homepage = "https://github.com/elementary/wingpanel-indicator-sound"; From 15702a7b9ac30711b9fbb40abb8dd0135eb57db6 Mon Sep 17 00:00:00 2001 From: Bobby Rong Date: Sat, 23 Oct 2021 11:17:48 +0800 Subject: [PATCH 12/13] pantheon.elementary-gtk-theme: 6.0.0 -> 6.1.0 --- .../pantheon/artwork/elementary-gtk-theme/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/desktops/pantheon/artwork/elementary-gtk-theme/default.nix b/pkgs/desktops/pantheon/artwork/elementary-gtk-theme/default.nix index e0299767ef3f..439a8986ea46 100644 --- a/pkgs/desktops/pantheon/artwork/elementary-gtk-theme/default.nix +++ b/pkgs/desktops/pantheon/artwork/elementary-gtk-theme/default.nix @@ -10,7 +10,7 @@ stdenv.mkDerivation rec { pname = "elementary-gtk-theme"; - version = "6.0.0"; + version = "6.1.0"; repoName = "stylesheet"; @@ -18,7 +18,7 @@ stdenv.mkDerivation rec { owner = "elementary"; repo = repoName; rev = version; - sha256 = "08iga854s6w77xr5rhvr74pgn2lc884aigc7gkn0xjlwysd195fr"; + sha256 = "sha256-YvBjMbC3aQtYc/jPZmGdL4VfBH/VuxQ70PD0BWg9DTg="; }; passthru = { From 87304645b876629a056d4e4b3043b99d125a054d Mon Sep 17 00:00:00 2001 From: Ivan Kozik Date: Sat, 23 Oct 2021 01:09:27 +0000 Subject: [PATCH 13/13] Add missing clang_13 alias --- pkgs/top-level/all-packages.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index a296c56a8e5c..a85d84501faf 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -11297,6 +11297,7 @@ with pkgs; }; }; + clang_13 = llvmPackages_13.clang; clang_12 = llvmPackages_12.clang; clang_11 = llvmPackages_11.clang; clang_10 = llvmPackages_10.clang;