From ab391719c222c4b60ce5671faabd1bd9da436e6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stanis=C5=82aw=20Pitucha?= Date: Tue, 23 May 2023 20:58:03 +1000 Subject: [PATCH 01/30] libfilezilla: fix darwin intel build New SDK is required to support utimens --- pkgs/development/libraries/libfilezilla/default.nix | 4 ++++ pkgs/top-level/all-packages.nix | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/libfilezilla/default.nix b/pkgs/development/libraries/libfilezilla/default.nix index 67b49b55c7d7..3eb9fad6336f 100644 --- a/pkgs/development/libraries/libfilezilla/default.nix +++ b/pkgs/development/libraries/libfilezilla/default.nix @@ -24,6 +24,10 @@ stdenv.mkDerivation rec { buildInputs = [ gettext gnutls nettle libxcrypt ] ++ lib.optionals stdenv.isDarwin [ libiconv ApplicationServices ]; + preBuild = lib.optionalString (stdenv.isDarwin && lib.versionOlder stdenv.hostPlatform.darwinMinVersion "11") '' + export MACOSX_DEPLOYMENT_TARGET=10.13 # for futimens() + ''; + enableParallelBuilding = true; meta = with lib; { diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 146c63597b6d..c7caa84a988e 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -22204,8 +22204,8 @@ with pkgs; udev = systemdMinimal; }; - libfilezilla = callPackage ../development/libraries/libfilezilla { - inherit (darwin.apple_sdk.frameworks) ApplicationServices; + libfilezilla = darwin.apple_sdk_11_0.callPackage ../development/libraries/libfilezilla { + inherit (darwin.apple_sdk_11_0.frameworks) ApplicationServices; }; libfishsound = callPackage ../development/libraries/libfishsound { }; From 4bf6287811d5dbedd33f50d6a6544724ef3422e5 Mon Sep 17 00:00:00 2001 From: Nikolay Korotkiy Date: Wed, 19 Jul 2023 21:32:45 +0400 Subject: [PATCH 02/30] dq: init at 20230101 --- pkgs/tools/networking/dq/default.nix | 33 ++++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 35 insertions(+) create mode 100644 pkgs/tools/networking/dq/default.nix diff --git a/pkgs/tools/networking/dq/default.nix b/pkgs/tools/networking/dq/default.nix new file mode 100644 index 000000000000..e166a19ce4dd --- /dev/null +++ b/pkgs/tools/networking/dq/default.nix @@ -0,0 +1,33 @@ +{ lib, stdenv, fetchFromGitHub, installShellFiles }: + +stdenv.mkDerivation rec { + pname = "dq"; + version = "20230101"; + + src = fetchFromGitHub { + owner = "janmojzis"; + repo = "dq"; + rev = "refs/tags/${version}"; + hash = "sha256-K96yOonOYSsz26Bf/vx9XtWs7xyY0Dpxdd55OMbQz8k="; + }; + + nativeBuildInputs = [ installShellFiles ]; + + installPhase = '' + runHook preInstall + + install -Dm755 dq dqcache dqcache-makekey dqcache-start -t $out/bin + installManPage man/* + + runHook postInstall + ''; + + meta = with lib; { + description = "Recursive DNS/DNSCurve server and comandline tool"; + homepage = "https://github.com/janmojzis/dq"; + changelog = "https://github.com/janmojzis/dq/releases/tag/${version}"; + license = licenses.cc0; + platforms = platforms.unix; + maintainers = with maintainers; [ sikmir ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 480ec1d8b11d..c3a2ad46c67e 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7206,6 +7206,8 @@ with pkgs; doggo = callPackage ../tools/networking/doggo { }; + dq = callPackage ../tools/networking/dq { }; + dool = callPackage ../tools/system/dool { }; dosfstools = callPackage ../tools/filesystems/dosfstools { }; From bf388d55142f320b67accf14ff7103c370397515 Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Wed, 2 Aug 2023 12:30:10 +0200 Subject: [PATCH 03/30] haskell.compiler.ghc*Binary: make sure meta can always be evaluated The `meta` set of the binary GHCs is mostly independent of the used bindist (except for `pname` which includes `variantSuffix`). Thus we should make sure it can be evaluated even if no bindist is available for the platform, i.e. evaluating `outPath` may cause an evaluation failure, but `meta.platforms` not. Use case at present is to make `lib.meta.availableOn` work everywhere for any GHC (the normal GHCs inherit their platforms list from their respective boot compiler, at least for now). To fix this we need to make sure that shallowly evaluating `passthru` doesn't force `binDistUsed`, since `mkDerivation` needs to merge `passthru` into the resulting derivation attribute set, thus forcing the attribute names of `passthru`. We can easily do this by accessing what we want to learn from `ghcBinDists` manually and using `or` to fall back to a sensible default. --- pkgs/development/compilers/ghc/8.10.2-binary.nix | 5 ++++- pkgs/development/compilers/ghc/8.10.7-binary.nix | 5 ++++- pkgs/development/compilers/ghc/9.2.4-binary.nix | 5 ++++- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/pkgs/development/compilers/ghc/8.10.2-binary.nix b/pkgs/development/compilers/ghc/8.10.2-binary.nix index 41461a26d425..368bc76bf0e2 100644 --- a/pkgs/development/compilers/ghc/8.10.2-binary.nix +++ b/pkgs/development/compilers/ghc/8.10.2-binary.nix @@ -421,7 +421,10 @@ stdenv.mkDerivation rec { # Our Cabal compiler name haskellCompilerName = "ghc-${version}"; - } // lib.optionalAttrs (binDistUsed.isHadrian or false) { + } + # We duplicate binDistUsed here since we have a sensible default even if no bindist is avaible, + # this makes sure that getting the `meta` attribute doesn't throw even on unsupported platforms. + // lib.optionalAttrs (ghcBinDists.${distSetName}.${stdenv.hostPlatform.system}.isHadrian or false) { # Normal GHC derivations expose the hadrian derivation used to build them # here. In the case of bindists we just make sure that the attribute exists, # as it is used for checking if a GHC derivation has been built with hadrian. diff --git a/pkgs/development/compilers/ghc/8.10.7-binary.nix b/pkgs/development/compilers/ghc/8.10.7-binary.nix index 22552fa67fb2..73ce0c918574 100644 --- a/pkgs/development/compilers/ghc/8.10.7-binary.nix +++ b/pkgs/development/compilers/ghc/8.10.7-binary.nix @@ -417,7 +417,10 @@ stdenv.mkDerivation rec { # Our Cabal compiler name haskellCompilerName = "ghc-${version}"; - } // lib.optionalAttrs (binDistUsed.isHadrian or false) { + } + # We duplicate binDistUsed here since we have a sensible default even if no bindist is avaible, + # this makes sure that getting the `meta` attribute doesn't throw even on unsupported platforms. + // lib.optionalAttrs (ghcBinDists.${distSetName}.${stdenv.hostPlatform.system}.isHadrian or false) { # Normal GHC derivations expose the hadrian derivation used to build them # here. In the case of bindists we just make sure that the attribute exists, # as it is used for checking if a GHC derivation has been built with hadrian. diff --git a/pkgs/development/compilers/ghc/9.2.4-binary.nix b/pkgs/development/compilers/ghc/9.2.4-binary.nix index 79b006ce5537..93380fd14519 100644 --- a/pkgs/development/compilers/ghc/9.2.4-binary.nix +++ b/pkgs/development/compilers/ghc/9.2.4-binary.nix @@ -403,7 +403,10 @@ stdenv.mkDerivation rec { # Our Cabal compiler name haskellCompilerName = "ghc-${version}"; - } // lib.optionalAttrs (binDistUsed.isHadrian or false) { + } + # We duplicate binDistUsed here since we have a sensible default even if no bindist is avaible, + # this makes sure that getting the `meta` attribute doesn't throw even on unsupported platforms. + // lib.optionalAttrs (ghcBinDists.${distSetName}.${stdenv.hostPlatform.system}.isHadrian or false) { # Normal GHC derivations expose the hadrian derivation used to build them # here. In the case of bindists we just make sure that the attribute exists, # as it is used for checking if a GHC derivation has been built with hadrian. From e9ebcec3b699c3d5f2a04a998a969d7a63b9ec8a Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Wed, 2 Aug 2023 22:37:53 +0100 Subject: [PATCH 04/30] whois: 5.5.17 -> 5.5.18 Changes: https://github.com/rfc1036/whois/compare/v5.5.17...v5.5.18 --- pkgs/tools/networking/whois/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/networking/whois/default.nix b/pkgs/tools/networking/whois/default.nix index f4fa1e9c475e..20c6c5e36525 100644 --- a/pkgs/tools/networking/whois/default.nix +++ b/pkgs/tools/networking/whois/default.nix @@ -1,14 +1,14 @@ { lib, stdenv, fetchFromGitHub, perl, gettext, pkg-config, libidn2, libiconv }: stdenv.mkDerivation rec { - version = "5.5.17"; + version = "5.5.18"; pname = "whois"; src = fetchFromGitHub { owner = "rfc1036"; repo = "whois"; rev = "v${version}"; - sha256 = "sha256-Nqnbi2nS95nzyzFNdahSKY/Om30sZXRJhoCSrzRiD9c="; + hash = "sha256-KHOKjblyCP1GykQehmxSKf7vP52wRRH6oz9WbE9fbCk="; }; nativeBuildInputs = [ perl gettext pkg-config ]; From 1b49a05df5c6a16f89ed8439560eb14108d306a5 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 2 Aug 2023 22:26:22 +0000 Subject: [PATCH 05/30] python310Packages.pyro-ppl: 1.8.5 -> 1.8.6 --- pkgs/development/python-modules/pyro-ppl/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pyro-ppl/default.nix b/pkgs/development/python-modules/pyro-ppl/default.nix index b036842dc166..9dbd71e83acf 100644 --- a/pkgs/development/python-modules/pyro-ppl/default.nix +++ b/pkgs/development/python-modules/pyro-ppl/default.nix @@ -20,14 +20,14 @@ buildPythonPackage rec { pname = "pyro-ppl"; - version = "1.8.5"; + version = "1.8.6"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit version pname; - hash = "sha256-wqwDWZWHT0rbjQfJKqRZT+eD/94WFKWczl4uDZzxkzQ="; + hash = "sha256-ANL03ailPmbZVRJNxuSektz1cM071waCUJHbdk2TzQc="; }; propagatedBuildInputs = [ From 873a86a94d46c7dfc3ae7cf044e6ef39fbc491eb Mon Sep 17 00:00:00 2001 From: StepBroBD Date: Wed, 2 Aug 2023 21:58:15 -0600 Subject: [PATCH 06/30] aldente: 1.22 -> 1.22.2 --- pkgs/os-specific/darwin/aldente/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/darwin/aldente/default.nix b/pkgs/os-specific/darwin/aldente/default.nix index f703fd6df102..6dd464a405f0 100644 --- a/pkgs/os-specific/darwin/aldente/default.nix +++ b/pkgs/os-specific/darwin/aldente/default.nix @@ -6,11 +6,11 @@ stdenvNoCC.mkDerivation (finalAttrs: { pname = "aldente"; - version = "1.22"; + version = "1.22.2"; src = fetchurl { url = "https://github.com/davidwernhart/aldente-charge-limiter/releases/download/${finalAttrs.version}/AlDente.dmg"; - hash = "sha256-y8S9SCDbvoKGtNqGQvJDSpbLhh7GqXUo7pLcMzuCnjo="; + hash = "sha256-bREI0RS4xvEccyw3yed5aD8oG5wmD5hyG82qW2tqlEA="; }; dontBuild = true; From c0754f9035d4d95d186a3a77a2be59eaf1320d5f Mon Sep 17 00:00:00 2001 From: Theodore Ni <3806110+tjni@users.noreply.github.com> Date: Thu, 3 Aug 2023 00:55:36 -0700 Subject: [PATCH 07/30] bun: add bunx cli This is just a symlink to bun, which detects it's being run as bunx by checking argv. --- pkgs/development/web/bun/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/web/bun/default.nix b/pkgs/development/web/bun/default.nix index 6eacf78e56ab..74d98174bc26 100644 --- a/pkgs/development/web/bun/default.nix +++ b/pkgs/development/web/bun/default.nix @@ -25,7 +25,10 @@ stdenvNoCC.mkDerivation rec { installPhase = '' runHook preInstall + install -Dm 755 ./bun $out/bin/bun + ln -s $out/bin/bun $out/bin/bunx + runHook postInstall ''; passthru = { From 4d733a4ef143a228edf599c32109700d375dd556 Mon Sep 17 00:00:00 2001 From: kilianar Date: Thu, 3 Aug 2023 10:28:46 +0200 Subject: [PATCH 08/30] fava: 1.25 -> 1.25.1 https://github.com/beancount/fava/releases/tag/v1.25.1 --- pkgs/applications/office/fava/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/office/fava/default.nix b/pkgs/applications/office/fava/default.nix index 78062ab7870c..77e27feb955b 100644 --- a/pkgs/applications/office/fava/default.nix +++ b/pkgs/applications/office/fava/default.nix @@ -2,12 +2,12 @@ python3.pkgs.buildPythonApplication rec { pname = "fava"; - version = "1.25"; + version = "1.25.1"; format = "pyproject"; src = fetchPypi { inherit pname version; - hash = "sha256-3SxFvvYZupYOsQU/n+zq3hamyWaaN9guoiV8km9mHjM="; + hash = "sha256-RJbPqj6hXqf8D5G8zrg0BAYfxSRDfUgRNGwX+LZlPPY="; }; nativeBuildInputs = with python3.pkgs; [ setuptools-scm ]; From 5ce95dea9c57a6635b82183a75eb28fa2bd3b799 Mon Sep 17 00:00:00 2001 From: Theodore Ni <3806110+tjni@users.noreply.github.com> Date: Fri, 28 Jul 2023 23:26:48 -0700 Subject: [PATCH 09/30] python3.pkgs.ancp-bids: depend on wheel explicitly --- .../python-modules/ancp-bids/default.nix | 34 +++++++++++++++---- 1 file changed, 27 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/ancp-bids/default.nix b/pkgs/development/python-modules/ancp-bids/default.nix index c23635e722c3..366b00e9c6e0 100644 --- a/pkgs/development/python-modules/ancp-bids/default.nix +++ b/pkgs/development/python-modules/ancp-bids/default.nix @@ -1,9 +1,11 @@ { lib , buildPythonPackage , fetchFromGitHub +, fetchpatch , pythonOlder , pytestCheckHook , setuptools +, wheel , numpy , pandas }: @@ -11,25 +13,43 @@ buildPythonPackage rec { pname = "ancp-bids"; version = "0.2.1"; - disabled = pythonOlder "3.7"; format = "pyproject"; + disabled = pythonOlder "3.7"; # `tests/data` dir missing from PyPI dist src = fetchFromGitHub { - owner = "ANCPLabOldenburg"; - repo = pname; - rev = "refs/tags/${version}"; - hash = "sha256-Nu9pulVSZysgm/F7jl+VpoqMCiHeysZjQDQ1dT7AnpE="; + owner = "ANCPLabOldenburg"; + repo = pname; + rev = "refs/tags/${version}"; + hash = "sha256-Nu9pulVSZysgm/F7jl+VpoqMCiHeysZjQDQ1dT7AnpE="; }; - nativeBuildInputs = [ setuptools ] ; + patches = [ + # https://github.com/ANCPLabOldenburg/ancp-bids/pull/78 + (fetchpatch { + name = "unpin-wheel-build-dependency.patch"; + url = "https://github.com/ANCPLabOldenburg/ancp-bids/commit/6e7a0733002845aacb0152c5aacfb42054a9b65e.patch"; + hash = "sha256-WbQRwb8Wew46OJu+zo7n4qBtgtH/Lr6x3YHAyN9ko9M="; + }) + ]; + + nativeBuildInputs = [ + setuptools + wheel + ]; + + nativeCheckInputs = [ + numpy + pandas + pytestCheckHook + ]; - checkInputs = [ numpy pandas pytestCheckHook ]; pythonImportsCheck = [ "ancpbids" ]; pytestFlagsArray = [ "tests/auto" ]; + disabledTests = [ "test_fetch_dataset" ]; meta = with lib; { From 4d6f81debf60909696de5798955db0dd3478087f Mon Sep 17 00:00:00 2001 From: Francesco Gazzetta Date: Tue, 1 Aug 2023 12:34:52 +0200 Subject: [PATCH 10/30] domination: 1.2.7 -> 1.2.8 Source for rev 2433 corresponding to 1.2.8 is https://discord.com/channels/809801422987067404/809801423482650627/1136445014671626360 --- pkgs/games/domination/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/games/domination/default.nix b/pkgs/games/domination/default.nix index 30fc870b25db..6d1186f5977d 100644 --- a/pkgs/games/domination/default.nix +++ b/pkgs/games/domination/default.nix @@ -26,7 +26,7 @@ let in stdenv.mkDerivation { pname = "domination"; - version = "1.2.7"; + version = "1.2.8"; # The .zip releases do not contain the build.xml file src = fetchsvn { @@ -34,8 +34,8 @@ in stdenv.mkDerivation { # There are no tags in the repository. # Look for commits like "new version x.y.z info on website" # or "website update for x.y.z". - rev = "2261"; - sha256 = "sha256-xvlPC7M6DaF3g2O3vQDmcdp7914qOaiikY02RTgAVkM="; + rev = "2433"; + hash = "sha256-QvDNsYpEXQnAuXNVi+73HoNFGUc5cyzyEwT0m91y1rk="; }; nativeBuildInputs = [ From 0494e7c9abac71beca39a8a48528bfee432f29a0 Mon Sep 17 00:00:00 2001 From: Theodore Ni <3806110+tjni@users.noreply.github.com> Date: Thu, 3 Aug 2023 08:09:25 -0700 Subject: [PATCH 11/30] gitoxide: 0.27.0 -> 0.28.0 --- .../applications/version-management/gitoxide/default.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pkgs/applications/version-management/gitoxide/default.nix b/pkgs/applications/version-management/gitoxide/default.nix index bf04b2424f05..3863962fc51d 100644 --- a/pkgs/applications/version-management/gitoxide/default.nix +++ b/pkgs/applications/version-management/gitoxide/default.nix @@ -13,24 +13,25 @@ rustPlatform.buildRustPackage rec { pname = "gitoxide"; - version = "0.27.0"; + version = "0.28.0"; src = fetchFromGitHub { owner = "Byron"; repo = "gitoxide"; rev = "v${version}"; - sha256 = "sha256-L5x27rJ9Y3K886OlTvCXV2LY+6L/f6vokCbgrWPCiHY="; + hash = "sha256-7iJx7kE606jeaokROmOSoh0egCQUgYwvg8BAA3y1BGs="; }; - cargoHash = "sha256-YEHHu9PJ5aJvWUaTXCNKEaV/Rd8lP6Wub/CFJCBykHU="; + cargoHash = "sha256-zChqIA/KuS1aBs/g1tlymGvvJeljKMMCODijPhQYy40="; nativeBuildInputs = [ cmake pkg-config ]; + buildInputs = [ curl ] ++ (if stdenv.isDarwin then [ libiconv Security SystemConfiguration ] else [ openssl ]); # Needed to get openssl-sys to use pkg-config. - OPENSSL_NO_VENDOR = 1; + env.OPENSSL_NO_VENDOR = 1; meta = with lib; { description = "A command-line application for interacting with git repositories"; From ff12e3997529f7198b786724140345902696043d Mon Sep 17 00:00:00 2001 From: networkException Date: Fri, 4 Aug 2023 17:33:19 +0200 Subject: [PATCH 12/30] ungoogled-chromium: 115.0.5790.110 -> 115.0.5790.170 --- .../networking/browsers/chromium/upstream-info.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/applications/networking/browsers/chromium/upstream-info.nix b/pkgs/applications/networking/browsers/chromium/upstream-info.nix index 5bf8819390da..a671d339b8ae 100644 --- a/pkgs/applications/networking/browsers/chromium/upstream-info.nix +++ b/pkgs/applications/networking/browsers/chromium/upstream-info.nix @@ -54,12 +54,12 @@ version = "2023-05-19"; }; ungoogled-patches = { - rev = "115.0.5790.110-1"; - sha256 = "1jahy4jl5bnnzl6433hln0dj3b39v5zqd90n8zf7ss45wqrff91b"; + rev = "115.0.5790.170-1"; + sha256 = "0vk82jacadb4id16596s4751j4idq6903w6sl2s7cj4ppxd6pyf1"; }; }; - sha256 = "0wgp44qnvmdqf2kk870ndm51rcvar36li2qq632ay4n8gfpbrm79"; - sha256bin64 = "1w2jl92x78s4vxv4p1imkz7qaq51yvs0wiz2bclbjz0hjlw9akr3"; - version = "115.0.5790.110"; + sha256 = "1h3j24ihn76qkvckzg703pm1jsh6nbkc48n2zx06kia8wz96567z"; + sha256bin64 = "04jklk2zwkyy8i70v9nk7nw35w2g9pyxdw9w3sn9mddgbjjph5z9"; + version = "115.0.5790.170"; }; } From 80b7a9e316e40613b1d3dc3b051b7b71be750876 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 4 Aug 2023 20:06:54 +0200 Subject: [PATCH 13/30] python311Packages.gitpython: 3.1.31 -> 3.1.32 Diff: https://github.com/gitpython-developers/GitPython/compare/refs/tags/3.1.31...3.1.32 Changelog: https://github.com/gitpython-developers/GitPython/blob/3.1.32/doc/source/changes.rst --- pkgs/development/python-modules/gitpython/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/gitpython/default.nix b/pkgs/development/python-modules/gitpython/default.nix index 0915170bc7f6..79cefa48656c 100644 --- a/pkgs/development/python-modules/gitpython/default.nix +++ b/pkgs/development/python-modules/gitpython/default.nix @@ -11,7 +11,7 @@ buildPythonPackage rec { pname = "gitpython"; - version = "3.1.31"; + version = "3.1.32"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -20,7 +20,7 @@ buildPythonPackage rec { owner = "gitpython-developers"; repo = "GitPython"; rev = "refs/tags/${version}"; - hash = "sha256-lpx/vptFhz4WOkybJpqq1teMGgX6RQo/f2OTNEm5XJU="; + hash = "sha256-Bhgu57w5QYfq5hlTh5gCJhbdwUMU+u0nrova/2V2ed0="; }; propagatedBuildInputs = [ From a6b8d8dd35bf1e7d7403e2bc4ed8e3e5101619fb Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 4 Aug 2023 21:50:22 +0200 Subject: [PATCH 14/30] python311Packages.google-cloud-dataproc: 5.4.2 -> 5.4.3 Changelog: https://github.com/googleapis/python-dataproc/blob/v5.4.3/CHANGELOG.md --- .../python-modules/google-cloud-dataproc/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/google-cloud-dataproc/default.nix b/pkgs/development/python-modules/google-cloud-dataproc/default.nix index 513f6c6167f2..267ba36b91db 100644 --- a/pkgs/development/python-modules/google-cloud-dataproc/default.nix +++ b/pkgs/development/python-modules/google-cloud-dataproc/default.nix @@ -14,14 +14,14 @@ buildPythonPackage rec { pname = "google-cloud-dataproc"; - version = "5.4.2"; + version = "5.4.3"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-YxxOyvPlUfSeIS8aUrULWnD6XgPh+nJuPHIywmgYMQU="; + hash = "sha256-2cd8Uqpd31KuZXc22/tTEkApM/crq4SA/C0q/phpdAI="; }; propagatedBuildInputs = [ From 143a5e99d3601be337e48e70723871d9c3e2297d Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 4 Aug 2023 22:21:56 +0200 Subject: [PATCH 15/30] python311Packages.types-psutil: 5.9.5.9 -> 5.9.5.16 --- pkgs/development/python-modules/types-psutil/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/types-psutil/default.nix b/pkgs/development/python-modules/types-psutil/default.nix index cb169ef0e427..8e01ec2c3ff3 100644 --- a/pkgs/development/python-modules/types-psutil/default.nix +++ b/pkgs/development/python-modules/types-psutil/default.nix @@ -5,12 +5,12 @@ buildPythonPackage rec { pname = "types-psutil"; - version = "5.9.5.9"; + version = "5.9.5.16"; format = "setuptools"; src = fetchPypi { inherit pname version; - hash = "sha256-xsfmtBtvfruHr9VlDfNgdR0Ois8NJ2t6xk0A9Bm+uSI="; + hash = "sha256-TpshnvtiXT0E9r8QaTT4fKtJqkGpSwo7MIlAP0enkig="; }; # Module doesn't have tests From 498aca7a5a2d5e9c3e6d528caf28ab68c1a4db2a Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 4 Aug 2023 22:22:34 +0200 Subject: [PATCH 16/30] python311Packages.types-pyyaml: 6.0.12.9 -> 6.0.12.11 --- pkgs/development/python-modules/types-pyyaml/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/types-pyyaml/default.nix b/pkgs/development/python-modules/types-pyyaml/default.nix index 0dc731b60266..58a66197d00b 100644 --- a/pkgs/development/python-modules/types-pyyaml/default.nix +++ b/pkgs/development/python-modules/types-pyyaml/default.nix @@ -5,13 +5,13 @@ buildPythonPackage rec { pname = "types-pyyaml"; - version = "6.0.12.9"; + version = "6.0.12.11"; format = "setuptools"; src = fetchPypi { pname = "types-PyYAML"; inherit version; - hash = "sha256-xRsb1tmd3wqiiEp6MogQ6/cKQmLCkhldP0+aAAX57rY="; + hash = "sha256-fTQLGcoozd/bpDjuY4zUCEveIT5QGjl4c4VD4nCUd1s="; }; # Module doesn't have tests From 4bb0dd014d64d382f6e21d407b13569288395fd8 Mon Sep 17 00:00:00 2001 From: Theodore Ni <3806110+tjni@users.noreply.github.com> Date: Fri, 4 Aug 2023 13:22:10 -0700 Subject: [PATCH 17/30] python3.pkgs.hydra-core: unbreak on darwin --- pkgs/development/python-modules/hydra-core/default.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/hydra-core/default.nix b/pkgs/development/python-modules/hydra-core/default.nix index 5cade60d0e38..436a4e7e6213 100644 --- a/pkgs/development/python-modules/hydra-core/default.nix +++ b/pkgs/development/python-modules/hydra-core/default.nix @@ -1,5 +1,4 @@ -{ stdenv -, lib +{ lib , antlr4 , antlr4-python3-runtime , buildPythonPackage @@ -83,7 +82,6 @@ buildPythonPackage rec { ]; meta = with lib; { - broken = stdenv.isDarwin; description = "A framework for configuring complex applications"; homepage = "https://hydra.cc"; license = licenses.mit; From 70686f4ce362ca71cdce2b2ad993ce39bbd72370 Mon Sep 17 00:00:00 2001 From: Dee Anzorge Date: Fri, 4 Aug 2023 22:28:25 +0200 Subject: [PATCH 18/30] streamlink: 6.0.0 -> 6.0.1 https://github.com/streamlink/streamlink/releases/tag/6.0.1 --- pkgs/applications/video/streamlink/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/video/streamlink/default.nix b/pkgs/applications/video/streamlink/default.nix index 56137bef13c3..0f3fc27dc2b1 100644 --- a/pkgs/applications/video/streamlink/default.nix +++ b/pkgs/applications/video/streamlink/default.nix @@ -6,12 +6,12 @@ python3Packages.buildPythonApplication rec { pname = "streamlink"; - version = "6.0.0"; + version = "6.0.1"; format = "pyproject"; src = fetchPypi { inherit pname version; - hash = "sha256-BeP+YOBtTz1D//LDBMha+07yVXdgBHfM4v4aVNHzwAw="; + hash = "sha256-0Qpil/bh2F+WaG0zv4yxEzx6e1fv3t9xed+nhT+NC7U="; }; nativeCheckInputs = with python3Packages; [ From 832f074ee88dc3807500310c13101cec65a803eb Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 4 Aug 2023 22:46:38 +0200 Subject: [PATCH 19/30] python311Packages.prometheus-client: 0.17.0 -> 0.17.1 Diff: https://github.com/prometheus/client_python/compare/refs/tags/v0.17.0...v0.17.1 Changelog: https://github.com/prometheus/client_python/releases/tag/v0.17.1 --- pkgs/development/python-modules/prometheus-client/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/prometheus-client/default.nix b/pkgs/development/python-modules/prometheus-client/default.nix index 9a9c2f7cce18..aed4d5c5b258 100644 --- a/pkgs/development/python-modules/prometheus-client/default.nix +++ b/pkgs/development/python-modules/prometheus-client/default.nix @@ -7,7 +7,7 @@ buildPythonPackage rec { pname = "prometheus-client"; - version = "0.17.0"; + version = "0.17.1"; format = "setuptools"; disabled = pythonOlder "3.6"; @@ -16,7 +16,7 @@ buildPythonPackage rec { owner = "prometheus"; repo = "client_python"; rev = "refs/tags/v${version}"; - hash = "sha256-0qh6OorIIs3WfneZavzwTTZFwIRXCJzezks/qihu8xo="; + hash = "sha256-ag9gun47Ar0Sw3ZGIXAHjtv4GdhX8x51UVkgwdQ8A+s="; }; nativeCheckInputs = [ From 73a818872b9c0dbf567860820b073b2d1f2cc78b Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Sat, 5 Aug 2023 04:20:00 +0000 Subject: [PATCH 20/30] libpg_query: 15-4.2.2 -> 15-4.2.3 Diff: https://github.com/pganalyze/libpg_query/compare/15-4.2.2...15-4.2.3 Changelog: https://github.com/pganalyze/libpg_query/blob/15-4.2.3/CHANGELOG.md --- pkgs/development/libraries/libpg_query/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/libpg_query/default.nix b/pkgs/development/libraries/libpg_query/default.nix index d8fcf11b5312..36820a2eecc2 100644 --- a/pkgs/development/libraries/libpg_query/default.nix +++ b/pkgs/development/libraries/libpg_query/default.nix @@ -2,13 +2,13 @@ stdenv.mkDerivation rec { pname = "libpg_query"; - version = "15-4.2.2"; + version = "15-4.2.3"; src = fetchFromGitHub { owner = "pganalyze"; repo = "libpg_query"; rev = version; - hash = "sha256-DjpfJj7WtQ4bACX8/lFDl+mwQGbeCJX+YN2hjZa0kks="; + hash = "sha256-/HUg6x0il5WxENmgR3slu7nmXTKv6YscjpX569Dztko="; }; nativeBuildInputs = [ which ]; From b44786fcdf519fd08d91bd9d8734deb9615ceea3 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 5 Aug 2023 08:14:47 +0000 Subject: [PATCH 21/30] jackett: 0.21.547 -> 0.21.584 --- pkgs/servers/jackett/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/jackett/default.nix b/pkgs/servers/jackett/default.nix index 1f3a49247585..36fce8a205b4 100644 --- a/pkgs/servers/jackett/default.nix +++ b/pkgs/servers/jackett/default.nix @@ -9,13 +9,13 @@ buildDotnetModule rec { pname = "jackett"; - version = "0.21.547"; + version = "0.21.584"; src = fetchFromGitHub { owner = pname; repo = pname; rev = "v${version}"; - hash = "sha512-pjtEGLfrBldukGsrYuUF+pO/qE2+WfDnaLkqKGyPJHSYClDJEoT9hEy2LyV1Vk8VqvLAkMSQmmLIwSxr0FjX8g=="; + hash = "sha512-uv8r39iH1Te7WqmJK/qDbXE46qjUNEFi1YPgSyHRegLZWGjP7QAAn4x5WBTXZ1OLlsbVRg3fJkj/BanHLBuqjg=="; }; projectFile = "src/Jackett.Server/Jackett.Server.csproj"; From 1eb6175b0db1ae8a3f03404a426c6db2c44a098a Mon Sep 17 00:00:00 2001 From: Francesco Gazzetta Date: Sat, 5 Aug 2023 10:52:05 +0200 Subject: [PATCH 22/30] domination: 1.2.8 -> 1.2.9 --- pkgs/games/domination/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/games/domination/default.nix b/pkgs/games/domination/default.nix index 6d1186f5977d..8bf1c2a9ec31 100644 --- a/pkgs/games/domination/default.nix +++ b/pkgs/games/domination/default.nix @@ -26,7 +26,7 @@ let in stdenv.mkDerivation { pname = "domination"; - version = "1.2.8"; + version = "1.2.9"; # The .zip releases do not contain the build.xml file src = fetchsvn { @@ -34,8 +34,8 @@ in stdenv.mkDerivation { # There are no tags in the repository. # Look for commits like "new version x.y.z info on website" # or "website update for x.y.z". - rev = "2433"; - hash = "sha256-QvDNsYpEXQnAuXNVi+73HoNFGUc5cyzyEwT0m91y1rk="; + rev = "2470"; + hash = "sha256-ghq7EGg++mTOzA3ASzXhk97fzy5/n9vyaRzxp12X3/4="; }; nativeBuildInputs = [ From 2ddb1453e6fadb7ac10d3c9996a9f3f7356deb76 Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Sat, 5 Aug 2023 11:23:58 +0200 Subject: [PATCH 23/30] nixos/nextcloud: make php settings additive Right now, the settings aren't additive which means that when I do services.nextcloud.phpOptions."opcache.interned_strings_buffer = "23"; all other options are discarded because of how the module system works. This isn't very nice in this case, though because wanting to override a single option doesn't mean I want to discard the rest of the - reasonable - defaults. Hence, the settings are showed as default in the option's manual section, but are added with normal priority. That means, to override _all_ options at once, an expression like services.nextcloud.phpOptions = mkForce { /* ... */ }; is needed. This is also way more intuitive IMHO because the `mkForce` explicitly tells that everything will be modified. Also, APCu enable and the memory & file-size limits are also written into `services.nextcloud.phpOptions` rather than adding them silently before passing all options to the PHP package. This has the benefit that users will realize on evaluation time that they configured options that would otherwise be set by the module on its own. --- .../manual/release-notes/rl-2311.section.md | 16 ++++ nixos/modules/services/web-apps/nextcloud.nix | 77 +++++++++++++------ 2 files changed, 69 insertions(+), 24 deletions(-) diff --git a/nixos/doc/manual/release-notes/rl-2311.section.md b/nixos/doc/manual/release-notes/rl-2311.section.md index 4e8bd3642813..05ef05567543 100644 --- a/nixos/doc/manual/release-notes/rl-2311.section.md +++ b/nixos/doc/manual/release-notes/rl-2311.section.md @@ -72,6 +72,22 @@ - The [services.caddy.acmeCA](#opt-services.caddy.acmeCA) option now defaults to `null` instead of `"https://acme-v02.api.letsencrypt.org/directory"`, to use all of Caddy's default ACME CAs and enable Caddy's automatic issuer fallback feature by default, as recommended by upstream. +- The default priorities of [`services.nextcloud.phpOptions`](#opt-services.nextcloud.phpOptions) have changed. This means that e.g. + `services.nextcloud.phpOptions."opcache.interned_strings_buffer" = "23";` doesn't discard all of the other defaults from this option + anymore. The attribute values of `phpOptions` are still defaults, these can be overridden as shown here. + + To override all of the options (including including `upload_max_filesize`, `post_max_size` + and `memory_limit` which all point to [`services.nextcloud.maxUploadSize`](#opt-services.nextcloud.maxUploadSize) + by default) can be done like this: + + ```nix + { + services.nextcloud.phpOptions = lib.mkForce { + /* ... */ + }; + } + ``` + - `php80` is no longer supported due to upstream not supporting this version anymore. - PHP now defaults to PHP 8.2, updated from 8.1. diff --git a/nixos/modules/services/web-apps/nextcloud.nix b/nixos/modules/services/web-apps/nextcloud.nix index 06af9d933e08..078164866dd6 100644 --- a/nixos/modules/services/web-apps/nextcloud.nix +++ b/nixos/modules/services/web-apps/nextcloud.nix @@ -8,6 +8,21 @@ let jsonFormat = pkgs.formats.json {}; + defaultPHPSettings = { + short_open_tag = "Off"; + expose_php = "Off"; + error_reporting = "E_ALL & ~E_DEPRECATED & ~E_STRICT"; + display_errors = "stderr"; + "opcache.enable_cli" = "1"; + "opcache.interned_strings_buffer" = "8"; + "opcache.max_accelerated_files" = "10000"; + "opcache.memory_consumption" = "128"; + "opcache.revalidate_freq" = "1"; + "opcache.fast_shutdown" = "1"; + "openssl.cafile" = "/etc/ssl/certs/ca-certificates.crt"; + catch_workers_output = "yes"; + }; + inherit (cfg) datadir; phpPackage = cfg.phpPackage.buildEnv { @@ -26,22 +41,13 @@ let ++ optional cfg.caching.memcached memcached ) ++ cfg.phpExtraExtensions all; # Enabled by user - extraConfig = toKeyValue phpOptions; + extraConfig = toKeyValue cfg.phpOptions; }; toKeyValue = generators.toKeyValue { mkKeyValue = generators.mkKeyValueDefault {} " = "; }; - phpOptions = { - upload_max_filesize = cfg.maxUploadSize; - post_max_size = cfg.maxUploadSize; - memory_limit = cfg.maxUploadSize; - } // cfg.phpOptions - // optionalAttrs cfg.caching.apcu { - "apc.enable_cli" = "1"; - }; - occ = pkgs.writeScriptBin "nextcloud-occ" '' #! ${pkgs.runtimeShell} cd ${cfg.package} @@ -263,22 +269,33 @@ in { phpOptions = mkOption { type = types.attrsOf types.str; - default = { - short_open_tag = "Off"; - expose_php = "Off"; - error_reporting = "E_ALL & ~E_DEPRECATED & ~E_STRICT"; - display_errors = "stderr"; - "opcache.enable_cli" = "1"; - "opcache.interned_strings_buffer" = "8"; - "opcache.max_accelerated_files" = "10000"; - "opcache.memory_consumption" = "128"; - "opcache.revalidate_freq" = "1"; - "opcache.fast_shutdown" = "1"; - "openssl.cafile" = "/etc/ssl/certs/ca-certificates.crt"; - catch_workers_output = "yes"; - }; + defaultText = literalExpression (generators.toPretty { } defaultPHPSettings); description = lib.mdDoc '' Options for PHP's php.ini file for nextcloud. + + Please note that this option is _additive_ on purpose while the + attribute values inside the default are option defaults: that means that + + ```nix + { + services.nextcloud.phpOptions."opcache.interned_strings_buffer" = "23"; + } + ``` + + will override the `php.ini` option `opcache.interned_strings_buffer` without + discarding the rest of the defaults. + + Overriding all of `phpOptions` (including `upload_max_filesize`, `post_max_size` + and `memory_limit` which all point to [](#opt-services.nextcloud.maxUploadSize) + by default) can be done like this: + + ```nix + { + services.nextcloud.phpOptions = lib.mkForce { + /* ... */ + }; + } + ``` ''; }; @@ -750,6 +767,18 @@ in { services.nextcloud.phpPackage = if versionOlder cfg.package.version "26" then pkgs.php81 else pkgs.php82; + + services.nextcloud.phpOptions = mkMerge [ + (mapAttrs (const mkOptionDefault) defaultPHPSettings) + { + upload_max_filesize = cfg.maxUploadSize; + post_max_size = cfg.maxUploadSize; + memory_limit = cfg.maxUploadSize; + } + (mkIf cfg.caching.apcu { + "apc.enable_cli" = "1"; + }) + ]; } { assertions = [ From f5a31501018b12e791cf5cbe6325591daae1d0de Mon Sep 17 00:00:00 2001 From: Kirill Radzikhovskyy Date: Sat, 5 Aug 2023 21:09:10 +1000 Subject: [PATCH 24/30] _389-ds-base: 2.4.2 -> 2.4.3 --- pkgs/servers/ldap/389/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/servers/ldap/389/default.nix b/pkgs/servers/ldap/389/default.nix index f5404856599e..d390a2468e0e 100644 --- a/pkgs/servers/ldap/389/default.nix +++ b/pkgs/servers/ldap/389/default.nix @@ -37,20 +37,20 @@ stdenv.mkDerivation rec { pname = "389-ds-base"; - version = "2.4.2"; + version = "2.4.3"; src = fetchFromGitHub { owner = "389ds"; repo = pname; rev = "${pname}-${version}"; - hash = "sha256-3wePHYA2z4qwW0KTECTDN8X9yJuUB0n14KjKbWN0Knk="; + hash = "sha256-bUjL1fjzyrq9jjpB/xbRCAISiPBwrlXbbDqT0aLOVOc="; }; cargoDeps = rustPlatform.fetchCargoTarball { inherit src; sourceRoot = "source/src"; name = "${pname}-${version}"; - hash = "sha256-972tJ8aKNxC3O8VxbAau7OSej873IBXsP3isMXAXKcU="; + hash = "sha256-FlrHaz1whwzDvm3MA+wEaQpq7h2X9ZDnQc3f73vLZ58="; }; nativeBuildInputs = [ From a7221aa8aa2029ccdaedb0af416e2d64e453b63f Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sat, 5 Aug 2023 15:07:25 +0200 Subject: [PATCH 25/30] cargo-public-api: 0.31.2 -> 0.31.3 Signed-off-by: Matthias Beyer --- pkgs/development/tools/rust/cargo-public-api/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/rust/cargo-public-api/default.nix b/pkgs/development/tools/rust/cargo-public-api/default.nix index 223707accc41..913755b64812 100644 --- a/pkgs/development/tools/rust/cargo-public-api/default.nix +++ b/pkgs/development/tools/rust/cargo-public-api/default.nix @@ -10,14 +10,14 @@ rustPlatform.buildRustPackage rec { pname = "cargo-public-api"; - version = "0.31.2"; + version = "0.31.3"; src = fetchCrate { inherit pname version; - hash = "sha256-LSCFJrZuQoUk8DqfQayfwPVTIU00SxHrelx7NItqqWM="; + hash = "sha256-oSjfNbId5jEHeLiJ3FMoNqwLZg6iyr3ZqpcfKvEnpac="; }; - cargoHash = "sha256-aFY5FSXquN1h28CBluuP/tNDmjFfi2dNjAdoXR3CH4Y="; + cargoHash = "sha256-VHHEQafQfRqmdscuWpN+NdcfEc1sTt+lKLg26aM9QQE="; nativeBuildInputs = [ pkg-config ]; From b109c7f1ff287283c70c31f6d0836ffc73deecb9 Mon Sep 17 00:00:00 2001 From: zowoq <59103226+zowoq@users.noreply.github.com> Date: Sat, 5 Aug 2023 18:26:04 +1000 Subject: [PATCH 26/30] telegraf: 1.27.2 -> 1.27.3 Diff: https://github.com/influxdata/telegraf/compare/v1.27.2...v1.27.3 Changelog: https://github.com/influxdata/telegraf/blob/v1.27.3/CHANGELOG.md --- pkgs/servers/monitoring/telegraf/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/servers/monitoring/telegraf/default.nix b/pkgs/servers/monitoring/telegraf/default.nix index 9ec53ba65e03..df09e86c2415 100644 --- a/pkgs/servers/monitoring/telegraf/default.nix +++ b/pkgs/servers/monitoring/telegraf/default.nix @@ -8,7 +8,7 @@ buildGoModule rec { pname = "telegraf"; - version = "1.27.2"; + version = "1.27.3"; excludedPackages = "test"; @@ -18,10 +18,10 @@ buildGoModule rec { owner = "influxdata"; repo = "telegraf"; rev = "v${version}"; - sha256 = "sha256-SkStt8PRWWkM01NrO4UTRVq84s3qlRrddl2vTxWsLME="; + hash = "sha256-mVkzJ2dFBR8QYGO5rAT3tfA+eFFO01VsPoWp2iadUew="; }; - vendorHash = "sha256-gOsVBvjPb2MLe2xOfuDldUy9ZpaBaCPxgxbZae1gyUQ="; + vendorHash = "sha256-xtPniKc6aR8JRSsaefqoRCLL8AQH6YVTG67trK58YaU="; proxyVendor = true; ldflags = [ From ae7428291813535fca0d5e419190199837ed9ce1 Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Sat, 5 Aug 2023 16:30:01 +0200 Subject: [PATCH 27/30] slibGuile: 3b5 -> 3b7 --- pkgs/development/libraries/slib/default.nix | 26 ++++++++++++++------- pkgs/top-level/all-packages.nix | 3 +-- 2 files changed, 19 insertions(+), 10 deletions(-) diff --git a/pkgs/development/libraries/slib/default.nix b/pkgs/development/libraries/slib/default.nix index 56c4eccf434c..91c32b5dd3a8 100644 --- a/pkgs/development/libraries/slib/default.nix +++ b/pkgs/development/libraries/slib/default.nix @@ -1,25 +1,35 @@ -{ fetchurl, lib, stdenv, unzip, scheme, texinfo }: +{ lib, stdenv, fetchurl, scheme, texinfo, unzip }: stdenv.mkDerivation rec { pname = "slib"; - version = "3b5"; + version = "3b7"; src = fetchurl { url = "https://groups.csail.mit.edu/mac/ftpdir/scm/${pname}-${version}.zip"; - sha256 = "0q0p2d53p8qw2592yknzgy2y1p5a9k7ppjx0cfrbvk6242c4mdpq"; + hash = "sha256-9dXNrTNTlaWlqjfv/iiqgHiyFuo5kR9lGSlnjxrCKLY="; }; - patches = [ ./catalog-in-library-vicinity.patch ]; + patches = [ + ./catalog-in-library-vicinity.patch + ]; - nativeBuildInputs = [ unzip ]; - buildInputs = [ scheme texinfo ]; + # slib:require unsupported feature color-database + postPatch = '' + substituteInPlace Makefile \ + --replace " clrnamdb.scm" "" + ''; + + nativeBuildInputs = [ scheme texinfo unzip ]; + buildInputs = [ scheme ]; postInstall = '' ln -s mklibcat{.scm,} SCHEME_LIBRARY_PATH="$out/lib/slib" make catalogs - sed -i "$out/bin/slib" \ - -e "/^SCHEME_LIBRARY_PATH/i export PATH=\"${scheme}/bin:\$PATH\"" + sed -i \ + -e '2i export PATH="${scheme}/bin:$PATH"' \ + -e '3i export GUILE_AUTO_COMPILE=0' \ + $out/bin/slib ''; # There's no test suite (?!). diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 6b07f74822c7..a776769b8d25 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -24747,8 +24747,7 @@ with pkgs; slang = callPackage ../development/libraries/slang { }; slibGuile = callPackage ../development/libraries/slib { - scheme = guile_1_8; - texinfo = texinfo4; # otherwise erros: must be after `@defun' to use `@defunx' + scheme = guile; }; smpeg = callPackage ../development/libraries/smpeg { }; From 6c5c0bbcda9197dfe56baf192e5fd1ce8ac31c4a Mon Sep 17 00:00:00 2001 From: figsoda Date: Sat, 5 Aug 2023 10:51:31 -0400 Subject: [PATCH 28/30] rare-regex: 0.3.2 -> 0.3.3 Diff: https://github.com/zix99/rare/compare/0.3.2...0.3.3 Changelog: https://github.com/zix99/rare/releases/tag/0.3.3 --- pkgs/tools/text/rare-regex/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/text/rare-regex/default.nix b/pkgs/tools/text/rare-regex/default.nix index 76b928e2b1e5..6dbd062ef61c 100644 --- a/pkgs/tools/text/rare-regex/default.nix +++ b/pkgs/tools/text/rare-regex/default.nix @@ -10,13 +10,13 @@ buildGoModule rec { pname = "rare"; - version = "0.3.2"; + version = "0.3.3"; src = fetchFromGitHub { owner = "zix99"; repo = "rare"; rev = version; - hash = "sha256-v3zczT3PMSm2AMKVnVdDxsCpYA8QhZcmOCuiQiz5hFo="; + hash = "sha256-83iHYWMdLOzWDu/WW2TN8D2gUe2Y74aGBUjfHIa9ki8="; }; vendorHash = "sha256-wUOtxNjL/4MosACCzPTWKWrnMZhxINfN1ppkRsqDh9M="; From e08e100b0c6a6651c3235d1520c53280142d9d5f Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Fri, 4 Aug 2023 21:36:54 -0300 Subject: [PATCH 29/30] home-manager: fix bug in which home-manager.nix is not found Closes https://github.com/NixOS/nixpkgs/issues/236940 --- pkgs/tools/package-management/home-manager/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/tools/package-management/home-manager/default.nix b/pkgs/tools/package-management/home-manager/default.nix index c65b244cb96f..15a9ee3b1a96 100644 --- a/pkgs/tools/package-management/home-manager/default.nix +++ b/pkgs/tools/package-management/home-manager/default.nix @@ -14,7 +14,7 @@ , unstableGitUpdater }: -stdenvNoCC.mkDerivation { +stdenvNoCC.mkDerivation (finalAttrs: { pname = "home-manager"; version = "2023-05-30"; @@ -55,7 +55,7 @@ stdenvNoCC.mkDerivation { ] }" \ --subst-var-by HOME_MANAGER_LIB '${placeholder "out"}/share/bash/home-manager.sh' \ - --subst-var-by HOME_MANAGER_PATH "" \ + --subst-var-by HOME_MANAGER_PATH "${finalAttrs.src}" \ --subst-var-by OUT '${placeholder "out"}' installShellCompletion --bash --name home-manager.bash home-manager/completion.bash @@ -85,8 +85,8 @@ stdenvNoCC.mkDerivation { found in Nixpkgs. It allows declarative configuration of user specific (non global) packages and dotfiles. ''; - platforms = lib.platforms.unix; license = lib.licenses.mit; maintainers = with lib.maintainers; [ AndersonTorres ]; + platforms = lib.platforms.unix; }; -} +}) From 2cda04d0c5ccb7bcf636a026b1c81fe55004a126 Mon Sep 17 00:00:00 2001 From: Vincenzo Mantova <1962985+xworld21@users.noreply.github.com> Date: Sat, 5 Aug 2023 16:21:43 +0100 Subject: [PATCH 30/30] jing-trang: copy resolver.jar to output The file resolver.jar is required when using XML catalogs (`trang -C`). --- pkgs/tools/text/xml/jing-trang/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/tools/text/xml/jing-trang/default.nix b/pkgs/tools/text/xml/jing-trang/default.nix index c7866f8cba8a..f13a82faf295 100644 --- a/pkgs/tools/text/xml/jing-trang/default.nix +++ b/pkgs/tools/text/xml/jing-trang/default.nix @@ -24,7 +24,7 @@ stdenv.mkDerivation rec { installPhase = '' mkdir -p "$out"/{share/java,bin} - cp ./build/*.jar "$out/share/java/" + cp ./build/*.jar ./lib/resolver.jar "$out/share/java/" for tool in jing trang; do cat > "$out/bin/$tool" <