Merge master into staging-next

authored by

github-actions[bot] and committed by
GitHub
d9e518d0 59156778

+100 -53
+2 -2
pkgs/applications/graphics/gimp/default.nix
··· 53 53 python = python2.withPackages (pp: [ pp.pygtk ]); 54 54 in stdenv.mkDerivation rec { 55 55 pname = "gimp"; 56 - version = "2.10.24"; 56 + version = "2.10.28"; 57 57 58 58 outputs = [ "out" "dev" ]; 59 59 60 60 src = fetchurl { 61 61 url = "http://download.gimp.org/pub/gimp/v${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2"; 62 - sha256 = "17lq6ns5qhspd171zqh76yf98xnn5n0hcl7hbhbx63cc6ribf6xx"; 62 + sha256 = "T03CLP8atfAm/qoqtV4Fd1s6EeGYGGtHvat5y/oHiCY="; 63 63 }; 64 64 65 65 patches = [
+12 -1
pkgs/applications/misc/redshift-plasma-applet/default.nix
··· 1 - { lib, stdenv, cmake, extra-cmake-modules, plasma-framework, kwindowsystem, redshift, fetchFromGitHub, }: 1 + { lib, stdenv, cmake, extra-cmake-modules, plasma-framework, kwindowsystem, redshift, fetchFromGitHub, fetchpatch, }: 2 2 3 3 let version = "1.0.18"; in 4 4 ··· 12 12 rev = "v${version}"; 13 13 sha256 = "122nnbafa596rxdxlfshxk45lzch8c9342bzj7kzrsjkjg0xr9pq"; 14 14 }; 15 + 16 + patches = [ 17 + # This patch fetches from out-of-source repo because the GitHub copy is frozen, 18 + # the active fork is now on invent.kde.org. Remove this patch when a new version is released and src is updated 19 + # Redshift version >= 1.12 requires the -P option to clear the existing effects before applying shading. 20 + # Without it scrolling makes the screen gets darker and darker until it is impossible to see anything. 21 + (fetchpatch { 22 + url = "https://invent.kde.org/plasma/plasma-redshift-control/-/commit/898c3a4cfc6c317915f1e664078d8606497c4049.patch"; 23 + sha256 = "0b6pa3fcj698mgqnc85jbbmcl3qpf418mh06qgsd3c4v237my0nv"; 24 + }) 25 + ]; 15 26 16 27 patchPhase = '' 17 28 substituteInPlace package/contents/ui/main.qml \
+4 -4
pkgs/applications/networking/gopher/sacc/default.nix
··· 1 - { lib, stdenv, fetchurl, ncurses 1 + { lib, stdenv, fetchurl, ncurses, libressl 2 2 , patches ? [] # allow users to easily override config.def.h 3 3 }: 4 4 5 5 stdenv.mkDerivation rec { 6 6 pname = "sacc"; 7 - version = "1.03"; 7 + version = "1.04"; 8 8 9 9 src = fetchurl { 10 10 url = "ftp://bitreich.org/releases/sacc/sacc-${version}.tgz"; 11 - sha512 = "sha512-vOjAGBM2+080JZv4C4b5dNRTTX45evWFEJfK1DRaWCYrHRCAe07QdEIrHhbaIxhSYfrBd3D1y75rmDnuPC4THA=="; 11 + sha512 = "1rjxs77a5k2mgpwr2ln1czn64fmss9yw59g0k60r25c2ny2la6ddfcl5zclawcikk346na6m96jrfwssmka0axr2spwpl61wm0lijnk"; 12 12 }; 13 13 14 14 inherit patches; 15 15 16 - buildInputs = [ ncurses ]; 16 + buildInputs = [ ncurses libressl ]; 17 17 18 18 CFLAGS = lib.optionals stdenv.isDarwin [ 19 19 "-D_DARWIN_C_SOURCE"
+17 -9
pkgs/desktops/pantheon/apps/elementary-photos/default.nix
··· 1 1 { lib, stdenv 2 2 , fetchFromGitHub 3 + , fetchpatch 3 4 , nix-update-script 4 5 , pantheon 5 6 , meson 6 7 , ninja 7 8 , pkg-config 8 - , vala_0_52 9 + , vala 9 10 , desktop-file-utils 10 11 , gtk3 11 12 , libaccounts-glib ··· 45 46 sha256 = "1zq9zfsc987vvrzadw9xqi3rlbi4jv2s82axkgy7ijm3ibi58ddc"; 46 47 }; 47 48 48 - passthru = { 49 - updateScript = nix-update-script { 50 - attrPath = "pantheon.${pname}"; 51 - }; 52 - }; 49 + patches = [ 50 + # Fix build with vala 0.54 51 + # https://github.com/elementary/photos/pull/650 52 + (fetchpatch { 53 + url = "https://github.com/elementary/photos/commit/bc7feca8caa4c8fc076a759a2d36e26e93c75596.patch"; 54 + sha256 = "sha256-iOHYKV7rSAuMm4ZhoJWjlpu96zlxwTosQe+z/iEVFR8="; 55 + }) 56 + ]; 53 57 54 58 nativeBuildInputs = [ 55 59 appstream ··· 58 62 ninja 59 63 pkg-config 60 64 python3 61 - # Does not build with vala 0.54 62 - # https://github.com/elementary/photos/issues/638 63 - vala_0_52 65 + vala 64 66 wrapGAppsHook 65 67 ]; 66 68 ··· 99 101 chmod +x meson/post_install.py 100 102 patchShebangs meson/post_install.py 101 103 ''; 104 + 105 + passthru = { 106 + updateScript = nix-update-script { 107 + attrPath = "pantheon.${pname}"; 108 + }; 109 + }; 102 110 103 111 meta = with lib; { 104 112 description = "Photo viewer and organizer designed for elementary OS";
+2 -2
pkgs/desktops/pantheon/artwork/elementary-gtk-theme/default.nix
··· 10 10 11 11 stdenv.mkDerivation rec { 12 12 pname = "elementary-gtk-theme"; 13 - version = "6.0.0"; 13 + version = "6.1.0"; 14 14 15 15 repoName = "stylesheet"; 16 16 ··· 18 18 owner = "elementary"; 19 19 repo = repoName; 20 20 rev = version; 21 - sha256 = "08iga854s6w77xr5rhvr74pgn2lc884aigc7gkn0xjlwysd195fr"; 21 + sha256 = "sha256-YvBjMbC3aQtYc/jPZmGdL4VfBH/VuxQ70PD0BWg9DTg="; 22 22 }; 23 23 24 24 passthru = {
+14 -10
pkgs/desktops/pantheon/desktop/wingpanel-indicators/sound/default.nix
··· 7 7 , meson 8 8 , python3 9 9 , ninja 10 - , vala_0_52 10 + , vala 11 11 , gtk3 12 12 , granite 13 13 , wingpanel ··· 36 36 url = "https://github.com/elementary/wingpanel-indicator-sound/commit/df816104c15e4322c1077313b1f43114cdaf710e.patch"; 37 37 sha256 = "029z7l467jz1ymxwrzrf874062r6xmskl7mldpq39jh110fijy5l"; 38 38 }) 39 + # Fix build with vala 0.54 40 + # https://github.com/elementary/wingpanel-indicator-sound/pull/221 41 + (fetchpatch { 42 + url = "https://github.com/elementary/wingpanel-indicator-sound/commit/398d181eabe3dd803dc0ba335ac629902ec5b5ab.patch"; 43 + sha256 = "1r2x3n6ws56jk7xcgk60am8mc5dgf8pz5ipsydxvmlrmipkjxyqi"; 44 + }) 39 45 ]; 40 46 41 - passthru = { 42 - updateScript = nix-update-script { 43 - attrPath = "pantheon.${pname}"; 44 - }; 45 - }; 46 - 47 47 nativeBuildInputs = [ 48 48 libxml2 49 49 meson 50 50 ninja 51 51 pkg-config 52 52 python3 53 - # Does not build with vala 0.54 54 - # https://github.com/elementary/wingpanel-indicator-sound/issues/219 55 - vala_0_52 53 + vala 56 54 ]; 57 55 58 56 buildInputs = [ ··· 69 67 chmod +x meson/post_install.py 70 68 patchShebangs meson/post_install.py 71 69 ''; 70 + 71 + passthru = { 72 + updateScript = nix-update-script { 73 + attrPath = "pantheon.${pname}"; 74 + }; 75 + }; 72 76 73 77 meta = with lib; { 74 78 description = "Sound Indicator for Wingpanel";
+3 -3
pkgs/development/compilers/purescript/purescript/default.nix
··· 18 18 19 19 in stdenv.mkDerivation rec { 20 20 pname = "purescript"; 21 - version = "0.14.4"; 21 + version = "0.14.5"; 22 22 23 23 # These hashes can be updated automatically by running the ./update.sh script. 24 24 src = ··· 26 26 then 27 27 fetchurl { 28 28 url = "https://github.com/${pname}/${pname}/releases/download/v${version}/macos.tar.gz"; 29 - sha256 = "0m6zwb5f890d025zpn006qr8cky6zhjycap5az9zh6h47jfbrcf9"; 29 + sha256 = "1brvbpzr3cwls809fl0sjrm9cbh8v7maf5d7ic2mha0xapabgfpv"; 30 30 } 31 31 else 32 32 fetchurl { 33 33 url = "https://github.com/${pname}/${pname}/releases/download/v${version}/linux64.tar.gz"; 34 - sha256 = "0hgsh6l52z873b2zk3llvqik18ifika48lmr71qyhlqf250ng9m0"; 34 + sha256 = "1mvxvn30iyrq0ck6g08f925gxnnhbfgl29b2gjjsmm3m9mpll7ws"; 35 35 }; 36 36 37 37
+3 -3
pkgs/development/libraries/gegl/default.nix
··· 36 36 37 37 stdenv.mkDerivation rec { 38 38 pname = "gegl"; 39 - version = "0.4.30"; 39 + version = "0.4.32"; 40 40 41 41 outputs = [ "out" "dev" "devdoc" ]; 42 42 outputBin = "dev"; 43 43 44 44 src = fetchurl { 45 45 url = "https://download.gimp.org/pub/gegl/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 46 - sha256 = "sha256-wRJ4LPQJaWniMhfM36vkIoTjXVQ1/wxD1A5McPrsqN0="; 46 + sha256 = "sha256-Zo48a5+vdfsAUScBw2J0q28iqLoF7GLb8YfTS40pj6E="; 47 47 }; 48 48 49 49 nativeBuildInputs = [ ··· 87 87 ]; 88 88 89 89 mesonFlags = [ 90 - "-Ddocs=true" 90 + "-Dgtk-doc=true" 91 91 "-Dmrg=disabled" # not sure what that is 92 92 "-Dsdl2=disabled" 93 93 "-Dpygobject=disabled"
+37 -15
pkgs/development/python-modules/kivy/default.nix
··· 1 - { lib 2 - , buildPythonPackage, fetchPypi 1 + { lib, stdenv 2 + , buildPythonPackage, fetchFromGitHub, fetchpatch 3 3 , pkg-config, cython, docutils 4 4 , kivy-garden 5 - , mesa, mtdev, SDL2, SDL2_image, SDL2_ttf, SDL2_mixer, gst_all_1 5 + , mesa, mtdev, SDL2, SDL2_image, SDL2_ttf, SDL2_mixer 6 + , ApplicationServices, AVFoundation, libcxx 7 + , withGstreamer ? true 8 + , gst_all_1 6 9 , pillow, requests, pygments 7 10 }: 8 11 ··· 10 13 pname = "Kivy"; 11 14 version = "2.0.0"; 12 15 13 - src = fetchPypi { 14 - inherit pname version; 15 - sha256 = "1n0j9046vgjncy50v06r3wcg3q2l37jp8n0cznr64dz48kml8pnj"; 16 + # use github since pypi line endings are CRLF and patches do not apply 17 + src = fetchFromGitHub { 18 + owner = "kivy"; 19 + repo = "kivy"; 20 + rev = version; 21 + sha256 = "sha256-/7GSVQUkYSBEnLVBizMnZAZZxvXVN4r4lskyOgLEcew="; 16 22 }; 17 23 24 + patches = [ 25 + (fetchpatch { 26 + url = "https://github.com/kivy/kivy/commit/1c0656c4472817677cf3b08be504de9ca6b1713f.patch"; 27 + sha256 = "sha256-phAjMaC3LQuvufwiD0qXzie5B+kezCf8FpKeQMhy/ms="; 28 + }) 29 + ]; 30 + 18 31 nativeBuildInputs = [ 19 32 pkg-config 20 33 cython ··· 22 35 ]; 23 36 24 37 buildInputs = [ 25 - mesa 26 - mtdev 27 38 SDL2 28 39 SDL2_image 29 40 SDL2_ttf 30 41 SDL2_mixer 31 - 42 + ] ++ lib.optionals stdenv.isLinux [ 43 + mesa 44 + mtdev 45 + ] ++ lib.optionals stdenv.isDarwin [ 46 + ApplicationServices 47 + AVFoundation 48 + libcxx 49 + ] ++ lib.optionals withGstreamer (with gst_all_1; [ 32 50 # NOTE: The degree to which gstreamer actually works is unclear 33 - gst_all_1.gstreamer 34 - gst_all_1.gst-plugins-base 35 - gst_all_1.gst-plugins-good 36 - gst_all_1.gst-plugins-bad 37 - ]; 51 + gstreamer 52 + gst-plugins-base 53 + gst-plugins-good 54 + gst-plugins-bad 55 + ]); 38 56 39 57 propagatedBuildInputs = [ 40 58 kivy-garden ··· 46 64 KIVY_NO_CONFIG = 1; 47 65 KIVY_NO_ARGS = 1; 48 66 KIVY_NO_FILELOG = 1; 67 + # prefer pkg-config over hardcoded framework paths 68 + USE_OSX_FRAMEWORKS = 0; 69 + # work around python distutils compiling C++ with $CC (see issue #26709) 70 + NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin "-I${lib.getDev libcxx}/include/c++/v1"; 49 71 50 - postPatch = '' 72 + postPatch = lib.optionalString stdenv.isLinux '' 51 73 substituteInPlace kivy/lib/mtdev.py \ 52 74 --replace "LoadLibrary('libmtdev.so.1')" "LoadLibrary('${mtdev}/lib/libmtdev.so.1')" 53 75 '';
+2 -2
pkgs/development/python-modules/restfly/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "restfly"; 14 - version = "1.4.2"; 14 + version = "1.4.3"; 15 15 16 16 src = fetchFromGitHub { 17 17 owner = "stevemcgrath"; 18 18 repo = pname; 19 19 rev = version; 20 - sha256 = "sha256-1sLkjM6hRAbfrZEXP97N9ZDqpL255LC7JS1r2yOXG5E="; 20 + sha256 = "sha256-F+1Z+VAJkfqD345ZLE/DMyDW0ZqdV+wIA9N6ohl2rbY="; 21 21 }; 22 22 23 23 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/yara-python/default.nix
··· 7 7 8 8 buildPythonPackage rec { 9 9 pname = "yara-python"; 10 - version = "4.1.2"; 10 + version = "4.1.3"; 11 11 12 12 src = fetchFromGitHub { 13 13 owner = "VirusTotal"; 14 14 repo = "yara-python"; 15 15 rev = "v${version}"; 16 - sha256 = "1sg7ghb43qajziiym1y584rk0wfflyfc9fx507wrh4iahq5xp622"; 16 + sha256 = "sha256-lOP+OVnMgpP8S+Q3jGRNEAFXAohXgX5Nvl+l4EK5ebs="; 17 17 }; 18 18 19 19 buildInputs = [
+1
pkgs/top-level/all-packages.nix
··· 11299 11299 }; 11300 11300 }; 11301 11301 11302 + clang_13 = llvmPackages_13.clang; 11302 11303 clang_12 = llvmPackages_12.clang; 11303 11304 clang_11 = llvmPackages_11.clang; 11304 11305 clang_10 = llvmPackages_10.clang;
+1
pkgs/top-level/python-packages.nix
··· 4107 4107 4108 4108 kivy = callPackage ../development/python-modules/kivy { 4109 4109 inherit (pkgs) mesa; 4110 + inherit (pkgs.darwin.apple_sdk.frameworks) ApplicationServices AVFoundation; 4110 4111 }; 4111 4112 4112 4113 kivy-garden = callPackage ../development/python-modules/kivy-garden { };