lol

Merge master into staging-next

authored by

github-actions[bot] and committed by
GitHub
f10256fb fc131195

+334 -311
+1 -1
nixos/modules/services/networking/ddclient.nix
··· 181 181 }; 182 182 183 183 verbose = mkOption { 184 - default = true; 184 + default = false; 185 185 type = bool; 186 186 description = '' 187 187 Print verbose information.
+2 -2
nixos/tests/keepassxc.nix
··· 62 62 machine.send_key("tab") 63 63 machine.send_chars("/home/alice/foo.keyfile") 64 64 machine.send_key("ret") 65 - # Passwords folder is displayed 66 - machine.wait_for_text("Passwords") 65 + # Database is unlocked (doesn't have "[Locked]" in the title anymore) 66 + machine.wait_for_text("foo.kdbx - KeePassXC") 67 67 ''; 68 68 })
+2 -2
pkgs/applications/blockchains/clightning/default.nix
··· 21 21 in 22 22 stdenv.mkDerivation rec { 23 23 pname = "clightning"; 24 - version = "0.11.0.1"; 24 + version = "0.11.1"; 25 25 26 26 src = fetchurl { 27 27 url = "https://github.com/ElementsProject/lightning/releases/download/v${version}/clightning-v${version}.zip"; 28 - sha256 = "e2ad6eead19a0cd8869e291c27d318cf553bb015339c1f0e8d8b30e7bc0910d8"; 28 + sha256 = "0vsh6gpv3458pfc5cggay9pw7bxjzyxpcniks9b2s3y1rxwk15xi"; 29 29 }; 30 30 31 31 # when building on darwin we need dawin.cctools to provide the correct libtool
+14 -23
pkgs/applications/misc/keepassx/community.nix
··· 5 5 , darwin 6 6 7 7 , asciidoctor 8 + , botan2 8 9 , curl 9 - , glibcLocales 10 10 , libXi 11 11 , libXtst 12 12 , libargon2 13 - , libgcrypt 14 - , libgpg-error 15 - , libsodium 16 - , libyubikey 13 + , libusb1 14 + , minizip 15 + , pcsclite 17 16 , pkg-config 18 17 , qrencode 19 18 , qtbase 20 19 , qtmacextras 21 20 , qtsvg 22 21 , qtx11extras 23 - , quazip 24 22 , readline 25 23 , wrapGAppsHook 26 24 , wrapQtAppsHook 27 - , yubikey-personalization 28 25 , zlib 29 26 30 27 , withKeePassBrowser ? true 31 28 , withKeePassKeeShare ? true 32 - , withKeePassKeeShareSecure ? true 33 29 , withKeePassSSHAgent ? true 34 30 , withKeePassNetworking ? true 35 31 , withKeePassTouchID ? true 32 + , withKeePassYubiKey ? true 36 33 , withKeePassFDOSecrets ? true 37 34 38 35 , nixosTests ··· 42 39 43 40 stdenv.mkDerivation rec { 44 41 pname = "keepassxc"; 45 - version = "2.6.6"; 42 + version = "2.7.1"; 46 43 47 44 src = fetchFromGitHub { 48 45 owner = "keepassxreboot"; 49 46 repo = "keepassxc"; 50 47 rev = version; 51 - sha256 = "15rm3avdmc2x2n92zq6w1zbcranak4j6dds2sxmgdqi1ffc0a3ci"; 48 + sha256 = "sha256-BOtehDzlWhhfXj8TOFvFN4f86Hl2EC3rO4qUIl9fqq4="; 52 49 }; 53 50 54 51 NIX_CFLAGS_COMPILE = optionalString stdenv.cc.isClang [ ··· 66 63 cmakeFlags = [ 67 64 "-DKEEPASSXC_BUILD_TYPE=Release" 68 65 "-DWITH_GUI_TESTS=ON" 69 - "-DWITH_XC_AUTOTYPE=ON" 70 66 "-DWITH_XC_UPDATECHECK=OFF" 71 - "-DWITH_XC_YUBIKEY=ON" 72 67 ] 73 68 ++ (optional withKeePassBrowser "-DWITH_XC_BROWSER=ON") 74 69 ++ (optional withKeePassKeeShare "-DWITH_XC_KEESHARE=ON") 75 - ++ (optional withKeePassKeeShareSecure "-DWITH_XC_KEESHARE_SECURE=ON") 76 70 ++ (optional withKeePassNetworking "-DWITH_XC_NETWORKING=ON") 77 - ++ (optional (withKeePassTouchID && stdenv.isDarwin) "-DWITH_XC_TOUCHID=ON") 71 + ++ (optional (withKeePassYubiKey && stdenv.isLinux) "-DWITH_XC_YUBIKEY=ON") 78 72 ++ (optional (withKeePassFDOSecrets && stdenv.isLinux) "-DWITH_XC_FDOSECRETS=ON") 79 73 ++ (optional withKeePassSSHAgent "-DWITH_XC_SSHAGENT=ON"); 80 74 ··· 95 89 96 90 buildInputs = [ 97 91 curl 98 - glibcLocales 92 + botan2 99 93 libXi 100 94 libXtst 101 95 libargon2 102 - libgcrypt 103 - libgpg-error 104 - libsodium 105 - libyubikey 96 + minizip 97 + pcsclite 106 98 qrencode 107 99 qtbase 108 100 qtsvg 109 101 qtx11extras 110 102 readline 111 - yubikey-personalization 112 103 zlib 113 104 ] 114 - ++ optional withKeePassKeeShareSecure quazip 105 + ++ optional stdenv.isLinux libusb1 115 106 ++ optional stdenv.isDarwin qtmacextras 116 - ++ optional (stdenv.isDarwin && withKeePassTouchID) 117 - darwin.apple_sdk.frameworks.LocalAuthentication; 107 + ++ optional (stdenv.isDarwin && withKeePassTouchID) darwin.apple_sdk.frameworks.LocalAuthentication; 118 108 119 109 passthru.tests = nixosTests.keepassxc; 120 110 ··· 131 121 license = licenses.gpl2Plus; 132 122 maintainers = with maintainers; [ jonafato turion ]; 133 123 platforms = platforms.linux ++ platforms.darwin; 124 + broken = stdenv.isDarwin; # see to https://github.com/NixOS/nixpkgs/issues/172165 134 125 }; 135 126 }
+20 -36
pkgs/applications/misc/keepassx/darwin.patch
··· 8 8 elseif(APPLE AND WITH_APP_BUNDLE) 9 9 + set(CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}/Applications") 10 10 set(BUNDLE_INSTALL_DIR "${PROGNAME}.app/Contents") 11 - set(CMAKE_INSTALL_MANDIR "${PROGNAME}.app/Contents/Resources/man") 12 - set(CLI_INSTALL_DIR "${PROGNAME}.app/Contents/MacOS") 13 - @@ -369,12 +370,6 @@ set(CMAKE_AUTORCC ON) 11 + set(CMAKE_INSTALL_MANDIR "${BUNDLE_INSTALL_DIR}/Resources/man") 12 + set(CLI_INSTALL_DIR "${BUNDLE_INSTALL_DIR}/MacOS") 13 + @@ -470,11 +470,6 @@ set(CMAKE_AUTORCC ON) 14 14 15 15 if(APPLE) 16 16 set(CMAKE_MACOSX_RPATH TRUE) 17 - - find_program(MACDEPLOYQT_EXE macdeployqt HINTS ${Qt5_PREFIX}/bin ENV PATH) 17 + - find_program(MACDEPLOYQT_EXE macdeployqt HINTS ${Qt5_PREFIX}/bin ${Qt5_PREFIX}/tools/qt5/bin ENV PATH) 18 18 - if(NOT MACDEPLOYQT_EXE) 19 19 - message(FATAL_ERROR "macdeployqt is required to build on macOS") 20 - - else() 21 - - message(STATUS "Using macdeployqt: ${MACDEPLOYQT_EXE}") 22 20 - endif() 23 - elseif(MINGW) 24 - find_program(WINDEPLOYQT_EXE windeployqt HINTS ${Qt5_PREFIX}/bin ENV PATH) 25 - if(NOT WINDEPLOYQT_EXE) 26 - diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt 27 - index f142f368..0742512d 100644 28 - --- a/src/CMakeLists.txt 29 - +++ b/src/CMakeLists.txt 30 - @@ -351,11 +351,6 @@ if(APPLE AND WITH_APP_BUNDLE) 31 - set(CPACK_PACKAGE_FILE_NAME "${PROGNAME}-${KEEPASSXC_VERSION}") 32 - include(CPack) 33 - 34 - - add_custom_command(TARGET ${PROGNAME} 35 - - POST_BUILD 36 - - COMMAND ${MACDEPLOYQT_EXE} ${PROGNAME}.app 37 - - WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/src 38 - - COMMENT "Deploying app bundle") 39 - endif() 21 + - message(STATUS "Using macdeployqt: ${MACDEPLOYQT_EXE}") 22 + set(MACDEPLOYQT_EXTRA_BINARIES "") 23 + elseif(WIN32) 24 + find_program(WINDEPLOYQT_EXE windeployqt HINTS ${Qt5_PREFIX}/bin ${Qt5_PREFIX}/tools/qt5/bin ENV PATH) 25 + diff --git a/src/post_install/CMakeLists.txt b/src/post_install/CMakeLists.txt 26 + index 359c891f..a6a061a3 100644 27 + --- a/src/post_install/CMakeLists.txt 28 + +++ b/src/post_install/CMakeLists.txt 29 + @@ -1,7 +1,7 @@ 30 + # The install commands in this subdirectory will be executed after all the install commands in the 31 + # current scope are ran. It is required for correct functtioning of macdeployqt. 40 32 41 - install(TARGETS ${PROGNAME} 42 - diff --git a/src/autotype/mac/CMakeLists.txt b/src/autotype/mac/CMakeLists.txt 43 - index 7427450a..a0a58d71 100644 44 - --- a/src/autotype/mac/CMakeLists.txt 45 - +++ b/src/autotype/mac/CMakeLists.txt 46 - @@ -8,7 +8,6 @@ if(WITH_APP_BUNDLE) 47 - add_custom_command(TARGET keepassx-autotype-cocoa 48 - POST_BUILD 49 - COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_BINARY_DIR}/libkeepassx-autotype-cocoa.so ${PLUGIN_INSTALL_DIR} 50 - - COMMAND ${MACDEPLOYQT_EXE} ${PROGNAME}.app -executable=${PLUGIN_INSTALL_DIR}/libkeepassx-autotype-cocoa.so -no-plugins 51 - WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/src 52 - COMMENT "Deploying autotype plugin") 53 - else() 33 + -if(APPLE AND WITH_APP_BUNDLE) 34 + +if(FALSE) 35 + # Run macdeloyqt on the main app and any extra binaries and plugins as specified by the 36 + # _MACDEPLOYQT_EXTRA_BINARIES global property. 37 + # All install(TARGETS) calls should have already been called.
+40
pkgs/applications/misc/system76-keyboard-configurator/default.nix
··· 1 + { lib, stdenv, fetchFromGitHub, rustPlatform, gtk3, glib, wrapGAppsHook, libusb1, hidapi, udev, pkgconfig }: 2 + 3 + # system76-keyboard-configurator tries to spawn a daemon as root via pkexec, so 4 + # your system needs a PolicyKit authentication agent running for the 5 + # configurator to work. 6 + 7 + rustPlatform.buildRustPackage rec { 8 + pname = "system76-keyboard-configurator"; 9 + version = "1.0.0"; 10 + 11 + src = fetchFromGitHub { 12 + owner = "pop-os"; 13 + repo = "keyboard-configurator"; 14 + rev = "v${version}"; 15 + sha256 = "sha256-CVCXNPmc/0T8vkxfU+i1nSbfusZGFVkLEveSoCePK0M="; 16 + }; 17 + 18 + nativeBuildInputs = [ 19 + pkgconfig 20 + glib # for glib-compile-resources 21 + wrapGAppsHook 22 + ]; 23 + 24 + buildInputs = [ 25 + gtk3 26 + hidapi 27 + libusb1 28 + udev 29 + ]; 30 + 31 + cargoSha256 = "sha256-/p2cVxOvWKkcVOYIR0N8tQSCniw+QhXhC+pus4NsQ8k="; 32 + 33 + meta = with lib; { 34 + description = "Keyboard configuration application for System76 keyboards and laptops"; 35 + homepage = "https://github.com/pop-os/keyboard-configurator"; 36 + license = with licenses; [ gpl3Only ]; 37 + maintainers = with maintainers; [ mirrexagon ]; 38 + platforms = platforms.linux; 39 + }; 40 + }
+21 -10
pkgs/applications/misc/yubioath-desktop/default.nix
··· 1 - { lib, stdenv, fetchurl, mkDerivation 2 - , qmake, qtbase, qtquickcontrols2, qtgraphicaleffects 3 - , python3, pyotherside 4 - , pcsclite, yubikey-personalization 5 - , yubikey-manager, makeWrapper }: 1 + { lib 2 + , stdenv 3 + , fetchurl 4 + , mkDerivation 5 + , qmake 6 + , qtbase 7 + , qtquickcontrols2 8 + , qtgraphicaleffects 9 + , qtmultimedia 10 + , python3 11 + , pyotherside 12 + , pcsclite 13 + , yubikey-personalization 14 + , yubikey-manager 15 + , makeWrapper 16 + }: 6 17 7 18 mkDerivation rec { 8 19 pname = "yubioath-desktop"; 9 - version = "5.0.5"; 20 + version = "5.1.0"; 10 21 11 22 src = fetchurl { 12 23 url = "https://developers.yubico.com/yubioath-desktop/Releases/yubioath-desktop-${version}.tar.gz"; 13 - sha256 = "05xs6xh9pi50h0668arirj0gnz11adpixgsdkds072077gasdm0g"; 24 + hash = "sha256-Lm9F4eaG9T5brAV7XDAkoj0WClmXEYIhuUzh2rk0oc0="; 14 25 }; 15 26 16 27 doCheck = false; 17 28 18 - buildInputs = [ qtbase qtquickcontrols2 qtgraphicaleffects python3 ]; 29 + buildInputs = [ qtbase qtquickcontrols2 qtgraphicaleffects qtmultimedia python3 ]; 19 30 20 31 nativeBuildInputs = [ qmake makeWrapper python3.pkgs.wrapPython ]; 21 32 22 33 postPatch = '' 23 - substituteInPlace deployment.pri \ 24 - --replace '/usr/bin' "$out/bin" 34 + substituteInPlace QZXing/QZXing-components.pri \ 35 + --replace 'target.path = $$PREFIX/lib' 'target.path = $$PREFIX/bin' 25 36 ''; 26 37 27 38 pythonPath = [ yubikey-manager ];
+18 -8
pkgs/applications/networking/cluster/kube-router/default.nix
··· 1 - { lib, buildGoPackage, fetchFromGitHub }: 1 + { lib, buildGoModule, fetchFromGitHub, testers, kube-router }: 2 2 3 - buildGoPackage rec { 3 + buildGoModule rec { 4 4 pname = "kube-router"; 5 - version = "1.2.2"; 6 - 7 - goPackagePath = "github.com/cloudnativelabs/kube-router"; 5 + version = "1.4.0"; 8 6 9 7 src = fetchFromGitHub { 10 8 owner = "cloudnativelabs"; 11 9 repo = pname; 12 10 rev = "v${version}"; 13 - sha256 = "sha256-/VToLQexvRtcBU+k8WnGEcfLfxme/hgRnhU8723BEFU="; 11 + sha256 = "sha256-WBnJPCZHtJWckoFvE8e+eAa2EC/RA7yOMlW+Cemw53Q="; 14 12 }; 15 13 14 + vendorSha256 = "sha256-5co+288KZf/dx/jZ7xIGh6kxuW3DdbpAsrZgYob3nWk="; 15 + 16 + CGO_ENABLED = 0; 17 + 16 18 ldflags = [ 17 - "-X ${goPackagePath}/pkg/cmd.version=${version}" 18 - "-X ${goPackagePath}/pkg/cmd.buildDate=Nix" 19 + "-s" 20 + "-w" 21 + "-X github.com/cloudnativelabs/kube-router/pkg/version.Version=${version}" 22 + "-X github.com/cloudnativelabs/kube-router/pkg/version.BuildDate=Nix" 19 23 ]; 24 + 25 + checkFlags = [ "-short" ]; 26 + 27 + passthru.tests.version = testers.testVersion { 28 + package = kube-router; 29 + }; 20 30 21 31 meta = with lib; { 22 32 homepage = "https://www.kube-router.io/";
+2 -12
pkgs/applications/science/math/lrcalc/default.nix
··· 1 1 { lib, stdenv 2 2 , fetchFromBitbucket 3 - , fetchpatch 4 3 , autoreconfHook 5 4 }: 6 5 7 6 stdenv.mkDerivation rec { 8 - version = "1.2"; 7 + version = "2.1"; 9 8 pname = "lrcalc"; 10 9 11 10 src = fetchFromBitbucket { 12 11 owner = "asbuch"; 13 12 repo = "lrcalc"; 14 13 rev = "lrcalc-${version}"; 15 - sha256 = "1c12d04jdyxkkav4ak8d1aqrv594gzihwhpxvc6p9js0ry1fahss"; 14 + sha256 = "0s3amf3z75hnrjyszdndrvk4wp5p630dcgyj341i6l57h43d1p4k"; 16 15 }; 17 16 18 17 doCheck = true; 19 18 20 19 nativeBuildInputs = [ 21 20 autoreconfHook 22 - ]; 23 - 24 - patches = [ 25 - # Fix include syntax: 26 - # For private includes, use `#include "..."` instead of `#include <...>` 27 - (fetchpatch { 28 - url = "https://bitbucket.org/asbuch/lrcalc/commits/226981a0/raw/"; 29 - sha256 = "02kaqx5s3l642rhh28kn2wg9wr098vzpknxyl4pv627lqa3lv9vm"; 30 - }) 31 21 ]; 32 22 33 23 meta = with lib; {
+8 -2
pkgs/applications/science/math/sage/default.nix
··· 48 48 logo64 = "${sage-src}/src/doc/common/themes/sage/static/sageicon.png"; 49 49 }; 50 50 51 + jupyter-kernel-specs = pkgs.jupyter-kernel.create { 52 + definitions = pkgs.jupyter-kernel.default // { 53 + sagemath = jupyter-kernel-definition; 54 + }; 55 + }; 56 + 51 57 three = callPackage ./threejs-sage.nix { }; 52 58 53 59 # A bash script setting various environment variables to tell sage where ··· 73 79 # The documentation for sage, building it takes a lot of ram. 74 80 sagedoc = callPackage ./sagedoc.nix { 75 81 inherit sage-with-env; 76 - inherit python3 maxima; 82 + inherit python3 maxima jupyter-kernel-specs; 77 83 }; 78 84 79 85 # sagelib with added wrappers and a dependency on sage-tests to make sure thet tests were run. ··· 167 173 in 168 174 # A wrapper around sage that makes sure sage finds its docs (if they were build). 169 175 callPackage ./sage.nix { 170 - inherit sage-tests sage-with-env sagedoc jupyter-kernel-definition; 176 + inherit sage-tests sage-with-env sagedoc jupyter-kernel-specs; 171 177 inherit withDoc requireSageTests; 172 178 }
-46
pkgs/applications/science/math/sage/patches/Only-test-external-software-when-all-of-sage-is.patch
··· 1 - diff --git a/src/sage/doctest/control.py b/src/sage/doctest/control.py 2 - index 01f32fb8e4..4d83dc7b47 100644 3 - --- a/src/sage/doctest/control.py 4 - +++ b/src/sage/doctest/control.py 5 - @@ -1253,6 +1253,7 @@ class DocTestController(SageObject): 6 - 7 - self.log("Using --optional=" + self._optional_tags_string()) 8 - available_software._allow_external = self.options.optional is True or 'external' in self.options.optional 9 - + available_software._autodetect_safe = self.options.optional is True or 'sage' in self.options.optional 10 - self.log("Features to be detected: " + ','.join(available_software.detectable())) 11 - self.add_files() 12 - self.expand_files_into_sources() 13 - diff --git a/src/sage/doctest/external.py b/src/sage/doctest/external.py 14 - index 84dae19ea5..badc61466e 100644 15 - --- a/src/sage/doctest/external.py 16 - +++ b/src/sage/doctest/external.py 17 - @@ -409,6 +409,7 @@ class AvailableSoftware(object): 18 - [] 19 - """ 20 - self._allow_external = True 21 - + self._autodetect_safe = True 22 - # For multiprocessing of doctests, the data self._seen should be 23 - # shared among subprocesses. Thus we use Array class from the 24 - # multiprocessing module. 25 - @@ -430,6 +431,8 @@ class AvailableSoftware(object): 26 - sage: 'internet' in available_software # random, optional - internet 27 - True 28 - """ 29 - + if not self._autodetect_safe: 30 - + return False 31 - try: 32 - idx = self._indices[item] 33 - except KeyError: 34 - diff --git a/src/sage/features/sagemath.py b/src/sage/features/sagemath.py 35 - index 433338766d..233623b14a 100644 36 - --- a/src/sage/features/sagemath.py 37 - +++ b/src/sage/features/sagemath.py 38 - @@ -12,7 +12,7 @@ class sagemath_doc_html(StaticFile): 39 - 40 - EXAMPLES:: 41 - 42 - - sage: from sage.features.sagemath import sagemath_doc_html 43 - + sage: from sage.features.sagemath import sagemath_doc_html # optional - sagemath_doc_html 44 - sage: sagemath_doc_html().is_present() # optional - sagemath_doc_html 45 - FeatureTestResult('sagemath_doc_html', True) 46 - """
+1 -1
pkgs/applications/science/math/sage/patches/configurationpy-error-verbose.patch
··· 13 13 - True 14 14 + sage: print(output) 15 15 + sage...[False, True] 16 - + sage...Exiting Sage ... 16 + + ... 17 17 """ 18 18 19 19 #*****************************************************************************
+2 -2
pkgs/applications/science/math/sage/patches/docutils-0.18.1-deprecation.patch
··· 1 1 diff --git a/src/sage/misc/sagedoc.py b/src/sage/misc/sagedoc.py 2 - index 4c56aea078..e51a77ae8a 100644 2 + index 08c4225b87..3a9bbe4ed0 100644 3 3 --- a/src/sage/misc/sagedoc.py 4 4 +++ b/src/sage/misc/sagedoc.py 5 5 @@ -1402,6 +1402,8 @@ class _sage_doc: 6 6 sage: identity_matrix.__doc__ in browse_sage_doc(identity_matrix, 'rst') 7 7 True 8 - sage: browse_sage_doc(identity_matrix, 'html', False) # optional - sphinx 8 + sage: browse_sage_doc(identity_matrix, 'html', False) # optional - sphinx sagemath_doc_html 9 9 + ... 10 10 + FutureWarning: The configuration setting "embed_images" will be removed in Docutils 1.2. Use "image_loading: link". 11 11 '...div...File:...Type:...Definition:...identity_matrix...'
+10 -7
pkgs/applications/science/math/sage/patches/sphinx-docbuild-subprocesses.patch
··· 1 1 diff --git a/src/sage_docbuild/__init__.py b/src/sage_docbuild/__init__.py 2 - index 8a5c1a19d2..21fd192642 100644 2 + index b12d56a3c9..df9d949ed1 100644 3 3 --- a/src/sage_docbuild/__init__.py 4 4 +++ b/src/sage_docbuild/__init__.py 5 - @@ -89,27 +89,6 @@ def builder_helper(type): 5 + @@ -88,30 +88,6 @@ def builder_helper(type): 6 6 """ 7 - Returns a function which builds the documentation for 7 + Return a function which builds the documentation for 8 8 output type ``type``. 9 9 - 10 10 - TESTS: ··· 19 19 - ....: raise BaseException("abort pool operation") 20 20 - sage: original_runsphinx, sage_docbuild.sphinxbuild.runsphinx = sage_docbuild.sphinxbuild.runsphinx, raiseBaseException 21 21 - 22 + - sage: from sage.misc.temporary_file import tmp_dir 23 + - sage: os.environ['SAGE_DOC'] = tmp_dir() 24 + - sage: sage.env.var('SAGE_DOC') # random 22 25 - sage: from sage_docbuild import builder_helper, build_ref_doc 23 26 - sage: from sage_docbuild import _build_many as build_many 24 27 - sage: helper = builder_helper("html") 25 - - sage: try: 28 + - sage: try: # optional - sagemath_doc_html 26 29 - ....: build_many(build_ref_doc, [("docname", "en", "html", {})]) 27 30 - ....: except Exception as E: 28 31 - ....: "Non-exception during docbuild: abort pool operation" in str(E) ··· 30 33 """ 31 34 def f(self, *args, **kwds): 32 35 output_dir = self._output_dir(type) 33 - @@ -131,10 +110,9 @@ def builder_helper(type): 36 + @@ -139,10 +115,9 @@ def builder_helper(type): 34 37 logger.debug(build_command) 35 38 36 39 # Run Sphinx with Sage's special logger ··· 44 47 if ABORT_ON_ERROR: 45 48 raise 46 49 diff --git a/src/sage_docbuild/sphinxbuild.py b/src/sage_docbuild/sphinxbuild.py 47 - index d917c3e9d4..551cc8028a 100644 50 + index a39c99ffe9..73be823684 100644 48 51 --- a/src/sage_docbuild/sphinxbuild.py 49 52 +++ b/src/sage_docbuild/sphinxbuild.py 50 - @@ -327,3 +327,8 @@ def runsphinx(): 53 + @@ -330,3 +330,8 @@ def runsphinx(): 51 54 sys.stderr = saved_stderr 52 55 sys.stdout.flush() 53 56 sys.stderr.flush()
+2
pkgs/applications/science/math/sage/python-modules/sage-docbuild.nix
··· 2 2 , buildPythonPackage 3 3 , sage-src 4 4 , sphinx 5 + , jupyter-sphinx 5 6 }: 6 7 7 8 buildPythonPackage rec { ··· 11 12 12 13 propagatedBuildInputs = [ 13 14 sphinx 15 + jupyter-sphinx 14 16 ]; 15 17 16 18 preBuild = ''
+1 -1
pkgs/applications/science/math/sage/sage-env.nix
··· 186 186 export SAGE_EXTCODE='${sagelib.src}/src/sage/ext_data' 187 187 188 188 # for find_library 189 - export DYLD_LIBRARY_PATH="${lib.makeLibraryPath [stdenv.cc.libc singular]}''${DYLD_LIBRARY_PATH:+:}$DYLD_LIBRARY_PATH" 189 + export DYLD_LIBRARY_PATH="${lib.makeLibraryPath [stdenv.cc.libc singular giac]}''${DYLD_LIBRARY_PATH:+:}$DYLD_LIBRARY_PATH" 190 190 ''; 191 191 } // { # equivalent of `passthru`, which `writeTextFile` doesn't support 192 192 lib = sagelib;
+5 -84
pkgs/applications/science/math/sage/sage-src.nix
··· 58 58 ); 59 59 in 60 60 stdenv.mkDerivation rec { 61 - version = "9.5"; 61 + version = "9.6"; 62 62 pname = "sage-src"; 63 63 64 64 src = fetchFromGitHub { 65 65 owner = "sagemath"; 66 66 repo = "sage"; 67 67 rev = version; 68 - sha256 = "sha256-uOsLpsGpcIGs8Xr82X82MElnTB2E908gytyNJ8WVD5w="; 68 + sha256 = "sha256-QY8Yga3hD1WhSCtA2/PVry8hHlMmC31J8jCBFtWgIU0="; 69 69 }; 70 70 71 71 # Patches needed because of particularities of nix or the way this is packaged. 72 72 # The goal is to upstream all of them and get rid of this list. 73 73 nixPatches = [ 74 - # Since https://trac.sagemath.org/ticket/32174, some external features are 75 - # marked as "safe" and get auto-detected, in which case the corresponding 76 - # optional tests are executed. We disable auto-detection of safe features if 77 - # we are doctesting with an "--optional" argument which does not include 78 - # "sage", because tests from autodetected features expect context provided 79 - # by running basic sage tests. This is necessary to test sagemath_doc_html 80 - # separately. See https://trac.sagemath.org/ticket/26110 for a related 81 - # upstream discussion (from the time when Sage still had optional py2/py3 82 - # tags). 83 - ./patches/Only-test-external-software-when-all-of-sage-is.patch 84 - 85 74 # Fixes a potential race condition which can lead to transient doctest failures. 86 75 ./patches/fix-ecl-race.patch 87 76 ··· 120 109 # https://trac.sagemath.org/ticket/32959 121 110 ./patches/linbox-1.7-upgrade.patch 122 111 123 - # https://trac.sagemath.org/ticket/33170 124 - (fetchSageDiff { 125 - base = "9.6.beta5"; 126 - name = "ipython-8.1-update.patch"; 127 - rev = "4d2b53f1541375861310af3a7f7109c1c2ed475d"; 128 - sha256 = "sha256-ELda/VBzsQH7NdFas69fQ35QPUoJCeLx/gxT1j7qGR8="; 129 - }) 130 - 131 - # https://trac.sagemath.org/ticket/32968 132 - (fetchSageDiff { 133 - base = "9.5"; 134 - name = "sphinx-4.3-update.patch"; 135 - rev = "fc84f82f52b6f05f512cb359ec7c100f93cf8841"; 136 - sha256 = "sha256-bBbfdcnw/9LUOlY8rHJRbFJEdMXK4shosqTNaobTS1Q="; 137 - }) 138 - 139 - # https://trac.sagemath.org/ticket/33189 140 - (fetchSageDiff { 141 - base = "9.5"; 142 - name = "arb-2.22-update.patch"; 143 - rev = "53532ddd4e2dc92469c1590ebf0c40f8f69bf579"; 144 - sha256 = "sha256-6SoSBvIlqvNwZV3jTB6uPdUtaWIOeNmddi2poK/WvGs="; 145 - }) 146 - 147 - # TODO: This will not be necessary when Sphinx 4.4.1 is released, 148 - # since some warnings introduced in 4.4.0 will be disabled by then 149 - # (https://github.com/sphinx-doc/sphinx/pull/10126). 150 - # https://trac.sagemath.org/ticket/33272 151 - (fetchSageDiff { 152 - base = "9.5"; 153 - name = "sphinx-4.4-warnings.patch"; 154 - rev = "97d7958bed441cf2ccc714d88f83d3a8426bc085"; 155 - sha256 = "sha256-y1STE0oxswnijGCsBw8eHWWqpmT1XMznIfA0vvX9pFA="; 156 - }) 157 - 158 112 # adapted from https://trac.sagemath.org/ticket/23712#comment:22 159 113 ./patches/tachyon-renamed-focallength.patch 160 114 161 - # https://trac.sagemath.org/ticket/33336 162 - (fetchSageDiff { 163 - base = "9.6.beta2"; 164 - name = "scipy-1.8-update.patch"; 165 - rev = "9c8235e44ffb509efa8a3ca6cdb55154e2b5066d"; 166 - sha256 = "sha256-bfc4ljNOxVnhlmxIuNbjbKl4vJXYq2tlF3Z8bbC8PWw="; 167 - }) 168 - 169 - # https://trac.sagemath.org/ticket/33495 170 - (fetchSageDiff { 171 - base = "9.6.beta5"; 172 - name = "networkx-2.7-update.patch"; 173 - rev = "8452003846a7303100847d8d0ed642fc642c11d6"; 174 - sha256 = "sha256-A/XMouPlc2sjFp30L+56fBGJXydS2EtzfPOV98FCDqI="; 175 - }) 176 - 177 - # https://trac.sagemath.org/ticket/33226 178 - (fetchSageDiff { 179 - base = "9.6.beta0"; 180 - name = "giac-1.7.0-45-update.patch"; 181 - rev = "33ea2adf01e9e2ce9f1e33779f0b1ac0d9d1989c"; 182 - sha256 = "sha256-DOyxahf3+IaYdkgmAReNDCorRzMgO8+yiVrJ5TW1km0="; 183 - }) 184 - 185 - # https://trac.sagemath.org/ticket/33398 186 - (fetchSageDiff { 187 - base = "9.6.beta4"; 188 - name = "sympy-1.10-update.patch"; 189 - rev = "6b7c3a28656180e42163dc10f7b4a571b93e5f27"; 190 - sha256 = "sha256-fnUyM2yjHkCykKRfzQQ4glcUYmCS/fYzDzmCf0nuebk="; 191 - # The patch contains a whitespace change to a file that didn't exist in Sage 9.5. 192 - excludes = [ "build/*" "src/sage/manifolds/vector_bundle_fiber_element.py" ]; 193 - }) 194 - 195 115 # docutils 0.18.1 now triggers Sphinx warnings. tolerate them for 196 - # now, because patching Sphinx is not feasible. 197 - # https://github.com/sphinx-doc/sphinx/issues/9777#issuecomment-1104481271 116 + # now, because patching Sphinx is not feasible. remove when Sphinx 117 + # 5.0 hits nixpkgs. 118 + # https://github.com/sphinx-doc/sphinx/pull/10372 198 119 ./patches/docutils-0.18.1-deprecation.patch 199 120 ]; 200 121
+3 -12
pkgs/applications/science/math/sage/sage.nix
··· 2 2 , makeWrapper 3 3 , sage-tests 4 4 , sage-with-env 5 - , jupyter-kernel-definition 6 - , jupyter-kernel 5 + , jupyter-kernel-specs 7 6 , sagedoc 8 7 , withDoc 9 8 , requireSageTests ··· 12 11 # A wrapper that makes sure sage finds its docs (if they were build) and the 13 12 # jupyter kernel spec. 14 13 15 - let 16 - # generate kernel spec + default kernels 17 - kernel-specs = jupyter-kernel.create { 18 - definitions = jupyter-kernel.default // { 19 - sagemath = jupyter-kernel-definition; 20 - }; 21 - }; 22 - in 23 14 stdenv.mkDerivation rec { 24 15 version = src.version; 25 16 pname = "sage"; ··· 43 34 --set SAGE_DOC_SRC_OVERRIDE "${src}/src/doc" ${ 44 35 lib.optionalString withDoc "--set SAGE_DOC_OVERRIDE ${sagedoc}/share/doc/sage" 45 36 } \ 46 - --prefix JUPYTER_PATH : "${kernel-specs}" 37 + --prefix JUPYTER_PATH : "${jupyter-kernel-specs}" 47 38 ''; 48 39 49 40 doInstallCheck = withDoc; ··· 58 49 quicktest = sage-tests.override { longTests = false; timeLimit = 600; }; # as many tests as possible in ~10m 59 50 doc = sagedoc; 60 51 lib = sage-with-env.env.lib; 61 - kernelspec = jupyter-kernel-definition; 52 + kernelspec = jupyter-kernel-specs.definition.sagemath; 62 53 }; 63 54 64 55 meta = with lib; {
+13 -3
pkgs/applications/science/math/sage/sagedoc.nix
··· 1 1 { stdenv 2 2 , sage-with-env 3 3 , python3 4 + , jupyter-kernel-specs 4 5 , maxima 5 6 , tachyon 6 7 , jmol ··· 59 60 OUTPUT="$OUTPUT_DIR/options.txt" 60 61 ${sage-with-env}/bin/sage -advanced > "$OUTPUT" 61 62 62 - ${sage-with-env}/bin/sage --docbuild \ 63 + # jupyter-sphinx calls the sagemath jupyter kernel during docbuild 64 + export JUPYTER_PATH=${jupyter-kernel-specs} 65 + 66 + # sage --docbuild unsets JUPYTER_PATH, so we call sage_docbuild directly 67 + # https://trac.sagemath.org/ticket/33650#comment:32 68 + ${sage-with-env}/bin/sage --python3 -m sage_docbuild \ 63 69 --mathjax \ 64 70 --no-pdf-links \ 65 - all html 71 + all html < /dev/null 66 72 ''; 67 73 68 74 installPhase = '' ··· 83 89 84 90 doCheck = true; 85 91 checkPhase = '' 86 - ${sage-with-env}/bin/sage -t --optional=sagemath_doc_html --all 92 + # sagemath_doc_html tests assume sage tests are being run, so we 93 + # compromise: we run standard tests, but only on files containing 94 + # relevant tests. as of Sage 9.6, there are only 4 such files. 95 + grep -PRl "#.*optional.*sagemath_doc_html" ${src}/src/sage{,_docbuild} | \ 96 + xargs ${sage-with-env}/bin/sage -t --optional=sage,sagemath_doc_html 87 97 ''; 88 98 }
+6 -2
pkgs/applications/science/math/sage/sagelib.nix
··· 67 67 , pillow 68 68 , ipykernel 69 69 , networkx 70 - , sphinx # TODO: this is in setup.cfg, bug should we override it? 70 + , ptyprocess 71 + , lrcalc-python 72 + , sphinx # TODO: this is in setup.cfg, should we override it? 71 73 }: 72 74 73 75 assert (!blas.isILP64) && (!lapack.isILP64); ··· 157 159 networkx 158 160 jupyter-client 159 161 ipywidgets 162 + ptyprocess 163 + lrcalc-python 160 164 sphinx 161 165 ]; 162 166 ··· 188 192 # Sage tests already catch any relevant API breakage. 189 193 # according to the discussion at https://trac.sagemath.org/ticket/33520, 190 194 # upper bounds will be less noisy starting from Sage 9.6. 191 - sed -i 's/==2.1.0rc1/>=2.1.1/' ../gmpy2/install-requires.txt 195 + sed -i 's/==0.5.1/>=0.5.1/' ../ptyprocess/install-requires.txt 192 196 sed -i 's/, <[^, ]*//' ../*/install-requires.txt 193 197 194 198 for infile in src/*.m4; do
+1 -1
pkgs/applications/video/makemkv/default.nix
··· 55 55 installPhase = '' 56 56 runHook preInstall 57 57 58 - install -Dm555 -t $out/bin out/makemkv ../makemkv-bin-${version}/bin/amd64/makemkvcon 58 + install -Dm555 -t $out/bin out/makemkv out/mmccextr ../makemkv-bin-${version}/bin/amd64/makemkvcon 59 59 install -D -t $out/lib out/lib{driveio,makemkv,mmbd}.so.* 60 60 install -D -t $out/share/MakeMKV ../makemkv-bin-${version}/src/share/* 61 61 install -Dm444 -t $out/share/applications ../makemkv-oss-${version}/makemkvgui/share/makemkv.desktop
-4
pkgs/desktops/gnome/extensions/update-extensions.py
··· 47 47 uuid = uuid.replace("@", "") 48 48 url: str = f"https://extensions.gnome.org/extension-data/{uuid}.v{version}.shell-extension.zip" 49 49 50 - # TODO remove when Vitals@CoreCoding.com version != 53, this extension has a missing manifest.json 51 - if url == 'https://extensions.gnome.org/extension-data/VitalsCoreCoding.com.v53.shell-extension.zip': 52 - url = 'https://extensions.gnome.org/extension-data/VitalsCoreCoding.com.v53.shell-extension_v1BI2FB.zip' 53 - 54 50 # Download extension and add the zip content to nix-store 55 51 process = subprocess.run( 56 52 ["nix-prefetch-url", "--unpack", "--print-path", url], capture_output=True, text=True
+86 -13
pkgs/development/interpreters/bats/default.nix
··· 6 6 , coreutils 7 7 , gnugrep 8 8 , ncurses 9 + , findutils 10 + , hostname 11 + , parallel 12 + , flock 13 + , ps 14 + , bats 9 15 , lsof 10 16 , doInstallCheck ? true 11 17 }: ··· 31 37 32 38 solutions = { 33 39 bats = { 34 - scripts = [ "bin/bats" ]; 40 + scripts = [ 41 + "bin/bats" 42 + "libexec/bats-core/*" 43 + "lib/bats-core/*" 44 + ]; 35 45 interpreter = "${bash}/bin/bash"; 36 - inputs = [ bash coreutils gnugrep ]; 46 + inputs = [ 47 + bash 48 + coreutils 49 + gnugrep 50 + ncurses 51 + findutils 52 + hostname 53 + parallel 54 + flock 55 + "lib/bats-core" 56 + "libexec/bats-core" 57 + ]; 37 58 fake = { 38 - external = [ "greadlink" ]; 59 + external = [ 60 + "greadlink" 61 + "shlock" 62 + ]; 39 63 }; 40 64 fix = { 41 65 "$BATS_ROOT" = [ "${placeholder "out"}" ]; 66 + "$BATS_LIBEXEC" = [ "${placeholder "out"}/libexec/bats-core" ]; 42 67 }; 43 68 keep = { 44 69 "${placeholder "out"}/libexec/bats-core/bats" = true; 70 + source = [ 71 + "${placeholder "out"}/lib/bats-core/validator.bash" 72 + "${placeholder "out"}/lib/bats-core/preprocessing.bash" 73 + "$BATS_TEST_SOURCE" 74 + "${placeholder "out"}/lib/bats-core/tracing.bash" 75 + "${placeholder "out"}/lib/bats-core/test_functions.bash" 76 + "$library_load_path" 77 + "${placeholder "out"}/lib/bats-core/common.bash" 78 + "${placeholder "out"}/lib/bats-core/semaphore.bash" 79 + "${placeholder "out"}/lib/bats-core/formatter.bash" 80 + ]; 81 + "$report_formatter" = true; 82 + "$formatter" = true; 83 + "$pre_command" = true; 84 + "$BATS_TEST_NAME" = true; 85 + "${placeholder "out"}/libexec/bats-core/bats-exec-test" = true; 45 86 }; 87 + execer = [ 88 + /* 89 + both blatant lies for expedience; these can certainly exec args 90 + they may be safe here, because they may always run things that 91 + are ultimately in libexec? 92 + TODO: handle parallel and flock in binlore/resholve 93 + */ 94 + "cannot:${parallel}/bin/parallel" 95 + "cannot:${flock}/bin/flock" 96 + 97 + "cannot:libexec/bats-core/bats-preprocess" 98 + 99 + # these do exec, but other internal files 100 + "cannot:libexec/bats-core/bats-exec-file" 101 + "cannot:libexec/bats-core/bats-exec-suite" 102 + ]; 46 103 }; 47 104 }; 48 105 49 - inherit doInstallCheck; 50 - installCheckInputs = [ ncurses ] ++ lib.optionals stdenv.isDarwin [ lsof ]; 51 - installCheckPhase = '' 52 - # TODO: cut if https://github.com/bats-core/bats-core/issues/418 allows 53 - sed -i '/test works even if PATH is reset/a skip' test/bats.bats 106 + passthru.tests.upstream = bats.unresholved.overrideAttrs (old: { 107 + name = "${bats.name}-tests"; 108 + installCheckInputs = [ 109 + ncurses 110 + parallel # skips some tests if it can't detect 111 + flock # skips some tests if it can't detect 112 + ps 113 + ] ++ lib.optionals stdenv.isDarwin [ lsof ]; 114 + inherit doInstallCheck; 115 + installCheckPhase = '' 116 + # TODO: cut if https://github.com/bats-core/bats-core/issues/418 allows 117 + sed -i '/test works even if PATH is reset/a skip "disabled for nix build"' test/bats.bats 118 + # TODO: cut when https://github.com/bats-core/bats-core/pull/554 allows 119 + substituteInPlace test/parallel.bats --replace '&& type -p shlock' '|| type -p shlock' 54 120 55 - # test generates file with absolute shebang dynamically 56 - substituteInPlace test/install.bats --replace \ 57 - "/usr/bin/env bash" "${bash}/bin/bash" 58 - bin/bats test 59 - ''; 121 + # skip tests that assume bats `install.sh` will be in BATS_ROOT 122 + rm test/root.bats 123 + 124 + # test generates file with absolute shebang dynamically 125 + substituteInPlace test/install.bats --replace \ 126 + "/usr/bin/env bash" "${bash}/bin/bash" 127 + 128 + ${bats}/bin/bats test 129 + rm -rf $out 130 + touch $out 131 + ''; 132 + }); 60 133 61 134 meta = with lib; { 62 135 homepage = "https://github.com/bats-core/bats-core";
+6 -1
pkgs/development/python-modules/embrace/default.nix
··· 1 - { lib, buildPythonPackage, fetchFromSourcehut, sqlparse, wrapt, pytestCheckHook }: 1 + { stdenv, lib, buildPythonPackage, fetchFromSourcehut, 2 + sqlparse, wrapt, pytestCheckHook }: 2 3 3 4 buildPythonPackage rec { 4 5 pname = "embrace"; ··· 15 16 propagatedBuildInputs = [ sqlparse wrapt ]; 16 17 checkInputs = [ pytestCheckHook ]; 17 18 pythonImportsCheck = [ "embrace" ]; 19 + 20 + # Some test for hot-reload fails on Darwin, but the rest of the library 21 + # should remain usable. (https://todo.sr.ht/~olly/embrace-sql/4) 22 + doCheck = !stdenv.isDarwin; 18 23 19 24 meta = with lib; { 20 25 description = "Embrace SQL keeps your SQL queries in SQL files";
+31
pkgs/development/python-modules/lrcalc-python/default.nix
··· 1 + { lib 2 + , fetchPypi 3 + , buildPythonPackage 4 + , cython 5 + , pkg-config 6 + , lrcalc 7 + }: 8 + 9 + buildPythonPackage rec { 10 + pname = "lrcalc-python"; 11 + version = "2.1"; 12 + 13 + src = fetchPypi { 14 + inherit version; 15 + pname = "lrcalc"; 16 + sha256 = "e3a0509aeda487b412b391a52e817ca36b5c063a8305e09fd54d53259dd6aaa9"; 17 + }; 18 + 19 + nativeBuildInputs = [ cython pkg-config ]; 20 + 21 + buildInputs = [ lrcalc ]; 22 + 23 + pythonImportsCheck = [ "lrcalc" ]; 24 + 25 + meta = with lib; { 26 + description = "Littlewood-Richardson Calculator bindings"; 27 + homepage = "https://sites.math.rutgers.edu/~asbuch/lrcalc/"; 28 + maintainers = teams.sage.members; 29 + license = licenses.gpl3; 30 + }; 31 + }
+3 -3
pkgs/development/tools/fx/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "fx"; 5 - version = "22.0.10"; 5 + version = "24.0.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "antonmedv"; 9 9 repo = pname; 10 10 rev = version; 11 - sha256 = "sha256-BoWb27sRqcYHSLhUvjRIRIkcj90FitpbrH2R3VHsRyI="; 11 + sha256 = "sha256-Sg+mluDOGpkEUl+3BoItuPnMqs8F6o+D5xIqF0w0EIU="; 12 12 }; 13 13 14 - vendorSha256 = "sha256-ZDPRKrum2tnhscZxLzslezYs/hOOtHwAORrAWoQhXbs="; 14 + vendorSha256 = "sha256-4hx1AZQQ4xHBTzBK0OmrTUGMK4Rfu36cmopVV4SOjCQ="; 15 15 16 16 meta = with lib; { 17 17 description = "Terminal JSON viewer";
+2 -2
pkgs/development/tools/misc/devspace/default.nix
··· 6 6 7 7 buildGoModule rec { 8 8 pname = "devspace"; 9 - version = "5.18.4"; 9 + version = "5.18.5"; 10 10 11 11 src = fetchFromGitHub { 12 12 owner = "loft-sh"; 13 13 repo = "devspace"; 14 14 rev = "v${version}"; 15 - sha256 = "0s5117cgxgrxfki5drvg6d22dvrjffa03bi644zdl1p631r599r1"; 15 + sha256 = "1i4ir8p3xpfy8z8w8gzpk1hyzs04b5llrjd6hl2hzrxd1likl0sh"; 16 16 }; 17 17 18 18 vendorSha256 = null;
+2 -2
pkgs/os-specific/linux/microcode/intel.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "microcode-intel"; 5 - version = "20220419"; 5 + version = "20220510"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "intel"; 9 9 repo = "Intel-Linux-Processor-Microcode-Data-Files"; 10 10 rev = "microcode-${version}"; 11 - sha256 = "sha256-i3OhOEqyK6gJfRIPewPGb4/6k6lO0atmedEqJ2e+66U="; 11 + sha256 = "sha256-x+8qyC7YP7co/7qLhaAtjMtyeANaZJ/r41iFl1Mut+M="; 12 12 }; 13 13 14 14 nativeBuildInputs = [ iucode-tool libarchive ];
+3 -3
pkgs/servers/libreddit/default.nix
··· 8 8 9 9 rustPlatform.buildRustPackage rec { 10 10 pname = "libreddit"; 11 - version = "0.22.6"; 11 + version = "0.22.7"; 12 12 13 13 src = fetchFromGitHub { 14 14 owner = "spikecodes"; 15 15 repo = pname; 16 16 rev = "v${version}"; 17 - sha256 = "sha256-Dx0eVg1T9WTHeIQO9hwUoCAcUgQey8rlZ5+uxPIX0Wc="; 17 + sha256 = "sha256-kM+XvkSxc+OsHq2hGPdpy32jQ/35AJo75PlpbeWjef0="; 18 18 }; 19 19 20 - cargoSha256 = "sha256-RGZgo9uxRmPpZzXu6AC2FPjOoZxLnh4gCjadAOTWJ4Q="; 20 + cargoSha256 = "sha256-md56axw3tpl++wP3ga0iMX63ixu/35lhT4TA2Uo8GpI="; 21 21 22 22 buildInputs = lib.optional stdenv.isDarwin Security; 23 23
+6
pkgs/tools/filesystems/afpfs-ng/default.nix
··· 11 11 sha256 = "125jx1rsqkiifcffyjb05b2s36rllckdgjaf1bay15k9gzhwwldz"; 12 12 }; 13 13 14 + # Add workaround for -fno-common toolchains like upstream gcc-10 to 15 + # avoid build failures like: 16 + # ld: afpcmd-cmdline_main.o:/build/source/cmdline/cmdline_afp.h:4: multiple definition of 17 + # `full_url'; afpcmd-cmdline_afp.o:/build/source/cmdline/cmdline_afp.c:27: first defined here 18 + NIX_CFLAGS_COMPILE = "-fcommon"; 19 + 14 20 buildInputs = [ fuse readline libgcrypt gmp ]; 15 21 16 22 meta = with lib; {
-23
pkgs/tools/misc/oci-image-tool/default.nix
··· 1 - { lib, fetchFromGitHub, buildGoPackage }: 2 - 3 - buildGoPackage rec { 4 - pname = "oci-image-tool"; 5 - version = "1.0.0-rc1"; 6 - 7 - goPackagePath = "github.com/opencontainers/image-tools"; 8 - subPackages = [ "cmd/oci-image-tool" ]; 9 - 10 - src = fetchFromGitHub { 11 - owner = "opencontainers"; 12 - repo = "image-tools"; 13 - rev = "v${version}"; 14 - sha256 = "0c4n69smqlkf0r6khy9gbg5f810qh9g8jqsl9kibb0dyswizr14r"; 15 - }; 16 - 17 - meta = { 18 - description = "A collection of tools for working with the OCI image format specification"; 19 - homepage = "https://github.com/opencontainers/image-tools"; 20 - license = lib.licenses.asl20; 21 - maintainers = with lib.maintainers; [ nzhang-zh ]; 22 - }; 23 - }
+10 -1
pkgs/tools/networking/cdpr/default.nix
··· 1 - { lib, stdenv, fetchurl, libpcap }: 1 + { lib, stdenv, fetchurl, fetchpatch, libpcap }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "cdpr"; ··· 8 8 url = "mirror://sourceforge/${pname}/${pname}/${version}/${pname}-${version}.tgz"; 9 9 sha256 = "1idyvyafkk0ifcbi7mc65b60qia6hpsdb6s66j4ggqp7if6vblrj"; 10 10 }; 11 + patches = [ 12 + # Pull fix pending upstream inclusion for gcc-10 compatibility: 13 + # https://sourceforge.net/p/cdpr/bugs/3/ 14 + (fetchurl { 15 + name = "fno-common"; 16 + url = "https://sourceforge.net/p/cdpr/bugs/3/attachment/0001-cdpr-fix-build-on-gcc-10-fno-common.patch"; 17 + sha256 = "023cvkpc4ry1pbjd91kkwj4af3hia0layk3fp8q40vh6mbr14pnp"; 18 + }) 19 + ]; 11 20 12 21 postPatch = '' 13 22 substituteInPlace Makefile --replace 'gcc' '"$$CC"'
+2 -2
pkgs/tools/security/clamav/default.nix
··· 5 5 6 6 stdenv.mkDerivation rec { 7 7 pname = "clamav"; 8 - version = "0.103.5"; 8 + version = "0.103.6"; 9 9 10 10 src = fetchurl { 11 11 url = "https://www.clamav.net/downloads/production/${pname}-${version}.tar.gz"; 12 - sha256 = "sha256-HnSx4dKoqQVkScMT9Ippg7nVug1vte8LK+atPIQaVCY="; 12 + sha256 = "sha256-qqEuPcGfHTI7HFDXoQ+or1V+Q5AUnoZNWb3jm2rZujM="; 13 13 }; 14 14 15 15 # don't install sample config files into the absolute sysconfdir folder
+6
pkgs/tools/security/gnupg/1.nix
··· 11 11 12 12 buildInputs = [ readline bzip2 ]; 13 13 14 + # Workaround build failure on -fno-common toolchains like upstream 15 + # gcc-10. Otherwise build fails as: 16 + # ld: ../util/libutil.a(estream-printf.o):/build/gnupg-1.4.23/util/../include/memory.h:100: multiple definition of 17 + # `memory_debug_mode'; gpgsplit.o:/build/gnupg-1.4.23/tools/../include/memory.h:100: first defined here 18 + NIX_CFLAGS_COMPILE = "-fcommon"; 19 + 14 20 doCheck = true; 15 21 16 22 meta = with lib; {
+1
pkgs/top-level/aliases.nix
··· 904 904 ### O ### 905 905 906 906 oathToolkit = oath-toolkit; # Added 2022-04-04 907 + oci-image-tool = throw "oci-image-tool is no longer actively maintained, and has had major deficiencies for several years."; # Added 2022-05-14; 907 908 oracleXE = throw "oracleXE has been removed, as it's heavily outdated and unmaintained"; # Added 2020-10-09 908 909 OVMF-CSM = throw "OVMF-CSM has been removed in favor of OVMFFull"; # Added 2021-10-16 909 910 OVMF-secureBoot = throw "OVMF-secureBoot has been removed in favor of OVMFFull"; # Added 2021-10-16
+2 -2
pkgs/top-level/all-packages.nix
··· 8876 8876 buildGoModule = buildGo116Module; 8877 8877 }; 8878 8878 8879 - oci-image-tool = callPackage ../tools/misc/oci-image-tool { }; 8880 - 8881 8879 ocproxy = callPackage ../tools/networking/ocproxy { }; 8882 8880 8883 8881 ocserv = callPackage ../tools/networking/ocserv { }; ··· 23454 23452 nvmet-cli = callPackage ../os-specific/linux/nvmet-cli { }; 23455 23453 23456 23454 system76-firmware = callPackage ../os-specific/linux/firmware/system76-firmware { }; 23455 + 23456 + system76-keyboard-configurator = callPackage ../applications/misc/system76-keyboard-configurator { }; 23457 23457 23458 23458 ocf-resource-agents = callPackage ../os-specific/linux/ocf-resource-agents { }; 23459 23459
+2
pkgs/top-level/python-packages.nix
··· 5000 5000 5001 5001 losant-rest = callPackage ../development/python-modules/losant-rest { }; 5002 5002 5003 + lrcalc-python = callPackage ../development/python-modules/lrcalc-python { }; 5004 + 5003 5005 lru-dict = callPackage ../development/python-modules/lru-dict { }; 5004 5006 5005 5007 lsassy = callPackage ../development/python-modules/lsassy { };