Merge master into staging-next

authored by

github-actions[bot] and committed by
GitHub
3180ce09 47f278a9

+369 -146
+2 -2
pkgs/applications/audio/miniaudicle/default.nix
··· 3 3 , fetchFromGitHub 4 4 , qmake 5 5 , wrapQtAppsHook 6 - , qscintilla-qt6 6 + , qt6Packages 7 7 , bison 8 8 , flex 9 9 , which ··· 45 45 buildInputs = [ 46 46 alsa-lib 47 47 libsndfile 48 - qscintilla-qt6 48 + qt6Packages.qscintilla 49 49 ] ++ lib.optional (audioBackend == "pulse") libpulseaudio 50 50 ++ lib.optional (audioBackend == "jack") libjack2; 51 51
+3 -3
pkgs/applications/blockchains/optimism/default.nix
··· 6 6 7 7 buildGoModule rec { 8 8 pname = "optimism"; 9 - version = "1.1.1"; 9 + version = "1.1.4"; 10 10 11 11 src = fetchFromGitHub { 12 12 owner = "ethereum-optimism"; 13 13 repo = "optimism"; 14 14 rev = "op-node/v${version}"; 15 - hash = "sha256-COTpmjDH1u2dJA0nKPBG1Aocpyyo8NdtowwjHDTbEKI="; 15 + hash = "sha256-UDNqD3gA27qqaJYbpgOWoL0AeLb7OZRCRJcGNKRq67g="; 16 16 fetchSubmodules = true; 17 17 }; 18 18 19 19 subPackages = [ "op-node/cmd" "op-proposer/cmd" "op-batcher/cmd" ]; 20 20 21 - vendorHash = "sha256-yAUeCX05dCVEvIzp0cXB/qYVtu3gQfgFi1CNZZKllOU="; 21 + vendorHash = "sha256-OGOdU6X3dcAu4BDpG62bK8LaMo+NuzFOUSjdPNhRGZM="; 22 22 23 23 buildInputs = [ 24 24 libpcap
+4
pkgs/applications/misc/nut/default.nix
··· 57 57 58 58 enableParallelBuilding = true; 59 59 60 + # Add `cgi-bin` to the default list to avoid pulling in whole 61 + # of `gcc` into build closure. 62 + stripDebugList = [ "cgi-bin" "lib" "lib32" "lib64" "libexec" "bin" "sbin" ]; 63 + 60 64 postInstall = '' 61 65 substituteInPlace $out/lib/systemd/system-shutdown/nutshutdown \ 62 66 --replace /bin/sleep "${coreutils}/bin/sleep" \
+2 -2
pkgs/applications/networking/cluster/ktunnel/default.nix
··· 1 1 { stdenv, lib, buildGoModule, fetchFromGitHub }: 2 2 let 3 - version = "1.5.3"; 3 + version = "1.6.1"; 4 4 in 5 5 buildGoModule { 6 6 pname = "ktunnel"; ··· 10 10 owner = "omrikiei"; 11 11 repo = "ktunnel"; 12 12 rev = "v${version}"; 13 - sha256 = "sha256-7SWj9Emm78xpzdvJFKqpI5HVQi0ohbixkgXKGTy5C/A="; 13 + sha256 = "sha256-rcUCIUIyBCSuMly7y0GUNQCdJUgsj7Oi6Hpz23uXoJw="; 14 14 }; 15 15 16 16 ldflags = [
+2 -2
pkgs/applications/science/math/qalculate-gtk/default.nix
··· 2 2 3 3 stdenv.mkDerivation (finalAttrs: { 4 4 pname = "qalculate-gtk"; 5 - version = "4.8.0"; 5 + version = "4.8.1"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "qalculate"; 9 9 repo = "qalculate-gtk"; 10 10 rev = "v${finalAttrs.version}"; 11 - sha256 = "sha256-GYy3Ot2vjXpCp89Rib3Ua0XeVGOOTejKcaqNZvPmxm0="; 11 + sha256 = "sha256-bG0hui5GjHWHny/8Rq5sZGz3s5rYnYlpc+K8I/LwDto="; 12 12 }; 13 13 14 14 hardeningDisable = [ "format" ];
+2 -2
pkgs/applications/science/math/qalculate-qt/default.nix
··· 2 2 3 3 stdenv.mkDerivation (finalAttrs: { 4 4 pname = "qalculate-qt"; 5 - version = "4.8.0"; 5 + version = "4.8.1"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "qalculate"; 9 9 repo = "qalculate-qt"; 10 10 rev = "v${finalAttrs.version}"; 11 - hash = "sha256-7VlaoiY+HgHCMZCegUdy2wpgfx3fKaViMtkdNRleHaA="; 11 + hash = "sha256-hH+orU+5PmPcrhkLKCdsDhVCrD8Mvxp2RPTGSlsUP7Y="; 12 12 }; 13 13 14 14 nativeBuildInputs = [ qmake intltool pkg-config qttools wrapQtAppsHook ];
+31
pkgs/data/icons/whitesur-cursors/default.nix
··· 1 + { lib 2 + , stdenvNoCC 3 + , fetchFromGitHub 4 + }: 5 + 6 + stdenvNoCC.mkDerivation { 7 + pname = "whitesur-cursors"; 8 + version = "unstable-2022-06-17"; 9 + 10 + src = fetchFromGitHub { 11 + owner = "vinceliuice"; 12 + repo = "WhiteSur-cursors"; 13 + rev = "5c94e8c22de067282f4cf6d782afd7b75cdd08c8"; 14 + sha256 = "sha256-CFse0XZzJu+PWDcqmvIXvue+3cKX47oavZU9HYRDAg0="; 15 + }; 16 + 17 + installPhase = '' 18 + runHook preInstall 19 + install -dm 755 $out/share/icons/WhiteSur-cursors 20 + cp -r dist/* $out/share/icons/WhiteSur-cursors 21 + runHook postInstall 22 + ''; 23 + 24 + meta = { 25 + description = "An x-cursor theme inspired by macOS and based on capitaine-cursors"; 26 + homepage = "https://github.com/vinceliuice/WhiteSur-cursors"; 27 + license = lib.licenses.gpl3Only; 28 + maintainers = with lib.maintainers; [ tomasajt ]; 29 + platforms = lib.platforms.linux; 30 + }; 31 + }
+7 -8
pkgs/development/interpreters/octave/default.nix
··· 50 50 , makeWrapper 51 51 # - Build Octave Qt GUI: 52 52 , enableQt ? false 53 - , qt5 54 - , qscintilla 53 + , libsForQt5 55 54 , libiconv 56 55 , darwin 57 56 }: ··· 132 131 gnuplot 133 132 python3 134 133 ] ++ lib.optionals enableQt [ 135 - qt5.qtbase 136 - qt5.qtsvg 137 - qscintilla 134 + libsForQt5.qtbase 135 + libsForQt5.qtsvg 136 + libsForQt5.qscintilla 138 137 ] ++ lib.optionals (enableJava) [ 139 138 jdk 140 139 ] ++ lib.optionals (!stdenv.isDarwin) [ ··· 149 148 gfortran 150 149 texinfo 151 150 ] ++ lib.optionals enableQt [ 152 - qt5.wrapQtAppsHook 153 - qt5.qtscript 154 - qt5.qttools 151 + libsForQt5.wrapQtAppsHook 152 + libsForQt5.qtscript 153 + libsForQt5.qttools 155 154 ]; 156 155 157 156 doCheck = !stdenv.isDarwin;
+2 -2
pkgs/development/libraries/libqalculate/default.nix
··· 18 18 19 19 stdenv.mkDerivation (finalAttrs: { 20 20 pname = "libqalculate"; 21 - version = "4.8.0"; 21 + version = "4.8.1"; 22 22 23 23 src = fetchFromGitHub { 24 24 owner = "qalculate"; 25 25 repo = "libqalculate"; 26 26 rev = "v${finalAttrs.version}"; 27 - sha256 = "sha256-wONqqd8Ds10SvkUrj7Ps6BfqUNPE6hCnQrKDTEglVEQ="; 27 + sha256 = "sha256-4WqKlwVf4/ixVr98lPFVfNL6EOIfHHfL55xLsYqxkhY="; 28 28 }; 29 29 30 30 outputs = [ "out" "dev" "doc" ];
+8 -1
pkgs/development/libraries/qscintilla/default.nix
··· 6 6 , qtmacextras ? null 7 7 , qmake 8 8 , fixDarwinDylibNames 9 + , darwin 9 10 }: 10 11 11 - stdenv.mkDerivation rec { 12 + let 13 + stdenv' = if stdenv.isDarwin then 14 + darwin.apple_sdk_11_0.stdenv 15 + else 16 + stdenv 17 + ; 18 + in stdenv'.mkDerivation rec { 12 19 pname = "qscintilla-qt5"; 13 20 version = "2.13.2"; 14 21
+2
pkgs/development/python-modules/asdf/default.nix
··· 94 94 homepage = "https://github.com/asdf-format/asdf"; 95 95 license = licenses.bsd3; 96 96 maintainers = with maintainers; [ ]; 97 + # Many tests fail, according to Hydra 98 + broken = true; 97 99 }; 98 100 }
+13 -4
pkgs/development/python-modules/astropy-extension-helpers/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchPypi 4 + , fetchpatch 4 5 , findutils 5 6 , pytestCheckHook 6 7 , pythonOlder ··· 11 12 12 13 buildPythonPackage rec { 13 14 pname = "extension-helpers"; 14 - version = "1.0.0"; 15 + version = "1.1.0"; 15 16 format = "pyproject"; 16 17 17 18 disabled = pythonOlder "3.6"; 18 19 19 20 src = fetchPypi { 20 21 inherit pname version; 21 - sha256 = "ca1bfac67c79cf4a7a0c09286ce2a24eec31bf17715818d0726318dd0e5050e6"; 22 + hash = "sha256-SUYMeKP40fjOwXRHn16FrURZSMzEFgM8WqPm3fLFAik="; 22 23 }; 23 24 25 + patches = [ 26 + # Not needed to allow this package to build, but meant for it's dependent 27 + # packages, like astropy. See explanation at: 28 + # https://github.com/astropy/extension-helpers/pull/59 29 + (fetchpatch { 30 + url = "https://github.com/astropy/extension-helpers/commit/796f3e7831298df2d26b6d994b13fd57061a56d1.patch"; 31 + hash = "sha256-NnqK9HQq1hQ66RUJf9gTCuLyA0BVqVtL292mSXJ9860="; 32 + }) 33 + ]; 34 + 24 35 nativeBuildInputs = [ 25 36 setuptools-scm 26 37 wheel 27 38 ]; 28 - 29 - patches = [ ./permissions.patch ]; 30 39 31 40 nativeCheckInputs = [ 32 41 findutils
-20
pkgs/development/python-modules/astropy-extension-helpers/permissions.patch
··· 1 - diff --git a/extension_helpers/_setup_helpers.py b/extension_helpers/_setup_helpers.py 2 - index ec3e547..e2419f7 100644 3 - --- a/extension_helpers/_setup_helpers.py 4 - +++ b/extension_helpers/_setup_helpers.py 5 - @@ -79,8 +79,13 @@ def get_extensions(srcdir='.'): 6 - if len(ext_modules) > 0: 7 - main_package_dir = min(packages, key=len) 8 - src_path = os.path.join(os.path.dirname(__file__), 'src') 9 - - shutil.copy(os.path.join(src_path, 'compiler.c'), 10 - - os.path.join(srcdir, main_package_dir, '_compiler.c')) 11 - + a = os.path.join(src_path, 'compiler.c') 12 - + b = os.path.join(srcdir, main_package_dir, '_compiler.c') 13 - + try: 14 - + os.unlink(b) 15 - + except OSError: 16 - + pass 17 - + shutil.copy(a, b) 18 - ext = Extension(main_package_dir + '.compiler_version', 19 - [os.path.join(main_package_dir, '_compiler.c')]) 20 - ext_modules.append(ext)
+41 -12
pkgs/development/python-modules/astropy/default.nix
··· 1 1 { lib 2 2 , fetchPypi 3 + , fetchpatch 3 4 , buildPythonPackage 4 5 , pythonOlder 5 6 ··· 10 11 , oldest-supported-numpy 11 12 , setuptools-scm 12 13 , wheel 14 + # testing 15 + , pytestCheckHook 16 + , pytest-xdist 17 + , pytest-astropy 18 + , python 13 19 14 20 # runtime 15 21 , numpy ··· 18 24 , pyyaml 19 25 }: 20 26 21 - let 27 + buildPythonPackage rec { 22 28 pname = "astropy"; 23 - version = "5.2.1"; 24 - in 25 - buildPythonPackage { 26 - inherit pname version; 29 + version = "5.3.3"; 27 30 format = "pyproject"; 28 31 29 32 disabled = pythonOlder "3.8"; # according to setup.cfg 30 33 31 34 src = fetchPypi { 32 35 inherit pname version; 33 - hash = "sha256-9q4noHf46oSQPvp2x5C5hWFzQaAISw0hw5H3o/MyrCM="; 36 + hash = "sha256-AzDfn116IlQ2fpuM9EJVuhBwsGEjGIxqcu3BgEk/k7s="; 34 37 }; 38 + patches = [ 39 + # Fixes running tests in parallel issue 40 + # https://github.com/astropy/astropy/issues/15316. Fix from 41 + # https://github.com/astropy/astropy/pull/15327 42 + (fetchpatch { 43 + url = "https://github.com/astropy/astropy/commit/1042c0fb06a992f683bdc1eea2beda0b846ed356.patch"; 44 + hash = "sha256-bApAcGBRrJ94thhByoYvdqw2e6v77+FmTfgmGcE6MMk="; 45 + }) 46 + ]; 35 47 48 + # Relax cython dependency to allow this to build, upstream only doesn't 49 + # support cython 3 as of writing. See: 50 + # https://github.com/astropy/astropy/issues/15315 36 51 postPatch = '' 37 52 substituteInPlace pyproject.toml \ 38 53 --replace 'cython==' 'cython>=' ··· 54 69 pyyaml 55 70 ]; 56 71 57 - # infinite recursion with pytest-astropy (pytest-astropy-header depends on astropy itself) 58 - doCheck = false; 72 + nativeCheckInputs = [ 73 + pytestCheckHook 74 + pytest-xdist 75 + pytest-astropy 76 + ]; 59 77 60 - meta = with lib; { 78 + # Not running it inside the build directory. See: 79 + # https://github.com/astropy/astropy/issues/15316#issuecomment-1722190547 80 + preCheck = '' 81 + cd "$out" 82 + export HOME="$(mktemp -d)" 83 + export OMP_NUM_THREADS=$(( $NIX_BUILD_CORES / 4 )) 84 + ''; 85 + pythonImportsCheck = [ 86 + "astropy" 87 + ]; 88 + 89 + meta = { 61 90 description = "Astronomy/Astrophysics library for Python"; 62 91 homepage = "https://www.astropy.org"; 63 - license = licenses.bsd3; 64 - platforms = platforms.all; 65 - maintainers = [ maintainers.kentjames ]; 92 + license = lib.licenses.bsd3; 93 + platforms = lib.platforms.all; 94 + maintainers = with lib.maintainers; [ kentjames doronbehar ]; 66 95 }; 67 96 }
+2
pkgs/development/python-modules/astroquery/default.nix
··· 66 66 description = "Functions and classes to access online data resources"; 67 67 homepage = "https://astroquery.readthedocs.io/"; 68 68 license = licenses.bsd3; 69 + # Broken since a certain astropy update, due to API incompatibility 70 + broken = true; 69 71 maintainers = [ maintainers.smaret ]; 70 72 }; 71 73 }
+2 -2
pkgs/development/python-modules/botocore-stubs/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "botocore-stubs"; 12 - version = "1.31.52"; 12 + version = "1.31.53"; 13 13 format = "pyproject"; 14 14 15 15 disabled = pythonOlder "3.7"; ··· 17 17 src = fetchPypi { 18 18 pname = "botocore_stubs"; 19 19 inherit version; 20 - hash = "sha256-L6m3jHozWpTZGAeXc9wxmHht50FYYYfYR6hxC5wzcAk="; 20 + hash = "sha256-Ag7eB210DaUvzJ6tiwZB+2xVc/HXwX1hudnRRLOZBfg="; 21 21 }; 22 22 23 23 nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/dvclive/default.nix
··· 14 14 15 15 buildPythonPackage rec { 16 16 pname = "dvclive"; 17 - version = "2.16.0"; 17 + version = "3.0.0"; 18 18 format = "pyproject"; 19 19 20 20 disabled = pythonOlder "3.8"; ··· 23 23 owner = "iterative"; 24 24 repo = pname; 25 25 rev = "refs/tags/${version}"; 26 - hash = "sha256-VxZXZhbKtym1ow/dU3G4yu4X1GwCsXzcau/YocertzY="; 26 + hash = "sha256-nTxgRfzrKYl6aC8rxusZPBihpsKp7gCyxKVOiDrTNtE="; 27 27 }; 28 28 29 29 SETUPTOOLS_SCM_PRETEND_VERSION = version;
+11 -5
pkgs/development/python-modules/gprof2dot/default.nix
··· 3 3 , buildPythonPackage 4 4 , python 5 5 , graphviz 6 + , pythonOlder 6 7 }: 7 8 8 9 buildPythonPackage rec { 9 10 pname = "gprof2dot"; 10 - version = "2021.02.21"; 11 + version = "2022.07.29"; 11 12 format = "setuptools"; 12 13 14 + disabled = pythonOlder "3.7"; 15 + 13 16 src = fetchFromGitHub { 14 17 owner = "jrfonseca"; 15 18 repo = "gprof2dot"; 16 - rev = version; 17 - sha256 = "1jjhsjf5fdi1fkn7mvhnzkh6cynl8gcjrygd3cya5mmda3akhzic"; 19 + rev = "refs/tags/${version}"; 20 + hash = "sha256-nIsBO6KTyG2VZZRXrkU/T/a9Ki1x6hda5Vv3rZv/mJM="; 18 21 }; 19 22 20 23 makeWrapperArgs = [ ··· 22 25 ]; 23 26 24 27 # Needed so dot is on path of the test script 25 - nativeCheckInputs = [ graphviz ]; 28 + nativeCheckInputs = [ 29 + graphviz 30 + ]; 26 31 27 32 checkPhase = '' 28 33 runHook preCheck ··· 34 39 ''; 35 40 36 41 meta = with lib; { 42 + description = "Python script to convert the output from many profilers into a dot graph"; 37 43 homepage = "https://github.com/jrfonseca/gprof2dot"; 38 - description = "Python script to convert the output from many profilers into a dot graph"; 44 + changelog = "https://github.com/jrfonseca/gprof2dot/releases/tag/${version}"; 39 45 license = licenses.lgpl3Plus; 40 46 maintainers = with maintainers; [ pmiddend ]; 41 47 };
+2 -2
pkgs/development/python-modules/iocextract/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "iocextract"; 12 - version = "1.16.0"; 12 + version = "1.16.1"; 13 13 format = "setuptools"; 14 14 15 15 disabled = pythonOlder "3.7"; ··· 18 18 owner = "InQuest"; 19 19 repo = "python-iocextract"; 20 20 rev = "refs/tags/v${version}"; 21 - hash = "sha256-jwMu4G146FpH6aFCiZK9tI/3CKnZYC2RCtO9QXXaquQ="; 21 + hash = "sha256-cCp9ug/TuVY1zL+kiDlFGBmfFJyAmVwxLD36WT0oRAE="; 22 22 }; 23 23 24 24 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/liccheck/default.nix
··· 13 13 14 14 buildPythonPackage rec { 15 15 pname = "liccheck"; 16 - version = "0.9.1"; 16 + version = "0.9.2"; 17 17 format = "setuptools"; 18 18 19 19 disabled = pythonOlder "3.7"; ··· 22 22 owner = "dhatim"; 23 23 repo = "python-license-check"; 24 24 rev = "refs/tags/${version}"; 25 - hash = "sha256-ZgwHcZI0vsNYJWPkUnoBogVPPIuifAX9hu4fa1fHSz4="; 25 + hash = "sha256-2WJw5TVMjOr+GX4YV0nssOtQeYvDHBLnlWquJQWPL9I="; 26 26 }; 27 27 28 28 propagatedBuildInputs = [
+8 -3
pkgs/development/python-modules/m3u8/default.nix
··· 4 4 , iso8601 5 5 , bottle 6 6 , pytestCheckHook 7 + , pythonOlder 7 8 }: 8 9 9 10 buildPythonPackage rec { 10 11 pname = "m3u8"; 11 - version = "3.5.0"; 12 + version = "3.6.0"; 13 + format = "setuptools"; 14 + 15 + disabled = pythonOlder "3.7"; 12 16 13 17 src = fetchFromGitHub { 14 18 owner = "globocom"; 15 19 repo = pname; 16 20 rev = "refs/tags/${version}"; 17 - hash = "sha256-9Xmbc1aL7SI24FFn0/5KJtAM3+Xyvd3bwUh8DU1wGKE="; 21 + hash = "sha256-JLYRkibcvmNct2eIBfBP7z3gR680xhZL/Kn/1S7feoo="; 18 22 }; 19 23 20 24 propagatedBuildInputs = [ ··· 38 42 ]; 39 43 40 44 meta = with lib; { 45 + description = "Python m3u8 parser"; 41 46 homepage = "https://github.com/globocom/m3u8"; 42 - description = "Python m3u8 parser"; 47 + changelog = "https://github.com/globocom/m3u8/releases/tag//${version}"; 43 48 license = licenses.mit; 44 49 maintainers = with maintainers; [ Scriptkiddi ]; 45 50 };
+76
pkgs/development/python-modules/podman/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , fixtures 5 + , pytestCheckHook 6 + , pythonOlder 7 + , pyxdg 8 + , requests 9 + , requests-mock 10 + , setuptools 11 + , tomli 12 + , urllib3 13 + , wheel 14 + }: 15 + 16 + buildPythonPackage rec { 17 + pname = "podman"; 18 + version = "4.6.0"; 19 + pyproject = true; 20 + 21 + disabled = pythonOlder "3.7"; 22 + 23 + src = fetchFromGitHub { 24 + owner = "containers"; 25 + repo = "podman-py"; 26 + rev = "refs/tags/v${version}"; 27 + hash = "sha256-76mLgkQgYbm04bj1VX7SC/kW8JEbYjbK3x6Xb612wnk="; 28 + }; 29 + 30 + nativeBuildInputs = [ 31 + setuptools 32 + wheel 33 + ]; 34 + 35 + propagatedBuildInputs = [ 36 + pyxdg 37 + requests 38 + tomli 39 + urllib3 40 + ]; 41 + 42 + nativeCheckInputs = [ 43 + fixtures 44 + pytestCheckHook 45 + requests-mock 46 + ]; 47 + 48 + preCheck = '' 49 + export HOME=$(mktemp -d) 50 + ''; 51 + 52 + pythonImportsCheck = [ 53 + "podman" 54 + ]; 55 + 56 + disabledTests = [ 57 + # Integration tests require a running container setup 58 + "AdapterIntegrationTest" 59 + "ContainersIntegrationTest" 60 + "ImagesIntegrationTest" 61 + "ManifestsIntegrationTest" 62 + "NetworksIntegrationTest" 63 + "PodsIntegrationTest" 64 + "SecretsIntegrationTest" 65 + "SystemIntegrationTest" 66 + "VolumesIntegrationTest" 67 + ]; 68 + 69 + meta = with lib; { 70 + description = "Python bindings for Podman's RESTful API"; 71 + homepage = "https://github.com/containers/podman-py"; 72 + changelog = "https://github.com/containers/podman-py/releases/tag/v${version}"; 73 + license = licenses.asl20; 74 + maintainers = with maintainers; [ fab ]; 75 + }; 76 + }
+32 -5
pkgs/development/python-modules/pyerfa/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchPypi 4 + , fetchpatch 4 5 , jinja2 5 6 , oldest-supported-numpy 6 7 , setuptools-scm ··· 8 9 , liberfa 9 10 , packaging 10 11 , numpy 12 + , pytestCheckHook 13 + , pytest-doctestplus 11 14 }: 12 15 13 16 buildPythonPackage rec { 14 17 pname = "pyerfa"; 15 18 format = "pyproject"; 16 - version = "2.0.0.1"; 17 - 18 - doCheck = false; 19 + version = "2.0.0.3"; 19 20 20 21 src = fetchPypi { 21 22 inherit pname version; 22 - hash = "sha256-L9Rjf/4sHm7edILBP1g7p8cxGdeL75AXVEjOUGoO3jA="; 23 + hash = "sha256-13+7+lg1DBlMy5nl2TqgXTwrFNWq2LZi2Txq2f/0Hzk="; 23 24 }; 24 25 26 + patches = [ 27 + # Sort of helps maybe for https://github.com/liberfa/pyerfa/issues/112 28 + (fetchpatch { 29 + url = "https://github.com/liberfa/pyerfa/commit/4866342b94c5e7344711146f1186a4c3e7534da8.patch"; 30 + hash = "sha256-uPFFdLYfRweQdeEApBAw6Ulqh31NTQwwmnaU+x/M+C0="; 31 + }) 32 + ]; 33 + 25 34 nativeBuildInputs = [ 26 35 jinja2 27 36 oldest-supported-numpy ··· 31 40 ]; 32 41 33 42 propagatedBuildInputs = [ 43 + numpy 44 + ]; 45 + buildInputs = [ 34 46 liberfa 35 - numpy 36 47 ]; 37 48 38 49 preBuild = '' 39 50 export PYERFA_USE_SYSTEM_LIBERFA=1 40 51 ''; 52 + 53 + # See https://github.com/liberfa/pyerfa/issues/112#issuecomment-1721197483 54 + NIX_CFLAGS_COMPILE = "-O2"; 55 + nativeCheckInputs = [ 56 + pytestCheckHook 57 + pytest-doctestplus 58 + ]; 59 + # Getting circular import errors without this, not clear yet why. This was mentioned to 60 + # upstream at: https://github.com/liberfa/pyerfa/issues/112 and downstream at 61 + # https://github.com/NixOS/nixpkgs/issues/255262 62 + preCheck = '' 63 + cd $out 64 + ''; 65 + pythonImportsCheck = [ 66 + "erfa" 67 + ]; 41 68 42 69 meta = with lib; { 43 70 description = "Python bindings for ERFA routines";
+2 -2
pkgs/development/python-modules/python-fx/default.nix
··· 30 30 31 31 buildPythonPackage rec { 32 32 pname = "python-fx"; 33 - version = "0.2.0"; 33 + version = "0.3.0"; 34 34 format = "setuptools"; 35 35 36 36 disabled = pythonOlder "3.8"; ··· 39 39 owner = "cielong"; 40 40 repo = "pyfx"; 41 41 rev = "refs/tags/v${version}"; 42 - hash = "sha256-nRMeYL0JGvCtUQBUMXUsZ4+F2KX+x/CbZ61sAidT9so="; 42 + hash = "sha256-Bgg6UbAyog1I4F2NfULY+UlPf2HeyBJdxm4+5bmCLN0="; 43 43 }; 44 44 45 45 postPatch = ''
+3
pkgs/development/python-modules/qcodes-loop/default.nix
··· 1 1 { lib 2 + , stdenv 2 3 , fetchpatch 3 4 , fetchPypi 4 5 , pythonOlder ··· 97 98 homepage = "https://github.com/QCoDeS/Qcodes_loop"; 98 99 license = licenses.mit; 99 100 maintainers = with maintainers; [ evilmav ]; 101 + # Some tests fail on this platform 102 + broken = stdenv.isDarwin; 100 103 }; 101 104 }
+2 -2
pkgs/development/python-modules/setupmeta/default.nix
··· 14 14 15 15 buildPythonPackage rec { 16 16 pname = "setupmeta"; 17 - version = "3.4.0"; 17 + version = "3.5.2"; 18 18 format = "setuptools"; 19 19 20 20 disabled = pythonOlder "3.6"; ··· 23 23 owner = "codrsquad"; 24 24 repo = pname; 25 25 rev = "refs/tags/v${version}"; 26 - hash = "sha256-HNGoLCTidgnaU5QA+0d/PQuCswigjdvQC3/w19i+Xuc="; 26 + hash = "sha256-r3pGlcdem+c5I2dKrRueksesqq9HTk0oEr/xJuM7vuc="; 27 27 }; 28 28 29 29 preBuild = ''
+2
pkgs/development/python-modules/spectral-cube/default.nix
··· 63 63 changelog = "https://github.com/radio-astro-tools/spectral-cube/releases/tag/v${version}"; 64 64 license = licenses.bsd3; 65 65 maintainers = with maintainers; [ smaret ]; 66 + # Tests fail to start, according to Hydra 67 + broken = true; 66 68 }; 67 69 }
+2 -2
pkgs/development/python-modules/weconnect/default.nix
··· 12 12 13 13 buildPythonPackage rec { 14 14 pname = "weconnect"; 15 - version = "0.58.0"; 15 + version = "0.58.3"; 16 16 format = "setuptools"; 17 17 18 18 disabled = pythonOlder "3.8"; ··· 21 21 owner = "tillsteinbach"; 22 22 repo = "WeConnect-python"; 23 23 rev = "refs/tags/v${version}"; 24 - hash = "sha256-2+RvDAKIUsQwmVrqcgt0RXOF+Z+lZ6oSyZyI+HTcZBs="; 24 + hash = "sha256-fSrmprt3aiYa8gRXOWKHKXah3zSqhRvD32nVdMrihwA="; 25 25 }; 26 26 27 27 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/xmlschema/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "xmlschema"; 13 - version = "2.3.1"; 13 + version = "2.5.0"; 14 14 format = "setuptools"; 15 15 16 16 disabled = pythonOlder "3.7"; ··· 19 19 owner = "sissaschool"; 20 20 repo = "xmlschema"; 21 21 rev = "refs/tags/v${version}"; 22 - hash = "sha256-0xXA3IguVAyFp5dFvuzAQhzJlGMmNthmPXcja9FYV44="; 22 + hash = "sha256-ETWD+i0VJbmfSHFvOsRkuzScKZdEyr6It3+U5Q7cQbQ="; 23 23 }; 24 24 25 25 propagatedBuildInputs = [
+3 -3
pkgs/development/tools/rust/cargo-tally/default.nix
··· 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "cargo-tally"; 5 - version = "1.0.29"; 5 + version = "1.0.30"; 6 6 7 7 src = fetchCrate { 8 8 inherit pname version; 9 - sha256 = "sha256-SCxigQ6jhT+r6ixgCGwWDtvU8WUJ+5eWYe8DIWPBWhY="; 9 + hash = "sha256-5k4nx4VSYN4jscCwj5NVYnV5/GS0PRCA23xR6STHr88="; 10 10 }; 11 11 12 - cargoSha256 = "sha256-ZX2T+wKIgYJqOK6118wmsMBKigtJvPqJ2hVtyh23zUk="; 12 + cargoHash = "sha256-eyGDizffuIPpa797YplD6763/JlVtoMAxybK9KsgmLE="; 13 13 14 14 buildInputs = lib.optionals stdenv.isDarwin (with darwin.apple_sdk_11_0.frameworks; [ 15 15 DiskArbitration
+10 -10
pkgs/os-specific/linux/kernel/kernels-org.json
··· 1 1 { 2 2 "testing": { 3 - "version": "6.6-rc1", 4 - "hash": "02zh3dnikyhhlas9xccia963d4yqmzq0m4b8s10x8mjng3na45hd" 3 + "version": "6.6-rc2", 4 + "hash": "sha256:1hbva5vsfi48h82ll4kmhzm5hxp7340bj2smwgvjikam26icaj54" 5 5 }, 6 6 "6.5": { 7 7 "version": "6.5.4", 8 - "hash": "0s8nzd8yaq06bq8byk7aakbk95gh0rhlif26h1biw94v48anrxxx" 8 + "hash": "sha256:0s8nzd8yaq06bq8byk7aakbk95gh0rhlif26h1biw94v48anrxxx" 9 9 }, 10 10 "6.4": { 11 11 "version": "6.4.16", 12 - "hash": "0zgj1z97jyx7wf12zrnlcp0mj4cl43ais9qsy6dh1jwylf2fq9ln" 12 + "hash": "sha256:0zgj1z97jyx7wf12zrnlcp0mj4cl43ais9qsy6dh1jwylf2fq9ln" 13 13 }, 14 14 "6.1": { 15 15 "version": "6.1.54", 16 - "hash": "09sfrq2l8f777mx2n9mhb6bgz1064bl04921byqnmk87si31w653" 16 + "hash": "sha256:09sfrq2l8f777mx2n9mhb6bgz1064bl04921byqnmk87si31w653" 17 17 }, 18 18 "5.15": { 19 19 "version": "5.15.132", 20 - "hash": "1b0qjsaqjw2rk86shmmrj2aasblkn27acjmc761vnjg7sv2baxs1" 20 + "hash": "sha256:1b0qjsaqjw2rk86shmmrj2aasblkn27acjmc761vnjg7sv2baxs1" 21 21 }, 22 22 "5.10": { 23 23 "version": "5.10.195", 24 - "hash": "0n4vg2i9sq89wnz85arlyvwysh9s83cgzs5bk2wh98bivi5fwfs1" 24 + "hash": "sha256:0n4vg2i9sq89wnz85arlyvwysh9s83cgzs5bk2wh98bivi5fwfs1" 25 25 }, 26 26 "5.4": { 27 27 "version": "5.4.256", 28 - "hash": "0fim5q9xakwnjfg48bpsic9r2r8dvrjlalqqkm9vh1rml9mhi967" 28 + "hash": "sha256:0fim5q9xakwnjfg48bpsic9r2r8dvrjlalqqkm9vh1rml9mhi967" 29 29 }, 30 30 "4.19": { 31 31 "version": "4.19.294", 32 - "hash": "03x0xsb8a369zdr81hg6xdl5n5v48k6iwnhj6r29725777lvvbfc" 32 + "hash": "sha256:03x0xsb8a369zdr81hg6xdl5n5v48k6iwnhj6r29725777lvvbfc" 33 33 }, 34 34 "4.14": { 35 35 "version": "4.14.325", 36 - "hash": "117p1mdha57f6d3kdwac9jrbmib7g77q4xhir8ghl6fmrs1f2sav" 36 + "hash": "sha256:117p1mdha57f6d3kdwac9jrbmib7g77q4xhir8ghl6fmrs1f2sav" 37 37 } 38 38 }
+17 -8
pkgs/os-specific/linux/kernel/mainline.nix
··· 1 - { branch, lib, fetchurl, buildLinux, ... } @ args: 1 + { branch, lib, fetchurl, fetchzip, buildLinux, ... } @ args: 2 2 3 3 let 4 4 allKernels = builtins.fromJSON (builtins.readFile ./kernels-org.json); 5 5 thisKernel = allKernels.${branch}; 6 + inherit (thisKernel) version; 6 7 7 - args' = (builtins.removeAttrs args ["branch"]) // rec { 8 - inherit (thisKernel) version; 8 + src = 9 + # testing kernels are a special case because they don't have tarballs on the CDN 10 + if branch == "testing" 11 + then fetchzip { 12 + url = "https://git.kernel.org/torvalds/t/linux-${version}.tar.gz"; 13 + inherit (thisKernel) hash; 14 + } 15 + else fetchurl { 16 + url = "mirror://kernel/linux/kernel/v${lib.versions.major version}.x/linux-${version}.tar.xz"; 17 + inherit (thisKernel) hash; 18 + }; 19 + 20 + args' = (builtins.removeAttrs args ["branch"]) // { 21 + inherit src version; 22 + 9 23 modDirVersion = lib.versions.pad 3 version; 10 24 extraMeta.branch = branch; 11 - 12 - src = fetchurl { 13 - url = "mirror://kernel/linux/kernel/v${lib.versions.major version}.x/linux-${version}.tar.xz"; 14 - sha256 = thisKernel.hash; 15 - }; 16 25 } // (args.argsOverride or {}); 17 26 in 18 27 buildLinux args'
+49 -23
pkgs/os-specific/linux/kernel/update-mainline.py
··· 1 1 #!/usr/bin/env nix-shell 2 2 #!nix-shell -i python3 -p "python3.withPackages (ps: [ ps.beautifulsoup4 ps.lxml ])" 3 - from enum import Enum 4 - from bs4 import BeautifulSoup, NavigableString, Tag 5 - from dataclasses import dataclass 6 3 import json 4 + import os 7 5 import pathlib 8 - import re 9 6 import subprocess 10 - import urllib.request 11 7 import sys 8 + import urllib.request 9 + from dataclasses import dataclass 10 + from enum import Enum 12 11 12 + from bs4 import BeautifulSoup, NavigableString, Tag 13 13 14 14 HERE = pathlib.Path(__file__).parent 15 15 ROOT = HERE.parent.parent.parent.parent 16 16 VERSIONS_FILE = HERE / "kernels-org.json" 17 + 17 18 18 19 class KernelNature(Enum): 19 20 MAINLINE = 1 20 21 STABLE = 2 21 22 LONGTERM = 3 23 + 22 24 23 25 @dataclass 24 26 class KernelRelease: 25 27 nature: KernelNature 26 28 version: str 29 + branch: str 27 30 date: str 28 31 link: str 29 32 eol: bool = False 33 + 30 34 31 35 def parse_release(release: Tag) -> KernelRelease | None: 32 - columns: list[Tag] = list(release.find_all('td')) 36 + columns: list[Tag] = list(release.find_all("td")) 33 37 try: 34 - nature = KernelNature[columns[0].get_text().rstrip(':').upper()] 38 + nature = KernelNature[columns[0].get_text().rstrip(":").upper()] 35 39 except KeyError: 36 40 return None 37 41 38 - version = columns[1].get_text().rstrip(' [EOL]') 42 + version = columns[1].get_text().rstrip(" [EOL]") 39 43 date = columns[2].get_text() 40 - link = columns[3].find('a') 44 + link = columns[3].find("a") 41 45 if link is not None and isinstance(link, Tag): 42 - link = link.attrs.get('href') 43 - assert link is not None, f'link for kernel {version} is non-existent' 44 - eol = bool(release.find(class_='eolkernel')) 46 + link = link.attrs.get("href") 47 + assert link is not None, f"link for kernel {version} is non-existent" 48 + eol = bool(release.find(class_="eolkernel")) 45 49 46 - return KernelRelease(nature=nature, version=version, date=date, link=link, eol=eol) 50 + return KernelRelease( 51 + nature=nature, 52 + branch=get_branch(version), 53 + version=version, 54 + date=date, 55 + link=link, 56 + eol=eol, 57 + ) 58 + 47 59 48 60 def get_branch(version: str): 49 61 # This is a testing kernel. 50 - if 'rc' in version: 51 - return 'testing' 62 + if "rc" in version: 63 + return "testing" 52 64 else: 53 65 major, minor, *_ = version.split(".") 54 66 return f"{major}.{minor}" 55 67 56 68 57 - def get_hash(url: str): 58 - return subprocess.check_output(["nix-prefetch-url", url]).decode().strip() 69 + def get_hash(kernel: KernelRelease): 70 + if kernel.branch == "testing": 71 + args = ["--unpack"] 72 + else: 73 + args = [] 74 + 75 + hash = ( 76 + subprocess.check_output(["nix-prefetch-url", kernel.link] + args) 77 + .decode() 78 + .strip() 79 + ) 80 + return f"sha256:{hash}" 59 81 60 82 61 83 def commit(message): ··· 65 87 def main(): 66 88 kernel_org = urllib.request.urlopen("https://kernel.org/") 67 89 soup = BeautifulSoup(kernel_org.read().decode(), "lxml") 68 - release_table = soup.find(id='releases') 90 + release_table = soup.find(id="releases") 69 91 if not release_table or isinstance(release_table, NavigableString): 70 92 print(release_table) 71 - print('Failed to find the release table on https://kernel.org') 93 + print("Failed to find the release table on https://kernel.org") 72 94 sys.exit(1) 73 95 74 - releases = release_table.find_all('tr') 96 + releases = release_table.find_all("tr") 75 97 parsed_releases = filter(None, [parse_release(release) for release in releases]) 76 98 all_kernels = json.load(VERSIONS_FILE.open()) 77 99 78 100 for kernel in parsed_releases: 79 101 branch = get_branch(kernel.version) 80 - nixpkgs_branch = branch.replace('.', '_') 102 + nixpkgs_branch = branch.replace(".", "_") 81 103 82 104 old_version = all_kernels.get(branch, {}).get("version") 83 105 if old_version == kernel.version: ··· 91 113 92 114 print(message) 93 115 94 - all_kernels[branch] = {"version": kernel.version, "hash": get_hash(kernel.link)} 116 + all_kernels[branch] = { 117 + "version": kernel.version, 118 + "hash": get_hash(kernel), 119 + } 95 120 96 121 with VERSIONS_FILE.open("w") as fd: 97 122 json.dump(all_kernels, fd, indent=4) 98 123 fd.write("\n") # makes editorconfig happy 99 124 100 - commit(message) 125 + if os.environ.get("COMMIT") == "1": 126 + commit(message) 101 127 102 128 103 129 if __name__ == "__main__":
+5 -2
pkgs/test/nixpkgs-check-by-name/default.nix
··· 26 26 export NIX_STATE_DIR=$TEST_ROOT/var/nix 27 27 export NIX_STORE_DIR=$TEST_ROOT/store 28 28 29 - # cargo tests run in parallel by default, which would then run into 30 - # https://github.com/NixOS/nix/issues/2706 unless the store is initialised first 29 + # Ensure that even if tests run in parallel, we don't get an error 30 + # We'd run into https://github.com/NixOS/nix/issues/2706 unless the store is initialised first 31 31 nix-store --init 32 32 ''; 33 + # The tests use the shared environment variables, 34 + # so we cannot run them in parallel 35 + dontUseCargoParallelTests = true; 33 36 postCheck = '' 34 37 cargo fmt --check 35 38 cargo clippy -- -D warnings
+3 -3
pkgs/tools/security/naabu/default.nix
··· 6 6 7 7 buildGoModule rec { 8 8 pname = "naabu"; 9 - version = "2.1.7"; 9 + version = "2.1.8"; 10 10 11 11 src = fetchFromGitHub { 12 12 owner = "projectdiscovery"; 13 13 repo = "naabu"; 14 14 rev = "refs/tags/v${version}"; 15 - hash = "sha256-x6TmV8c5p9Uuc9uJG3+FNNpdmzdzgQpsyO29dly7PuU="; 15 + hash = "sha256-/EVlg0NhWJRowHttwYq+i/3BhO5o8w74kRLWIjSI6AQ="; 16 16 }; 17 17 18 - vendorHash = "sha256-9LIPRiLKszfz9Gj26G03TPHOqCXi1s3CYiaadInlD84="; 18 + vendorHash = "sha256-LoYArDsCJCDSI02nFSUVemYNeF+q5xAjV2QyWjMOXIY="; 19 19 20 20 buildInputs = [ 21 21 libpcap
+3 -3
pkgs/tools/security/trufflehog/default.nix
··· 7 7 8 8 buildGoModule rec { 9 9 pname = "trufflehog"; 10 - version = "3.56.1"; 10 + version = "3.57.0"; 11 11 12 12 src = fetchFromGitHub { 13 13 owner = "trufflesecurity"; 14 14 repo = "trufflehog"; 15 15 rev = "refs/tags/v${version}"; 16 - hash = "sha256-4FN3FAs6Sc2LLcqaKsSxJS9VVNwp/Zit9gZT+qDXRik="; 16 + hash = "sha256-EzzjtrorfFYO6mEe8F/lYbHP96G04pFIRc6fzLa8eeY="; 17 17 }; 18 18 19 - vendorHash = "sha256-NBwPyA+NuW9RA/dXj+FpTa6RU0WOZRrey7gosDOatG8="; 19 + vendorHash = "sha256-iCCk5ngXsAyVaPeCllIrT1KjoM0KlNlgCiLeASquMco="; 20 20 21 21 ldflags = [ 22 22 "-s"
-1
pkgs/tools/text/txr/default.nix
··· 69 69 license = lib.licenses.bsd2; 70 70 maintainers = with lib.maintainers; [ AndersonTorres dtzWill ]; 71 71 platforms = lib.platforms.all; 72 - broken = stdenv.isDarwin && stdenv.isx86_64; # ofborg fails while testing 73 72 }; 74 73 })
+2
pkgs/top-level/aliases.nix
··· 1520 1520 qlandkartegt = throw "'qlandkartegt' has been removed from nixpkgs, as it was broken and unmaintained"; # Added 2023-04-17 1521 1521 qr-filetransfer = throw ''"qr-filetransfer" has been renamed to "qrcp"''; # Added 2020-12-02 1522 1522 qshowdiff = throw "'qshowdiff' (Qt4) is unmaintained and not been updated since its addition in 2010"; # Added 2022-06-14 1523 + qscintilla = libsForQt5.qscintilla; # Added 2023-09-20 1524 + qscintilla-qt6 = qt6Packages.qscintilla; # Added 2023-09-20 1523 1525 qtscrobbler = throw "qtscrobbler has been removed, because it was unmaintained"; # Added 2022-05-26 1524 1526 qt-3 = throw "qt-3 has been removed from nixpkgs, as it's unmaintained and insecure"; # Added 2021-02-15 1525 1527 qt512 = throw "Qt 5 versions prior to 5.15 are no longer supported upstream and have been removed"; # Added 2022-11-24
+2 -6
pkgs/top-level/all-packages.nix
··· 12478 12478 12479 12479 qprint = callPackage ../tools/text/qprint { }; 12480 12480 12481 - qscintilla = libsForQt5.callPackage ../development/libraries/qscintilla { 12482 - stdenv = if stdenv.isDarwin then darwin.apple_sdk_11_0.stdenv else stdenv; 12483 - }; 12484 - 12485 - qscintilla-qt6 = qt6Packages.callPackage ../development/libraries/qscintilla { }; 12486 - 12487 12481 qrcp = callPackage ../tools/networking/qrcp { }; 12488 12482 12489 12483 qrscan = callPackage ../tools/misc/qrscan { }; ··· 30399 30393 whatsapp-emoji-font = callPackage ../data/fonts/whatsapp-emoji { }; 30400 30394 30401 30395 weather-icons = callPackage ../data/fonts/weather-icons { }; 30396 + 30397 + whitesur-cursors = callPackage ../data/icons/whitesur-cursors { }; 30402 30398 30403 30399 whitesur-gtk-theme = callPackage ../data/themes/whitesur { 30404 30400 inherit (gnome) gnome-shell;
+2
pkgs/top-level/python-packages.nix
··· 8539 8539 8540 8540 podcats = callPackage ../development/python-modules/podcats { }; 8541 8541 8542 + podman = callPackage ../development/python-modules/podman { }; 8543 + 8542 8544 poetry-core = callPackage ../development/python-modules/poetry-core { }; 8543 8545 8544 8546 poetry-dynamic-versioning = callPackage ../development/python-modules/poetry-dynamic-versioning { };
+2
pkgs/top-level/qt5-packages.nix
··· 221 221 222 222 quazip = callPackage ../development/libraries/quazip { }; 223 223 224 + qscintilla = callPackage ../development/libraries/qscintilla { }; 225 + 224 226 qwt = callPackage ../development/libraries/qwt/default.nix { }; 225 227 226 228 qwt6_1 = callPackage ../development/libraries/qwt/6_1.nix { };
+2
pkgs/top-level/qt6-packages.nix
··· 36 36 37 37 quazip = callPackage ../development/libraries/quazip { }; 38 38 39 + qscintilla = callPackage ../development/libraries/qscintilla { }; 40 + 39 41 qxlsx = callPackage ../development/libraries/qxlsx { }; 40 42 41 43 poppler = callPackage ../development/libraries/poppler {