From ead172880fbb2ede887628a1701c16bf7bb88fd1 Mon Sep 17 00:00:00 2001 From: Doron Behar Date: Sun, 4 Jun 2023 00:45:50 +0300 Subject: [PATCH 01/53] nixos/taskserver: Enable cfg.group to read clients' certificates This enables the services.taskserver.group to read the certificates generated by the taskserver.service' preStart script. --- .../services/misc/taskserver/helper-tool.py | 34 +++++++++++++++---- 1 file changed, 27 insertions(+), 7 deletions(-) diff --git a/nixos/modules/services/misc/taskserver/helper-tool.py b/nixos/modules/services/misc/taskserver/helper-tool.py index fec05728b2b6..b1eebb07686b 100644 --- a/nixos/modules/services/misc/taskserver/helper-tool.py +++ b/nixos/modules/services/misc/taskserver/helper-tool.py @@ -61,6 +61,10 @@ def run_as_taskd_user(): os.setuid(uid) +def run_as_taskd_group(): + gid = grp.getgrnam(TASKD_GROUP).gr_gid + os.setgid(gid) + def taskd_cmd(cmd, *args, **kwargs): """ Invoke taskd with the specified command with the privileges of the 'taskd' @@ -90,7 +94,7 @@ def certtool_cmd(*args, **kwargs): """ return subprocess.check_output( [CERTTOOL_COMMAND] + list(args), - preexec_fn=lambda: os.umask(0o077), + preexec_fn=run_as_taskd_group, stderr=subprocess.STDOUT, **kwargs ) @@ -156,17 +160,33 @@ def generate_key(org, user): sys.stderr.write(msg.format(user)) return - basedir = os.path.join(TASKD_DATA_DIR, "keys", org, user) - if os.path.exists(basedir): + keysdir = os.path.join(TASKD_DATA_DIR, "keys" ) + orgdir = os.path.join(keysdir , org ) + userdir = os.path.join(orgdir , user ) + if os.path.exists(userdir): raise OSError("Keyfile directory for {} already exists.".format(user)) - privkey = os.path.join(basedir, "private.key") - pubcert = os.path.join(basedir, "public.cert") + privkey = os.path.join(userdir, "private.key") + pubcert = os.path.join(userdir, "public.cert") try: - os.makedirs(basedir, mode=0o700) + # We change the permissions and the owner ship of the base directories + # so that cfg.group and cfg.user could read the directories' contents. + # See also: https://bugs.python.org/issue42367 + for bd in [keysdir, orgdir, userdir]: + # Allow cfg.group, but not others to read the contents of this group + os.makedirs(bd, exist_ok=True) + # not using mode= argument to makedirs intentionally - forcing the + # permissions we want + os.chmod(bd, mode=0o750) + os.chown( + bd, + uid=pwd.getpwnam(TASKD_USER).pw_uid, + gid=grp.getgrnam(TASKD_GROUP).gr_gid, + ) certtool_cmd("-p", "--bits", CERT_BITS, "--outfile", privkey) + os.chmod(privkey, 0o640) template_data = [ "organization = {0}".format(org), @@ -187,7 +207,7 @@ def generate_key(org, user): "--outfile", pubcert ) except: - rmtree(basedir) + rmtree(userdir) raise From 148751a1a75079e63245394a013e7f7ab999b264 Mon Sep 17 00:00:00 2001 From: Franz Pletz Date: Wed, 17 Jan 2024 20:23:49 +0100 Subject: [PATCH 02/53] lldpd: 1.0.17 -> 1.0.18 --- pkgs/tools/networking/lldpd/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/networking/lldpd/default.nix b/pkgs/tools/networking/lldpd/default.nix index d480b3e01c72..d9f9ae45ad13 100644 --- a/pkgs/tools/networking/lldpd/default.nix +++ b/pkgs/tools/networking/lldpd/default.nix @@ -4,11 +4,11 @@ stdenv.mkDerivation rec { pname = "lldpd"; - version = "1.0.17"; + version = "1.0.18"; src = fetchurl { url = "https://media.luffy.cx/files/lldpd/${pname}-${version}.tar.gz"; - sha256 = "sha256-k0MXfxRdK8pm7wPVlSgHnT8WY8YkseK50IJo79xhJ84="; + hash = "sha256-SzIGddYIkBpKDU/v+PlruEbUkT2RSwz3W30K6ASQ8vc="; }; configureFlags = [ From cdd7a2078f7b84a36b234603459fc53e4deacf7c Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 18 Jan 2024 21:29:02 +0100 Subject: [PATCH 03/53] python312Packages.pyrdfa3: refactor --- .../python-modules/pyrdfa3/default.nix | 27 ++++++++++++------- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/pkgs/development/python-modules/pyrdfa3/default.nix b/pkgs/development/python-modules/pyrdfa3/default.nix index ef6d33cb8e80..3325d5a9219a 100644 --- a/pkgs/development/python-modules/pyrdfa3/default.nix +++ b/pkgs/development/python-modules/pyrdfa3/default.nix @@ -1,17 +1,19 @@ { lib , buildPythonPackage -, fetchPypi , fetchpatch -, isPy27 -, rdflib +, fetchPypi , html5lib +, pythonOlder +, rdflib +, setuptools }: buildPythonPackage rec { pname = "pyrdfa3"; version = "3.5.3"; - format = "setuptools"; - disabled = isPy27; + pyproject = true; + + disabled = pythonOlder "3.7"; src = fetchPypi { inherit version; @@ -21,6 +23,7 @@ buildPythonPackage rec { patches = [ (fetchpatch { + # https://github.com/RDFLib/pyrdfa3/pull/40 name = "CVE-2022-4396.patch"; url = "https://github.com/RDFLib/pyrdfa3/commit/ffd1d62dd50d5f4190013b39cedcdfbd81f3ce3e.patch"; hash = "sha256-prRrOwylYcEqKLr/8LIpyJ5Yyt+6+HTUqH5sQXU8tqc="; @@ -33,19 +36,23 @@ buildPythonPackage rec { --replace "'hturtle = pyRdfa.rdflibparsers:HTurtleParser'" "'hturtle = pyRdfa.rdflibparsers:HTurtleParser'," ''; + nativeBuildInputs = [ + setuptools + ]; + propagatedBuildInputs = [ rdflib html5lib ]; - # Does not work with python3 - doCheck = false; - - pythonImportsCheck = [ "pyRdfa" ]; + pythonImportsCheck = [ + "pyRdfa" + ]; meta = with lib; { description = "RDFa 1.1 distiller/parser library"; - homepage = "https://www.w3.org/2012/pyRdfa/"; + homepage = "https://github.com/prrvchr/pyrdfa3/"; + changelog = "https://github.com/prrvchr/pyrdfa3/releases/tag/v${version}"; license = licenses.w3c; maintainers = with maintainers; [ ambroisie ]; }; From 906426ec752221812a6c4cc1c5b967b4baf094ff Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 18 Jan 2024 09:42:12 +0100 Subject: [PATCH 04/53] python312Packages.pyrdfa3: remove imp --- pkgs/development/python-modules/pyrdfa3/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/python-modules/pyrdfa3/default.nix b/pkgs/development/python-modules/pyrdfa3/default.nix index 3325d5a9219a..51f6411cb4fb 100644 --- a/pkgs/development/python-modules/pyrdfa3/default.nix +++ b/pkgs/development/python-modules/pyrdfa3/default.nix @@ -34,6 +34,9 @@ buildPythonPackage rec { substituteInPlace setup.py \ --replace "'html = pyRdfa.rdflibparsers:StructuredDataParser'" "'html = pyRdfa.rdflibparsers:StructuredDataParser'," \ --replace "'hturtle = pyRdfa.rdflibparsers:HTurtleParser'" "'hturtle = pyRdfa.rdflibparsers:HTurtleParser'," + # https://github.com/RDFLib/pyrdfa3/issues/31 + substituteInPlace pyRdfa/utils.py \ + --replace "imp," "" ''; nativeBuildInputs = [ From 50836b2e63cd8ae29e711495ece76890aadeefe8 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 18 Jan 2024 11:30:38 +0100 Subject: [PATCH 05/53] python311Packages.extruct: 0.13.0 -> 0.16.0 Diff: https://github.com/scrapinghub/extruct/compare/refs/tags/v0.13.0...v0.16.0 Changelog: https://github.com/scrapinghub/extruct/blob/v0.16.0/HISTORY.rst --- .../python-modules/extruct/default.nix | 30 ++++++++++--------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/pkgs/development/python-modules/extruct/default.nix b/pkgs/development/python-modules/extruct/default.nix index c2156965d08b..38996222378d 100644 --- a/pkgs/development/python-modules/extruct/default.nix +++ b/pkgs/development/python-modules/extruct/default.nix @@ -1,38 +1,37 @@ { lib , buildPythonPackage , fetchFromGitHub -, pythonRelaxDepsHook , html-text , jstyleson , lxml , mf2py +, mock , pyrdfa3 +, pytestCheckHook +, pythonOlder +, pythonRelaxDepsHook , rdflib +, setuptools , six , w3lib -, pytestCheckHook -, mock }: buildPythonPackage rec { pname = "extruct"; - version = "0.13.0"; - format = "setuptools"; + version = "0.16.0"; + pyproject = true; + + disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "scrapinghub"; repo = "extruct"; - rev = "v${version}"; - hash = "sha256-hf6b/tZLggHzgFmZ6aldZIBd17Ni7vCTIIzhNlyjvxw="; + rev = "refs/tags/v${version}"; + hash = "sha256-6lAb17EoR0FKyIOb9hk1jcpmPtZ7vClfuCrDZ83XBeg="; }; nativeBuildInputs = [ - pythonRelaxDepsHook - ]; - - # rdflib-jsonld functionality is part of rdblib from version 6 onwards - pythonRemoveDeps = [ - "rdflib-jsonld" + setuptools ]; propagatedBuildInputs = [ @@ -51,11 +50,14 @@ buildPythonPackage rec { pytestCheckHook ]; - pythonImportsCheck = [ "extruct" ]; + pythonImportsCheck = [ + "extruct" + ]; meta = with lib; { description = "Extract embedded metadata from HTML markup"; homepage = "https://github.com/scrapinghub/extruct"; + changelog = "https://github.com/scrapinghub/extruct/blob/v${version}/HISTORY.rst"; license = licenses.bsd3; maintainers = with maintainers; [ ambroisie ]; }; From 537481f284179a7495e9a2b2bbcebb1c5c13d778 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 18 Jan 2024 11:36:12 +0100 Subject: [PATCH 06/53] python312Packages.mf2py: 1.1.3 -> 2.0.1 Diff: https://github.com/microformats/mf2py/compare/refs/tags/v1.1.3...v2.0.1 Changelog: https://github.com/microformats/mf2py/blob/v2.0.1/CHANGELOG.md --- .../python-modules/mf2py/default.nix | 27 +++++++++++++------ 1 file changed, 19 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/mf2py/default.nix b/pkgs/development/python-modules/mf2py/default.nix index cd72dc7d40b9..ce50d3662f46 100644 --- a/pkgs/development/python-modules/mf2py/default.nix +++ b/pkgs/development/python-modules/mf2py/default.nix @@ -1,26 +1,34 @@ { lib +, beautifulsoup4 , buildPythonPackage , fetchFromGitHub -, beautifulsoup4 , html5lib -, requests , lxml , mock -, nose +, poetry-core +, pytestCheckHook +, pythonOlder +, requests }: buildPythonPackage rec { pname = "mf2py"; - version = "1.1.3"; - format = "setuptools"; + version = "2.0.1"; + pyproject = true; + + disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "microformats"; repo = "mf2py"; rev = "refs/tags/v${version}"; - hash = "sha256-Ya8DND1Dqbygbf1hjIGMlPwyc/MYIWIj+KnWB6Bqu1k="; + hash = "sha256-mhJ+s1rtXEJ6DqVmiyWNEK+3cdDLpR63Q4QGmD9wVio="; }; + nativeBuildInputs = [ + poetry-core + ]; + propagatedBuildInputs = [ beautifulsoup4 html5lib @@ -30,14 +38,17 @@ buildPythonPackage rec { nativeCheckInputs = [ lxml mock - nose + pytestCheckHook ]; - pythonImportsCheck = [ "mf2py" ]; + pythonImportsCheck = [ + "mf2py" + ]; meta = with lib; { description = "Microformats2 parser written in Python"; homepage = "https://microformats.org/wiki/mf2py"; + changelog = "https://github.com/microformats/mf2py/blob/v${version}/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ ambroisie ]; }; From 34359cc6db61a0ccd5fe3a92f47093fb5dc8887a Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 18 Jan 2024 11:41:05 +0100 Subject: [PATCH 07/53] python311Packages.extruct: disable failing tests --- pkgs/development/python-modules/extruct/default.nix | 6 ++++++ .../python-modules/recipe-scrapers/default.nix | 12 +++++++++--- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/extruct/default.nix b/pkgs/development/python-modules/extruct/default.nix index 38996222378d..64873c94d324 100644 --- a/pkgs/development/python-modules/extruct/default.nix +++ b/pkgs/development/python-modules/extruct/default.nix @@ -54,6 +54,12 @@ buildPythonPackage rec { "extruct" ]; + disabledTests = [ + # AssertionError: Lists differ + "test_microformat" + "test_umicroformat" + ]; + meta = with lib; { description = "Extract embedded metadata from HTML markup"; homepage = "https://github.com/scrapinghub/extruct"; diff --git a/pkgs/development/python-modules/recipe-scrapers/default.nix b/pkgs/development/python-modules/recipe-scrapers/default.nix index b9f29be757fe..ef30a7640d88 100644 --- a/pkgs/development/python-modules/recipe-scrapers/default.nix +++ b/pkgs/development/python-modules/recipe-scrapers/default.nix @@ -9,12 +9,15 @@ , pytestCheckHook , responses , setuptools +, pythonOlder }: buildPythonPackage rec { pname = "recipe-scrapers"; version = "14.52.0"; - format = "pyproject"; + pyproject = true; + + disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "hhursev"; @@ -45,11 +48,14 @@ buildPythonPackage rec { "templates/test_scraper.py" ]; - pythonImportsCheck = [ "recipe_scrapers" ]; + pythonImportsCheck = [ + "recipe_scrapers" + ]; meta = with lib; { - description = "Python package for scraping recipes data "; + description = "Python package for scraping recipes data"; homepage = "https://github.com/hhursev/recipe-scrapers"; + changelog = "https://github.com/hhursev/recipe-scrapers/releases/tag/${version}"; license = licenses.mit; maintainers = with maintainers; [ ambroisie ]; }; From 2d77dce43ca1e479ee97f78e4f11f01fdbe3340a Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 18 Jan 2024 11:45:57 +0100 Subject: [PATCH 08/53] python311Packages.recipe-scrapers: 14.52.0 -> 14.53.0 Changelog: https://github.com/hhursev/recipe-scrapers/releases/tag/14.53.0 --- .../python-modules/recipe-scrapers/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/recipe-scrapers/default.nix b/pkgs/development/python-modules/recipe-scrapers/default.nix index ef30a7640d88..9ff74c48044b 100644 --- a/pkgs/development/python-modules/recipe-scrapers/default.nix +++ b/pkgs/development/python-modules/recipe-scrapers/default.nix @@ -14,7 +14,7 @@ buildPythonPackage rec { pname = "recipe-scrapers"; - version = "14.52.0"; + version = "14.53.0"; pyproject = true; disabled = pythonOlder "3.8"; @@ -23,7 +23,7 @@ buildPythonPackage rec { owner = "hhursev"; repo = "recipe-scrapers"; rev = "refs/tags/${version}"; - hash = "sha256-VdJZnwo+DwVDZuuuqk0X26CXs7ZrUFXqC8qEYaX74Zc="; + hash = "sha256-uYUzn3JlsZmzzbk740aD3PW3OuGqdsAfU7HlYX5kPrY="; }; nativeBuildInputs = [ @@ -43,9 +43,9 @@ buildPythonPackage rec { responses ]; - disabledTestPaths = [ - # This is not actual code, just some pre-written boiler-plate template - "templates/test_scraper.py" + disabledTests = [ + # Fixture is broken + "test_instructions" ]; pythonImportsCheck = [ From 26ead762fcbb87fefc7584d20c23586a8b79115e Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 18 Jan 2024 22:11:18 +0000 Subject: [PATCH 09/53] terraform-plugin-docs: 0.16.0 -> 0.17.0 --- pkgs/by-name/te/terraform-plugin-docs/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/te/terraform-plugin-docs/package.nix b/pkgs/by-name/te/terraform-plugin-docs/package.nix index de64c81093c5..04f67c424ce6 100644 --- a/pkgs/by-name/te/terraform-plugin-docs/package.nix +++ b/pkgs/by-name/te/terraform-plugin-docs/package.nix @@ -10,16 +10,16 @@ buildGoModule rec { pname = "terraform-plugin-docs"; - version = "0.16.0"; + version = "0.17.0"; src = fetchFromGitHub { owner = "hashicorp"; repo = "terraform-plugin-docs"; rev = "refs/tags/v${version}"; - sha256 = "sha256-5vbi69GMgkzvN3aEQbNTbk99rg+kfvAvUrdDsuyIm9s="; + sha256 = "sha256-ID+4Pz6SUPzZTZYX6IHn/U02Ffw95he/gogV0mNA2OA="; }; - vendorHash = "sha256-AjW6BokLVDkIWXToJ7wNq/g19xKTAfpQ/gVlKCV5qw0="; + vendorHash = "sha256-HseQBCvflmnlKX4PygWejPbyXRJmNUyl2K2//b4/tik="; nativeBuildInputs = [ makeWrapper ]; From 04b74986cd766a51440d9480a8d47eec7df0502c Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 19 Jan 2024 03:22:34 +0000 Subject: [PATCH 10/53] keepwn: 0.1 -> 0.3 --- pkgs/tools/security/keepwn/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/security/keepwn/default.nix b/pkgs/tools/security/keepwn/default.nix index 9720e14d7a50..8ce5ea4c5235 100644 --- a/pkgs/tools/security/keepwn/default.nix +++ b/pkgs/tools/security/keepwn/default.nix @@ -6,14 +6,14 @@ python3.pkgs.buildPythonApplication rec { pname = "keepwn"; - version = "0.1"; + version = "0.3"; format = "setuptools"; src = fetchFromGitHub { owner = "Orange-Cyberdefense"; repo = "KeePwn"; rev = "refs/tags/${version}"; - hash = "sha256-s+r6QEUzkzCbs5j1G+PVgDx8cvnmQzEQ1MHAakG+skA="; + hash = "sha256-haKWuoTtyC9vIise+gznruHEwMIDz1W6euihLLKnSdc="; }; propagatedBuildInputs = with python3.pkgs; [ From 735a26362326caa10f119281f25ab546672925f8 Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Fri, 19 Jan 2024 04:38:57 +0100 Subject: [PATCH 11/53] python311Packages.pyvista: 0.43.1 -> 0.43.2 --- pkgs/development/python-modules/pyvista/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pyvista/default.nix b/pkgs/development/python-modules/pyvista/default.nix index 0493509e976b..f791db0dbd83 100644 --- a/pkgs/development/python-modules/pyvista/default.nix +++ b/pkgs/development/python-modules/pyvista/default.nix @@ -13,7 +13,7 @@ buildPythonPackage rec { pname = "pyvista"; - version = "0.43.1"; + version = "0.43.2"; format = "setuptools"; disabled = pythonOlder "3.8"; @@ -22,7 +22,7 @@ buildPythonPackage rec { owner = pname; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-H7WkRK9lP92L47nFNDT1WusWfU0bLgXBA+KQqTyedL4="; + hash = "sha256-2gh5qpiHda611bWWZzRXu+tkiRk9x4qNehFP8MARtk0="; }; propagatedBuildInputs = [ From 10da3fbde48b3fbea015dfa6563ec8b0d58db49e Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 19 Jan 2024 08:44:48 +0000 Subject: [PATCH 12/53] abcmidi: 2023.12.28 -> 2024.01.04 --- pkgs/tools/audio/abcmidi/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/audio/abcmidi/default.nix b/pkgs/tools/audio/abcmidi/default.nix index 5154fccc81c0..f4d51e481583 100644 --- a/pkgs/tools/audio/abcmidi/default.nix +++ b/pkgs/tools/audio/abcmidi/default.nix @@ -2,11 +2,11 @@ stdenv.mkDerivation rec { pname = "abcMIDI"; - version = "2023.12.28"; + version = "2024.01.04"; src = fetchzip { url = "https://ifdo.ca/~seymour/runabc/${pname}-${version}.zip"; - hash = "sha256-HOwHmn67ZT2h0MKV1wxv1pINUv/5S4AgafGBM1PEBzY="; + hash = "sha256-IsQ+lAmQQGitKRlQUc7PgRKgwlEgYsR5q2XHp9k7tEM="; }; meta = with lib; { From c98eb89ffe7416e525ba74810644eac5f6e88f44 Mon Sep 17 00:00:00 2001 From: midchildan Date: Sat, 13 Jan 2024 03:02:40 +0900 Subject: [PATCH 13/53] qt6.qtwebengine: use system ICU only on Linux --- pkgs/development/libraries/qt-6/modules/qtwebengine.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/qt-6/modules/qtwebengine.nix b/pkgs/development/libraries/qt-6/modules/qtwebengine.nix index affb512a22f2..df23e103f1da 100644 --- a/pkgs/development/libraries/qt-6/modules/qtwebengine.nix +++ b/pkgs/development/libraries/qt-6/modules/qtwebengine.nix @@ -185,7 +185,6 @@ qtModule { "-DQT_FEATURE_pdf_xfa_gif=ON" "-DQT_FEATURE_pdf_xfa_png=ON" "-DQT_FEATURE_pdf_xfa_tiff=ON" - "-DQT_FEATURE_webengine_system_icu=ON" "-DQT_FEATURE_webengine_system_libevent=ON" "-DQT_FEATURE_webengine_system_libxml=ON" "-DQT_FEATURE_webengine_system_ffmpeg=ON" @@ -195,6 +194,10 @@ qtModule { "-DQT_FEATURE_webengine_kerberos=ON" ] ++ lib.optionals stdenv.isLinux [ "-DQT_FEATURE_webengine_webrtc_pipewire=ON" + + # Appears not to work on some platforms + # https://github.com/Homebrew/homebrew-core/issues/104008 + "-DQT_FEATURE_webengine_system_icu=ON" ] ++ lib.optionals enableProprietaryCodecs [ "-DQT_FEATURE_webengine_proprietary_codecs=ON" ] ++ lib.optionals stdenv.isDarwin [ From 3a1beb9cb577729a2fd8da222fa10903dd4be829 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 19 Jan 2024 20:50:42 +0000 Subject: [PATCH 14/53] pur: 7.0.0 -> 7.3.1 --- pkgs/development/tools/pur/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/pur/default.nix b/pkgs/development/tools/pur/default.nix index 710dc9e71413..27ef19881ea2 100644 --- a/pkgs/development/tools/pur/default.nix +++ b/pkgs/development/tools/pur/default.nix @@ -5,13 +5,13 @@ python3.pkgs.buildPythonApplication rec { pname = "pur"; - version = "7.0.0"; + version = "7.3.1"; src = fetchFromGitHub { owner = "alanhamlett"; repo = "pip-update-requirements"; rev = "refs/tags/${version}"; - hash = "sha256-JAjz9A9r1H6MJX7MSq7UvQKfULhB9UuPP3tI6Cggx9I="; + hash = "sha256-W6otdj1C3Nn3DUvwp9MPqMo2y4ITqgYrqlW/uxIj2YA="; }; propagatedBuildInputs = [ From e964964297ea89a0e438073d395276b31f80a46a Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Sat, 20 Jan 2024 04:01:29 +0100 Subject: [PATCH 15/53] qt6.qtwebengine: fix build on darwin --- .../libraries/qt-6/modules/qtwebengine.nix | 7 ++++--- .../qt-6/patches/qtwebengine-libxml-2.12.patch | 15 +++++++++++---- 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/pkgs/development/libraries/qt-6/modules/qtwebengine.nix b/pkgs/development/libraries/qt-6/modules/qtwebengine.nix index df23e103f1da..bed95312e7e0 100644 --- a/pkgs/development/libraries/qt-6/modules/qtwebengine.nix +++ b/pkgs/development/libraries/qt-6/modules/qtwebengine.nix @@ -186,13 +186,13 @@ qtModule { "-DQT_FEATURE_pdf_xfa_png=ON" "-DQT_FEATURE_pdf_xfa_tiff=ON" "-DQT_FEATURE_webengine_system_libevent=ON" - "-DQT_FEATURE_webengine_system_libxml=ON" "-DQT_FEATURE_webengine_system_ffmpeg=ON" # android only. https://bugreports.qt.io/browse/QTBUG-100293 # "-DQT_FEATURE_webengine_native_spellchecker=ON" "-DQT_FEATURE_webengine_sanitizer=ON" "-DQT_FEATURE_webengine_kerberos=ON" ] ++ lib.optionals stdenv.isLinux [ + "-DQT_FEATURE_webengine_system_libxml=ON" "-DQT_FEATURE_webengine_webrtc_pipewire=ON" # Appears not to work on some platforms @@ -225,11 +225,9 @@ qtModule { # Text rendering harfbuzz - icu openssl glib - libxml2 libxslt lcms2 @@ -244,6 +242,9 @@ qtModule { protobuf jsoncpp + icu + libxml2 + # Audio formats alsa-lib pulseaudio diff --git a/pkgs/development/libraries/qt-6/patches/qtwebengine-libxml-2.12.patch b/pkgs/development/libraries/qt-6/patches/qtwebengine-libxml-2.12.patch index 1fc7d837f8f3..3c3d59b488da 100644 --- a/pkgs/development/libraries/qt-6/patches/qtwebengine-libxml-2.12.patch +++ b/pkgs/development/libraries/qt-6/patches/qtwebengine-libxml-2.12.patch @@ -1,22 +1,29 @@ --- a/src/3rdparty/chromium/third_party/blink/renderer/core/xml/xslt_processor.h +++ b/src/3rdparty/chromium/third_party/blink/renderer/core/xml/xslt_processor.h -@@ -77,7 +77,7 @@ class XSLTProcessor final : public ScriptWrappable { +@@ -77,7 +77,12 @@ class XSLTProcessor final : public ScriptWrappable { void reset(); -- static void ParseErrorFunc(void* user_data, xmlError*); ++#if LIBXML_VERSION >= 21200 + static void ParseErrorFunc(void* user_data, const xmlError*); ++#else + static void ParseErrorFunc(void* user_data, xmlError*); ++#endif ++ static void GenericErrorFunc(void* user_data, const char* msg, ...); // Only for libXSLT callbacks --- a/src/3rdparty/chromium/third_party/blink/renderer/core/xml/xslt_processor_libxslt.cc +++ b/src/3rdparty/chromium/third_party/blink/renderer/core/xml/xslt_processor_libxslt.cc -@@ -66,7 +66,7 @@ void XSLTProcessor::GenericErrorFunc(void*, const char*, ...) { +@@ -66,7 +66,11 @@ void XSLTProcessor::GenericErrorFunc(void*, const char*, ...) { // It would be nice to do something with this error message. } --void XSLTProcessor::ParseErrorFunc(void* user_data, xmlError* error) { ++#if LIBXML_VERSION >= 21200 +void XSLTProcessor::ParseErrorFunc(void* user_data, const xmlError* error) { ++#else + void XSLTProcessor::ParseErrorFunc(void* user_data, xmlError* error) { ++#endif FrameConsole* console = static_cast(user_data); if (!console) return; From f51406554ea36d5f40b2a27af428adfba6553f71 Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Sat, 20 Jan 2024 09:50:02 +0100 Subject: [PATCH 16/53] genymotion: add more runtime dependencies --- pkgs/development/mobile/genymotion/default.nix | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/pkgs/development/mobile/genymotion/default.nix b/pkgs/development/mobile/genymotion/default.nix index b3ebaf713058..a70000ca56a5 100644 --- a/pkgs/development/mobile/genymotion/default.nix +++ b/pkgs/development/mobile/genymotion/default.nix @@ -1,5 +1,6 @@ { stdenv, lib, fetchurl, makeWrapper, which, zlib, libGL, glib, xorg, libxkbcommon , xdg-utils, libXrender, fontconfig, freetype, systemd, libpulseaudio +, cairo, gdk-pixbuf, gtk3, pixman # For glewinfo , libXmu, libXi, libXext }: @@ -19,6 +20,10 @@ let freetype systemd libpulseaudio + cairo + gdk-pixbuf + gtk3 + pixman ]; libPath = lib.makeLibraryPath packages; in @@ -31,8 +36,7 @@ stdenv.mkDerivation rec { sha256 = "sha256-CS1A9udt47bhgnYJqqkCG3z4XaPVHmz417VTsY2ccOA="; }; - nativeBuildInputs = [ makeWrapper ]; - buildInputs = [ which xdg-utils ]; + nativeBuildInputs = [ makeWrapper which xdg-utils ]; unpackPhase = '' mkdir -p phony-home $out/share/applications @@ -73,6 +77,8 @@ stdenv.mkDerivation rec { patchExecutable genymotion patchExecutable player + patchExecutable qemu/x86_64/bin/qemu-img + patchExecutable qemu/x86_64/bin/qemu-system-x86_64 patchTool adb patchTool aapt From 600f5ebba80e3d75fc5c29b64d08e6581ff87282 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 20 Jan 2024 11:48:19 +0000 Subject: [PATCH 17/53] python312Packages.pytest-check: 2.2.4 -> 2.3.1 --- pkgs/development/python-modules/pytest-check/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pytest-check/default.nix b/pkgs/development/python-modules/pytest-check/default.nix index ed62f69d4818..9cdeb1c3f0e6 100644 --- a/pkgs/development/python-modules/pytest-check/default.nix +++ b/pkgs/development/python-modules/pytest-check/default.nix @@ -8,13 +8,13 @@ buildPythonPackage rec { pname = "pytest-check"; - version = "2.2.4"; + version = "2.3.1"; format = "pyproject"; src = fetchPypi { pname = "pytest_check"; inherit version; - hash = "sha256-0uaWYDFB9bLekFuTWD5FmE7DxhzscCZJ3rEL2XSFYLs="; + hash = "sha256-UbjxiozKpCbF2RPE4ORvAUqqdXlIHqA9Itfh9Jj2ibI="; }; nativeBuildInputs = [ From a3ebfea618149441a2eb17d955a95fee07c08ffd Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 20 Jan 2024 14:50:35 +0100 Subject: [PATCH 18/53] python312Packages.pytest-check: refactor --- .../python-modules/pytest-check/default.nix | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/pytest-check/default.nix b/pkgs/development/python-modules/pytest-check/default.nix index 9cdeb1c3f0e6..efa2cc4049bc 100644 --- a/pkgs/development/python-modules/pytest-check/default.nix +++ b/pkgs/development/python-modules/pytest-check/default.nix @@ -9,7 +9,7 @@ buildPythonPackage rec { pname = "pytest-check"; version = "2.3.1"; - format = "pyproject"; + pyproject = true; src = fetchPypi { pname = "pytest_check"; @@ -21,7 +21,7 @@ buildPythonPackage rec { flit-core ]; - propagatedBuildInputs = [ + buildInputs = [ pytest ]; @@ -29,10 +29,15 @@ buildPythonPackage rec { pytestCheckHook ]; + pythonImportsCheck = [ + "pytest_check" + ]; + meta = with lib; { description = "pytest plugin allowing multiple failures per test"; homepage = "https://github.com/okken/pytest-check"; + changelog = "https://github.com/okken/pytest-check/releases/tag/${version}"; license = licenses.mit; - maintainers = [ maintainers.flokli ]; + maintainers = with maintainers; [ flokli ]; }; } From 814f85740eba8d7f1e480028f9abba83c76e8bad Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 20 Jan 2024 17:18:51 +0100 Subject: [PATCH 19/53] python311Packages.pylint-plugin-utils: refactor --- .../python-modules/pylint-plugin-utils/default.nix | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/pylint-plugin-utils/default.nix b/pkgs/development/python-modules/pylint-plugin-utils/default.nix index a8cff3800960..25cc23e95472 100644 --- a/pkgs/development/python-modules/pylint-plugin-utils/default.nix +++ b/pkgs/development/python-modules/pylint-plugin-utils/default.nix @@ -4,23 +4,28 @@ , pylint , pytestCheckHook , pythonOlder +, setuptools , toml }: buildPythonPackage rec { pname = "pylint-plugin-utils"; version = "0.7"; - format = "setuptools"; + pyproject = true; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "PyCQA"; - repo = pname; - rev = version; + repo = "pylint-plugin-utils"; + rev = "refs/tags/${version}"; hash = "sha256-uDsSSUWdlzuQz6umoYLbIotOYNEnLQu041ZZVMRd2ww="; }; + nativeBuildInputs = [ + setuptools + ]; + propagatedBuildInputs = [ pylint toml From 4b2a66591c2c17ea47a447a1f7c4d4e39dc4ade5 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 20 Jan 2024 17:19:57 +0100 Subject: [PATCH 20/53] python311Packages.pylint-plugin-utils: 0.7 -> 0.8.2 Diff: https://github.com/PyCQA/pylint-plugin-utils/compare/refs/tags/0.7...0.8.2 --- .../python-modules/pylint-plugin-utils/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/pylint-plugin-utils/default.nix b/pkgs/development/python-modules/pylint-plugin-utils/default.nix index 25cc23e95472..cdc29eb19621 100644 --- a/pkgs/development/python-modules/pylint-plugin-utils/default.nix +++ b/pkgs/development/python-modules/pylint-plugin-utils/default.nix @@ -1,16 +1,16 @@ { lib , buildPythonPackage , fetchFromGitHub +, poetry-core , pylint , pytestCheckHook , pythonOlder -, setuptools , toml }: buildPythonPackage rec { pname = "pylint-plugin-utils"; - version = "0.7"; + version = "0.8.2"; pyproject = true; disabled = pythonOlder "3.7"; @@ -19,11 +19,11 @@ buildPythonPackage rec { owner = "PyCQA"; repo = "pylint-plugin-utils"; rev = "refs/tags/${version}"; - hash = "sha256-uDsSSUWdlzuQz6umoYLbIotOYNEnLQu041ZZVMRd2ww="; + hash = "sha256-xuPU1txfB+6+zJjtlfvNA950S5n7/PWPPFn1F3RtvCc="; }; nativeBuildInputs = [ - setuptools + poetry-core ]; propagatedBuildInputs = [ From de6d7c3774d44bdf3413d0e0df4856437a0adf63 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 20 Jan 2024 17:33:16 +0100 Subject: [PATCH 21/53] python311Packages.pylint-django: refactor - disable failing tests --- .../python-modules/pylint-django/default.nix | 28 ++++++++++++++----- 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/pylint-django/default.nix b/pkgs/development/python-modules/pylint-django/default.nix index d12e7268a24f..d3f22e8532ef 100644 --- a/pkgs/development/python-modules/pylint-django/default.nix +++ b/pkgs/development/python-modules/pylint-django/default.nix @@ -1,8 +1,11 @@ { lib , buildPythonPackage , django +, django-tables2 +, django-tastypie , factory-boy , fetchFromGitHub +, poetry-core , pylint-plugin-utils , pytestCheckHook , pythonOlder @@ -11,33 +14,43 @@ buildPythonPackage rec { pname = "pylint-django"; version = "2.5.4"; - format = "setuptools"; + pyproject = true; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "PyCQA"; - repo = pname; + repo = "pylint-django"; rev = "refs/tags/v${version}"; hash = "sha256-MNgu3LvFoohXA+JzUiHIaYFw0ssEe+H5T8Ea56LcGuI="; }; + nativeBuildInputs = [ + poetry-core + ]; + propagatedBuildInputs = [ - django pylint-plugin-utils ]; + passthru.optional-dependencies = { + with_django = [ + django + ]; + }; + nativeCheckInputs = [ + django-tables2 + django-tastypie factory-boy pytestCheckHook ]; disabledTests = [ - # AttributeError, AssertionError - "external_django_tables2_noerror_meta_class" - "external_tastypie_noerror_foreign_key" + # AttributeError: module 'pylint.interfaces' has no attribute 'IAstroidChecker' + "test_migrations_plugin" "func_noerror_model_unicode_lambda" - "0001_noerror_initial" + "test_linter_should_be_pickleable_with_pylint_django_plugin_installed" ]; pythonImportsCheck = [ @@ -47,6 +60,7 @@ buildPythonPackage rec { meta = with lib; { description = "Pylint plugin to analyze Django applications"; homepage = "https://github.com/PyCQA/pylint-django"; + changelog = "https://github.com/pylint-dev/pylint-django/releases/tag/v${version}"; license = licenses.gpl2Plus; maintainers = with maintainers; [ kamadorueda ]; }; From 5fc2b855c16df768145cc39f4030ea4bb5fbc213 Mon Sep 17 00:00:00 2001 From: Manuel Frischknecht Date: Sun, 24 Dec 2023 01:49:06 +0000 Subject: [PATCH 22/53] fast-ssh: fix build issue due to ambiguous trait impls See this upstream PR: https://github.com/Julien-R44/fast-ssh/pull/22 --- pkgs/tools/networking/fast-ssh/default.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pkgs/tools/networking/fast-ssh/default.nix b/pkgs/tools/networking/fast-ssh/default.nix index 912cac758650..5d899fa54184 100644 --- a/pkgs/tools/networking/fast-ssh/default.nix +++ b/pkgs/tools/networking/fast-ssh/default.nix @@ -1,6 +1,7 @@ { lib , stdenv , fetchFromGitHub +, fetchpatch , rustPlatform , Security }: @@ -18,6 +19,15 @@ rustPlatform.buildRustPackage rec { cargoSha256 = "sha256-sIQNoH3UWX3SwCFCPZEREIFR7C28ml4oGsrq6wuOAT0="; + patches = [ + # Can be removed as soon as this is is merged: https://github.com/Julien-R44/fast-ssh/pull/22 + (fetchpatch { + name = "fix-ambiguous-as_ref.patch"; + url = "https://github.com/Julien-R44/fast-ssh/commit/c082a64a4b412380b2ab145c24161fdaa26175db.patch"; + hash = "sha256-egkoJF+rQiuClNL8ltzmB7oHngbpOxO29rlwZ3nELOE="; + }) + ]; + buildInputs = lib.optional stdenv.isDarwin Security; meta = with lib; { From 1588f246c2470a838dd4a68f166450f7a8072fa3 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 20 Jan 2024 17:10:52 +0000 Subject: [PATCH 23/53] allegro5: 5.2.9.0 -> 5.2.9.1 --- pkgs/development/libraries/allegro/5.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/allegro/5.nix b/pkgs/development/libraries/allegro/5.nix index 3b9bbfeb244a..eaf227fa60d1 100644 --- a/pkgs/development/libraries/allegro/5.nix +++ b/pkgs/development/libraries/allegro/5.nix @@ -40,13 +40,13 @@ stdenv.mkDerivation rec { pname = "allegro"; - version = "5.2.9.0"; + version = "5.2.9.1"; src = fetchFromGitHub { owner = "liballeg"; repo = "allegro5"; rev = version; - sha256 = "sha256-lGaHhFlc9zcalRFx0Xcyd0pZdC9lln0ez5hdfRz6Kt8="; + sha256 = "sha256-n2OCmZmAqeXjtnCTqJgQ5q4j8/lnPfH+5tpWKIFKle0="; }; nativeBuildInputs = [ From 8406235c376d1fe30557227acda8bb92351be630 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 20 Jan 2024 19:09:43 +0100 Subject: [PATCH 24/53] python311Packages.mypy-boto3-builder: refactor --- .../python-modules/mypy-boto3-builder/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/mypy-boto3-builder/default.nix b/pkgs/development/python-modules/mypy-boto3-builder/default.nix index d63e6f9791e5..273da11049ad 100644 --- a/pkgs/development/python-modules/mypy-boto3-builder/default.nix +++ b/pkgs/development/python-modules/mypy-boto3-builder/default.nix @@ -9,17 +9,19 @@ , md-toc , mdformat , newversion +, pip , poetry-core , pyparsing , pytestCheckHook , pythonOlder , setuptools +, typing-extensions }: buildPythonPackage rec { pname = "mypy-boto3-builder"; version = "7.21.0"; - format = "pyproject"; + pyproject = true; disabled = pythonOlder "3.10"; @@ -43,8 +45,10 @@ buildPythonPackage rec { md-toc mdformat newversion + pip pyparsing setuptools + typing-extensions ]; nativeCheckInputs = [ From 6087581124ef38967d6424754b90603a69f086fa Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 20 Jan 2024 18:43:19 +0000 Subject: [PATCH 25/53] python311Packages.plugwise: 0.36.2 -> 0.36.3 --- pkgs/development/python-modules/plugwise/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/plugwise/default.nix b/pkgs/development/python-modules/plugwise/default.nix index 5707f88cf69d..636976f3dbf5 100644 --- a/pkgs/development/python-modules/plugwise/default.nix +++ b/pkgs/development/python-modules/plugwise/default.nix @@ -21,7 +21,7 @@ buildPythonPackage rec { pname = "plugwise"; - version = "0.36.2"; + version = "0.36.3"; pyproject = true; disabled = pythonOlder "3.11"; @@ -30,7 +30,7 @@ buildPythonPackage rec { owner = "plugwise"; repo = "python-plugwise"; rev = "refs/tags/v${version}"; - hash = "sha256-3TTrfvhTQIhig0QUP56+IkciiboXZD4025FvotAZgzo="; + hash = "sha256-LhwrrGle9B2zGhlgPLH+uB6ZiWbNPm1GbPXuUh8RLyo="; }; postPatch = '' From 90cae4d942269df2d9a5909e7a2f9bb7179926f2 Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Sat, 20 Jan 2024 19:44:52 +0100 Subject: [PATCH 26/53] qt6.qtwebengine: force signing darwin binaires --- pkgs/development/libraries/qt-6/default.nix | 2 +- pkgs/development/libraries/qt-6/modules/qtwebengine.nix | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/qt-6/default.nix b/pkgs/development/libraries/qt-6/default.nix index 2610c8463b2e..a1d597adcd1d 100644 --- a/pkgs/development/libraries/qt-6/default.nix +++ b/pkgs/development/libraries/qt-6/default.nix @@ -164,7 +164,7 @@ let qtwayland = callPackage ./modules/qtwayland.nix { }; qtwebchannel = callPackage ./modules/qtwebchannel.nix { }; qtwebengine = callPackage ./modules/qtwebengine.nix { - inherit (darwin) bootstrap_cmds cctools xnu; + inherit (darwin) autoSignDarwinBinariesHook bootstrap_cmds cctools xnu; inherit (darwin.apple_sdk_11_0) libpm libunwind; inherit (darwin.apple_sdk_11_0.libs) sandbox; inherit (darwin.apple_sdk_11_0.frameworks) diff --git a/pkgs/development/libraries/qt-6/modules/qtwebengine.nix b/pkgs/development/libraries/qt-6/modules/qtwebengine.nix index bed95312e7e0..8b9542511b72 100644 --- a/pkgs/development/libraries/qt-6/modules/qtwebengine.nix +++ b/pkgs/development/libraries/qt-6/modules/qtwebengine.nix @@ -60,6 +60,7 @@ , mesa , enableProprietaryCodecs ? true # darwin +, autoSignDarwinBinariesHook , bootstrap_cmds , cctools , xcbuild @@ -105,6 +106,7 @@ qtModule { gn nodejs ] ++ lib.optionals stdenv.isDarwin [ + autoSignDarwinBinariesHook bootstrap_cmds cctools xcbuild From 76384d4d3b167772bfea28416bfa99d532021e68 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 20 Jan 2024 20:09:40 +0000 Subject: [PATCH 27/53] baresip: 3.8.0 -> 3.8.1 --- .../networking/instant-messengers/baresip/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/instant-messengers/baresip/default.nix b/pkgs/applications/networking/instant-messengers/baresip/default.nix index 592dba0b73a8..5efe54c0d27b 100644 --- a/pkgs/applications/networking/instant-messengers/baresip/default.nix +++ b/pkgs/applications/networking/instant-messengers/baresip/default.nix @@ -27,13 +27,13 @@ , dbusSupport ? true }: stdenv.mkDerivation rec { - version = "3.8.0"; + version = "3.8.1"; pname = "baresip"; src = fetchFromGitHub { owner = "baresip"; repo = "baresip"; rev = "v${version}"; - hash = "sha256-7QqaKK8zalyopn9+MkKmdt9XaCkDFBNiXwVd2iXmqMA="; + hash = "sha256-39HRvRTyA0V8NKFUUpj7UGc01KVXULTE3HUd9Kh06bw="; }; prePatch = lib.optionalString (!dbusSupport) '' substituteInPlace cmake/modules.cmake --replace 'list(APPEND MODULES ctrl_dbus)' "" From b022bc7dd745e7027e68c5a9150b0ad41ced90a9 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 20 Jan 2024 22:27:12 +0100 Subject: [PATCH 28/53] python311Packages.pysolcast: relax responses --- pkgs/development/python-modules/pysolcast/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/python-modules/pysolcast/default.nix b/pkgs/development/python-modules/pysolcast/default.nix index 5e740e78e6a8..1eab58761440 100644 --- a/pkgs/development/python-modules/pysolcast/default.nix +++ b/pkgs/development/python-modules/pysolcast/default.nix @@ -9,6 +9,7 @@ , requests , responses , poetry-core +, pythonRelaxDepsHook }: buildPythonPackage rec { @@ -25,8 +26,13 @@ buildPythonPackage rec { hash = "sha256-jLhM47o6LvkPux0kusOrRk4TDS6VLWE0QMEiQxlBCwo="; }; + pythonRelaxDeps = [ + "responses" + ]; + nativeBuildInputs = [ poetry-core + pythonRelaxDepsHook ]; propagatedBuildInputs = [ From 466deea413c416f8e351c5b77072380f2a143aef Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 20 Jan 2024 22:50:15 +0100 Subject: [PATCH 29/53] python311Packages.demetriek: relax pydantic --- .../python-modules/demetriek/default.nix | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/demetriek/default.nix b/pkgs/development/python-modules/demetriek/default.nix index 42205ac652f9..68f2660f6bb7 100644 --- a/pkgs/development/python-modules/demetriek/default.nix +++ b/pkgs/development/python-modules/demetriek/default.nix @@ -1,23 +1,24 @@ { lib , aiohttp +, aresponses , awesomeversion , backoff , buildPythonPackage -, pydantic , fetchFromGitHub , fetchpatch , poetry-core -, yarl -, aresponses +, pydantic , pytest-asyncio , pytestCheckHook , pythonOlder +, pythonRelaxDepsHook +, yarl }: buildPythonPackage rec { pname = "demetriek"; version = "0.4.0"; - format = "pyproject"; + pyproject = true; disabled = pythonOlder "3.9"; @@ -45,8 +46,13 @@ buildPythonPackage rec { --replace "--cov" "" ''; + pythonRelaxDeps = [ + "pydantic" + ]; + nativeBuildInputs = [ poetry-core + pythonRelaxDepsHook ]; propagatedBuildInputs = [ @@ -72,6 +78,7 @@ buildPythonPackage rec { meta = with lib; { description = "Python client for LaMetric TIME devices"; homepage = "https://github.com/frenck/python-demetriek"; + changelog = "https://github.com/frenck/python-demetriek/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ fab ]; }; From 21742dba967ada095b84469b8006bed62792e005 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 20 Jan 2024 23:22:57 +0100 Subject: [PATCH 30/53] python311Packages.rki-covid-parser: refactor --- .../python-modules/rki-covid-parser/default.nix | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/rki-covid-parser/default.nix b/pkgs/development/python-modules/rki-covid-parser/default.nix index d7e12ba2293f..4a9263f389c2 100644 --- a/pkgs/development/python-modules/rki-covid-parser/default.nix +++ b/pkgs/development/python-modules/rki-covid-parser/default.nix @@ -6,22 +6,27 @@ , pytest-aiohttp , pytestCheckHook , pythonOlder +, setuptools }: buildPythonPackage rec { pname = "rki-covid-parser"; version = "1.3.3"; - format = "pyproject"; + pyproject = true; disabled = pythonOlder "3.6"; src = fetchFromGitHub { owner = "thebino"; - repo = pname; - rev = "v${version}"; + repo = "rki-covid-parser"; + rev = "refs/tags/v${version}"; hash = "sha256-e0MJjE4zgBPL+vt9EkgsdGrgqUyKK/1S9ZFxy56PUjc="; }; + nativeBuildInputs = [ + setuptools + ]; + propagatedBuildInputs = [ aiohttp ]; @@ -45,6 +50,7 @@ buildPythonPackage rec { meta = with lib; { description = "Python module for working with data from the Robert-Koch Institut"; homepage = "https://github.com/thebino/rki-covid-parser"; + changelog = "https://github.com/thebino/rki-covid-parser/blob/v${version}/CHANGELOG.md"; license = with licenses; [ asl20 ]; maintainers = with maintainers; [ fab ]; }; From eb9a982f97313428f957ef3a7fb63f3abd7a8f64 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Sat, 20 Jan 2024 22:46:43 +0000 Subject: [PATCH 31/53] weechat-unwrapped: 4.1.2 -> 4.1.3 Changes: https://weechat.org/files/doc/weechat/ReleaseNotes-4.1.3.html --- pkgs/applications/networking/irc/weechat/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/irc/weechat/default.nix b/pkgs/applications/networking/irc/weechat/default.nix index 96854c3cdb62..f32fbcdfbca2 100644 --- a/pkgs/applications/networking/irc/weechat/default.nix +++ b/pkgs/applications/networking/irc/weechat/default.nix @@ -36,14 +36,14 @@ let in assert lib.all (p: p.enabled -> ! (builtins.elem null p.buildInputs)) plugins; stdenv.mkDerivation rec { - version = "4.1.2"; + version = "4.1.3"; pname = "weechat"; hardeningEnable = [ "pie" ]; src = fetchurl { url = "https://weechat.org/files/src/weechat-${version}.tar.xz"; - hash = "sha256-mpuRD752i7nefHrJRPXbjyM4M/NFsuUF4W7G7zXv+7U="; + hash = "sha256-2x5XvXeG1mhZZm0wawZGuq0zcjgxmgBTYq0NeGFXEO8="; }; # Why is this needed? https://github.com/weechat/weechat/issues/2031 From 45393d9f179a400a9367d810431e987a92b82540 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 20 Jan 2024 23:57:20 +0100 Subject: [PATCH 32/53] python312Packages.aliyun-python-sdk-iot: 8.57.0 -> 8.58.0 Changelog: https://github.com/aliyun/aliyun-openapi-python-sdk/blob/master/aliyun-python-sdk-iot/ChangeLog.txt --- .../python-modules/aliyun-python-sdk-iot/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/aliyun-python-sdk-iot/default.nix b/pkgs/development/python-modules/aliyun-python-sdk-iot/default.nix index 2a753b425103..afad8539e7cc 100644 --- a/pkgs/development/python-modules/aliyun-python-sdk-iot/default.nix +++ b/pkgs/development/python-modules/aliyun-python-sdk-iot/default.nix @@ -7,14 +7,14 @@ buildPythonPackage rec { pname = "aliyun-python-sdk-iot"; - version = "8.57.0"; + version = "8.58.0"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-Ea0IUn2mlu0c7QYJZkUrBUrtjUuTHoTeuvZHw/il+4A="; + hash = "sha256-Aafqju0EcaXv9RYkNSlcc1JnffluXXSl3KR1OcIX+OI="; }; propagatedBuildInputs = [ From 8d956b1725be2b21116ba8e267c0f892e1d08a76 Mon Sep 17 00:00:00 2001 From: Marcus Ramberg Date: Sat, 20 Jan 2024 14:36:55 +0100 Subject: [PATCH 33/53] nixos/ollama: Add listenAddress --- nixos/modules/services/misc/ollama.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/nixos/modules/services/misc/ollama.nix b/nixos/modules/services/misc/ollama.nix index 9794bbbec464..d9359d2b5cd4 100644 --- a/nixos/modules/services/misc/ollama.nix +++ b/nixos/modules/services/misc/ollama.nix @@ -9,6 +9,13 @@ in { enable = lib.mkEnableOption ( lib.mdDoc "Server for local large language models" ); + listenAddress = lib.mkOption { + type = lib.types.str; + default = "127.0.0.1:11434"; + description = lib.mdDoc '' + Specifies the bind address on which the ollama server HTTP interface listens. + ''; + }; package = lib.mkPackageOption pkgs "ollama" { }; }; }; @@ -23,6 +30,7 @@ in { environment = { HOME = "%S/ollama"; OLLAMA_MODELS = "%S/ollama/models"; + OLLAMA_HOST = cfg.listenAddress; }; serviceConfig = { ExecStart = "${lib.getExe cfg.package} serve"; From 48c419741e48bd79d2a7db2116114753547ad1fe Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 21 Jan 2024 03:33:04 +0000 Subject: [PATCH 34/53] qownnotes: 24.1.2 -> 24.1.4 --- pkgs/applications/office/qownnotes/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/office/qownnotes/default.nix b/pkgs/applications/office/qownnotes/default.nix index 162d4e2683db..09dbaa397b43 100644 --- a/pkgs/applications/office/qownnotes/default.nix +++ b/pkgs/applications/office/qownnotes/default.nix @@ -19,14 +19,14 @@ let pname = "qownnotes"; appname = "QOwnNotes"; - version = "24.1.2"; + version = "24.1.4"; in stdenv.mkDerivation { inherit pname appname version; src = fetchurl { url = "https://github.com/pbek/QOwnNotes/releases/download/v${version}/qownnotes-${version}.tar.xz"; - hash = "sha256-UlHLGO5Rictj0/eZKxyFKxa/2XasQOAixnejOc+dH0M="; + hash = "sha256-RWAg89rbmoOSzOu9YjAkDluyPiYjT6f8gmri5AAHyww="; }; nativeBuildInputs = [ From b799dd5429d19f510e8338e9780905619f78a4f9 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 21 Jan 2024 03:58:47 +0000 Subject: [PATCH 35/53] python311Packages.flet-core: 0.18.0 -> 0.19.0 Changelog: https://github.com/flet-dev/flet/releases/tag/v0.19.0 --- pkgs/development/python-modules/flet-core/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/flet-core/default.nix b/pkgs/development/python-modules/flet-core/default.nix index 8c5bde07e016..2b84348f36f5 100644 --- a/pkgs/development/python-modules/flet-core/default.nix +++ b/pkgs/development/python-modules/flet-core/default.nix @@ -12,13 +12,13 @@ buildPythonPackage rec { pname = "flet-core"; - version = "0.18.0"; - format = "pyproject"; + version = "0.19.0"; + pyproject = true; src = fetchPypi { pname = "flet_core"; inherit version; - hash = "sha256-PbAzbDK9DkQBdrym9H3uBvPeeK8Qocq+t8veF+7izOQ="; + hash = "sha256-JRV56SwIhrsJHX/fzQKI0R2o/I+H5xXCXVu7uBiyIP8="; }; nativeBuildInputs = [ From 01a15443c95a510ded03e7d195003f2e39a2fbda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sat, 20 Jan 2024 21:06:26 -0800 Subject: [PATCH 36/53] python311Packages.flet-runtime: 0.18.0 -> 0.19.0 Changelog: https://github.com/flet-dev/flet/releases/tag/v0.19.0 --- pkgs/development/python-modules/flet-runtime/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/flet-runtime/default.nix b/pkgs/development/python-modules/flet-runtime/default.nix index 9ede80742df1..9f2a9a68de3d 100644 --- a/pkgs/development/python-modules/flet-runtime/default.nix +++ b/pkgs/development/python-modules/flet-runtime/default.nix @@ -10,13 +10,13 @@ buildPythonPackage rec { pname = "flet-runtime"; - version = "0.18.0"; + version = "0.19.0"; pyproject = true; src = fetchPypi { pname = "flet_runtime"; inherit version; - hash = "sha256-VfPTfCJXpRZsKM4ToFyl7zxbk58HT6eOYthfzAM4f88="; + hash = "sha256-no2oDGZG1svrOZLNAao279qeHwyk5SGibDG4UqpriiU="; }; nativeBuildInputs = [ From 5fed8db3544e0b55723a55eb1dc98d1093049d42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sat, 20 Jan 2024 21:09:44 -0800 Subject: [PATCH 37/53] python311Packages.flet: 0.18.0 -> 0.19.0 Changelog: https://github.com/flet-dev/flet/releases/tag/v0.19.0 --- pkgs/development/python-modules/flet/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/flet/default.nix b/pkgs/development/python-modules/flet/default.nix index aafc2f957ec0..1730e0515ce2 100644 --- a/pkgs/development/python-modules/flet/default.nix +++ b/pkgs/development/python-modules/flet/default.nix @@ -22,12 +22,12 @@ buildPythonPackage rec { pname = "flet"; - version = "0.18.0"; + version = "0.19.0"; pyproject = true; src = fetchPypi { inherit pname version; - hash = "sha256-ix9O4wBq7/gwkV+23B+dnxTYv/VL6w8RmnvbYWcWqmc="; + hash = "sha256-YpML/NIUiL1WYg6zR6l60nJ6KRBfjMOjRbPDdjhR3/Q="; }; nativeBuildInputs = [ From f2f0e24f7cde1fe4438bb0705af5f72b83acc872 Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Sun, 21 Jan 2024 07:18:46 +0100 Subject: [PATCH 38/53] qownnotes: do not inherit appname MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Robert Schütz --- pkgs/applications/office/qownnotes/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/office/qownnotes/default.nix b/pkgs/applications/office/qownnotes/default.nix index 09dbaa397b43..a61e58a86e4b 100644 --- a/pkgs/applications/office/qownnotes/default.nix +++ b/pkgs/applications/office/qownnotes/default.nix @@ -22,7 +22,7 @@ let version = "24.1.4"; in stdenv.mkDerivation { - inherit pname appname version; + inherit pname version; src = fetchurl { url = "https://github.com/pbek/QOwnNotes/releases/download/v${version}/qownnotes-${version}.tar.xz"; From 766f3b4485bb15725e7624dc3ce21d7d86d68e5d Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 21 Jan 2024 07:30:58 +0000 Subject: [PATCH 39/53] naabu: 2.2.0 -> 2.2.1 --- pkgs/tools/security/naabu/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/security/naabu/default.nix b/pkgs/tools/security/naabu/default.nix index 8569b957db2d..8b63ba4352a4 100644 --- a/pkgs/tools/security/naabu/default.nix +++ b/pkgs/tools/security/naabu/default.nix @@ -6,16 +6,16 @@ buildGoModule rec { pname = "naabu"; - version = "2.2.0"; + version = "2.2.1"; src = fetchFromGitHub { owner = "projectdiscovery"; repo = "naabu"; rev = "refs/tags/v${version}"; - hash = "sha256-he9SJ4lCFNV3DvwqYR7lcWPIPwLIpJDWWnnei069k1k="; + hash = "sha256-z81LL+tx15Zo6OWj4gRSodo7Dk763M+QQ5kYgjrWO3Q="; }; - vendorHash = "sha256-fVqPRDycT9ImBkHakNrby0uXPWrXXatTk8QQSi2OnV0="; + vendorHash = "sha256-nwrqxlbvr9FZXJpzmcn0IBEtlJfeYCy8DJsBvxEgj6k="; buildInputs = [ libpcap From 160098e6364b0bca1ae3142cc9b2b5cfbccd31eb Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 21 Jan 2024 08:05:23 +0000 Subject: [PATCH 40/53] php81Packages.php-cs-fixer: 3.45.0 -> 3.48.0 --- pkgs/development/php-packages/php-cs-fixer/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/php-packages/php-cs-fixer/default.nix b/pkgs/development/php-packages/php-cs-fixer/default.nix index f7cfd3967771..dadc4dfafa19 100644 --- a/pkgs/development/php-packages/php-cs-fixer/default.nix +++ b/pkgs/development/php-packages/php-cs-fixer/default.nix @@ -2,14 +2,14 @@ let pname = "php-cs-fixer"; - version = "3.45.0"; + version = "3.48.0"; in mkDerivation { inherit pname version; src = fetchurl { url = "https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases/download/v${version}/php-cs-fixer.phar"; - sha256 = "sha256-0i5ES1BfekNAOJuGQ4q9lqle/RS3YxgLt+CJa/Ow5/k="; + sha256 = "sha256-JPFZ297l83PqJv+yyzTN6DIKsk82MJuo9IEdMPPAPGM="; }; dontUnpack = true; From 722ecbcf1abbb1cf413ec36f828eeab4f6602ab7 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 21 Jan 2024 09:28:19 +0100 Subject: [PATCH 41/53] naabu: add ldflags --- pkgs/tools/security/naabu/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/tools/security/naabu/default.nix b/pkgs/tools/security/naabu/default.nix index 8b63ba4352a4..7d3981222f91 100644 --- a/pkgs/tools/security/naabu/default.nix +++ b/pkgs/tools/security/naabu/default.nix @@ -27,6 +27,11 @@ buildGoModule rec { "cmd/naabu/" ]; + ldflags = [ + "-w" + "-s" + ]; + meta = with lib; { description = "Fast SYN/CONNECT port scanner"; longDescription = '' From 988da3f5fc613d0ac1c161de616c639f3f9d8b88 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 21 Jan 2024 08:50:01 +0000 Subject: [PATCH 42/53] texlab: 5.12.1 -> 5.12.2 --- pkgs/development/tools/misc/texlab/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/misc/texlab/default.nix b/pkgs/development/tools/misc/texlab/default.nix index 9e6b2bb850f7..1eccff2694cb 100644 --- a/pkgs/development/tools/misc/texlab/default.nix +++ b/pkgs/development/tools/misc/texlab/default.nix @@ -15,16 +15,16 @@ let in rustPlatform.buildRustPackage rec { pname = "texlab"; - version = "5.12.1"; + version = "5.12.2"; src = fetchFromGitHub { owner = "latex-lsp"; repo = "texlab"; rev = "refs/tags/v${version}"; - hash = "sha256-/M6j33KNX4leLPJg6qLubejhjacXsd7NZ77wuGtdbw8="; + hash = "sha256-NEiUWMmJjhhK9XYbW1dla7iZJG4bdttbuSJmtO4f1UE="; }; - cargoHash = "sha256-xslsj5mE7NOZYVwuxJ06hZAUWS3mhgzrl73P47mjkTY="; + cargoHash = "sha256-OFgBBO4RZ7oS2da9cGIePnLhfFdHfW3FdOT0B8bNC3g="; outputs = [ "out" ] ++ lib.optional (!isCross) "man"; From 111c638ea232197b1e2db7727988636517f2b207 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 21 Jan 2024 09:00:11 +0000 Subject: [PATCH 43/53] cloudhunter: 0.7.0 -> 0.7.1 --- pkgs/tools/security/cloudhunter/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/security/cloudhunter/default.nix b/pkgs/tools/security/cloudhunter/default.nix index 109bd5a9df7a..206879d53759 100644 --- a/pkgs/tools/security/cloudhunter/default.nix +++ b/pkgs/tools/security/cloudhunter/default.nix @@ -5,14 +5,14 @@ python3.pkgs.buildPythonApplication rec { pname = "cloudhunter"; - version = "0.7.0"; + version = "0.7.1"; format = "other"; src = fetchFromGitHub { owner = "belane"; repo = "CloudHunter"; rev = "refs/tags/v${version}"; - hash = "sha256-yRl3x1dboOcoPeKxpUEhDk8OJx1hynEJRHL9/Su8OyA="; + hash = "sha256-7iT4vr0kcNXEyJJdBbJsllIcbZRGY3T5t/FjEONkuq0="; }; postPatch = '' From b3ef821c72c1a6caecbf5b12e269f3797e7e5f0c Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 21 Jan 2024 10:46:49 +0100 Subject: [PATCH 44/53] keepwn: refactor --- pkgs/tools/security/keepwn/default.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/security/keepwn/default.nix b/pkgs/tools/security/keepwn/default.nix index 8ce5ea4c5235..bb856c80710b 100644 --- a/pkgs/tools/security/keepwn/default.nix +++ b/pkgs/tools/security/keepwn/default.nix @@ -7,7 +7,7 @@ python3.pkgs.buildPythonApplication rec { pname = "keepwn"; version = "0.3"; - format = "setuptools"; + pyproject = true; src = fetchFromGitHub { owner = "Orange-Cyberdefense"; @@ -16,10 +16,17 @@ python3.pkgs.buildPythonApplication rec { hash = "sha256-haKWuoTtyC9vIise+gznruHEwMIDz1W6euihLLKnSdc="; }; + nativeBuildInputs = with python3.pkgs; [ + setuptools + ]; + propagatedBuildInputs = with python3.pkgs; [ chardet impacket lxml + pefile + pykeepass + python-magic termcolor ]; From 0f626e57caa36cd03f4802362bbbac97ec86523f Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 21 Jan 2024 10:50:57 +0100 Subject: [PATCH 45/53] pur: refactor --- pkgs/development/tools/pur/default.nix | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/pkgs/development/tools/pur/default.nix b/pkgs/development/tools/pur/default.nix index 27ef19881ea2..9f8527b34765 100644 --- a/pkgs/development/tools/pur/default.nix +++ b/pkgs/development/tools/pur/default.nix @@ -6,6 +6,7 @@ python3.pkgs.buildPythonApplication rec { pname = "pur"; version = "7.3.1"; + format = "setuptools"; src = fetchFromGitHub { owner = "alanhamlett"; @@ -14,19 +15,22 @@ python3.pkgs.buildPythonApplication rec { hash = "sha256-W6otdj1C3Nn3DUvwp9MPqMo2y4ITqgYrqlW/uxIj2YA="; }; - propagatedBuildInputs = [ - python3.pkgs.click + propagatedBuildInputs = with python3.pkgs; [ + click ]; - nativeCheckInputs = [ - python3.pkgs.pytestCheckHook + nativeCheckInputs = with python3.pkgs; [ + pytestCheckHook ]; - pythonImportsCheck = [ "pur" ]; + pythonImportsCheck = [ + "pur" + ]; meta = with lib; { description = "Python library for update and track the requirements"; homepage = "https://github.com/alanhamlett/pip-update-requirements"; + changelog = "https://github.com/alanhamlett/pip-update-requirements/blob/${version}/HISTORY.rst"; license = with licenses; [ bsd2 ]; maintainers = with maintainers; [ fab ]; }; From 4dee73eeb979de564d76a4467ab711ea6f7ab0f2 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 21 Jan 2024 10:52:45 +0100 Subject: [PATCH 46/53] python312Packages.types-awscrt: 0.20.0 -> 0.20.2 Changelog: https://github.com/youtype/types-awscrt/releases/tag/0.20.2 --- pkgs/development/python-modules/types-awscrt/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/types-awscrt/default.nix b/pkgs/development/python-modules/types-awscrt/default.nix index d35cfcc2afe9..63fc7400878f 100644 --- a/pkgs/development/python-modules/types-awscrt/default.nix +++ b/pkgs/development/python-modules/types-awscrt/default.nix @@ -7,7 +7,7 @@ buildPythonPackage rec { pname = "types-awscrt"; - version = "0.20.0"; + version = "0.20.2"; pyproject = true; disabled = pythonOlder "3.7"; @@ -15,7 +15,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "types_awscrt"; inherit version; - hash = "sha256-mXeMlS4erhDMelNGhBMAEXcCbJQ0NFvwASC7LqW3kQk="; + hash = "sha256-XimYakrTlorD2CyqhdZo08ZiJMnueL4/5kvOMNrnt5g="; }; nativeBuildInputs = [ From 382ad3858a34c3854723498fe2ab93a3b65a8511 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 21 Jan 2024 10:54:12 +0100 Subject: [PATCH 47/53] python311Packages.simplisafe-python: 2023.12.0 -> 2024.01.0 Diff: https://github.com/bachya/simplisafe-python/compare/refs/tags/2023.12.0...2024.01.0 Changelog: https://github.com/bachya/simplisafe-python/releases/tag/2024.01.0 --- pkgs/development/python-modules/simplisafe-python/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/simplisafe-python/default.nix b/pkgs/development/python-modules/simplisafe-python/default.nix index 59a24e96feb0..f417a5f6368d 100644 --- a/pkgs/development/python-modules/simplisafe-python/default.nix +++ b/pkgs/development/python-modules/simplisafe-python/default.nix @@ -20,7 +20,7 @@ buildPythonPackage rec { pname = "simplisafe-python"; - version = "2023.12.0"; + version = "2024.01.0"; pyproject = true; disabled = pythonOlder "3.10"; @@ -29,7 +29,7 @@ buildPythonPackage rec { owner = "bachya"; repo = "simplisafe-python"; rev = "refs/tags/${version}"; - hash = "sha256-Nr4HvjIOLk/WMKCjj/ZX67OBSImRhs9SfZtLjFs81Sk="; + hash = "sha256-ewbR2FI0t2F8HF0ZL5omsclB9OPAjHygGLPtSkVlvgM="; }; From a24b376bf347bd574c0c028b0e7637b3d506c5d8 Mon Sep 17 00:00:00 2001 From: Thomas Gerbet Date: Tue, 16 Jan 2024 19:38:47 +0100 Subject: [PATCH 48/53] libnbd: 1.18.1 -> 1.18.2 Changes: https://gitlab.com/nbdkit/libnbd/-/commits/v1.18.2/?ref_type=tags --- pkgs/development/libraries/libnbd/default.nix | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/pkgs/development/libraries/libnbd/default.nix b/pkgs/development/libraries/libnbd/default.nix index ff90c9b116ad..5889c8ef12d5 100644 --- a/pkgs/development/libraries/libnbd/default.nix +++ b/pkgs/development/libraries/libnbd/default.nix @@ -1,7 +1,6 @@ { lib , stdenv , fetchurl -, fetchpatch , bash-completion , pkg-config , perl @@ -13,21 +12,13 @@ stdenv.mkDerivation rec { pname = "libnbd"; - version = "1.18.1"; + version = "1.18.2"; src = fetchurl { url = "https://download.libguestfs.org/libnbd/${lib.versions.majorMinor version}-stable/${pname}-${version}.tar.gz"; - hash = "sha256-UNHRphDw1ycRnp0KClzHlSuLIxs5Mc4gcjB+EF/smbY="; + hash = "sha256-OYtNHAIGgwJuapoJNEMVkurUK9bQ7KO+V223bGC0TFI="; }; - patches = [ - (fetchpatch { - name = "CVE-2023-5871.patch"; - url = "https://gitlab.com/nbdkit/libnbd/-/commit/4451e5b61ca07771ceef3e012223779e7a0c7701.patch"; - hash = "sha256-zmg/kxSJtjp2w9917Sp33ezt7Ccj/inngzCUVesF1Tc="; - }) - ]; - nativeBuildInputs = [ bash-completion pkg-config From 0f9615ef9e70a46698076ac1b5c3cd0f7913c0c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Na=C3=AFm=20Favier?= Date: Sun, 21 Jan 2024 11:09:32 +0100 Subject: [PATCH 49/53] weechat-unwrapped: 4.1.3 -> 4.2.0 https://github.com/weechat/weechat/releases/tag/v4.2.0 --- pkgs/applications/networking/irc/weechat/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/irc/weechat/default.nix b/pkgs/applications/networking/irc/weechat/default.nix index f32fbcdfbca2..108c6848ed27 100644 --- a/pkgs/applications/networking/irc/weechat/default.nix +++ b/pkgs/applications/networking/irc/weechat/default.nix @@ -36,14 +36,14 @@ let in assert lib.all (p: p.enabled -> ! (builtins.elem null p.buildInputs)) plugins; stdenv.mkDerivation rec { - version = "4.1.3"; + version = "4.2.0"; pname = "weechat"; hardeningEnable = [ "pie" ]; src = fetchurl { url = "https://weechat.org/files/src/weechat-${version}.tar.xz"; - hash = "sha256-2x5XvXeG1mhZZm0wawZGuq0zcjgxmgBTYq0NeGFXEO8="; + hash = "sha256-Mvam8hP7Y025MeKrjwGtuam1Dnf6ocUsoRbvoyBXWko="; }; # Why is this needed? https://github.com/weechat/weechat/issues/2031 From 9b51929ee926d2ac6355ffd3b3b253c365f78c17 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 21 Jan 2024 10:32:24 +0000 Subject: [PATCH 50/53] roundcube: 1.6.5 -> 1.6.6 --- pkgs/servers/roundcube/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/roundcube/default.nix b/pkgs/servers/roundcube/default.nix index 959c9bf4633e..8e037e13497a 100644 --- a/pkgs/servers/roundcube/default.nix +++ b/pkgs/servers/roundcube/default.nix @@ -2,11 +2,11 @@ stdenv.mkDerivation rec { pname = "roundcube"; - version = "1.6.5"; + version = "1.6.6"; src = fetchurl { url = "https://github.com/roundcube/roundcubemail/releases/download/${version}/roundcubemail-${version}-complete.tar.gz"; - sha256 = "sha256-Fktyy3jeidEEdB7pCQ9AJOY7+tpDlJA0hENl8/pwtf0="; + sha256 = "sha256-wbk6Ptvil0VzlrCgMdixPIpdwwyTcHBN+5ssEiUBfVI="; }; patches = [ ./0001-Don-t-resolve-symlinks-when-trying-to-find-INSTALL_P.patch ]; From 7f3590412b146e661e83587b7537bb3d3cc56b20 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 21 Jan 2024 05:41:39 +0000 Subject: [PATCH 51/53] ov: 0.33.0 -> 0.33.1 --- pkgs/tools/text/ov/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/text/ov/default.nix b/pkgs/tools/text/ov/default.nix index c68d51b1e21c..c801bca711dd 100644 --- a/pkgs/tools/text/ov/default.nix +++ b/pkgs/tools/text/ov/default.nix @@ -10,16 +10,16 @@ buildGoModule rec { pname = "ov"; - version = "0.33.0"; + version = "0.33.1"; src = fetchFromGitHub { owner = "noborus"; repo = "ov"; rev = "refs/tags/v${version}"; - hash = "sha256-UD8YKhdoMAtKTC2KEMEamjgOZb3rv1SU9eXZg/zjYTY="; + hash = "sha256-ub6BPasgJcEeYsmlYKCToEQ70RV17Uq8OSM0XB1e1yg="; }; - vendorHash = "sha256-T40hnlYhJ3lhrQW7iFBQCGUNblSSYtL8jNw0rPRy/Aw="; + vendorHash = "sha256-/S7YKIwuZyQBGIbcPt/ffv8Vx6vzXsk/fDRCIXANPTE="; ldflags = [ "-s" From 3ac135b6a9bd9a606a7057e0c10b017f7ba11ed6 Mon Sep 17 00:00:00 2001 From: Mathieu Rene Date: Sat, 20 Jan 2024 18:10:20 -0500 Subject: [PATCH 52/53] buf: 1.27.0 -> 1.28.1 --- pkgs/development/tools/buf/default.nix | 11 ++++---- .../tools/buf/skip_broken_tests.patch | 28 +++++++++++++++++++ .../buf/skip_test_requiring_network.patch | 15 ---------- 3 files changed, 34 insertions(+), 20 deletions(-) create mode 100644 pkgs/development/tools/buf/skip_broken_tests.patch delete mode 100644 pkgs/development/tools/buf/skip_test_requiring_network.patch diff --git a/pkgs/development/tools/buf/default.nix b/pkgs/development/tools/buf/default.nix index 5a1a1508b42e..530c2609c135 100644 --- a/pkgs/development/tools/buf/default.nix +++ b/pkgs/development/tools/buf/default.nix @@ -10,20 +10,21 @@ buildGoModule rec { pname = "buf"; - version = "1.27.0"; + version = "1.28.1"; src = fetchFromGitHub { owner = "bufbuild"; repo = pname; rev = "v${version}"; - hash = "sha256-QBU04/w7Z8yaTzDqhiVcxC8xEuDpDJs7rNRpOtwodGg="; + hash = "sha256-wFUSf3+EZa1pzpKci4dPa9MVfNk5XQHraUFcoiTd/0Q="; }; - vendorHash = "sha256-4JSmn/TUojZjCQMZCgJic0y84VMP26J7uBybB5/BCoE="; + vendorHash = "sha256-REAU2FoEYWRYlPQel6oDLLdhbJOiGRaWZO6inefSd3M="; patches = [ - # Skip a test that requires networking to be available to work. - ./skip_test_requiring_network.patch + # Skip a test that requires networking to be available to work, + # and a test which requires the source checkout to be part of a git repository + ./skip_broken_tests.patch ]; nativeBuildInputs = [ installShellFiles ]; diff --git a/pkgs/development/tools/buf/skip_broken_tests.patch b/pkgs/development/tools/buf/skip_broken_tests.patch new file mode 100644 index 000000000000..c25f8c8c9304 --- /dev/null +++ b/pkgs/development/tools/buf/skip_broken_tests.patch @@ -0,0 +1,28 @@ +diff --git a/private/buf/cmd/buf/workspace_unix_test.go b/private/buf/cmd/buf/workspace_unix_test.go +index 22c84385..22548555 100644 +--- a/private/buf/cmd/buf/workspace_unix_test.go ++++ b/private/buf/cmd/buf/workspace_unix_test.go +@@ -93,6 +93,8 @@ func TestWorkspaceAbsoluteFail(t *testing.T) { + // Workflow run: https://github.com/bufbuild/buf/actions/runs/6510804063/job/17685247791. + // Potential fix: https://stackoverflow.com/questions/22575662/filename-too-long-in-git-for-windows. + func TestWorkspaceGit(t *testing.T) { ++ // Fails because the source checkout is not part of a git repository while building with nix ++ t.Skip() + // Directory paths specified as a git reference within a workspace. + t.Parallel() + testRunStdout( +diff --git a/private/bufpkg/buftesting/buftesting.go b/private/bufpkg/buftesting/buftesting.go +index d9e1fdc6..6e08c439 100644 +--- a/private/bufpkg/buftesting/buftesting.go ++++ b/private/bufpkg/buftesting/buftesting.go +@@ -104,6 +104,10 @@ func RunActualProtoc( + + // GetGoogleapisDirPath gets the path to a clone of googleapis. + func GetGoogleapisDirPath(t *testing.T, buftestingDirPath string) string { ++ // Requires network access, which is not available during ++ // the nixpkgs sandboxed build ++ t.Skip() ++ + googleapisDirPath := filepath.Join(buftestingDirPath, testGoogleapisDirPath) + require.NoError( + t, diff --git a/pkgs/development/tools/buf/skip_test_requiring_network.patch b/pkgs/development/tools/buf/skip_test_requiring_network.patch deleted file mode 100644 index 1b0cdfb12c03..000000000000 --- a/pkgs/development/tools/buf/skip_test_requiring_network.patch +++ /dev/null @@ -1,15 +0,0 @@ -diff --git a/private/bufpkg/buftesting/buftesting.go b/private/bufpkg/buftesting/buftesting.go -index 82b3ec4..ef8263a 100644 ---- a/private/bufpkg/buftesting/buftesting.go -+++ b/private/bufpkg/buftesting/buftesting.go -@@ -99,6 +99,10 @@ func RunActualProtoc( - - // GetGoogleapisDirPath gets the path to a clone of googleapis. - func GetGoogleapisDirPath(t *testing.T, buftestingDirPath string) string { -+ // Requires network access, which is not available during -+ // the nixpkgs sandboxed build -+ t.Skip() -+ - googleapisDirPath := filepath.Join(buftestingDirPath, testGoogleapisDirPath) - require.NoError( - t, From 61569a336101c7e625af8a0da949604a415d01b5 Mon Sep 17 00:00:00 2001 From: Austin Horstman Date: Sat, 20 Jan 2024 16:12:24 -0500 Subject: [PATCH 53/53] fastfetch: 2.6.0 -> 2.6.1 --- pkgs/tools/misc/fastfetch/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/misc/fastfetch/default.nix b/pkgs/tools/misc/fastfetch/default.nix index a180784b498a..d7562da9cd42 100644 --- a/pkgs/tools/misc/fastfetch/default.nix +++ b/pkgs/tools/misc/fastfetch/default.nix @@ -32,13 +32,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "fastfetch"; - version = "2.6.0"; + version = "2.6.1"; src = fetchFromGitHub { owner = "fastfetch-cli"; repo = "fastfetch"; rev = finalAttrs.version; - hash = "sha256-cjNVN/2N/CiItsysZFJNL0mqXL6B86BihjDJ7IwD1a4="; + hash = "sha256-XxQtAEGQEnwX3ks1ukAfDrGvgFfFjwe2XdF6uQViRjc="; }; nativeBuildInputs = [