From 5d3a61e402543541473ee9f8988cd87ca3e59648 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Mon, 23 May 2022 12:17:18 +0000 Subject: [PATCH 01/16] linuxPackages.rtl8814au: unstable-2022-02-21 -> unstable-2022-05-23 Fixes build with Linux 5.18. --- pkgs/os-specific/linux/rtl8814au/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/os-specific/linux/rtl8814au/default.nix b/pkgs/os-specific/linux/rtl8814au/default.nix index dce8733c0cca..cab36054f516 100644 --- a/pkgs/os-specific/linux/rtl8814au/default.nix +++ b/pkgs/os-specific/linux/rtl8814au/default.nix @@ -2,13 +2,13 @@ stdenv.mkDerivation { pname = "rtl8814au"; - version = "${kernel.version}-unstable-2022-02-21"; + version = "${kernel.version}-unstable-2022-05-23"; src = fetchFromGitHub { owner = "morrownr"; repo = "8814au"; - rev = "a538e3878c4b7b0b012f2d2fe7804390caaebd90"; - sha256 = "sha256-xBGbcy/WonFrNflMlFCD/JQOFKhPrv0J3j2XcXWc6hk="; + rev = "687f05c73e22dc14d5f24f2bb92f2ecac3cc71d5"; + sha256 = "08znnihk9rdrwgyzazxqcrzwdjnm5q8ah92bfb552wjv11r87zv1"; }; nativeBuildInputs = kernel.moduleBuildDependencies; From c2e5fbe6e89598d31a8c61f31a94c05d8a0cbc31 Mon Sep 17 00:00:00 2001 From: Nicolas Martin Date: Sun, 5 Jun 2022 19:26:31 +0200 Subject: [PATCH 02/16] soft-serve: 0.3.0 -> 0.3.1 --- pkgs/servers/soft-serve/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/servers/soft-serve/default.nix b/pkgs/servers/soft-serve/default.nix index 0d4c58d2b86a..5884e026141d 100644 --- a/pkgs/servers/soft-serve/default.nix +++ b/pkgs/servers/soft-serve/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "soft-serve"; - version = "0.3.0"; + version = "0.3.1"; src = fetchFromGitHub { owner = "charmbracelet"; repo = "soft-serve"; rev = "v${version}"; - sha256 = "sha256-FtWlE2CmUx9ric4yFItj7lc57259/BVINyUhSuBNapo="; + sha256 = "sha256-uzjcLLWo+67ayaSjAvk2ktBO3s1z0jDyGRj+Q9F6UVQ="; }; - vendorSha256 = "sha256-MwbtrtfvQ1HimLjUCmk8Twr4tpfP4eFBUlDP15IZKto="; + vendorSha256 = "sha256-AQwd4N4uYEDCsrlxrrGiXAqLcsSA/2MBydHEnH1j+Do="; doCheck = false; @@ -27,6 +27,7 @@ buildGoModule rec { meta = with lib; { description = "A tasty, self-hosted Git server for the command line"; homepage = "https://github.com/charmbracelet/soft-serve"; + changelog = "https://github.com/charmbracelet/soft-serve/releases/tag/v${version}"; mainProgram = "soft"; license = licenses.mit; maintainers = with maintainers; [ penguwin ]; From dcb168b10932b1b72396d5ac30ccd9a2394d97ae Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Sun, 5 Jun 2022 18:55:27 +0100 Subject: [PATCH 03/16] dieharder: add -fcommon workaround Workaround build failure on -fno-common toolchains like upstream gcc-10. Otherwise build fails as: ld: include/dieharder/parse.h:21: multiple definition of `splitbuf'; include/dieharder/parse.h:21: first defined here --- pkgs/tools/security/dieharder/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/tools/security/dieharder/default.nix b/pkgs/tools/security/dieharder/default.nix index 6e368c21c362..aa363a24a771 100644 --- a/pkgs/tools/security/dieharder/default.nix +++ b/pkgs/tools/security/dieharder/default.nix @@ -15,6 +15,11 @@ stdenv.mkDerivation rec { ./stdint.patch ]; + # Workaround build failure on -fno-common toolchains: + # ld: include/dieharder/parse.h:21: multiple definition of `splitbuf'; + # include/dieharder/parse.h:21: first defined here + NIX_CFLAGS_COMPILE = "-fcommon"; + buildInputs = [ gsl ]; passthru = { From fc8061dae4731f7cd8043df9dc1c3bdbd8b10776 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Sun, 5 Jun 2022 20:23:12 +0100 Subject: [PATCH 04/16] percona-xtrabackup_2_4: add -fcommon workaround Workaround build failure on -fno-common toolchains like upstream gcc-10. Otherwise build fails as: ld: xbstream.c.o:(.bss+0x0): multiple definition of `datasink_buffer'; ds_buffer.c.o:(.data.rel.local+0x0): first defined here --- pkgs/tools/backup/percona-xtrabackup/generic.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/tools/backup/percona-xtrabackup/generic.nix b/pkgs/tools/backup/percona-xtrabackup/generic.nix index 7976b666bcdf..85e9ac6f364b 100644 --- a/pkgs/tools/backup/percona-xtrabackup/generic.nix +++ b/pkgs/tools/backup/percona-xtrabackup/generic.nix @@ -25,6 +25,11 @@ stdenv.mkDerivation rec { patches = extraPatches; + # Workaround build failure on -fno-common toolchains: + # ld: xbstream.c.o:(.bss+0x0): multiple definition of + # `datasink_buffer'; ds_buffer.c.o:(.data.rel.local+0x0): first defined here + NIX_CFLAGS_COMPILE = "-fcommon"; + cmakeFlags = [ "-DMYSQL_UNIX_ADDR=/run/mysqld/mysqld.sock" "-DBUILD_CONFIG=xtrabackup_release" From 1d5ccbc42d9a37cb6619bbb7a5feb3f36e98fcc8 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 6 Jun 2022 01:34:24 +0000 Subject: [PATCH 05/16] python310Packages.mkdocs-material: 8.3.1 -> 8.3.2 --- pkgs/development/python-modules/mkdocs-material/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/mkdocs-material/default.nix b/pkgs/development/python-modules/mkdocs-material/default.nix index fa003128c0d4..a55ca5cb2924 100644 --- a/pkgs/development/python-modules/mkdocs-material/default.nix +++ b/pkgs/development/python-modules/mkdocs-material/default.nix @@ -13,7 +13,7 @@ buildPythonApplication rec { pname = "mkdocs-material"; - version = "8.3.1"; + version = "8.3.2"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -22,7 +22,7 @@ buildPythonApplication rec { owner = "squidfunk"; repo = pname; rev = "refs/tags/${version}"; - hash = "sha256-p7pnacr3nw/UEavzVxt0QBpSjFazdWtbm3bFj9FIH1g="; + hash = "sha256-VcyBsIU2PJ2xh365kNAlO3wno3xushlaj43dIh1GkP8="; }; propagatedBuildInputs = [ From 78ecfd54e527c794eea1e3b8d1f6afb9020dc92b Mon Sep 17 00:00:00 2001 From: Emery Hemingway Date: Sun, 5 Jun 2022 22:02:46 -0500 Subject: [PATCH 06/16] xscreensaver: add missing Perl libs --- pkgs/misc/screensavers/xscreensaver/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/misc/screensavers/xscreensaver/default.nix b/pkgs/misc/screensavers/xscreensaver/default.nix index 941943a495e0..fcec51506a51 100644 --- a/pkgs/misc/screensavers/xscreensaver/default.nix +++ b/pkgs/misc/screensavers/xscreensaver/default.nix @@ -1,6 +1,6 @@ { lib, stdenv, fetchurl, makeWrapper , pkg-config, intltool -, perl, gettext, libX11, libXext, libXi, libXt +, perl, perlPackages, gettext, libX11, libXext, libXi, libXt , libXft, libXinerama, libXrandr, libXxf86vm, libGL, libGLU, gle , gtk2, gdk-pixbuf, gdk-pixbuf-xlib, libxml2, pam , systemd, coreutils @@ -25,6 +25,7 @@ stdenv.mkDerivation rec { perl gettext libX11 libXext libXi libXt libXft libXinerama libXrandr libXxf86vm libGL libGLU gle gtk2 gdk-pixbuf gdk-pixbuf-xlib libxml2 pam + perlPackages.LWPProtocolHttps perlPackages.MozillaCA ] ++ lib.optional withSystemd systemd; preConfigure = '' @@ -44,7 +45,8 @@ stdenv.mkDerivation rec { for bin in $out/bin/*; do wrapProgram "$bin" \ --prefix PATH : "$out/libexec/xscreensaver" \ - --prefix PATH : "${lib.makeBinPath [ coreutils ]}" + --prefix PATH : "${lib.makeBinPath [ coreutils perl ]}" \ + --prefix PERL5LIB ':' $PERL5LIB done '' + lib.optionalString forceInstallAllHacks '' make -j$NIX_BUILD_CORES -C hacks/glx dnalogo From 9e762efdfa11de778a7cc0a305ae36c81fbcec89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Mon, 6 Jun 2022 03:01:57 +0000 Subject: [PATCH 07/16] python310Packages.siobrultech-protocols: 0.5.0 -> 0.6.0 https://github.com/sdwilsh/siobrultech-protocols/releases/tag/v0.6.0 --- .../python-modules/siobrultech-protocols/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/siobrultech-protocols/default.nix b/pkgs/development/python-modules/siobrultech-protocols/default.nix index 169f7edef5b9..3da681dd97c7 100644 --- a/pkgs/development/python-modules/siobrultech-protocols/default.nix +++ b/pkgs/development/python-modules/siobrultech-protocols/default.nix @@ -9,7 +9,7 @@ buildPythonPackage rec { pname = "siobrultech-protocols"; - version = "0.5.0"; + version = "0.6.0"; disabled = pythonOlder "3.8"; @@ -19,7 +19,7 @@ buildPythonPackage rec { owner = "sdwilsh"; repo = "siobrultech-protocols"; rev = "v${version}"; - hash = "sha256-bpWOfdwNHJXfKcANSu69YgXsxsfUhaH63/fXF6H+MNg="; + hash = "sha256-d4zAwcSCyC78dJZtxFkpdYurxDRon2cRgzInllP2qJQ="; }; checkInputs = [ From b108994c1b0444aa0154657de41098c1fc4c4ad9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Mon, 6 Jun 2022 03:07:09 +0000 Subject: [PATCH 08/16] python310Packages.greeneye-monitor: relax version constraint --- pkgs/development/python-modules/greeneye-monitor/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/python-modules/greeneye-monitor/default.nix b/pkgs/development/python-modules/greeneye-monitor/default.nix index fbc8f62fc0c5..76da49a9ee6d 100644 --- a/pkgs/development/python-modules/greeneye-monitor/default.nix +++ b/pkgs/development/python-modules/greeneye-monitor/default.nix @@ -22,6 +22,11 @@ buildPythonPackage rec { hash = "sha256-weZTOVFBlB6TxFs8pLWfyB7WD/bn3ljBjX2tVi1Zc/I="; }; + postPatch = '' + substituteInPlace setup.py \ + --replace "siobrultech_protocols==" "siobrultech_protocols>=" + ''; + propagatedBuildInputs = [ aiohttp siobrultech-protocols From 1ca6d814762d1e37ee021807fb94c685fc5b85b4 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 6 Jun 2022 04:06:14 +0000 Subject: [PATCH 09/16] python310Packages.smbus2: 0.4.1 -> 0.4.2 --- pkgs/development/python-modules/smbus2/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/smbus2/default.nix b/pkgs/development/python-modules/smbus2/default.nix index b3116bd3182e..262e765ad0da 100644 --- a/pkgs/development/python-modules/smbus2/default.nix +++ b/pkgs/development/python-modules/smbus2/default.nix @@ -7,15 +7,15 @@ buildPythonPackage rec { pname = "smbus2"; - version = "0.4.1"; + version = "0.4.2"; disabled = pythonOlder "3.6"; src = fetchFromGitHub { owner = "kplindegaard"; repo = pname; - rev = version; - sha256 = "0xgqs7bzhr8y3irc9gq3dnw1l3f5gc1yv4r2v4qxj95i3vvzpg5s"; + rev = "refs/tags/${version}"; + sha256 = "sha256-6JzFbhUq8XR1nYkadPeYqItcLZDIFAwTe3BriEW2nVI="; }; checkInputs = [ From 8ff17155becf4b2b8dcad32492e5abba3ffc73d9 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 6 Jun 2022 04:40:38 +0000 Subject: [PATCH 10/16] python310Packages.fastcore: 1.4.3 -> 1.4.4 --- pkgs/development/python-modules/fastcore/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/fastcore/default.nix b/pkgs/development/python-modules/fastcore/default.nix index a9781b3aea15..54a006d78422 100644 --- a/pkgs/development/python-modules/fastcore/default.nix +++ b/pkgs/development/python-modules/fastcore/default.nix @@ -8,7 +8,7 @@ buildPythonPackage rec { pname = "fastcore"; - version = "1.4.3"; + version = "1.4.4"; format = "setuptools"; disabled = pythonOlder "3.8"; @@ -17,7 +17,7 @@ buildPythonPackage rec { owner = "fastai"; repo = pname; rev = "refs/tags/${version}"; - sha256 = "sha256-3l5bELb5f/cvh4gF2kJZEX6kAK9achTerIIplMuesTk="; + sha256 = "sha256-2lV96QOlXfQ8PjSW45u9ZyXpssDgLyiUgmIC0VLOGus="; }; propagatedBuildInputs = [ From bda47d3eab420b37e01cce22e7d05915406d7ca9 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 6 Jun 2022 06:44:12 +0000 Subject: [PATCH 11/16] python310Packages.r2pipe: 1.7.0 -> 1.7.1 --- pkgs/development/python-modules/r2pipe/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/r2pipe/default.nix b/pkgs/development/python-modules/r2pipe/default.nix index f485e542f653..00f856df03a0 100644 --- a/pkgs/development/python-modules/r2pipe/default.nix +++ b/pkgs/development/python-modules/r2pipe/default.nix @@ -9,7 +9,7 @@ buildPythonPackage rec { pname = "r2pipe"; - version = "1.7.0"; + version = "1.7.1"; postPatch = let r2lib = "${lib.getOutput "lib" radare2}/lib"; @@ -27,7 +27,7 @@ buildPythonPackage rec { src = fetchPypi { inherit pname version; - sha256 = "sha256-VUYJm3tFyv/ws4nDHLuDgPQSGbB09hi8zrpAPDqoVbA="; + sha256 = "sha256-7Qa8Jl7vX/acMhGSqWfaqvN9emA05RSubpseAwRSpG4="; }; # Tiny sanity check to make sure r2pipe finds radare2 (since r2pipe doesn't From b45291a2bce1e95c966542a7ef8a7e95d9ce6b18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Sun, 5 Jun 2022 13:59:58 +0200 Subject: [PATCH 12/16] git-blame-ignore-revs: add python format commit --- .git-blame-ignore-revs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs index 4a581f9dcea3..c34d5b88536b 100644 --- a/.git-blame-ignore-revs +++ b/.git-blame-ignore-revs @@ -30,3 +30,6 @@ # nixos: fix module paths in rename.nix d08ede042b74b8199dc748323768227b88efcf7c + +# fix indentation in mk-python-derivation.nix +d1c1a0c656ccd8bd3b25d3c4287f2d075faf3cf3 From cca70b73249b0a114d9c3713a16af2bf50b36366 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Sun, 5 Jun 2022 14:00:17 +0200 Subject: [PATCH 13/16] python-minimal: don't clean meta.maintainer Every package should have a maintainer and we should not throw it away if we arleady have one. Also in reality the maintainer of python3 is also the one of python3-minimal --- pkgs/development/interpreters/python/default.nix | 3 --- 1 file changed, 3 deletions(-) diff --git a/pkgs/development/interpreters/python/default.nix b/pkgs/development/interpreters/python/default.nix index d411c374bd11..518bb0ec0f86 100644 --- a/pkgs/development/interpreters/python/default.nix +++ b/pkgs/development/interpreters/python/default.nix @@ -234,9 +234,6 @@ in { # TODO(@Artturin): Add this to the main cpython expr strictDeps = true; pname = "python3-minimal"; - meta = old.meta // { - maintainers = []; - }; }); pypy27 = callPackage ./pypy { From eb38504a7483d93f48b28451f99981e1811c8cf2 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Sun, 5 Jun 2022 20:55:54 +0100 Subject: [PATCH 14/16] yersinia: add -fcommon workaround Workaround build failure on -fno-common toolchains like upstream gcc-10. Otherwise build fails as: ld: ncurses-interface.o:src/ncurses-interface.h:83: multiple definition of `pointer'; ncurses-gui.o:src/ncurses-interface.h:83: first defined here --- pkgs/tools/security/yersinia/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/tools/security/yersinia/default.nix b/pkgs/tools/security/yersinia/default.nix index 390ed880ca1e..4a12d679d3c7 100644 --- a/pkgs/tools/security/yersinia/default.nix +++ b/pkgs/tools/security/yersinia/default.nix @@ -24,6 +24,14 @@ stdenv.mkDerivation rec { url = "https://github.com/tomac/yersinia/commit/d91bbf6f475e7ea39f131b77ce91b2de9646d5ca.patch"; sha256 = "fl1pZKWA+nLtBm9+3FBFqaeuVZjszQCNkNl6Cf++BAI="; }) + + # Pull upstream fix for -fno-common toolchain support: + # https://github.com/tomac/yersinia/pull/66 + (fetchpatch { + name = "fno-common.patch"; + url = "https://github.com/tomac/yersinia/commit/36247225dc7a6f38c4ba70537e20351f04762749.patch"; + sha256 = "KHaN8gfgNROEico27gWnYiP9ZVhpWz0KjFYy2t5tPBo="; + }) ]; nativeBuildInputs = [ autoreconfHook pkg-config ]; From 96c3ac67ea33ad2da031dce560014b96db0c369c Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 6 Jun 2022 09:46:17 +0000 Subject: [PATCH 15/16] python310Packages.azure-mgmt-batch: 16.1.0 -> 16.2.0 --- pkgs/development/python-modules/azure-mgmt-batch/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/azure-mgmt-batch/default.nix b/pkgs/development/python-modules/azure-mgmt-batch/default.nix index 421f068aa13e..e237536fc987 100644 --- a/pkgs/development/python-modules/azure-mgmt-batch/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-batch/default.nix @@ -11,12 +11,12 @@ buildPythonPackage rec { pname = "azure-mgmt-batch"; - version = "16.1.0"; + version = "16.2.0"; src = fetchPypi { inherit pname version; extension = "zip"; - sha256 = "sha256-9J0VQ3uAsi4kuEe9UG4xpcEV1Sc+nkjECgVfzG7j5jk="; + sha256 = "sha256-aWkQZs1aLIbo/arvu4DilAOBrO38gFPfGTtSFNLs5oI="; }; propagatedBuildInputs = [ From a1037629f56dddb1cfe877a48e93996c25d6dacc Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 6 Jun 2022 12:38:47 +0200 Subject: [PATCH 16/16] python310Packages.azure-mgmt-batch: disable on older Python releases --- .../python-modules/azure-mgmt-batch/default.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/azure-mgmt-batch/default.nix b/pkgs/development/python-modules/azure-mgmt-batch/default.nix index e237536fc987..796c65bcd077 100644 --- a/pkgs/development/python-modules/azure-mgmt-batch/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-batch/default.nix @@ -5,18 +5,20 @@ , msrestazure , azure-common , azure-mgmt-core -, azure-mgmt-nspkg -, isPy3k +, pythonOlder }: buildPythonPackage rec { pname = "azure-mgmt-batch"; version = "16.2.0"; + format = "setuptools"; + + disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; extension = "zip"; - sha256 = "sha256-aWkQZs1aLIbo/arvu4DilAOBrO38gFPfGTtSFNLs5oI="; + hash = "sha256-aWkQZs1aLIbo/arvu4DilAOBrO38gFPfGTtSFNLs5oI="; }; propagatedBuildInputs = [ @@ -24,11 +26,9 @@ buildPythonPackage rec { msrestazure azure-common azure-mgmt-core - ] ++ lib.optionals (!isPy3k) [ - azure-mgmt-nspkg ]; - # has no tests + # Module has no tests doCheck = false; meta = with lib; {