From bd9f2cc0b5ec9a3f3e24c53c3fd86a07dcc0a18f Mon Sep 17 00:00:00 2001 From: "R. RyanTM" Date: Wed, 20 Jan 2021 08:01:42 +0000 Subject: [PATCH 01/10] mpfi: 1.5.3 -> 1.5.4 --- pkgs/development/libraries/mpfi/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/mpfi/default.nix b/pkgs/development/libraries/mpfi/default.nix index 88617e9a7409..f8f8d2391af3 100644 --- a/pkgs/development/libraries/mpfi/default.nix +++ b/pkgs/development/libraries/mpfi/default.nix @@ -1,14 +1,14 @@ {stdenv, fetchurl, mpfr}: stdenv.mkDerivation rec { pname = "mpfi"; - version = "1.5.3"; + version = "1.5.4"; file_nr = "37331"; src = fetchurl { # NOTE: the file_nr is whats important here. The actual package name (including the version) # is ignored. To find out the correct file_nr, go to https://gforge.inria.fr/projects/mpfi/ # and click on Download in the section "Latest File Releases". url = "https://gforge.inria.fr/frs/download.php/file/${file_nr}/mpfi-${version}.tar.bz2"; - sha256 = "0bqr8yibl7jbrp0bw7xk1lm7nis7rv26jsz6y8ycvih8n9bx90r3"; + sha256 = "sha256-I4PUV7IIxs088uZracTOR0d7Kg2zH77AzUseuqJHGS8="; }; buildInputs = [mpfr]; meta = { From ba5dedbbd037834b12d3ed8fbaf27add812d35b2 Mon Sep 17 00:00:00 2001 From: TredwellGit Date: Sun, 24 Jan 2021 07:33:12 +0000 Subject: [PATCH 02/10] xorg.xf86videonouveau: 1.0.16 -> 1.0.17 https://lists.freedesktop.org/archives/nouveau/2021-January/037766.html --- pkgs/servers/x11/xorg/default.nix | 6 +++--- pkgs/servers/x11/xorg/tarballs.list | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/servers/x11/xorg/default.nix b/pkgs/servers/x11/xorg/default.nix index 065216da3cc6..e8b29f9bbac9 100644 --- a/pkgs/servers/x11/xorg/default.nix +++ b/pkgs/servers/x11/xorg/default.nix @@ -2029,11 +2029,11 @@ lib.makeScope newScope (self: with self; { }) {}; xf86videonouveau = callPackage ({ stdenv, pkg-config, fetchurl, xorgproto, libdrm, udev, libpciaccess, xorgserver }: stdenv.mkDerivation { - name = "xf86-video-nouveau-1.0.16"; + name = "xf86-video-nouveau-1.0.17"; builder = ./builder.sh; src = fetchurl { - url = "mirror://xorg/individual/driver/xf86-video-nouveau-1.0.16.tar.bz2"; - sha256 = "01mz8gnq7j6bvrqb2ljm3d1wpjhi9p2z2w8zbkdrqmqmcj060h1h"; + url = "mirror://xorg/individual/driver/xf86-video-nouveau-1.0.17.tar.bz2"; + sha256 = "0sqm1jwjg15sp8v7039y2hsbhph8gpjd2bdzcqqiij2mgbi254s9"; }; hardeningDisable = [ "bindnow" "relro" ]; nativeBuildInputs = [ pkg-config ]; diff --git a/pkgs/servers/x11/xorg/tarballs.list b/pkgs/servers/x11/xorg/tarballs.list index 1544af4742d6..3ee31e4c2a7a 100644 --- a/pkgs/servers/x11/xorg/tarballs.list +++ b/pkgs/servers/x11/xorg/tarballs.list @@ -105,7 +105,7 @@ mirror://xorg/individual/driver/xf86-video-mach64-6.9.6.tar.bz2 mirror://xorg/individual/driver/xf86-video-mga-2.0.0.tar.bz2 mirror://xorg/individual/driver/xf86-video-neomagic-1.3.0.tar.bz2 mirror://xorg/individual/driver/xf86-video-newport-0.2.4.tar.bz2 -mirror://xorg/individual/driver/xf86-video-nouveau-1.0.16.tar.bz2 +mirror://xorg/individual/driver/xf86-video-nouveau-1.0.17.tar.bz2 mirror://xorg/individual/driver/xf86-video-nv-2.1.21.tar.bz2 mirror://xorg/individual/driver/xf86-video-omap-0.4.5.tar.bz2 mirror://xorg/individual/driver/xf86-video-openchrome-0.6.0.tar.bz2 From a761d5ed1b2d9677faf5d5f4e36b5c6a227f8a8b Mon Sep 17 00:00:00 2001 From: Ryan Burns Date: Sat, 23 Jan 2021 16:49:22 -0800 Subject: [PATCH 03/10] cmake: fix build on darwin Fixes missing CoreFoundation declarations since bump to 3.19.3, e.g. `error: unknown type name 'CFUUIDRef'` ApplicationServices.h transitively includes CoreFoundation.h, but as we patch ApplicationServices out of CMake, the CF symbols were not visible. Previously this was not a concern, as they were not needed until https://github.com/Kitware/CMake/commit/d250b67722abcfe1bcd22511943f3e032ef1ef3d --- .../build-managers/cmake/application-services.patch | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pkgs/development/tools/build-managers/cmake/application-services.patch b/pkgs/development/tools/build-managers/cmake/application-services.patch index 75873d6055c0..f64e220eb29b 100644 --- a/pkgs/development/tools/build-managers/cmake/application-services.patch +++ b/pkgs/development/tools/build-managers/cmake/application-services.patch @@ -14,15 +14,16 @@ diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.c index a5ce5d18f4..3d6838ce82 100644 --- a/Source/cmGlobalXCodeGenerator.cxx +++ b/Source/cmGlobalXCodeGenerator.cxx -@@ -43,11 +43,6 @@ +@@ -43,11 +43,10 @@ struct cmLinkImplementation; --#if !defined(CMAKE_BOOTSTRAP) && defined(__APPLE__) + #if !defined(CMAKE_BOOTSTRAP) && defined(__APPLE__) -# define HAVE_APPLICATION_SERVICES -# include --#endif -- ++# include + #endif + #if !defined(CMAKE_BOOTSTRAP) # include "cmXMLParser.h" From 4acf7fd6bc131f0d36ab2353db0a8c9fccc00855 Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Sun, 24 Jan 2021 08:45:38 +0100 Subject: [PATCH 04/10] Revert "findutils: 4.7.0 -> 4.8.0" Broke darwin stdenv https://github.com/NixOS/nixpkgs/pull/110647#issuecomment-766300643 This reverts commit 67000665ddf42fb2e08155a81a4fbf09f4c193dd. --- pkgs/tools/misc/findutils/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/misc/findutils/default.nix b/pkgs/tools/misc/findutils/default.nix index 9b55a4a86b8a..18881ef181d2 100644 --- a/pkgs/tools/misc/findutils/default.nix +++ b/pkgs/tools/misc/findutils/default.nix @@ -9,11 +9,11 @@ stdenv.mkDerivation rec { pname = "findutils"; - version = "4.8.0"; + version = "4.7.0"; src = fetchurl { url = "mirror://gnu/findutils/${pname}-${version}.tar.xz"; - sha256 = "0r3i72hnw0a30khlczi9k2c51aamaj6kfmp5mk3844nrjxz7n4jp"; + sha256 = "16kqz9yz98dasmj70jwf5py7jk558w96w0vgp3zf9xsqk3gzpzn5"; }; postPatch = '' From dc8231950cc8d539e68296dea77c91bdf0a2aac7 Mon Sep 17 00:00:00 2001 From: dadada Date: Sat, 23 Jan 2021 21:33:21 +0100 Subject: [PATCH 05/10] gitea: add passthru.tests Reference nixos tests to execute on package upgrades. --- pkgs/applications/version-management/gitea/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/applications/version-management/gitea/default.nix b/pkgs/applications/version-management/gitea/default.nix index 20c2e5c9ce85..68b3a3e9099a 100644 --- a/pkgs/applications/version-management/gitea/default.nix +++ b/pkgs/applications/version-management/gitea/default.nix @@ -2,6 +2,7 @@ , git, bash, gzip, openssh, pam , sqliteSupport ? true , pamSupport ? true +, nixosTests }: with lib; @@ -60,6 +61,8 @@ buildGoPackage rec { goPackagePath = "code.gitea.io/gitea"; + passthru.tests.gitea = nixosTests.gitea; + meta = { description = "Git with a cup of tea"; homepage = "https://gitea.io"; From 6a12c0b99ea021cd1c697dbb77ce46c65ca17ae5 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 24 Jan 2021 09:25:38 +0100 Subject: [PATCH 06/10] python3Packages.glances-api: fix description --- pkgs/development/python-modules/glances-api/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/glances-api/default.nix b/pkgs/development/python-modules/glances-api/default.nix index 23e152c300f3..2f5a1416e41c 100644 --- a/pkgs/development/python-modules/glances-api/default.nix +++ b/pkgs/development/python-modules/glances-api/default.nix @@ -26,7 +26,7 @@ buildPythonPackage rec { pythonImportsCheck = [ "glances_api" ]; meta = with lib; { - description = "Python Wrapper for interacting with the Volkszahler API"; + description = "Python API for interacting with Glances"; homepage = "https://github.com/home-assistant-ecosystem/python-glances-api"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; From ad91c491faafc1101568d84aae8bdf40f0139e77 Mon Sep 17 00:00:00 2001 From: illustris Date: Sun, 24 Jan 2021 15:30:52 +0530 Subject: [PATCH 07/10] rescuetime: 2.16.4.2 -> 2.16.5.1 --- pkgs/applications/misc/rescuetime/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/misc/rescuetime/default.nix b/pkgs/applications/misc/rescuetime/default.nix index 476a441ae05d..69f0b26b9ec4 100644 --- a/pkgs/applications/misc/rescuetime/default.nix +++ b/pkgs/applications/misc/rescuetime/default.nix @@ -1,16 +1,16 @@ { stdenv, lib, fetchurl, dpkg, patchelf, qt5, libXtst, libXext, libX11, mkDerivation, makeWrapper, libXScrnSaver, writeScript, common-updater-scripts, curl, pup }: let - version = "2.16.4.2"; + version = "2.16.5.1"; src = if stdenv.hostPlatform.system == "i686-linux" then fetchurl { name = "rescuetime-installer.deb"; url = "https://www.rescuetime.com/installers/rescuetime_${version}_i386.deb"; - sha256 = "0zyal9n3rfj8i13v1q25inq6qyil7897483cdhqvwpb8wskrij4c"; + sha256 = "1xrvyy0higc1fbc8ascpaszvg2bl6x0a35bzmdq6dkay48hnrd8b"; } else fetchurl { name = "rescuetime-installer.deb"; url = "https://www.rescuetime.com/installers/rescuetime_${version}_amd64.deb"; - sha256 = "03bmnkxhip1wilnfqs8akmy1hppahxrmnm8gasnmw5s922vn06cv"; + sha256 = "09ng0yal66d533vzfv27k9l2va03rqbqmsni43qi3hgx7w9wx5ii"; }; in mkDerivation rec { # https://www.rescuetime.com/updates/linux_release_notes.html From 460b9f53b2f5192837d7a5d59bbd1e69d0b802f9 Mon Sep 17 00:00:00 2001 From: jakobrs Date: Sat, 23 Jan 2021 19:38:54 +0100 Subject: [PATCH 08/10] lua: Add more symlinks to lua.pc This creates a symlink to lua.pc for every name of the file used by Arch: For a version of Lua (for example, 5.4) we now have: - lib/pkgconfig/lua.pc - lib/pkgconfig/lua-5.4.pc - lib/pkgconfig/lua5.4.pc - lib/pkgconfig/lua54.pc --- pkgs/development/interpreters/lua-5/interpreter.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/interpreters/lua-5/interpreter.nix b/pkgs/development/interpreters/lua-5/interpreter.nix index 7e4283838a0f..35a074add097 100644 --- a/pkgs/development/interpreters/lua-5/interpreter.nix +++ b/pkgs/development/interpreters/lua-5/interpreter.nix @@ -83,7 +83,9 @@ self = stdenv.mkDerivation rec { Libs: -L$out/lib -llua -lm Cflags: -I$out/include EOF + ln -s "$out/lib/pkgconfig/lua.pc" "$out/lib/pkgconfig/lua-${luaversion}.pc" ln -s "$out/lib/pkgconfig/lua.pc" "$out/lib/pkgconfig/lua${luaversion}.pc" + ln -s "$out/lib/pkgconfig/lua.pc" "$out/lib/pkgconfig/lua${lib.replaceStrings [ "." ] [ "" ] luaversion}.pc" ''; passthru = rec { From e63d0738a7e81c463342003810046c483c2ef745 Mon Sep 17 00:00:00 2001 From: Nicolas Mattia Date: Sun, 24 Jan 2021 12:22:36 +0100 Subject: [PATCH 09/10] lsyncd: build on darwin (#109981) Co-authored-by: Sandro --- pkgs/applications/networking/sync/lsyncd/default.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/sync/lsyncd/default.nix b/pkgs/applications/networking/sync/lsyncd/default.nix index 2723f15dd652..4c95a35ab85a 100644 --- a/pkgs/applications/networking/sync/lsyncd/default.nix +++ b/pkgs/applications/networking/sync/lsyncd/default.nix @@ -25,6 +25,10 @@ stdenv.mkDerivation rec { --replace "/usr/bin/rsync" "${rsync}/bin/rsync" ''; + # Special flags needed on Darwin: + # https://github.com/axkibe/lsyncd/blob/42413cabbedca429d55a5378f6e830f191f3cc86/INSTALL#L51 + cmakeFlags = lib.optional stdenv.isDarwin [ "-DWITH_INOTIFY=OFF" "-DWITH_FSEVENTS=ON" ]; + dontUseCmakeBuildDir = true; buildInputs = [ @@ -36,8 +40,8 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/axkibe/lsyncd"; description = "A utility that synchronizes local directories with remote targets"; - license = licenses.gpl2; - platforms = platforms.linux; + license = licenses.gpl2Plus; + platforms = platforms.all; maintainers = with maintainers; [ bobvanderlinden ]; }; } From 5cdf493674130d80d221d5cbdf01abbf04577fae Mon Sep 17 00:00:00 2001 From: zowoq <59103226+zowoq@users.noreply.github.com> Date: Sun, 24 Jan 2021 21:24:39 +1000 Subject: [PATCH 10/10] youtube-dl: 2021.01.16 -> 2021.01.24.1 https://github.com/ytdl-org/youtube-dl/releases/tag/2021.01.24.1 --- pkgs/tools/misc/youtube-dl/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/misc/youtube-dl/default.nix b/pkgs/tools/misc/youtube-dl/default.nix index 43228ea3f426..fea9de8caca9 100644 --- a/pkgs/tools/misc/youtube-dl/default.nix +++ b/pkgs/tools/misc/youtube-dl/default.nix @@ -18,11 +18,11 @@ buildPythonPackage rec { # The websites youtube-dl deals with are a very moving target. That means that # downloads break constantly. Because of that, updates should always be backported # to the latest stable release. - version = "2021.01.16"; + version = "2021.01.24.1"; src = fetchurl { url = "https://yt-dl.org/downloads/${version}/${pname}-${version}.tar.gz"; - sha256 = "1q8pvw5j45k8nvr3d9rvnhi6xaj1mdqlkrg7q7qq6zciq5r54fhi"; + sha256 = "001hs73fpm4nxcgn60n9wlsdmiv40f4b1k6hkl4g4wyywv9ic9fy"; }; nativeBuildInputs = [ installShellFiles makeWrapper ];