Merge staging-next into staging

authored by github-actions[bot] and committed by GitHub 29cdca77 de9e9c8c

+1158 -1112
+6
maintainers/maintainer-list.nix
··· 3855 githubId = 39825; 3856 name = "Dominik Honnef"; 3857 }; 3858 doronbehar = { 3859 email = "me@doronbehar.com"; 3860 github = "doronbehar";
··· 3855 githubId = 39825; 3856 name = "Dominik Honnef"; 3857 }; 3858 + doriath = { 3859 + email = "tomasz.zurkowski@gmail.com"; 3860 + github = "doriath"; 3861 + githubId = 150959; 3862 + name = "Tomasz Zurkowski"; 3863 + }; 3864 doronbehar = { 3865 email = "me@doronbehar.com"; 3866 github = "doronbehar";
+12 -4
nixos/modules/services/matrix/appservice-discord.nix
··· 5 let 6 dataDir = "/var/lib/matrix-appservice-discord"; 7 registrationFile = "${dataDir}/discord-registration.yaml"; 8 - appDir = "${pkgs.matrix-appservice-discord}/${pkgs.matrix-appservice-discord.passthru.nodeAppDir}"; 9 cfg = config.services.matrix-appservice-discord; 10 opt = options.services.matrix-appservice-discord; 11 # TODO: switch to configGen.json once RFC42 is implemented ··· 15 options = { 16 services.matrix-appservice-discord = { 17 enable = mkEnableOption (lib.mdDoc "a bridge between Matrix and Discord"); 18 19 settings = mkOption rec { 20 # TODO: switch to types.config.json as prescribed by RFC42 once it's implemented ··· 114 115 preStart = '' 116 if [ ! -f '${registrationFile}' ]; then 117 - ${pkgs.matrix-appservice-discord}/bin/matrix-appservice-discord \ 118 --generate-registration \ 119 --url=${escapeShellArg cfg.url} \ 120 ${optionalString (cfg.localpart != null) "--localpart=${escapeShellArg cfg.localpart}"} \ ··· 135 136 DynamicUser = true; 137 PrivateTmp = true; 138 - WorkingDirectory = appDir; 139 StateDirectory = baseNameOf dataDir; 140 UMask = "0027"; 141 EnvironmentFile = cfg.environmentFile; 142 143 ExecStart = '' 144 - ${pkgs.matrix-appservice-discord}/bin/matrix-appservice-discord \ 145 --file='${registrationFile}' \ 146 --config='${settingsFile}' \ 147 --port='${toString cfg.port}'
··· 5 let 6 dataDir = "/var/lib/matrix-appservice-discord"; 7 registrationFile = "${dataDir}/discord-registration.yaml"; 8 cfg = config.services.matrix-appservice-discord; 9 opt = options.services.matrix-appservice-discord; 10 # TODO: switch to configGen.json once RFC42 is implemented ··· 14 options = { 15 services.matrix-appservice-discord = { 16 enable = mkEnableOption (lib.mdDoc "a bridge between Matrix and Discord"); 17 + 18 + package = mkOption { 19 + type = types.package; 20 + default = pkgs.matrix-appservice-discord; 21 + defaultText = literalExpression "pkgs.matrix-appservice-discord"; 22 + description = lib.mdDoc '' 23 + Which package of matrix-appservice-discord to use. 24 + ''; 25 + }; 26 27 settings = mkOption rec { 28 # TODO: switch to types.config.json as prescribed by RFC42 once it's implemented ··· 122 123 preStart = '' 124 if [ ! -f '${registrationFile}' ]; then 125 + ${cfg.package}/bin/matrix-appservice-discord \ 126 --generate-registration \ 127 --url=${escapeShellArg cfg.url} \ 128 ${optionalString (cfg.localpart != null) "--localpart=${escapeShellArg cfg.localpart}"} \ ··· 143 144 DynamicUser = true; 145 PrivateTmp = true; 146 + WorkingDirectory = "${cfg.package}/${cfg.package.passthru.nodeAppDir}"; 147 StateDirectory = baseNameOf dataDir; 148 UMask = "0027"; 149 EnvironmentFile = cfg.environmentFile; 150 151 ExecStart = '' 152 + ${cfg.package}/bin/matrix-appservice-discord \ 153 --file='${registrationFile}' \ 154 --config='${settingsFile}' \ 155 --port='${toString cfg.port}'
+151 -87
pkgs/applications/emulators/dolphin-emu/default.nix
··· 1 - { stdenv 2 - , lib 3 - , fetchpatch 4 , pkg-config 5 - , cmake 6 , bluez 7 , ffmpeg 8 - , libao 9 - , gtk3 10 - , glib 11 - , libGLU 12 , libGL 13 - , gettext 14 - , libpthreadstubs 15 - , libXrandr 16 , libXext 17 - , readline 18 , openal 19 - , libXdmcp 20 - , portaudio 21 - , fetchFromGitHub 22 - , libusb1 23 - , libevdev 24 - , wxGTK30 25 , soundtouch 26 - , miniupnpc 27 - , mbedtls_2 28 - , curl 29 - , lzo 30 - , sfml 31 - , libpulseaudio ? null 32 }: 33 34 stdenv.mkDerivation rec { 35 pname = "dolphin-emu"; 36 - version = "5.0"; 37 38 src = fetchFromGitHub { 39 owner = "dolphin-emu"; 40 repo = "dolphin"; 41 - rev = version; 42 - sha256 = "07mlfnh0hwvk6xarcg315x7z2j0qbg9g7cm040df9c8psiahc3g6"; 43 }; 44 45 - patches = [ 46 - # Fix FTBFS with glibc 2.26 47 - (fetchpatch { 48 - url = "https://salsa.debian.org/games-team/dolphin-emu/raw/8c952b1fcd46259e9d8cce836df433e0a8b88f8c/debian/patches/02_glibc-2.26.patch"; 49 - name = "02_glibc-2.26.patch"; 50 - sha256 = "sha256-LBXT3rf5klwmX9YQXt4/iv06GghsWZprNhLGYlKiDqk="; 51 - }) 52 - # Fix FTBFS with GCC 8 53 - (fetchpatch { 54 - url = "https://salsa.debian.org/games-team/dolphin-emu/raw/8c952b1fcd46259e9d8cce836df433e0a8b88f8c/debian/patches/03_gcc8.patch"; 55 - name = "03_gcc8.patch"; 56 - sha256 = "sha256-uWP6zMjoHYbX6K+oPSQdBn2xWQpvNyhZabMkhtYrSbU="; 57 - }) 58 - # Fix FTBFS with SoundTouch 2.1.2 59 - (fetchpatch { 60 - url = "https://salsa.debian.org/games-team/dolphin-emu/raw/8c952b1fcd46259e9d8cce836df433e0a8b88f8c/debian/patches/05_soundtouch-2.1.2.patch"; 61 - name = "05_soundtouch-2.1.2.patch"; 62 - sha256 = "sha256-Y7CNM6GQC9GRhlOBLZlxkIpj1CFhIwA5L8lGXur/bwY="; 63 - }) 64 - # Use GTK+3 wxWidgets backend 65 - (fetchpatch { 66 - url = "https://salsa.debian.org/games-team/dolphin-emu/raw/8c952b1fcd46259e9d8cce836df433e0a8b88f8c/debian/patches/06_gtk3.patch"; 67 - name = "06_gtk3.patch"; 68 - sha256 = "sha256-pu5Q0+8kNwmpf2DoXCXHFqxF0EGTnFXJipkBz1Vh2cs="; 69 - }) 70 - ]; 71 - 72 - cmakeFlags = [ 73 - "-DENABLE_LTO=True" 74 - ]; 75 - 76 nativeBuildInputs = [ 77 pkg-config 78 - cmake 79 ]; 80 81 buildInputs = [ 82 - bluez 83 ffmpeg 84 - libao 85 - libGLU 86 libGL 87 - gtk3 88 - glib 89 - gettext 90 - libpthreadstubs 91 - libXrandr 92 - libXext 93 - readline 94 - openal 95 - libevdev 96 - libXdmcp 97 - portaudio 98 libpulseaudio 99 - libevdev 100 - libXdmcp 101 - portaudio 102 libusb1 103 - libpulseaudio 104 - wxGTK30 105 - soundtouch 106 miniupnpc 107 - mbedtls_2 108 - curl 109 - lzo 110 sfml 111 ]; 112 113 postInstall = lib.optionalString stdenv.hostPlatform.isLinux '' 114 install -D $src/Data/51-usb-device.rules $out/etc/udev/rules.d/51-usb-device.rules 115 ''; 116 117 meta = with lib; { 118 - homepage = "https://dolphin-emu.org/"; 119 description = "Gamecube/Wii/Triforce emulator for x86_64 and ARMv8"; 120 license = licenses.gpl2Plus; 121 - maintainers = with maintainers; [ MP2E ashkitten ]; 122 - # x86_32 is an unsupported platform. 123 - # Enable generic build if you really want a JIT-less binary. 124 - platforms = [ "x86_64-linux" "aarch64-linux" ]; 125 }; 126 }
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , cmake 5 , pkg-config 6 + , wrapQtAppsHook 7 + , alsa-lib 8 , bluez 9 + , bzip2 10 + , cubeb 11 + , curl 12 + , enet 13 , ffmpeg 14 + , fmt_8 15 + , hidapi 16 + , libevdev 17 , libGL 18 + , libiconv 19 + , libpulseaudio 20 + , libspng 21 + , libusb1 22 + , libXdmcp 23 , libXext 24 + , libXrandr 25 + , mbedtls_2 26 + , mgba 27 + , miniupnpc 28 + , minizip-ng 29 , openal 30 + , pugixml 31 + , qtbase 32 + , sfml 33 , soundtouch 34 + , udev 35 + , vulkan-loader 36 + , xxHash 37 + , xz 38 + 39 + # Used in passthru 40 + , common-updater-scripts 41 + , dolphin-emu 42 + , jq 43 + , testers 44 + , writeShellScript 45 + 46 + # Darwin-only dependencies 47 + , CoreBluetooth 48 + , ForceFeedback 49 + , IOKit 50 + , moltenvk 51 + , OpenGL 52 + , VideoToolbox 53 }: 54 55 stdenv.mkDerivation rec { 56 pname = "dolphin-emu"; 57 + version = "5.0-18498"; 58 59 src = fetchFromGitHub { 60 owner = "dolphin-emu"; 61 repo = "dolphin"; 62 + rev = "46b99671d9158e0ca840c1d8ef249db0f321ced7"; 63 + sha256 = "sha256-K+OF8o8I1XDLQQcsWC8p8jUuWeb+RoHlBG3cEZ1aWIU="; 64 + fetchSubmodules = true; 65 }; 66 67 nativeBuildInputs = [ 68 + cmake 69 pkg-config 70 + wrapQtAppsHook 71 ]; 72 73 buildInputs = [ 74 + bzip2 75 + cubeb 76 + curl 77 + enet 78 ffmpeg 79 + fmt_8 80 + hidapi 81 libGL 82 + libiconv 83 libpulseaudio 84 + libspng 85 libusb1 86 + libXdmcp 87 + mbedtls_2 88 miniupnpc 89 + minizip-ng 90 + openal 91 + pugixml 92 + qtbase 93 sfml 94 + soundtouch 95 + xxHash 96 + xz 97 + ] ++ lib.optionals stdenv.isLinux [ 98 + alsa-lib 99 + bluez 100 + libevdev 101 + libXext 102 + libXrandr 103 + mgba # Derivation doesn't support Darwin 104 + udev 105 + vulkan-loader 106 + ] ++ lib.optionals stdenv.isDarwin [ 107 + CoreBluetooth 108 + ForceFeedback 109 + IOKit 110 + moltenvk 111 + OpenGL 112 + VideoToolbox 113 ]; 114 115 + cmakeFlags = [ 116 + "-DDISTRIBUTOR=NixOS" 117 + "-DUSE_SHARED_ENET=ON" 118 + "-DDOLPHIN_WC_REVISION=${src.rev}" 119 + "-DDOLPHIN_WC_DESCRIBE=${version}" 120 + "-DDOLPHIN_WC_BRANCH=master" 121 + ] ++ lib.optionals stdenv.isDarwin [ 122 + "-DOSX_USE_DEFAULT_SEARCH_PATH=True" 123 + "-DUSE_BUNDLED_MOLTENVK=OFF" 124 + # Bundles the application folder into a standalone executable, so we cannot devendor libraries 125 + "-DSKIP_POSTPROCESS_BUNDLE=ON" 126 + # Needs xcode so compilation fails with it enabled. We would want the version to be fixed anyways. 127 + # Note: The updater isn't available on linux, so we dont need to disable it there. 128 + "-DENABLE_AUTOUPDATE=OFF" 129 + ]; 130 + 131 + qtWrapperArgs = lib.optionals stdenv.isLinux [ 132 + "--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ vulkan-loader ]}" 133 + # https://bugs.dolphin-emu.org/issues/11807 134 + # The .desktop file should already set this, but Dolphin may be launched in other ways 135 + "--set QT_QPA_PLATFORM xcb" 136 + ]; 137 + 138 + # https://github.com/NixOS/nixpkgs/issues/201254 139 + NIX_LDFLAGS = lib.optionalString (stdenv.isLinux && stdenv.isAarch64 && stdenv.cc.isGNU) "-lgcc"; 140 + 141 + # Use nix-provided libraries instead of submodules 142 + postPatch = lib.optionalString stdenv.isDarwin '' 143 + substituteInPlace CMakeLists.txt \ 144 + --replace "if(NOT APPLE)" "if(true)" \ 145 + --replace "if(LIBUSB_FOUND AND NOT APPLE)" "if(LIBUSB_FOUND)" 146 + ''; 147 + 148 postInstall = lib.optionalString stdenv.hostPlatform.isLinux '' 149 install -D $src/Data/51-usb-device.rules $out/etc/udev/rules.d/51-usb-device.rules 150 + '' + lib.optionalString stdenv.hostPlatform.isDarwin '' 151 + # Only gets installed automatically if the standalone executable is used 152 + mkdir -p $out/Applications 153 + cp -r ./Binaries/Dolphin.app $out/Applications 154 + ln -s $out/Applications/Dolphin.app/Contents/MacOS/Dolphin $out/bin 155 ''; 156 157 + passthru = { 158 + tests.version = testers.testVersion { 159 + package = dolphin-emu; 160 + command = "dolphin-emu-nogui --version"; 161 + }; 162 + 163 + updateScript = writeShellScript "dolphin-update-script" '' 164 + set -eou pipefail 165 + export PATH=${lib.makeBinPath [ curl jq common-updater-scripts ]} 166 + 167 + json="$(curl -s https://dolphin-emu.org/update/latest/beta)" 168 + version="$(jq -r '.shortrev' <<< "$json")" 169 + rev="$(jq -r '.hash' <<< "$json")" 170 + update-source-version dolphin-emu "$version" --rev="$rev" 171 + ''; 172 + }; 173 + 174 meta = with lib; { 175 + homepage = "https://dolphin-emu.org"; 176 description = "Gamecube/Wii/Triforce emulator for x86_64 and ARMv8"; 177 + mainProgram = if stdenv.hostPlatform.isDarwin then "Dolphin" else "dolphin-emu"; 178 + branch = "master"; 179 license = licenses.gpl2Plus; 180 + platforms = platforms.unix; 181 + maintainers = with maintainers; [ 182 + MP2E 183 + ashkitten 184 + xfix 185 + ivar 186 + ]; 187 + # Requires both LLVM and SDK bump 188 + broken = stdenv.isDarwin && stdenv.isx86_64; 189 }; 190 }
-196
pkgs/applications/emulators/dolphin-emu/master.nix
··· 1 - { lib 2 - , stdenv 3 - , fetchFromGitHub 4 - , pkg-config 5 - , cmake 6 - , wrapQtAppsHook 7 - , qtbase 8 - , bluez 9 - , ffmpeg 10 - , libGL 11 - , libXrandr 12 - , libusb1 13 - , libXdmcp 14 - , libXext 15 - , openal 16 - , udev 17 - , libevdev 18 - , cubeb 19 - , curl 20 - , alsa-lib 21 - , miniupnpc 22 - , enet 23 - , mbedtls_2 24 - , soundtouch 25 - , sfml 26 - , minizip-ng 27 - , xz 28 - , hidapi 29 - , fmt_8 30 - , vulkan-loader 31 - , libpulseaudio 32 - , bzip2 33 - , libiconv 34 - , pugixml 35 - , xxHash 36 - 37 - # Used in passthru 38 - , testers 39 - , dolphin-emu-beta 40 - , writeShellScript 41 - , common-updater-scripts 42 - , jq 43 - 44 - # Darwin-only dependencies 45 - , CoreBluetooth 46 - , ForceFeedback 47 - , IOKit 48 - , VideoToolbox 49 - , OpenGL 50 - , libpng 51 - , moltenvk 52 - }: 53 - 54 - stdenv.mkDerivation rec { 55 - pname = "dolphin-emu"; 56 - version = "5.0-17995"; 57 - 58 - src = fetchFromGitHub { 59 - owner = "dolphin-emu"; 60 - repo = "dolphin"; 61 - rev = "8bad821019721b9b72701b495da95656ace5fea5"; 62 - sha256 = "sha256-uxHzn+tXRBr11OPpZ4ELBw7DTJH4mnqUBOeyPlXNAh8="; 63 - fetchSubmodules = true; 64 - }; 65 - 66 - patches = [ 67 - # On x86_64-darwin CMake reportedly does not work without this in some cases. 68 - # See https://github.com/NixOS/nixpkgs/pull/190373#issuecomment-1241310765 69 - ./minizip-external-missing-include.patch 70 - ]; 71 - 72 - nativeBuildInputs = [ 73 - cmake 74 - pkg-config 75 - wrapQtAppsHook 76 - ]; 77 - 78 - buildInputs = [ 79 - cubeb 80 - curl 81 - ffmpeg 82 - pugixml 83 - xxHash 84 - libGL 85 - libpulseaudio 86 - openal 87 - libusb1 88 - libiconv 89 - libpng 90 - libXdmcp 91 - hidapi 92 - miniupnpc 93 - enet 94 - mbedtls_2 95 - soundtouch 96 - sfml 97 - minizip-ng 98 - xz 99 - qtbase 100 - fmt_8 101 - bzip2 102 - ] ++ lib.optionals stdenv.isLinux [ 103 - libXrandr 104 - libXext 105 - bluez 106 - udev 107 - libevdev 108 - alsa-lib 109 - vulkan-loader 110 - ] ++ lib.optionals stdenv.isDarwin [ 111 - CoreBluetooth 112 - OpenGL 113 - ForceFeedback 114 - IOKit 115 - VideoToolbox 116 - moltenvk 117 - ]; 118 - 119 - cmakeFlags = [ 120 - "-DDISTRIBUTOR=NixOS" 121 - "-DUSE_SHARED_ENET=ON" 122 - "-DDOLPHIN_WC_REVISION=${src.rev}" 123 - "-DDOLPHIN_WC_DESCRIBE=${version}" 124 - "-DDOLPHIN_WC_BRANCH=master" 125 - ] ++ lib.optionals stdenv.isDarwin [ 126 - "-DOSX_USE_DEFAULT_SEARCH_PATH=True" 127 - "-DUSE_BUNDLED_MOLTENVK=OFF" 128 - # Bundles the application folder into a standalone executable, so we cannot devendor libraries 129 - "-DSKIP_POSTPROCESS_BUNDLE=ON" 130 - # Needs xcode so compilation fails with it enabled. We would want the version to be fixed anyways. 131 - # Note: The updater isn't available on linux, so we dont need to disable it there. 132 - "-DENABLE_AUTOUPDATE=OFF" 133 - ]; 134 - 135 - qtWrapperArgs = lib.optionals stdenv.isLinux [ 136 - "--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ vulkan-loader ]}" 137 - # https://bugs.dolphin-emu.org/issues/11807 138 - # The .desktop file should already set this, but Dolphin may be launched in other ways 139 - "--set QT_QPA_PLATFORM xcb" 140 - # https://bugs.dolphin-emu.org/issues/12913 141 - "--set QT_XCB_NO_XI2 1" 142 - ]; 143 - 144 - # https://github.com/NixOS/nixpkgs/issues/201254 145 - NIX_LDFLAGS = lib.optionalString (stdenv.isLinux && stdenv.isAarch64 && stdenv.cc.isGNU) "-lgcc"; 146 - 147 - # Use nix-provided libraries instead of submodules 148 - postPatch = lib.optionalString stdenv.isDarwin '' 149 - substituteInPlace CMakeLists.txt \ 150 - --replace "if(NOT APPLE)" "if(true)" \ 151 - --replace "if(LIBUSB_FOUND AND NOT APPLE)" "if(LIBUSB_FOUND)" 152 - ''; 153 - 154 - postInstall = lib.optionalString stdenv.hostPlatform.isLinux '' 155 - install -D $src/Data/51-usb-device.rules $out/etc/udev/rules.d/51-usb-device.rules 156 - '' + lib.optionalString stdenv.hostPlatform.isDarwin '' 157 - # Only gets installed automatically if the standalone executable is used 158 - mkdir -p $out/Applications 159 - cp -r ./Binaries/Dolphin.app $out/Applications 160 - ln -s $out/Applications/Dolphin.app/Contents/MacOS/Dolphin $out/bin 161 - ''; 162 - 163 - passthru = { 164 - tests.version = testers.testVersion { 165 - package = dolphin-emu-beta; 166 - command = "dolphin-emu-nogui --version"; 167 - }; 168 - 169 - updateScript = writeShellScript "dolphin-update-script" '' 170 - set -eou pipefail 171 - export PATH=${lib.makeBinPath [ curl jq common-updater-scripts ]} 172 - 173 - json="$(curl -s https://dolphin-emu.org/update/latest/beta)" 174 - version="$(jq -r '.shortrev' <<< "$json")" 175 - rev="$(jq -r '.hash' <<< "$json")" 176 - update-source-version dolphin-emu-beta "$version" --rev="$rev" 177 - ''; 178 - }; 179 - 180 - meta = with lib; { 181 - homepage = "https://dolphin-emu.org"; 182 - description = "Gamecube/Wii/Triforce emulator for x86_64 and ARMv8"; 183 - mainProgram = if stdenv.hostPlatform.isDarwin then "Dolphin" else "dolphin-emu"; 184 - branch = "master"; 185 - license = licenses.gpl2Plus; 186 - platforms = platforms.unix; 187 - maintainers = with maintainers; [ 188 - MP2E 189 - ashkitten 190 - xfix 191 - ivar 192 - ]; 193 - # Requires both LLVM and SDK bump 194 - broken = stdenv.isDarwin && stdenv.isx86_64; 195 - }; 196 - }
···
-18
pkgs/applications/emulators/dolphin-emu/minizip-external-missing-include.patch
··· 1 - commit 5e0cb8066fb1653399c54e93e42375295c2562bd 2 - Author: Ivar Scholten <ivar.scholten@protonmail.com> 3 - Date: Fri Sep 9 14:27:55 2022 +0200 4 - 5 - Externals/minizip: add missing include to CheckFunctionExists 6 - 7 - diff --git a/Externals/minizip/CMakeLists.txt b/Externals/minizip/CMakeLists.txt 8 - index c3d7c5512e..f59f8b295c 100644 9 - --- a/Externals/minizip/CMakeLists.txt 10 - +++ b/Externals/minizip/CMakeLists.txt 11 - @@ -60,6 +60,7 @@ if (HAVE_INTTYPES_H) 12 - target_compile_definitions(minizip PRIVATE HAVE_INTTYPES_H) 13 - endif() 14 - 15 - +include(CheckFunctionExists) 16 - check_function_exists(fseeko HAVE_FSEEKO) 17 - if (NOT HAVE_FSEEKO) 18 - target_compile_definitions(minizip PRIVATE NO_FSEEKO)
···
+28 -24
pkgs/applications/emulators/dosbox-staging/default.nix
··· 1 - { alsa-lib 2 , copyDesktopItems 3 - , fetchFromGitHub 4 , fluidsynth 5 , glib 6 , gtest 7 - , lib 8 , libGL 9 , libGLU 10 , libjack2 ··· 20 , ninja 21 , opusfile 22 , pkg-config 23 - , irr1 24 - , SDL2 25 - , SDL2_image 26 - , SDL2_net 27 , speexdsp 28 - , stdenv 29 }: 30 31 - stdenv.mkDerivation rec { 32 pname = "dosbox-staging"; 33 version = "0.80.1"; 34 35 src = fetchFromGitHub { 36 - owner = pname; 37 - repo = pname; 38 - rev = "v${version}"; 39 hash = "sha256-I90poBeLSq1c8PXyjrx7/UcbfqFNnnNiXfJdWhLPGMc="; 40 }; 41 ··· 49 ]; 50 51 buildInputs = [ 52 alsa-lib 53 fluidsynth 54 glib ··· 63 libslirp 64 libsndfile 65 opusfile 66 - SDL2 67 - SDL2_image 68 - SDL2_net 69 speexdsp 70 ]; 71 ··· 91 # original dosbox. Doing it this way allows us to work with frontends and 92 # launchers that expect the binary to be named dosbox, but get out of the 93 # way of vanilla dosbox if the user desires to install that as well. 94 - mv $out/bin/dosbox $out/bin/${pname} 95 makeWrapper $out/bin/dosbox-staging $out/bin/dosbox 96 97 # Create a symlink to dosbox manual instead of merely copying it 98 pushd $out/share/man/man1/ 99 - mv dosbox.1.gz ${pname}.1.gz 100 - ln -s ${pname}.1.gz dosbox.1.gz 101 popd 102 ''; 103 104 - meta = with lib; { 105 homepage = "https://dosbox-staging.github.io/"; 106 description = "A modernized DOS emulator"; 107 longDescription = '' ··· 110 existing DOSBox codebase while leveraging modern development tools and 111 practices. 112 ''; 113 - license = licenses.gpl2Plus; 114 - maintainers = with maintainers; [ joshuafern AndersonTorres ]; 115 - platforms = platforms.unix; 116 priority = 101; 117 }; 118 - } 119 - # TODO: report upstream about not finding SDL2_net
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , SDL2 5 + , SDL2_image 6 + , SDL2_net 7 + , alsa-lib 8 , copyDesktopItems 9 , fluidsynth 10 , glib 11 , gtest 12 + , irr1 13 , libGL 14 , libGLU 15 , libjack2 ··· 25 , ninja 26 , opusfile 27 , pkg-config 28 , speexdsp 29 }: 30 31 + stdenv.mkDerivation (self: { 32 pname = "dosbox-staging"; 33 version = "0.80.1"; 34 35 src = fetchFromGitHub { 36 + owner = "dosbox-staging"; 37 + repo = "dosbox-staging"; 38 + rev = "v${self.version}"; 39 hash = "sha256-I90poBeLSq1c8PXyjrx7/UcbfqFNnnNiXfJdWhLPGMc="; 40 }; 41 ··· 49 ]; 50 51 buildInputs = [ 52 + SDL2 53 + SDL2_image 54 + SDL2_net 55 alsa-lib 56 fluidsynth 57 glib ··· 66 libslirp 67 libsndfile 68 opusfile 69 speexdsp 70 ]; 71 ··· 91 # original dosbox. Doing it this way allows us to work with frontends and 92 # launchers that expect the binary to be named dosbox, but get out of the 93 # way of vanilla dosbox if the user desires to install that as well. 94 + mv $out/bin/dosbox $out/bin/${self.pname} 95 makeWrapper $out/bin/dosbox-staging $out/bin/dosbox 96 97 # Create a symlink to dosbox manual instead of merely copying it 98 pushd $out/share/man/man1/ 99 + mv dosbox.1.gz ${self.pname}.1.gz 100 + ln -s ${self.pname}.1.gz dosbox.1.gz 101 popd 102 ''; 103 104 + meta = { 105 homepage = "https://dosbox-staging.github.io/"; 106 description = "A modernized DOS emulator"; 107 longDescription = '' ··· 110 existing DOSBox codebase while leveraging modern development tools and 111 practices. 112 ''; 113 + changelog = "https://github.com/dosbox-staging/dosbox-staging/releases/tag/v${self.version}"; 114 + license = lib.licenses.gpl2Plus; 115 + maintainers = [ 116 + lib.maintainers.joshuafern 117 + lib.maintainers.AndersonTorres 118 + ]; 119 + platforms = lib.platforms.unix; 120 priority = 101; 121 }; 122 + }) 123 + # TODO: report upstream about not finding extra SDL2 libraries
+1 -1
pkgs/applications/graphics/eyedropper/default.nix
··· 50 ]; 51 52 meta = with lib; { 53 - description = "An easy-to-use color picker and editor"; 54 homepage = "https://github.com/FineFindus/eyedropper"; 55 license = licenses.gpl3Plus; 56 platforms = platforms.linux;
··· 50 ]; 51 52 meta = with lib; { 53 + description = "A powerful color picker and formatter"; 54 homepage = "https://github.com/FineFindus/eyedropper"; 55 license = licenses.gpl3Plus; 56 platforms = platforms.linux;
+2 -2
pkgs/applications/graphics/jpegoptim/default.nix
··· 1 { lib, stdenv, fetchFromGitHub, libjpeg }: 2 3 stdenv.mkDerivation rec { 4 - version = "1.5.1"; 5 pname = "jpegoptim"; 6 7 src = fetchFromGitHub { 8 owner = "tjko"; 9 repo = pname; 10 rev = "v${version}"; 11 - sha256 = "sha256-QPipwBk+BS/u3YxB8ACeFXQSuoW1aynEyG3tEMrhcaE="; 12 }; 13 14 # There are no checks, it seems.
··· 1 { lib, stdenv, fetchFromGitHub, libjpeg }: 2 3 stdenv.mkDerivation rec { 4 + version = "1.5.2"; 5 pname = "jpegoptim"; 6 7 src = fetchFromGitHub { 8 owner = "tjko"; 9 repo = pname; 10 rev = "v${version}"; 11 + sha256 = "sha256-PROQvOqsis8we58OOZ/kuY+L/CoV7XfnY9wvrpsTJu8="; 12 }; 13 14 # There are no checks, it seems.
+2 -2
pkgs/applications/graphics/paraview/default.nix
··· 6 }: 7 8 let 9 - version = "5.10.0"; 10 11 docFiles = [ 12 (fetchurl { ··· 35 owner = "paraview"; 36 repo = "paraview"; 37 rev = "v${version}"; 38 - sha256 = "0ipx6zq44hpic7gvv0s2jvjncak6vlmrz5sp9ypc15b15bna0gs2"; 39 fetchSubmodules = true; 40 }; 41
··· 6 }: 7 8 let 9 + version = "5.11.0"; 10 11 docFiles = [ 12 (fetchurl { ··· 35 owner = "paraview"; 36 repo = "paraview"; 37 rev = "v${version}"; 38 + sha256 = "sha256-WvkKGl5lG+apX6m4ULVZZVtDsSUjEVXe/seh95b+LmI="; 39 fetchSubmodules = true; 40 }; 41
+10 -2
pkgs/applications/graphics/tesseract/tesseract3.nix
··· 3 4 stdenv.mkDerivation rec { 5 pname = "tesseract"; 6 - version = "3.05.00"; 7 8 src = fetchFromGitHub { 9 owner = "tesseract-ocr"; 10 repo = "tesseract"; 11 rev = version; 12 - hash = "sha256-YHj00gG/3SW0ILTiQwphiCxuP9OCDya27hyFQB27mYc="; 13 }; 14 15 enableParallelBuilding = true; 16
··· 3 4 stdenv.mkDerivation rec { 5 pname = "tesseract"; 6 + version = "3.05.02"; 7 8 src = fetchFromGitHub { 9 owner = "tesseract-ocr"; 10 repo = "tesseract"; 11 rev = version; 12 + hash = "sha256-28osuZnVwkJpNTYkU+5D5PI8xtViFzGCMScHzkS2H20="; 13 }; 14 + 15 + # leptonica 1.83 made internal structures private. using internal headers isn't 16 + # great, but tesseract3's days are numbered anyway 17 + postPatch = '' 18 + for f in textord/devanagari_processing.cpp cube/cube_line_object.h cube/cube_line_segmenter.h cube/cube_utils.h ; do 19 + sed -i '/allheaders.h/a#include "pix_internal.h"' "$f" 20 + done 21 + ''; 22 23 enableParallelBuilding = true; 24
+7 -13
pkgs/applications/graphics/tesseract/tesseract4.nix
··· 3 4 stdenv.mkDerivation rec { 5 pname = "tesseract"; 6 - version = "4.1.1"; 7 8 src = fetchFromGitHub { 9 owner = "tesseract-ocr"; 10 repo = "tesseract"; 11 rev = version; 12 - hash = "sha256-lu/Y5mlCI8AajhiWaID0fGo5PghEQZdgt2X0K9c/QrE="; 13 }; 14 15 - patches = [ 16 - # https://github.com/tesseract-ocr/tesseract/issues/3447 17 - (fetchpatch { 18 - url = "https://github.com/tesseract-ocr/tesseract/commit/dbc79b09d195490dfa3f7d338eadac07ad6683f7.patch"; 19 - sha256 = "sha256-lGlg0etuU4RXfdq1QH2bYObdeGrFHKf9O8zMUAbfNIQ="; 20 - }) 21 - (fetchpatch { 22 - url = "https://github.com/tesseract-ocr/tesseract/commit/6dc4b184b1ebf2e68461f6b63f63a033bc7245f7.patch"; 23 - sha256 = "sha256-DwIX3r5NmeajI6WgIVHDbkhLH/ygJIjPO5XrbzWQhSw="; 24 - }) 25 - ]; 26 27 enableParallelBuilding = true; 28
··· 3 4 stdenv.mkDerivation rec { 5 pname = "tesseract"; 6 + version = "4.1.3"; 7 8 src = fetchFromGitHub { 9 owner = "tesseract-ocr"; 10 repo = "tesseract"; 11 rev = version; 12 + hash = "sha256-sV3w53ky13ESc0dGPutMGQ4TcmOeWJkvUwBPIyzSTc8="; 13 }; 14 15 + # leptonica 1.83 made internal structures private. using internal headers isn't 16 + # great, but tesseract4's days are numbered anyway 17 + postPatch = '' 18 + sed -i '/allheaders.h/a#include "pix_internal.h"' src/textord/devanagari_processing.cpp 19 + ''; 20 21 enableParallelBuilding = true; 22
+8 -6
pkgs/applications/misc/qt-box-editor/default.nix
··· 10 11 mkDerivation { 12 pname = "qt-box-editor"; 13 - version = "unstable-2019-07-12"; 14 15 src = fetchFromGitHub { 16 owner = "zdenop"; 17 repo = "qt-box-editor"; 18 - rev = "75a68b466868ba41ba2886caa796057403fe1901"; 19 - sha256 = "0zwsyy7cnbhy5aazwlkhd9y8bnzlgy1gffqa46abajn4809b95k3"; 20 }; 21 22 buildInputs = [ qtbase qtsvg leptonica tesseract ]; 23 24 nativeBuildInputs = [ qmake ]; 25 26 - # remove with next release 27 - # https://github.com/zdenop/qt-box-editor/pull/78 28 postPatch = '' 29 - printf "INSTALLS += target\ntarget.path = $out/bin" >> qt-box-editor.pro 30 ''; 31 32 meta = with lib; {
··· 10 11 mkDerivation { 12 pname = "qt-box-editor"; 13 + version = "unstable-2019-07-14"; 14 15 src = fetchFromGitHub { 16 owner = "zdenop"; 17 repo = "qt-box-editor"; 18 + rev = "cba2929dabc6c715acd1a282ba161fee914c87f6"; 19 + hash = "sha256-3dWnAu0CLO3atjbC1zJEnL3vzsIEecDDDhW3INMfCv4="; 20 }; 21 22 buildInputs = [ qtbase qtsvg leptonica tesseract ]; 23 24 nativeBuildInputs = [ qmake ]; 25 26 + # https://github.com/zdenop/qt-box-editor/issues/87 27 postPatch = '' 28 + sed -i '/allheaders.h/a#include <leptonica/pix_internal.h>' src/TessTools.h 29 + 30 + substituteInPlace qt-box-editor.pro \ 31 + --replace '-llept' '-lleptonica' 32 ''; 33 34 meta = with lib; {
+3 -3
pkgs/applications/networking/cluster/linkerd/edge.nix
··· 2 3 (callPackage ./generic.nix { }) { 4 channel = "edge"; 5 - version = "23.1.2"; 6 - sha256 = "1c8l5zzy5pjilp1a84084g3dgdm0rxkx7hj7lqcn0iihfvhxc1xq"; 7 - vendorSha256 = "sha256-6dOX3SsKjpwC/dEUO2SnVna99lpav7kIEKrMUy4YfhA="; 8 }
··· 2 3 (callPackage ./generic.nix { }) { 4 channel = "edge"; 5 + version = "23.2.1"; 6 + sha256 = "0qjl6qxfg6bj22fwm2y01if5dqp2w79y45ibrg46r33pf6gbwjxj"; 7 + vendorSha256 = "sha256-YxWBjbE3aBFfCbQeSTfQv5QzP5n4IRHHqNrFwrJPQ7g="; 8 }
+3 -3
pkgs/applications/networking/cluster/pluto/default.nix
··· 2 3 buildGoModule rec { 4 pname = "pluto"; 5 - version = "5.12.0"; 6 7 src = fetchFromGitHub { 8 owner = "FairwindsOps"; 9 repo = "pluto"; 10 rev = "v${version}"; 11 - sha256 = "sha256-WE/XWNBy5p8PEQ11s8nmW+HoVEkQB9cKoj5ZS8Suvs8="; 12 }; 13 14 - vendorHash = "sha256-F5Vh9wPd53bifLStk6wEwidPZvOjN87jn4RxJbSuW4o="; 15 16 ldflags = [ 17 "-w" "-s"
··· 2 3 buildGoModule rec { 4 pname = "pluto"; 5 + version = "5.13.3"; 6 7 src = fetchFromGitHub { 8 owner = "FairwindsOps"; 9 repo = "pluto"; 10 rev = "v${version}"; 11 + sha256 = "sha256-6kbfsqhALf7LFl0GS4VAMTVDFKP+CaEr6IPfpTZ33Fo="; 12 }; 13 14 + vendorHash = "sha256-lXW1yHrGLwZdhfkMLeu7zm0w2HxXk1DW+QEY+rfGZpE="; 15 16 ldflags = [ 17 "-w" "-s"
+3 -3
pkgs/applications/networking/go-graft/default.nix
··· 2 3 buildGoModule rec { 4 pname = "go-graft"; 5 - version = "0.2.16"; 6 7 src = fetchFromGitHub { 8 owner = "mzz2017"; 9 repo = "gg"; 10 rev = "v${version}"; 11 - sha256 = "sha256-zdOcQ/+WXS7pDfnvYdb/FDjMT3yJdwnS8DoH2MIDcDs="; 12 }; 13 14 CGO_ENABLED = 0; 15 16 ldflags = [ "-X github.com/mzz2017/gg/cmd.Version=${version}" "-s" "-w" "-buildid=" ]; 17 - vendorHash = "sha256-kx94B1XIXWJOY9Y69lNb/sHWVjsuFuOXrdtJFJrUuAs="; 18 subPackages = [ "." ]; 19 20 meta = with lib; {
··· 2 3 buildGoModule rec { 4 pname = "go-graft"; 5 + version = "0.2.17"; 6 7 src = fetchFromGitHub { 8 owner = "mzz2017"; 9 repo = "gg"; 10 rev = "v${version}"; 11 + sha256 = "sha256-UhRsgUz9au7e47cS6yrIJXc/8ZxVDpMHWBjoAcw+oCM="; 12 }; 13 14 CGO_ENABLED = 0; 15 16 ldflags = [ "-X github.com/mzz2017/gg/cmd.Version=${version}" "-s" "-w" "-buildid=" ]; 17 + vendorHash = "sha256-EiBt2SxUQY05Wr7KJbK+fs3U3iSmqECJ0glS8B2Ox9Q="; 18 subPackages = [ "." ]; 19 20 meta = with lib; {
+2 -2
pkgs/applications/networking/instant-messengers/discord/default.nix
··· 3 versions = if stdenv.isLinux then { 4 stable = "0.0.24"; 5 ptb = "0.0.38"; 6 - canary = "0.0.146"; 7 } else { 8 stable = "0.0.264"; 9 ptb = "0.0.59"; ··· 22 }; 23 canary = fetchurl { 24 url = "https://dl-canary.discordapp.net/apps/linux/${version}/discord-canary-${version}.tar.gz"; 25 - sha256 = "sha256-5GiG+RGqwHUdIeSVWpbaIw3sTuZbvIQeetXSEvSqTls="; 26 }; 27 }; 28 x86_64-darwin = {
··· 3 versions = if stdenv.isLinux then { 4 stable = "0.0.24"; 5 ptb = "0.0.38"; 6 + canary = "0.0.148"; 7 } else { 8 stable = "0.0.264"; 9 ptb = "0.0.59"; ··· 22 }; 23 canary = fetchurl { 24 url = "https://dl-canary.discordapp.net/apps/linux/${version}/discord-canary-${version}.tar.gz"; 25 + sha256 = "sha256-2ZrSDyPj3AHriCWZ/bb303H3J97TTun//WjmInNEmwk="; 26 }; 27 }; 28 x86_64-darwin = {
+2 -2
pkgs/applications/networking/syncthing/default.nix
··· 4 common = { stname, target, postInstall ? "" }: 5 buildGoModule rec { 6 pname = stname; 7 - version = "1.23.0"; 8 9 src = fetchFromGitHub { 10 owner = "syncthing"; 11 repo = "syncthing"; 12 rev = "v${version}"; 13 - hash = "sha256-Z4YVU45na4BgIbN/IlORpTCuf2EuSuOyppDRzswn3EI="; 14 }; 15 16 vendorHash = "sha256-q63iaRxJRvPY0Np20O6JmdMEjSg/kxRneBfs8fRTwXk=";
··· 4 common = { stname, target, postInstall ? "" }: 5 buildGoModule rec { 6 pname = stname; 7 + version = "1.23.1"; 8 9 src = fetchFromGitHub { 10 owner = "syncthing"; 11 repo = "syncthing"; 12 rev = "v${version}"; 13 + hash = "sha256-Jbg56Nn+5ZjIv1KZrThkqWY+P13MglLE78E6jc0rbY0="; 14 }; 15 16 vendorHash = "sha256-q63iaRxJRvPY0Np20O6JmdMEjSg/kxRneBfs8fRTwXk=";
+2
pkgs/applications/office/paperwork/paperwork-shell.nix
··· 11 , fabulous 12 , getkey 13 , psutil 14 15 , pkgs 16 }: ··· 39 ]; 40 41 nativeCheckInputs = [ 42 openpaperwork-gtk 43 ]; 44
··· 11 , fabulous 12 , getkey 13 , psutil 14 + , shared-mime-info 15 16 , pkgs 17 }: ··· 40 ]; 41 42 nativeCheckInputs = [ 43 + shared-mime-info 44 openpaperwork-gtk 45 ]; 46
+2 -2
pkgs/applications/office/paperwork/src.nix
··· 1 {fetchFromGitLab}: 2 rec { 3 - version = "2.1.1"; 4 src = fetchFromGitLab { 5 domain = "gitlab.gnome.org"; 6 repo = "paperwork"; 7 group = "World"; 8 owner = "OpenPaperwork"; 9 rev = version; 10 - sha256 = "2M2eMP54F3RRDMBuAZ1gBiBoMmTRJaHTUwtTjj4ZU+4="; 11 }; 12 sample_documents = fetchFromGitLab { 13 domain = "gitlab.gnome.org";
··· 1 {fetchFromGitLab}: 2 rec { 3 + version = "2.1.2"; 4 src = fetchFromGitLab { 5 domain = "gitlab.gnome.org"; 6 repo = "paperwork"; 7 group = "World"; 8 owner = "OpenPaperwork"; 9 rev = version; 10 + sha256 = "/5k+zUtTE+Dr879xbHDCAYrqlEJLsbkcRSG3GbA/PCg="; 11 }; 12 sample_documents = fetchFromGitLab { 13 domain = "gitlab.gnome.org";
+2 -2
pkgs/applications/science/biology/last/default.nix
··· 9 10 stdenv.mkDerivation rec { 11 pname = "last"; 12 - version = "1445"; 13 14 src = fetchFromGitLab { 15 owner = "mcfrith"; 16 repo = "last"; 17 rev = "refs/tags/${version}"; 18 - hash = "sha256-E3D9KmCIVcwXblwJ0wePk0wKoXwKA2UsSGqfMmRsw2A="; 19 }; 20 21 nativeBuildInputs = [
··· 9 10 stdenv.mkDerivation rec { 11 pname = "last"; 12 + version = "1447"; 13 14 src = fetchFromGitLab { 15 owner = "mcfrith"; 16 repo = "last"; 17 rev = "refs/tags/${version}"; 18 + hash = "sha256-zts1F2tFeBP7CQifpc2M4i6duK8FA7hQXTOizv8/kWM="; 19 }; 20 21 nativeBuildInputs = [
-2
pkgs/applications/science/math/gap/default.nix
··· 134 # https://github.com/NixOS/nixpkgs/pull/192548#discussion_r992824942 135 rm -r "$out/share/gap/pkg" 136 cp -ar pkg tst "$out/share/gap" 137 - 138 - makeWrapper "$out/lib/gap/gap" "$out/bin/gap" --add-flags "-l $out/share/gap" 139 ''; 140 141 preFixup = ''
··· 134 # https://github.com/NixOS/nixpkgs/pull/192548#discussion_r992824942 135 rm -r "$out/share/gap/pkg" 136 cp -ar pkg tst "$out/share/gap" 137 ''; 138 139 preFixup = ''
+10
pkgs/applications/science/math/pari/default.nix
··· 1 { lib 2 , stdenv 3 , fetchurl 4 , gmp 5 , libX11 6 , libpthreadstubs ··· 24 ]; 25 hash = "sha256-sEYoER7iKHZRmksc2vsy/rqjTq+iT56B9Y+NBX++4N0="; 26 }; 27 28 buildInputs = [ 29 gmp
··· 1 { lib 2 , stdenv 3 , fetchurl 4 + , fetchpatch 5 , gmp 6 , libX11 7 , libpthreadstubs ··· 25 ]; 26 hash = "sha256-sEYoER7iKHZRmksc2vsy/rqjTq+iT56B9Y+NBX++4N0="; 27 }; 28 + 29 + patches = [ 30 + # https://pari.math.u-bordeaux.fr/cgi-bin/bugreport.cgi?bug=2441 31 + (fetchpatch { 32 + name = "fix-find_isogenous_from_Atkin.patch"; 33 + url = "https://git.sagemath.org/sage.git/plain/build/pkgs/pari/patches/bug2441.patch?id=9.8.rc0"; 34 + hash = "sha256-DvOUFlFDnopN+MJY6GYRPNabuoHPFch/nNn+49ygznc="; 35 + }) 36 + ]; 37 38 buildInputs = [ 39 gmp
+4 -36
pkgs/applications/science/math/sage/README.md
··· 10 11 If the build broke as a result of a package update, try those solutions in order: 12 13 - - search the [sage trac](https://trac.sagemath.org/) for keywords like "Upgrade <package>". Maybe somebody has already proposed a patch that fixes the issue. You can then add a `fetchpatch` to `sage-src.nix`. 14 15 - check if [gentoo](https://github.com/cschwan/sage-on-gentoo/tree/master/sci-mathematics/sage), [debian](https://salsa.debian.org/science-team/sagemath/tree/master/debian) or [arch linux](https://git.archlinux.org/svntogit/community.git/tree/trunk?h=packages/sagemath) already solved the problem. You can then again add a `fetchpatch` to `sage-src.nix`. If applicable you should also [propose the patch upstream](#proposing-a-sage-patch). 16 ··· 19 ``` 20 [user@localhost ~]$ git clone https://github.com/sagemath/sage.git 21 [user@localhost ~]$ cd sage 22 - [user@localhost sage]$ git checkout 8.2 # substitute the relevant version here 23 ``` 24 25 Then make the needed changes and generate a patch with `git diff`: ··· 29 [user@localhost ~]$ git diff -u > /path/to/nixpkgs/pkgs/applications/science/math/sage/patches/name-of-patch.patch 30 ``` 31 32 - Now just add the patch to `sage-src.nix` and test your changes. If they fix the problem, [propose them upstream](#proposing-a-sage-patch) and add a link to the trac ticket. 33 34 - pin the package version in `default.nix` and add a note that explains why that is necessary. 35 36 - 37 - ## Proposing a sage patch 38 - 39 - You can [login the sage trac using GitHub](https://trac.sagemath.org/login). Your username will then be `gh-<your-github-name>`. The only other way is to request a trac account via email. After that refer to [git the hard way](http://doc.sagemath.org/html/en/developer/manual_git.html#chapter-manual-git) in the sage documentation. The "easy way" requires a non-GitHub account (requested via email) and a special tool. The "hard way" is really not all that hard if you're a bit familiar with git. 40 - 41 - Here's the gist, assuming you want to use ssh key authentication. First, [add your public ssh key](https://trac.sagemath.org/prefs/sshkeys). Then: 42 - 43 - ``` 44 - [user@localhost ~]$ git clone https://github.com/sagemath/sage.git 45 - [user@localhost ~]$ cd sage 46 - [user@localhost sage]$ git remote add trac git@trac.sagemath.org:sage.git -t master 47 - [user@localhost sage]$ git checkout -b u/gh-<your-github-username>/<your-branch-name> develop 48 - [user@localhost sage]$ <make changes> 49 - [user@localhost sage]$ git add . 50 - [user@localhost sage]$ git commit 51 - [user@localhost sage]$ git show # review your changes 52 - [user@localhost sage]$ git push --set-upstream trac u/gh-<your-github-username>/<your-branch-name> 53 - ``` 54 - 55 - You now created a branch on the trac server (you *must* follow the naming scheme as you only have push access to branches with the `u/gh-<your-github-username>/` prefix). 56 - Now you can [create a new trac ticket](https://trac.sagemath.org/newticket). 57 - - Write a description of the change 58 - - set the type and component as appropriate 59 - - write your real name in the "Authors" field 60 - - write `u/gh-<your-github-username>/<your-branch-name>` in the "Branch" field 61 - - click "Create ticket" 62 - - click "Modify" on the top right of your ticket (for some reason you can only change the ticket status after you have created it) 63 - - set the ticket status from `new` to `needs_review` 64 - - click "Save changes" 65 - 66 - Refer to sages [Developer's Guide](http://doc.sagemath.org/html/en/developer/index.html) for further details. 67 - 68 ## I want to update sage 69 70 You'll need to change the `version` field in `sage-src.nix`. Afterwards just try to build and let nix tell you which patches no longer apply (hopefully because they were adopted upstream). Remove those. ··· 74 75 ## Well, that didn't help! 76 77 - If you couldn't fix the problem, create a GitHub issue on the nixpkgs repo and ping @timokau (or whoever is listed in the `maintainers` list of the sage package). 78 Describe what you did and why it didn't work. Afterwards it would be great if you help the next guy out and improve this documentation!
··· 10 11 If the build broke as a result of a package update, try those solutions in order: 12 13 + - search the [sage GitHub repo](https://github.com/sagemath/sage) for keywords like "Upgrade <package>". Maybe somebody has already proposed a patch that fixes the issue. You can then add a `fetchpatch` to `sage-src.nix`. 14 15 - check if [gentoo](https://github.com/cschwan/sage-on-gentoo/tree/master/sci-mathematics/sage), [debian](https://salsa.debian.org/science-team/sagemath/tree/master/debian) or [arch linux](https://git.archlinux.org/svntogit/community.git/tree/trunk?h=packages/sagemath) already solved the problem. You can then again add a `fetchpatch` to `sage-src.nix`. If applicable you should also [propose the patch upstream](#proposing-a-sage-patch). 16 ··· 19 ``` 20 [user@localhost ~]$ git clone https://github.com/sagemath/sage.git 21 [user@localhost ~]$ cd sage 22 + [user@localhost sage]$ git checkout 9.8 # substitute the relevant version here 23 ``` 24 25 Then make the needed changes and generate a patch with `git diff`: ··· 29 [user@localhost ~]$ git diff -u > /path/to/nixpkgs/pkgs/applications/science/math/sage/patches/name-of-patch.patch 30 ``` 31 32 + Now just add the patch to `sage-src.nix` and test your changes. If they fix the problem, submit a PR upstream (refer to sages [Developer's Guide](http://doc.sagemath.org/html/en/developer/index.html) for further details). 33 34 - pin the package version in `default.nix` and add a note that explains why that is necessary. 35 36 ## I want to update sage 37 38 You'll need to change the `version` field in `sage-src.nix`. Afterwards just try to build and let nix tell you which patches no longer apply (hopefully because they were adopted upstream). Remove those. ··· 42 43 ## Well, that didn't help! 44 45 + If you couldn't fix the problem, create a GitHub issue on the nixpkgs repo and ping the sage maintainers (as listed in the sage package). 46 Describe what you did and why it didn't work. Afterwards it would be great if you help the next guy out and improve this documentation!
+2 -1
pkgs/applications/science/math/sage/env-locations.nix
··· 35 export GRAPHS_DATA_DIR='${graphs}/share/graphs' 36 export ELLCURVE_DATA_DIR='${elliptic_curves}/share/ellcurves' 37 export POLYTOPE_DATA_DIR='${polytopes_db}/share/reflexive_polytopes' 38 - export GAP_ROOT_DIR='${gap}/share/gap' 39 export ECLDIR='${maxima.lisp-compiler}/lib/${maxima.lisp-compiler.pname}-${maxima.lisp-compiler.version}/' 40 export COMBINATORIAL_DESIGN_DATA_DIR="${combinatorial_designs}/share/combinatorial_designs" 41 export CREMONA_MINI_DATA_DIR="${elliptic_curves}/share/cremona"
··· 35 export GRAPHS_DATA_DIR='${graphs}/share/graphs' 36 export ELLCURVE_DATA_DIR='${elliptic_curves}/share/ellcurves' 37 export POLYTOPE_DATA_DIR='${polytopes_db}/share/reflexive_polytopes' 38 + export GAP_LIB_DIR='${gap}/lib/gap' 39 + export GAP_SHARE_DIR='${gap}/share/gap' 40 export ECLDIR='${maxima.lisp-compiler}/lib/${maxima.lisp-compiler.pname}-${maxima.lisp-compiler.version}/' 41 export COMBINATORIAL_DESIGN_DATA_DIR="${combinatorial_designs}/share/combinatorial_designs" 42 export CREMONA_MINI_DATA_DIR="${elliptic_curves}/share/cremona"
-26
pkgs/applications/science/math/sage/patches/pari-2.15.1-upgrade-rebased.patch
··· 1 - diff --git a/src/sage/geometry/polyhedron/backend_normaliz.py b/src/sage/geometry/polyhedron/backend_normaliz.py 2 - index 86b89632a5..ca8a43b248 100644 3 - --- a/src/sage/geometry/polyhedron/backend_normaliz.py 4 - +++ b/src/sage/geometry/polyhedron/backend_normaliz.py 5 - @@ -53,7 +53,7 @@ def _number_field_elements_from_algebraics_list_of_lists_of_lists(listss, **kwds 6 - 1.732050807568878? 7 - sage: from sage.geometry.polyhedron.backend_normaliz import _number_field_elements_from_algebraics_list_of_lists_of_lists 8 - sage: K, results, hom = _number_field_elements_from_algebraics_list_of_lists_of_lists([[[rt2], [1]], [[rt3]], [[1], []]]); results # optional - sage.rings.number_field 9 - - [[[-a^3 + 3*a], [1]], [[-a^2 + 2]], [[1], []]] 10 - + [[[-a^3 + 3*a], [1]], [[a^2 - 2]], [[1], []]] 11 - """ 12 - from sage.rings.qqbar import number_field_elements_from_algebraics 13 - numbers = [] 14 - diff --git a/src/sage/lfunctions/pari.py b/src/sage/lfunctions/pari.py 15 - index d2b20f1891..6c31efe239 100644 16 - --- a/src/sage/lfunctions/pari.py 17 - +++ b/src/sage/lfunctions/pari.py 18 - @@ -339,7 +339,7 @@ def lfun_eta_quotient(scalings, exponents): 19 - 0.0374412812685155 20 - 21 - sage: lfun_eta_quotient([6],[4]) 22 - - [[Vecsmall([7]), [Vecsmall([6]), Vecsmall([4])]], 0, [0, 1], 2, 36, 1] 23 - + [[Vecsmall([7]), [Vecsmall([6]), Vecsmall([4]), 0]], 0, [0, 1], 2, 36, 1] 24 - 25 - sage: lfun_eta_quotient([2,1,4], [5,-2,-2]) 26 - Traceback (most recent call last):
···
+5 -69
pkgs/applications/science/math/sage/sage-src.nix
··· 57 ); 58 in 59 stdenv.mkDerivation rec { 60 - version = "9.7"; 61 pname = "sage-src"; 62 63 src = fetchFromGitHub { 64 owner = "sagemath"; 65 repo = "sage"; 66 rev = version; 67 - sha256 = "sha256-MYpCp18wqKwCa+tcJ7He14p1FXDlVm1vubQqQS9g3LY="; 68 }; 69 70 # Patches needed because of particularities of nix or the way this is packaged. ··· 89 # To help debug the transient error in 90 # https://trac.sagemath.org/ticket/23087 when it next occurs. 91 ./patches/configurationpy-error-verbose.patch 92 - 93 - # https://trac.sagemath.org/ticket/33907 94 - (fetchSageDiff { 95 - name = "interfaces-expectpy-intermittent.patch"; 96 - base = "9.8.beta6"; 97 - rev = "6f5c1c2fc8bcfb5e6555716d05ce70511795ffa1"; 98 - sha256 = "sha256-z8FQxtrk62MHzPjrUTad+fMAE6XV8GTsLWKgGOM3zBg="; 99 - }) 100 ]; 101 102 # Patches needed because of package updates. We could just pin the versions of ··· 119 # adapted from https://trac.sagemath.org/ticket/23712#comment:22 120 ./patches/tachyon-renamed-focallength.patch 121 122 - # https://trac.sagemath.org/ticket/34118 123 - (fetchSageDiff { 124 - name = "sympy-1.11-upgrade.patch"; 125 - base = "9.7"; 126 - rev = "52815744bde2b682245b6f985a112f7cb8666056"; 127 - sha256 = "sha256-gv6z6JkQ6S6oCJQNkVgcPVvzlplyvR1nC7pWmcUiSc0="; 128 - }) 129 - 130 - # https://trac.sagemath.org/ticket/34460 131 - (fetchSageDiff { 132 - name = "ipywidgets-8-upgrade.patch"; 133 - base = "9.7"; 134 - rev = "2816dbacb342398a23bb3099e20c92c8020ab0fa"; 135 - sha256 = "sha256-tCOsMxXwPkRg3FJGVvTqDzlWdra78UfDY6nci0Nr9GI="; 136 - }) 137 - 138 # https://trac.sagemath.org/ticket/34391 139 (fetchSageDiff { 140 name = "gap-4.12-upgrade.patch"; 141 - base = "9.8.beta2"; 142 - rev = "eb8cd42feb58963adba67599bf6e311e03424328"; 143 - sha256 = "sha256-0dKewOZe2n3PqSdxCJt18FkqwTdrD0VA5MXAMiTW8Tw="; 144 }) 145 146 # https://trac.sagemath.org/ticket/34701 ··· 149 base = "eb8cd42feb58963adba67599bf6e311e03424328"; # TODO: update when #34391 lands 150 rev = "90acc7f1c13a80b8aa673469a2668feb9cd4207f"; 151 sha256 = "sha256-9BhQLFB3wUhiXRQsK9L+I62lSjvTfrqMNi7QUIQvH4U="; 152 - }) 153 - 154 - # https://trac.sagemath.org/ticket/34537 155 - (fetchSageDiff { 156 - name = "pari-2.15.1-upgrade.patch"; 157 - squashed = true; 158 - base = "54cd6fe6de52aee5a433e0569e8c370618cb2047"; # 9.8.beta1 159 - rev = "1e86aa26790d84bf066eca67f98a60a8aa3d4d3a"; 160 - sha256 = "sha256-LUgcMqrKXWb72Kxl0n6MV5unLXlQSeG8ncN41F7TRSc="; 161 - excludes = ["build/*" 162 - "src/sage/geometry/polyhedron/base_number_field.py" 163 - "src/sage/geometry/polyhedron/backend_normaliz.py" 164 - "src/sage/lfunctions/pari.py"]; 165 - }) 166 - # Some files were excluded from the above patch due to 167 - # conflicts. The patch below contains rebased versions. 168 - ./patches/pari-2.15.1-upgrade-rebased.patch 169 - 170 - # https://trac.sagemath.org/ticket/34668 171 - (fetchSageDiff { 172 - name = "matplotlib-3.6-upgrade.patch"; 173 - base = "9.8.beta2"; 174 - rev = "5501e0de0dca1cff0355326dd42bd8c7e5749568"; 175 - sha256 = "sha256-ceJkVaecIsZewN8v/3gPQXFbFjv5Akz6zEFg/ToXdek="; 176 - }) 177 - 178 - # https://trac.sagemath.org/ticket/34693 179 - (fetchSageDiff { 180 - name = "matplotlib-3.6-docbuilding.patch"; 181 - base = "9.8.beta4"; 182 - rev = "64589686c261d33e6b5aff2589bcae8af004bcc6"; 183 - sha256 = "sha256-j5AMY1TmhP+HBBBYaFZSkABJ5vtwe6iP2LRfGEgSm8Q="; 184 - }) 185 - 186 - # https://trac.sagemath.org/ticket/34615 187 - (fetchSageDiff { 188 - name = "sphinx-5.2-upgrade.patch"; 189 - base = "9.8.beta1"; 190 - rev = "8f8af65e54d3a9962cfab40f15dc23f4e955b43f"; 191 - sha256 = "sha256-yhDdyxnXSSkqLcuOPBWSEBc26rk1Od3gLcWW8S2p8bY="; 192 }) 193 194 # temporarily paper over https://github.com/jupyter-widgets/ipywidgets/issues/3669
··· 57 ); 58 in 59 stdenv.mkDerivation rec { 60 + version = "9.8"; 61 pname = "sage-src"; 62 63 src = fetchFromGitHub { 64 owner = "sagemath"; 65 repo = "sage"; 66 rev = version; 67 + sha256 = "sha256-dDbrzJXsOBARYfJz0r7n3LbaoXHnx7Acz6HBa95NV9o="; 68 }; 69 70 # Patches needed because of particularities of nix or the way this is packaged. ··· 89 # To help debug the transient error in 90 # https://trac.sagemath.org/ticket/23087 when it next occurs. 91 ./patches/configurationpy-error-verbose.patch 92 ]; 93 94 # Patches needed because of package updates. We could just pin the versions of ··· 111 # adapted from https://trac.sagemath.org/ticket/23712#comment:22 112 ./patches/tachyon-renamed-focallength.patch 113 114 # https://trac.sagemath.org/ticket/34391 115 (fetchSageDiff { 116 name = "gap-4.12-upgrade.patch"; 117 + base = "9.8.beta7"; 118 + rev = "dd4a17281adcda74e11f998ef519b6bd0dafb043"; 119 + sha256 = "sha256-UQT9DO9xd5hh5RucvUkIm+rggPKu8bc1YaSI6LVYH98="; 120 }) 121 122 # https://trac.sagemath.org/ticket/34701 ··· 125 base = "eb8cd42feb58963adba67599bf6e311e03424328"; # TODO: update when #34391 lands 126 rev = "90acc7f1c13a80b8aa673469a2668feb9cd4207f"; 127 sha256 = "sha256-9BhQLFB3wUhiXRQsK9L+I62lSjvTfrqMNi7QUIQvH4U="; 128 }) 129 130 # temporarily paper over https://github.com/jupyter-widgets/ipywidgets/issues/3669
+1 -1
pkgs/applications/terminal-emulators/foot/default.nix
··· 18 , wayland-scanner 19 , pkg-config 20 , utf8proc 21 - , allowPgo ? true 22 , python3 # for PGO 23 # for clang stdenv check 24 , foot
··· 18 , wayland-scanner 19 , pkg-config 20 , utf8proc 21 + , allowPgo ? !stdenv.hostPlatform.isMusl 22 , python3 # for PGO 23 # for clang stdenv check 24 , foot
+2 -2
pkgs/applications/version-management/commitizen/default.nix
··· 26 27 buildPythonApplication rec { 28 pname = "commitizen"; 29 - version = "2.41.0"; 30 31 src = fetchFromGitHub { 32 owner = "commitizen-tools"; 33 repo = pname; 34 rev = "v${version}"; 35 - hash = "sha256-dzAIRfUdyHSefDRDuPMsr8l2Dsiall2ZUDB6GufTbXE="; 36 }; 37 38 format = "pyproject";
··· 26 27 buildPythonApplication rec { 28 pname = "commitizen"; 29 + version = "2.42.0"; 30 31 src = fetchFromGitHub { 32 owner = "commitizen-tools"; 33 repo = pname; 34 rev = "v${version}"; 35 + hash = "sha256-13WEbF6in+zYZXWYqlYA98qJkKxjmcpQY9GuGS+DDtk="; 36 }; 37 38 format = "pyproject";
+73 -91
pkgs/applications/version-management/sapling/default.nix
··· 88 runHook postInstall 89 ''; 90 }; 91 92 - # Builds the main `sl` binary and its Python extensions 93 - sapling = python3Packages.buildPythonPackage { 94 - pname = "sapling-main"; 95 - inherit src version; 96 97 - sourceRoot = "source/eden/scm"; 98 - 99 - # Upstream does not commit Cargo.lock 100 - cargoDeps = rustPlatform.importCargoLock { 101 - lockFile = ./Cargo.lock; 102 - outputHashes = { 103 - "cloned-0.1.0" = "sha256-DYQTK722wgeDUJtOVXHLt42G6gpe6A62rET+JH+bPKU="; 104 - "deltae-0.3.0" = "sha256-a9Skaqs+tVTw8x83jga+INBr+TdaMmo35Bf2wbfR6zs="; 105 - "fb303_core-0.0.0" = "sha256-YEFNTYvtgp8nc/1O7AbdyxCD3Xx2xCjbS17fTTEsUL0="; 106 - "fbthrift-0.0.1+unstable" = "sha256-mDoYhXOzQIDqP7XdmiBbmq5VmAKAgggTNH/kW2kHv4k="; 107 - "reqwest-0.11.11" = "sha256-uhc8XhkGW22XDNo0qreWdXeFF2cslOOZHfTRQ30IBcE="; 108 - "serde_bser-0.3.1" = "sha256-/zn1NfXWytXvnalkgPsg9BdujVV97PGkXwmPtQGVeCc="; 109 - }; 110 }; 111 - postPatch = '' 112 - cp ${./Cargo.lock} Cargo.lock 113 - ''; 114 - 115 - # Since the derivation builder doesn't have network access to remain pure, 116 - # fetch the artifacts manually and link them. Then replace the hardcoded URLs 117 - # with filesystem paths for the curl calls. 118 - postUnpack = '' 119 - mkdir $sourceRoot/hack_pydeps 120 - ${lib.concatStrings (map (li: "ln -s ${fetchurl li} $sourceRoot/hack_pydeps/${baseNameOf li.url}\n") links)} 121 - sed -i "s|https://files.pythonhosted.org/packages/[[:alnum:]]*/[[:alnum:]]*/[[:alnum:]]*/|file://$NIX_BUILD_TOP/$sourceRoot/hack_pydeps/|g" $sourceRoot/setup.py 122 - ''; 123 - 124 - # Now, copy the "sl web" (aka edenscm-isl) results into the output of this 125 - # package, so that the command can actually work. NOTES: 126 - # 127 - # 1) This applies on all systems (so no conditional a la postFixup) 128 - # 2) This doesn't require any kind of fixup itself, so we leave it out 129 - # of postFixup for that reason, too 130 - # 3) If asked, we optionally patch in a hardcoded path to the 'nodejs' package, 131 - # so that 'sl web' always works 132 - # 4) 'sl web' will still work if 'nodejs' is in $PATH, just not OOTB 133 - preFixup = '' 134 - sitepackages=$out/lib/${python3Packages.python.libPrefix}/site-packages 135 - chmod +w $sitepackages 136 - cp -r ${isl} $sitepackages/edenscm-isl 137 - '' + lib.optionalString (!enableMinimal) '' 138 - chmod +w $sitepackages/edenscm-isl/run-isl 139 - substituteInPlace $sitepackages/edenscm-isl/run-isl \ 140 - --replace 'NODE=node' 'NODE=${nodejs}/bin/node' 141 - ''; 142 - 143 - postFixup = lib.optionalString stdenv.isLinux '' 144 - wrapProgram $out/bin/sl \ 145 - --set LOCALE_ARCHIVE "${glibcLocales}/lib/locale/locale-archive" 146 - ''; 147 - 148 - nativeBuildInputs = [ 149 - curl 150 - pkg-config 151 - ] ++ (with rustPlatform; [ 152 - myCargoSetupHook 153 - rust.cargo 154 - rust.rustc 155 - ]); 156 - 157 - buildInputs = [ 158 - openssl 159 - ] ++ lib.optionals stdenv.isDarwin [ 160 - curl 161 - libiconv 162 - CoreFoundation 163 - CoreServices 164 - Security 165 - ]; 166 167 - doCheck = false; 168 169 - HGNAME = "sl"; 170 - SAPLING_OSS_BUILD = "true"; 171 - SAPLING_VERSION = version; 172 - SAPLING_VERSION_HASH = versionHash; 173 - }; 174 - in 175 - stdenv.mkDerivation { 176 - pname = "sapling"; 177 - inherit version; 178 179 - dontUnpack = true; 180 181 - installPhase = '' 182 - runHook preInstall 183 184 - mkdir -p $out 185 - cp -r ${sapling}/* $out 186 187 - runHook postInstall 188 - ''; 189 190 # just a simple check phase, until we have a running test suite. this should 191 # help catch issues like lack of a LOCALE_ARCHIVE setting (see GH PR #202760) 192 doCheck = true; 193 - checkPhase = '' 194 echo -n "testing sapling version; should be \"${version}\"... " 195 - ${sapling}/bin/sl version | grep -qw "${version}" 196 echo "OK!" 197 ''; 198
··· 88 runHook postInstall 89 ''; 90 }; 91 + in 92 + # Builds the main `sl` binary and its Python extensions 93 + python3Packages.buildPythonApplication { 94 + pname = "sapling"; 95 + inherit src version; 96 97 + sourceRoot = "source/eden/scm"; 98 99 + # Upstream does not commit Cargo.lock 100 + cargoDeps = rustPlatform.importCargoLock { 101 + lockFile = ./Cargo.lock; 102 + outputHashes = { 103 + "cloned-0.1.0" = "sha256-DYQTK722wgeDUJtOVXHLt42G6gpe6A62rET+JH+bPKU="; 104 + "deltae-0.3.0" = "sha256-a9Skaqs+tVTw8x83jga+INBr+TdaMmo35Bf2wbfR6zs="; 105 + "fb303_core-0.0.0" = "sha256-YEFNTYvtgp8nc/1O7AbdyxCD3Xx2xCjbS17fTTEsUL0="; 106 + "fbthrift-0.0.1+unstable" = "sha256-mDoYhXOzQIDqP7XdmiBbmq5VmAKAgggTNH/kW2kHv4k="; 107 + "reqwest-0.11.11" = "sha256-uhc8XhkGW22XDNo0qreWdXeFF2cslOOZHfTRQ30IBcE="; 108 + "serde_bser-0.3.1" = "sha256-/zn1NfXWytXvnalkgPsg9BdujVV97PGkXwmPtQGVeCc="; 109 }; 110 + }; 111 + postPatch = '' 112 + cp ${./Cargo.lock} Cargo.lock 113 + ''; 114 115 + # Since the derivation builder doesn't have network access to remain pure, 116 + # fetch the artifacts manually and link them. Then replace the hardcoded URLs 117 + # with filesystem paths for the curl calls. 118 + postUnpack = '' 119 + mkdir $sourceRoot/hack_pydeps 120 + ${lib.concatStrings (map (li: "ln -s ${fetchurl li} $sourceRoot/hack_pydeps/${baseNameOf li.url}\n") links)} 121 + sed -i "s|https://files.pythonhosted.org/packages/[[:alnum:]]*/[[:alnum:]]*/[[:alnum:]]*/|file://$NIX_BUILD_TOP/$sourceRoot/hack_pydeps/|g" $sourceRoot/setup.py 122 + ''; 123 124 + # Now, copy the "sl web" (aka edenscm-isl) results into the output of this 125 + # package, so that the command can actually work. NOTES: 126 + # 127 + # 1) This applies on all systems (so no conditional a la postFixup) 128 + # 2) This doesn't require any kind of fixup itself, so we leave it out 129 + # of postFixup for that reason, too 130 + # 3) If asked, we optionally patch in a hardcoded path to the 'nodejs' package, 131 + # so that 'sl web' always works 132 + # 4) 'sl web' will still work if 'nodejs' is in $PATH, just not OOTB 133 + preFixup = '' 134 + sitepackages=$out/lib/${python3Packages.python.libPrefix}/site-packages 135 + chmod +w $sitepackages 136 + cp -r ${isl} $sitepackages/edenscm-isl 137 + '' + lib.optionalString (!enableMinimal) '' 138 + chmod +w $sitepackages/edenscm-isl/run-isl 139 + substituteInPlace $sitepackages/edenscm-isl/run-isl \ 140 + --replace 'NODE=node' 'NODE=${nodejs}/bin/node' 141 + ''; 142 143 + postFixup = lib.optionalString stdenv.isLinux '' 144 + wrapProgram $out/bin/sl \ 145 + --set LOCALE_ARCHIVE "${glibcLocales}/lib/locale/locale-archive" 146 + ''; 147 148 + nativeBuildInputs = [ 149 + curl 150 + pkg-config 151 + ] ++ (with rustPlatform; [ 152 + myCargoSetupHook 153 + rust.cargo 154 + rust.rustc 155 + ]); 156 157 + buildInputs = [ 158 + openssl 159 + ] ++ lib.optionals stdenv.isDarwin [ 160 + curl 161 + libiconv 162 + CoreFoundation 163 + CoreServices 164 + Security 165 + ]; 166 167 + HGNAME = "sl"; 168 + SAPLING_OSS_BUILD = "true"; 169 + SAPLING_VERSION = version; 170 + SAPLING_VERSION_HASH = versionHash; 171 172 # just a simple check phase, until we have a running test suite. this should 173 # help catch issues like lack of a LOCALE_ARCHIVE setting (see GH PR #202760) 174 doCheck = true; 175 + installCheckPhase = '' 176 echo -n "testing sapling version; should be \"${version}\"... " 177 + $out/bin/sl version | grep -qw "${version}" 178 echo "OK!" 179 ''; 180
+4 -1
pkgs/applications/video/ccextractor/default.nix
··· 23 sha256 = "sha256-usVAKBkdd8uz9cD5eLd0hnwGonOJLscRdc+iWDlNXVc="; 24 }; 25 26 - postPatch = lib.optionalString stdenv.isDarwin '' 27 substituteInPlace src/CMakeLists.txt \ 28 --replace 'add_definitions(-DGPAC_CONFIG_LINUX)' 'add_definitions(-DGPAC_CONFIG_DARWIN)' 29 '';
··· 23 sha256 = "sha256-usVAKBkdd8uz9cD5eLd0hnwGonOJLscRdc+iWDlNXVc="; 24 }; 25 26 + postPatch = '' 27 + # https://github.com/CCExtractor/ccextractor/issues/1467 28 + sed -i '/allheaders.h/a#include <leptonica/pix_internal.h>' src/lib_ccx/ocr.c 29 + '' + lib.optionalString stdenv.isDarwin '' 30 substituteInPlace src/CMakeLists.txt \ 31 --replace 'add_definitions(-DGPAC_CONFIG_LINUX)' 'add_definitions(-DGPAC_CONFIG_DARWIN)' 32 '';
+3
pkgs/applications/video/mirakurun/default.nix
··· 39 yarnLock = ./yarn.lock; 40 packageJSON = ./package.json; 41 42 patches = [ 43 # NOTE: fixes for hardcoded paths and assumptions about filesystem 44 # permissions
··· 39 yarnLock = ./yarn.lock; 40 packageJSON = ./package.json; 41 42 + # workaround for https://github.com/webpack/webpack/issues/14532 43 + NODE_OPTIONS = "--openssl-legacy-provider"; 44 + 45 patches = [ 46 # NOTE: fixes for hardcoded paths and assumptions about filesystem 47 # permissions
+2 -1
pkgs/applications/video/openshot-qt/default.nix
··· 7 , gtk3 8 , libopenshot 9 , python3 10 , qtsvg 11 , wrapGAppsHook 12 }: ··· 55 '' 56 # Fix toolbar icons on Darwin 57 + lib.optionalString stdenv.isDarwin '' 58 - --suffix QT_PLUGIN_PATH : "${lib.getBin qtsvg}/lib/qt-5.12.7/plugins" \ 59 '' + '' 60 "''${gappsWrapperArgs[@]}" \ 61 "''${qtWrapperArgs[@]}"
··· 7 , gtk3 8 , libopenshot 9 , python3 10 + , qtbase 11 , qtsvg 12 , wrapGAppsHook 13 }: ··· 56 '' 57 # Fix toolbar icons on Darwin 58 + lib.optionalString stdenv.isDarwin '' 59 + --suffix QT_PLUGIN_PATH : "${lib.getBin qtsvg}/${qtbase.qtPluginPrefix}" \ 60 '' + '' 61 "''${gappsWrapperArgs[@]}" \ 62 "''${qtWrapperArgs[@]}"
+4 -3
pkgs/applications/video/openshot-qt/libopenshot.nix
··· 31 32 postPatch = '' 33 sed -i 's/{UNITTEST++_INCLUDE_DIR}/ENV{UNITTEST++_INCLUDE_DIR}/g' tests/CMakeLists.txt 34 - sed -i 's/{_REL_PYTHON_MODULE_PATH}/ENV{_REL_PYTHON_MODULE_PATH}/g' bindings/python/CMakeLists.txt 35 - export _REL_PYTHON_MODULE_PATH=$(toPythonPath $out) 36 ''; 37 38 nativeBuildInputs = lib.optionals stdenv.isLinux [ ··· 62 63 doCheck = false; 64 65 - cmakeFlags = [ "-DENABLE_RUBY=OFF" ]; 66 67 meta = with lib; { 68 homepage = "http://openshot.org/";
··· 31 32 postPatch = '' 33 sed -i 's/{UNITTEST++_INCLUDE_DIR}/ENV{UNITTEST++_INCLUDE_DIR}/g' tests/CMakeLists.txt 34 ''; 35 36 nativeBuildInputs = lib.optionals stdenv.isLinux [ ··· 60 61 doCheck = false; 62 63 + cmakeFlags = [ 64 + "-DENABLE_RUBY=OFF" 65 + "-DPYTHON_MODULE_PATH=${python3.sitePackages}" 66 + ]; 67 68 meta = with lib; { 69 homepage = "http://openshot.org/";
+2 -4
pkgs/applications/virtualization/singularity/packages.nix
··· 7 apptainer = callPackage 8 (import ./generic.nix rec { 9 pname = "apptainer"; 10 - # TODO: Upgrade to 1.1.4 only after https://github.com/apptainer/apptainer/pull/967 get merge 11 - # and https://github.com/apptainer/apptainer/issues/958 get fixed 12 - version = "1.1.3"; 13 projectName = "apptainer"; 14 15 src = fetchFromGitHub { 16 owner = "apptainer"; 17 repo = "apptainer"; 18 rev = "v${version}"; 19 - hash = "sha256-QFg6RC77OE/a6Qlzn6Zi5I7Iaq/U3/m0eI9yLArzuNc="; 20 }; 21 22 # Update by running
··· 7 apptainer = callPackage 8 (import ./generic.nix rec { 9 pname = "apptainer"; 10 + version = "1.1.5"; 11 projectName = "apptainer"; 12 13 src = fetchFromGitHub { 14 owner = "apptainer"; 15 repo = "apptainer"; 16 rev = "v${version}"; 17 + hash = "sha256-onJkpHJNsO0cQO2m+TmdMuMkuvH178mDhOeX41bYFic="; 18 }; 19 20 # Update by running
+1 -1
pkgs/data/fonts/iosevka/bin.nix
··· 11 (builtins.attrNames (builtins.removeAttrs variantHashes [ "iosevka" ])); 12 in stdenv.mkDerivation rec { 13 pname = "${name}-bin"; 14 - version = "18.0.0"; 15 16 src = fetchurl { 17 url = "https://github.com/be5invis/Iosevka/releases/download/v${version}/ttc-${name}-${version}.zip";
··· 11 (builtins.attrNames (builtins.removeAttrs variantHashes [ "iosevka" ])); 12 in stdenv.mkDerivation rec { 13 pname = "${name}-bin"; 14 + version = "19.0.0"; 15 16 src = fetchurl { 17 url = "https://github.com/be5invis/Iosevka/releases/download/v${version}/ttc-${name}-${version}.zip";
+92 -92
pkgs/data/fonts/iosevka/variants.nix
··· 1 # This file was autogenerated. DO NOT EDIT! 2 { 3 - iosevka = "03f2rabj2w2l7jwqyl2awj42jhh0l3picqgyfcv3q067i34abfyn"; 4 - iosevka-aile = "0p1r5sysy6djfd1sx0pfxf42bv7ayqgk1nvil33jr925w96i2dp6"; 5 - iosevka-curly = "0r33wcgvh315avgkkic27qpf3bavrqwbig1kj4wm5rdr957ldk40"; 6 - iosevka-curly-slab = "0yd7grhnx7z27xmd3wr8x2xx2002hmfi1y3ndmqq1sc9gab5gcb7"; 7 - iosevka-etoile = "0jhd49vxxxaqi1rxfkmpc3v1q96ak1b5wyggchngqi3739pjgqy3"; 8 - iosevka-slab = "00wk15kj9b1nr3b0bmarx6gqx3jg8z1pm9qqf9x09s72b3ng8adm"; 9 - iosevka-ss01 = "1kp6zv8zyx50la7zrfz4fis68s41kplibagny61w5v3w36xpm3cs"; 10 - iosevka-ss02 = "1c0dl28a3wwa5g4793jyb4n4c8p5vjlyh1b8j2i5da31dqrqm9gj"; 11 - iosevka-ss03 = "0vs8x6l8gwqi47g1c5ainsk5fb2i6j4wv7mgdyw5j5l3blnba5yh"; 12 - iosevka-ss04 = "1caf4xqd1dywzbq06ip042rw88833yk9ws7y3vjvsp93g7a2r675"; 13 - iosevka-ss05 = "008aphj4w6ri3fgnydrxavvpm3bfywv4cym10fqi9xgd84jhm9m1"; 14 - iosevka-ss06 = "00dkagqiwzwzvv75zss82yx0gdcbmh9xvr8swhi5zk0y0bc3xk2y"; 15 - iosevka-ss07 = "1acnva081awp76xyspksq9jkvlyswh3q1jy9gnsc6kh4vyn17vjs"; 16 - iosevka-ss08 = "0lmkglcjlppvfd7k2pz57r476fa4c0q5l4gqzfy1mlklh0mc5hqb"; 17 - iosevka-ss09 = "04r2k2z54iszwfnif872p5br0dm4fvc5341cpbxv4almpzxjyqnr"; 18 - iosevka-ss10 = "1c6gs9g8dhywpd2ha7kx2l7g7bwj7i5a78645ipx8126f749y0y9"; 19 - iosevka-ss11 = "0286k56r12a2yjylxynvzd0idrcv4ykrmpkn3b5xv9f74qq6irmf"; 20 - iosevka-ss12 = "0ab4x5lh8spbg0djb092vcq1cnvjhazwkia8byq1q47iwiyh756l"; 21 - iosevka-ss13 = "0kva71mfkl9xzz8khjzgrj47zg2505rg0hv5hxflawxsqwi4iwvl"; 22 - iosevka-ss14 = "1gk7m3xh4v3jm6s5g2prd27w4p0r1blbxsxdy3b020bdwikxcaga"; 23 - iosevka-ss15 = "0frxjc3hhay8izsx4ywff4j39qxp9ljz6hvw0rjcya3vny515jq5"; 24 - iosevka-ss16 = "1g299yhn0kfc7vn8vbgwq4798w5lcl72j6hj91k90i1yq11lg13i"; 25 - iosevka-ss17 = "02z83x73bhpgf44kq0gw46bdnpqzr4vm37h78bh19vydzqaj8hg0"; 26 - iosevka-ss18 = "1b7vhhbspi98xzmk4hpiw08jmscm7f7nibqxhkfmppl6y0ymbm9d"; 27 - sgr-iosevka = "1n60dgprl2p22wwfhxpwy9v9xf6vyv3qwm2jdc0m9m0q9jwjashr"; 28 - sgr-iosevka-aile = "1k195vqv2wajhmyma43xgda3s2z86kl2gksgdrm95s9sx7ijns2s"; 29 - sgr-iosevka-curly = "15yq1fs7knp9gxgqjxslpmlx85c6kvpm31sf81llpf4k5f9dmlcp"; 30 - sgr-iosevka-curly-slab = "0fa68lm6iwlf2s5k8388dwgk015c55zg1wkhhhjmixwn7p8gifxz"; 31 - sgr-iosevka-etoile = "1ry1zc7cdx6g927d1752ipz39v4wsnfrnn8n9cfwamz8v458wld1"; 32 - sgr-iosevka-fixed = "173v09dx5pwsbh9jac5qxi7nk95dqyryg747hl58bchby6kmnc3k"; 33 - sgr-iosevka-fixed-curly = "11y8bj9vmdq48n370f1r4zsk72ci3cq7c9ff6y40hn5w40s8k379"; 34 - sgr-iosevka-fixed-curly-slab = "1a4gmz6sl67l23awkfl8f3xdr8hbb2mi1lsc0ain1wvvyx1bi56m"; 35 - sgr-iosevka-fixed-slab = "11xv18ykrfg2fdvbrlcx7k3qvp5yqbm278ks3gm0gbck1awvfckg"; 36 - sgr-iosevka-fixed-ss01 = "1yb96x53wjks537vs0gd7rss6piszs139k1kgb1swrpq7519awaz"; 37 - sgr-iosevka-fixed-ss02 = "10yy0yg2i9nm00lzpmrfbdh7jjcll37wql3fcsaxha57gcxf9nf0"; 38 - sgr-iosevka-fixed-ss03 = "1fpjfqlqq6lz3gya1q24nzy2xls6nxn567lhglj0ykjnh3prkll8"; 39 - sgr-iosevka-fixed-ss04 = "1kwa5mwd6ihsyj2y70hrrvgy41cs19i0f7nvl4khs3i69a1l58ag"; 40 - sgr-iosevka-fixed-ss05 = "08v8in8s8p2nayazq60w1kc1jpq48nwdwh6wbxv7ij7lfwii8xws"; 41 - sgr-iosevka-fixed-ss06 = "03jzylw99xa3b6hpy6bpwhyii6d9fggy9synfl54sn7smwqk08wr"; 42 - sgr-iosevka-fixed-ss07 = "13yzd6r51gka03fcl3bvx6d97b4m4px2cnsd724maqkqrcxkbxgb"; 43 - sgr-iosevka-fixed-ss08 = "1xghlj7drx9328jr1cb051nkwv47r5ykkyy6ydff1c4amc1xabsq"; 44 - sgr-iosevka-fixed-ss09 = "12l6lbz4m1lwyqqmv583777r9ymssy9x34rz72y3dch0mqhmjjzg"; 45 - sgr-iosevka-fixed-ss10 = "1flrh6a7m0dw7na30nhbxjld54517z77ff3s9fjrpmgyb9wz7i2j"; 46 - sgr-iosevka-fixed-ss11 = "1j4v4h6k505gkxyswcjf61kj9cfgkalxjg1arms9zb351p8rrkda"; 47 - sgr-iosevka-fixed-ss12 = "00qwnsxc08bm5cq3ljz2pjqsiw019ah4z0crqcwaysijicxmbckc"; 48 - sgr-iosevka-fixed-ss13 = "0jrw0amhfi28mc4i7a74qvgjamvymijlf3akskaw9qrmzvks8wn1"; 49 - sgr-iosevka-fixed-ss14 = "0rvh842zkxdrna9nh2ylsjs3q90sq39658l0mafi85b8z5asdwai"; 50 - sgr-iosevka-fixed-ss15 = "0j5yrr1biqfhgj6qg6359xg9rfv6qzqiqdqjgfjwbhijs6xfn8f1"; 51 - sgr-iosevka-fixed-ss16 = "06jrfhb257nmldnxxyc5rh869r5y62v2y034c0r9j7354s7gcq7a"; 52 - sgr-iosevka-fixed-ss17 = "0cgmsh0478963k1dgpkhy6j1b383gx2q09z3shr6j87knjjwqgp0"; 53 - sgr-iosevka-fixed-ss18 = "0r4nyd459aqgna7dyzvxnznclqihxdb888g949kdzhxykfchq53s"; 54 - sgr-iosevka-slab = "1bv8asz66hn80xvjxa7b0vgywha1bpmhd8q95cssc3085dprz1r6"; 55 - sgr-iosevka-ss01 = "0sv19w0adnddzarf8dlz0n73jzqnp0xfb2lgh4xcpjkhm66j3fhh"; 56 - sgr-iosevka-ss02 = "1ih10a666r77pvj57crdgyn7ll15giwxj0nis501r1fkp1bzkscn"; 57 - sgr-iosevka-ss03 = "180hkjzzgasf9a58vi0n0cishnbyjgbjmkh60awcpxwvh85qd4hf"; 58 - sgr-iosevka-ss04 = "1i4rpg9j967xaxg8h9dmachd3896f4jgwxa0mfjlizls2hfvnbsi"; 59 - sgr-iosevka-ss05 = "1ca2z4dincjk7jl16pa6d7dnnzq3w3il7fr2lphvrjvdrxbci615"; 60 - sgr-iosevka-ss06 = "08dj9dcq58grnp6lh16yvvzjqhzlm765v4ci1rys0wbjnp72xxda"; 61 - sgr-iosevka-ss07 = "13k6plhdgxhp5gjs8z98wb480hh5wy6p2zmc4xvhp88y93fy8kk7"; 62 - sgr-iosevka-ss08 = "1zfxamanq6a06fazn1jkaswh5g6iw22qnycg5dnxn4flk8nas1db"; 63 - sgr-iosevka-ss09 = "0qaxp4fsvl26il16h78y2l8013m49cbk2nzxcs1k9g5if11a49d3"; 64 - sgr-iosevka-ss10 = "1qvvm6rvhrbp83qjfb3dfsbam20f6aw52kg1i5ggfrqj35niv0hd"; 65 - sgr-iosevka-ss11 = "1v2b456qj8kyacm7308gsim5p25wnyg8qabyrfvdj00h81s31akl"; 66 - sgr-iosevka-ss12 = "1rsi6ir5vccar0n3ychisc40axiyhqj5yvcx450ppd33f3sd5rc7"; 67 - sgr-iosevka-ss13 = "12x4q5l1pdxi065zs913dqd7zb8qpi4bbgd43h3k5azsrwxwvixr"; 68 - sgr-iosevka-ss14 = "1snzdv23jqmbz25k9i2zl7px7yysk5hn74q1x251s07ghdx3nfdj"; 69 - sgr-iosevka-ss15 = "0hbmj6wij6cv9yh76npp4xrl7fdm8jjx03398anfcsa02gkvg8zz"; 70 - sgr-iosevka-ss16 = "0v6vhg0vp5ig6ngs96q5mxa2snfp08nk68a9772sm1ny61q3chrq"; 71 - sgr-iosevka-ss17 = "0268b85yhdfsbjyhi0vlxwrpwxa8h919np53s060z94094h6jd9x"; 72 - sgr-iosevka-ss18 = "13vnhh8181h36y6iz2p2x6rjgjv5w3d0gqbcdkwhgmvx7s03k122"; 73 - sgr-iosevka-term = "05c2sxb4aris90mhjxyfkw1b0ga0hplfas669076h7yjsimw647l"; 74 - sgr-iosevka-term-curly = "1j0b4fhcivkdgka9zyqf732hcxj8rchqxkwv2bwxib1a17fmwn6c"; 75 - sgr-iosevka-term-curly-slab = "0dvv2n3plfxm8z2xi1ihzn4rncyk1kz8xbgyprnb0lvqiyf18igy"; 76 - sgr-iosevka-term-slab = "0i7wrvq6c96q8v6zw9iym42b6sbm0vc04ysljghpblnnfymq5yv9"; 77 - sgr-iosevka-term-ss01 = "1n23qp50pr466blpn2h9dhjbn0wnbbxyzb0sz751bk8db41lpyqb"; 78 - sgr-iosevka-term-ss02 = "0ghvfhkdsfsjb8yjwvwlwhn66lmy8dx34126ccnvj0g77ww2nwa9"; 79 - sgr-iosevka-term-ss03 = "03hnmy9wijqwsc36cg5b3pxj7mb1cbyacii00pcvrpcns2w1ssbw"; 80 - sgr-iosevka-term-ss04 = "0fv9xhhii0h5ii4yxsdnywn45254494mgq1n5aajasq494cgxhp4"; 81 - sgr-iosevka-term-ss05 = "0qa4l77sjpxd9l4nb555bhgzm0f1c74w6014md2rpljjvyy2mzwg"; 82 - sgr-iosevka-term-ss06 = "05y7rmghvhmzw3spn7b3v6hmpcqg5p32flm437a1aljdr46sbxli"; 83 - sgr-iosevka-term-ss07 = "1lzqgpr1vchi4ricqp1v49nv62rl3anbdvzpvddby81wr5jcyd1y"; 84 - sgr-iosevka-term-ss08 = "1sxicv2gspc39fyja370dpiq12xd1bgndiw5r6cqfkkd8x8dgpdv"; 85 - sgr-iosevka-term-ss09 = "0ax9pgm3d171kksrqd2z8xpr68kdxkqg9h344an55gjk01q7dzay"; 86 - sgr-iosevka-term-ss10 = "1rgvadmvdldcaqa0r76kzmrck814qwksdqficaxcd7wk8bx64n81"; 87 - sgr-iosevka-term-ss11 = "02if14ff5kax4p1aa2wkbidhwlzgyxi7lxir2ildahwfkvkp971y"; 88 - sgr-iosevka-term-ss12 = "0sj8n12is4094nbj67wkk88953jp9235kvvr4230abql1g6s263r"; 89 - sgr-iosevka-term-ss13 = "006sdcj8qw247b63d647ykm8razyb0apsfd0cjmlikj9hdmyzrr2"; 90 - sgr-iosevka-term-ss14 = "0i7d3ldp9rj1f4kwdk8hkxq0s38df6i25qfx6hwfjj1c5bl3a843"; 91 - sgr-iosevka-term-ss15 = "15gjqz7zc6wwy1l61pgpnz7wwyyaij43dcrwcwyi6h10jhm8b3ia"; 92 - sgr-iosevka-term-ss16 = "1c1i1iyqzgh3pz4fzjp26d71lphmcgqbjp2s91yyqg3nfhwbzvyc"; 93 - sgr-iosevka-term-ss17 = "0kr58576vlx81nb2ia5z9226m6h0ybd5vzfj5li9b721l4q0rpky"; 94 - sgr-iosevka-term-ss18 = "1zjs40i4dmw2l45k8wydngl4g3a88nhbmmjwd5lsz8a40pq4bw15"; 95 }
··· 1 # This file was autogenerated. DO NOT EDIT! 2 { 3 + iosevka = "0m8z67daj1gwb3yiw8qw3n1nxp96xb11fvb5183bh02r7ncym0da"; 4 + iosevka-aile = "02jhyzk3bpsjng3b1jfffwvr2inhhjsm4jdahzj05j381fp717c4"; 5 + iosevka-curly = "1si2kzv7qhlpyaaa954vnjmfk1c5rjxjimvckinpkjz30cnvg1bl"; 6 + iosevka-curly-slab = "1ngk3r6kdqngksga3s3m615jkqrxdcplj8srvlb6642vcc38w6vh"; 7 + iosevka-etoile = "1yg38x8dk5nyyjyy71v5j4x2x701hmp8gjwvphf5scf6vn52lvxz"; 8 + iosevka-slab = "1bw6lyy8lg4vpalnrsrnkrm9dlyl6vm6faigy2y9bfvh7nxrd8qa"; 9 + iosevka-ss01 = "1p02d8mdqx6mbnycs9d2r0qwqsxjrlgbl7skf8y66dsmjn6xxd0y"; 10 + iosevka-ss02 = "0ds8ad38h7h8250hdm89v2imya6jdzgk1h5jgsf983ls1gqjikhc"; 11 + iosevka-ss03 = "1s6rc4qhlfgvr7g8ywmlmsl58hfrqx0w24ivx5zz4jr5zqj70j7l"; 12 + iosevka-ss04 = "1lc8kx0p8m8nm4ql6ylcw9g4iq0j65hv6x48273cclqqcmqdn4qj"; 13 + iosevka-ss05 = "1wx02ysbj0rpr623jp1jy64ywrj8rm3n2fqzq05f4qv996bij11k"; 14 + iosevka-ss06 = "1bf0qnpvbq94d42gvbzikfkk20d788cicsyk8kz1vsf5xbg37kla"; 15 + iosevka-ss07 = "1ybl5gfyz4dnarimamshf002p9k6148wbbrbarpswb85kab502hd"; 16 + iosevka-ss08 = "1llp8iryr5dixdarwls9iw8mmnhzhlr7q8fzq969p64ygk76rkn4"; 17 + iosevka-ss09 = "14b49k0zv49xybdwrbf0p1krrga3jjviwzy0alxrwn0zf7vlbnbi"; 18 + iosevka-ss10 = "1xs1dkq62pml17dii2lhsianhzr22059i17sw2b334wbszc00j7y"; 19 + iosevka-ss11 = "0mrjzmk74vlq69ih4gm2iza4qdzyznn42bk3jwlvpd67z5vq36ag"; 20 + iosevka-ss12 = "0z16a8wrydi0ch9zj0lcz6cxbvawkr0ck03bzdbb81waggk4fxin"; 21 + iosevka-ss13 = "1rv8n3vbhwqv7bks6v86v4w13fr4a015xpvprzfz76xp98hb9dmc"; 22 + iosevka-ss14 = "0m7kpvy8bknmrfsql9b24w7n15hybnkisjxzzmrxkf8a60jrydni"; 23 + iosevka-ss15 = "006jkgww0hdb0c1wgby0y5535xapjpk1w8vm51d3yyrp04pwr1r1"; 24 + iosevka-ss16 = "1mmc7cyyk64lcavb2gib64b64zcr7qcn0m3cmlwnr1zgm6nb3w64"; 25 + iosevka-ss17 = "0wanv1h8qg5jyx7w380h7jkbc22slg9566pzw7dv7dg1nw0h2v3k"; 26 + iosevka-ss18 = "1y1daxghw3jbfn785935906j76l0230yixdmwlrzyra2svyaql3w"; 27 + sgr-iosevka = "182nzxxrxfz8xc3w8g9bsr0can71671w4xplyvyi7b1v9f62g9f5"; 28 + sgr-iosevka-aile = "1arjiwx5qf8j6pzb8mpd1g46z0kn80341wvcmsnx42d97b2m64jx"; 29 + sgr-iosevka-curly = "1lyh0rh2pswbaxsqyxicyknhla4gm2h0jb2rg0wx9vib9h53lazn"; 30 + sgr-iosevka-curly-slab = "0h2j7dwcyd5v1acpwjsz9li5g4r1ssx715x5pj4gdvskq4calff4"; 31 + sgr-iosevka-etoile = "15ag0w6sv24rc91mxh4c89gq6jwnq37bxml6a41rvn54fy0h1jnd"; 32 + sgr-iosevka-fixed = "0935zbk5x0mk06al11nig74b2rv1x8zc3waxs8hvbri0ryzykzk4"; 33 + sgr-iosevka-fixed-curly = "1i8cqfwcdsaxdlh87kaya8bp33fwlyz984r757122qnqbywcfm30"; 34 + sgr-iosevka-fixed-curly-slab = "0ba77jxn8n5dssjpwj4iyvwxw3mxqizrvsz5jyv9a4f3gfvwi18k"; 35 + sgr-iosevka-fixed-slab = "0qfhc7pg30ashpx504lln4h2w36icrbgij7fga07z2a715qxmfq9"; 36 + sgr-iosevka-fixed-ss01 = "1597hn4vzh0r8j22k7866blj3kw2bhp70z7msfr2hbszpscwxwqg"; 37 + sgr-iosevka-fixed-ss02 = "1ygrsvamgp6f26zg5qysk6dn4fa1im02dzsrlpgpv3sl4gh0cv44"; 38 + sgr-iosevka-fixed-ss03 = "0936ggnzaavqn4d7fsmmf54bwp0v31sz0n1w15ky7c5bsqp9h8ja"; 39 + sgr-iosevka-fixed-ss04 = "1xjslygh3f5nv0k8fiby0cgg22wr0a9jh79fbzallx3zh4d60a2a"; 40 + sgr-iosevka-fixed-ss05 = "0vnm398zdvkzymhw41gljpf9jq52wq3vawiyw5xsdr75d4n63fpb"; 41 + sgr-iosevka-fixed-ss06 = "1pnk8ijb193h85sk702ar0m0wk03xz1xcnvx8iq4k52q3a3vdd40"; 42 + sgr-iosevka-fixed-ss07 = "0qfcf6r2gzc5zwjfrcq1hjp9c5s13fc34lwwmxkj8224d42543jn"; 43 + sgr-iosevka-fixed-ss08 = "1ram9wm14k2sncfqpak23vss3pyqbwd1ndhm1i4ib7bpq8skd3wi"; 44 + sgr-iosevka-fixed-ss09 = "0r8zy1fwih42clxm2rsjqks5rxgy1qxirz396r25gvwxng2503y4"; 45 + sgr-iosevka-fixed-ss10 = "1v44s7n1gwz7mcybjsi1amv6xc8z47k20miycngjcy1cccrds2da"; 46 + sgr-iosevka-fixed-ss11 = "1fdclqvzq45shpj97awc7636ymgrnfd69iaizwxy49y2krpa7dx9"; 47 + sgr-iosevka-fixed-ss12 = "07f7i0qh9z6hlgy0ak3myxmiy4rbrixcap52lhk8wwapbnf21r7l"; 48 + sgr-iosevka-fixed-ss13 = "07z3hfi5vynwl15dqfsldwjj5i9fldmm6i1nypm28cxbya3izj60"; 49 + sgr-iosevka-fixed-ss14 = "1r001yna7ydf24bkgygld2kh47pvsz1yr9s57ssvdql37q24wzf1"; 50 + sgr-iosevka-fixed-ss15 = "1757lzbp9payykcdywdbfilhgm1yij8gsnazc7bywpc4sv806vhz"; 51 + sgr-iosevka-fixed-ss16 = "18mr7wvz5q60kgz0h2k05ahd0krz3ng7wgg1amd3292cji61vxvw"; 52 + sgr-iosevka-fixed-ss17 = "1bykqwspssv1vbx2nns8dfckijqmd633g57glmlhjmxlavv5gxnw"; 53 + sgr-iosevka-fixed-ss18 = "034w2yv2ihybkz03zalcsixrmjs7as62v8jhk8xkyckqc3bk0kc7"; 54 + sgr-iosevka-slab = "04b1w9ij6dgy5gyvi7d47g9xadpb230mlgbdrk36fyhvfyw048y1"; 55 + sgr-iosevka-ss01 = "077d4dan7f41ydi64xv0z0784j5vcj98vmqagmy1c1xyr0p68dac"; 56 + sgr-iosevka-ss02 = "1hmy2cwnsb3f60yp66lznas78432518xkj2jmpqy8ad05d2zmmc8"; 57 + sgr-iosevka-ss03 = "1bs1hb6magmbc2zh4fzx7h6j6bdllbvv85fv5krs3b888w3fzjw1"; 58 + sgr-iosevka-ss04 = "1c3wb8nz0xz57crwn151b5sgzm320jkirsajyjf0srdaid1gkjkx"; 59 + sgr-iosevka-ss05 = "1dx33y8rk3nzgdfikz262javq4v3n76hvv5b7rx7kxlkxycpy8ya"; 60 + sgr-iosevka-ss06 = "1s54xx4w3zvbz2w7f5sl5vlqazwsm033jsq8ljrdh4c2l88mpcq3"; 61 + sgr-iosevka-ss07 = "03zfq3jib2df6dhj1pbmw8hq57i0fx98gkawxzk13sfgrzz1zv47"; 62 + sgr-iosevka-ss08 = "09k220gha919lv18bs6y2zlcjqa5j7jsq8mfqx8xddcwq1v9v094"; 63 + sgr-iosevka-ss09 = "0plvxhqwkr52sich4kwzqs3xq5s5x61hq7n423ar2zaskx007sjv"; 64 + sgr-iosevka-ss10 = "0c42h417sir120cp6fbnbhv3s1ys8pxky56v6f44h50w7p6qhlx1"; 65 + sgr-iosevka-ss11 = "03sp7z0s5sb9bnhxb9liainpiqmq1r0lpmigscl6wr1rpaxq2l7i"; 66 + sgr-iosevka-ss12 = "0y2xs0qv3b1k4s4my9c69j94ql2kwmqmm3f626vjj8rar8r0wab0"; 67 + sgr-iosevka-ss13 = "1pyv3i1972n5gxr16fl68gydjsxndh7kbba3d15bmkankahgll6c"; 68 + sgr-iosevka-ss14 = "1c7y8h8jv937wnlxkgdswb0ixa5v747z598pd0yhvwid3ksxb1px"; 69 + sgr-iosevka-ss15 = "08wzzkr0l0xz4l7qk9kbhvybr4favl0qz0cjr7raw0hibqkw17sp"; 70 + sgr-iosevka-ss16 = "0q63x71mq19gqqiaqbqsp0lvf3knhckx5d17caq6ipv5gs3xxmzr"; 71 + sgr-iosevka-ss17 = "04054qbvyfvp1aqs3likyh85kqyckkg2ac83s65lvkj3f46r50sg"; 72 + sgr-iosevka-ss18 = "1ckrfx3f4mncm1hbc2bcsbk97kkzsi524wfgvhz10jw1yk5yyd60"; 73 + sgr-iosevka-term = "1ygfsc86fihkxpwm2q3j2y3ibpb7lkrjwrld7dg9ymb83hah29xm"; 74 + sgr-iosevka-term-curly = "1qz8x2z23m5yvdpf0055a7xb5z77dabwbf3hkmh4r77rp1h6idv4"; 75 + sgr-iosevka-term-curly-slab = "011n7qpcx2abvp5i9z6picy5bcjvvfx7pjqy8m7sf02fdm14s2jl"; 76 + sgr-iosevka-term-slab = "1iwgcqnxbjf25k6bbx3iwcqy2ghwnnxvfinjp5slwr7bhjjjbl9y"; 77 + sgr-iosevka-term-ss01 = "09s813a8ywqpncmq0iqkjjnh1sb5zn267fzp2dz92cmw5929627s"; 78 + sgr-iosevka-term-ss02 = "1yyvnxdwi6caq6b6pgviad5l7b7znx4xkxdg1np23a7imr94vb1c"; 79 + sgr-iosevka-term-ss03 = "1hrdipmf54z2hrl7g8m8z17aq3lp5v66xy24f58qsm4c1pfab3i7"; 80 + sgr-iosevka-term-ss04 = "1h54glwrzblg61y4f1sxm78mci47wjry4h4gdrbpx96snf31ynbb"; 81 + sgr-iosevka-term-ss05 = "1xzzj36817nsw15s3a1f740d89gc4634dnczjjj6vrddli8ilann"; 82 + sgr-iosevka-term-ss06 = "0c07i831bmfz6y7jqaip6il4cvqzc51d0w17s2dnjrnj4x3ndgmx"; 83 + sgr-iosevka-term-ss07 = "0x9wzf0w4pzjmzzbmzj56nkhhz5834chvxqn9519fbq1md4pfl3b"; 84 + sgr-iosevka-term-ss08 = "1gf1l17d8hrf1aq4pq9ai05kan8m86z8s2d7masjkvg1zaw2lb4s"; 85 + sgr-iosevka-term-ss09 = "1nnhciib413ll2h7ps3vyghiayz9iwniwr7byyn9pdimm0j5vq07"; 86 + sgr-iosevka-term-ss10 = "0qvficwhpya5sy5myxsjjfmrn9z2d9lpzyi88l8dhz3dfvyr1yzs"; 87 + sgr-iosevka-term-ss11 = "0ml6swvyddhz2nvq14skfh1d9d98c3d6ir0qgf97pc0qxyqbcfp2"; 88 + sgr-iosevka-term-ss12 = "01nxs1m2iif6lswx22h58i45zxab0nbqpf0rzlp6v3wnb8ylpbi5"; 89 + sgr-iosevka-term-ss13 = "0zadj9fakpqmibnxz883hwbcgqfssjvsi6kcvzik5cnamlk2jz8c"; 90 + sgr-iosevka-term-ss14 = "1dwfm8lcbgf8rfw11i2alrv98f9332cqyk9zvzfrjrdp9camr7j0"; 91 + sgr-iosevka-term-ss15 = "0z7ad7vy2faq33kpbl1x2w6i3s4af8v8fzj05rdyadws35ra3idd"; 92 + sgr-iosevka-term-ss16 = "1fzzkmk7ppcbmg7s50nknc7nwavfpqsja12af8qidzba9z535w2g"; 93 + sgr-iosevka-term-ss17 = "1rcpfgf5blg3nbf6prw9h2ylc2ji8vl6cxqlck482kncz8ph9swk"; 94 + sgr-iosevka-term-ss18 = "1nksii5xyi97lsrf1hxl06m0pdlk8rnsbg1s81amkzz8fxlyhzlc"; 95 }
+2 -2
pkgs/data/fonts/julia-mono/default.nix
··· 2 3 stdenvNoCC.mkDerivation rec { 4 pname = "JuliaMono-ttf"; 5 - version = "0.047"; 6 7 src = fetchzip { 8 url = "https://github.com/cormullion/juliamono/releases/download/v${version}/${pname}.tar.gz"; 9 stripRoot = false; 10 - hash = "sha256-tCZo48SBGdhcsP1wgaWkfWr3L3Yz+p/iqesLmarSWbk="; 11 }; 12 13 installPhase = ''
··· 2 3 stdenvNoCC.mkDerivation rec { 4 pname = "JuliaMono-ttf"; 5 + version = "0.048"; 6 7 src = fetchzip { 8 url = "https://github.com/cormullion/juliamono/releases/download/v${version}/${pname}.tar.gz"; 9 stripRoot = false; 10 + hash = "sha256-KSyJMlQclEj2CR+5uSYLmPtseWiDIUuahaPDx7Tn/bw="; 11 }; 12 13 installPhase = ''
+2 -2
pkgs/data/misc/papirus-folders/default.nix
··· 2 3 stdenv.mkDerivation rec { 4 pname = "papirus-folders"; 5 - version = "1.12.0"; 6 7 src = fetchFromGitHub { 8 owner = "PapirusDevelopmentTeam"; 9 repo = "papirus-folders"; 10 rev = "v${version}"; 11 - sha256 = "sha256-ZZMEZCWO+qW76eqa+TgxWGVz69VkSCPcttLoCrH7ppY="; 12 }; 13 14 buildInputs = [
··· 2 3 stdenv.mkDerivation rec { 4 pname = "papirus-folders"; 5 + version = "1.12.1"; 6 7 src = fetchFromGitHub { 8 owner = "PapirusDevelopmentTeam"; 9 repo = "papirus-folders"; 10 rev = "v${version}"; 11 + sha256 = "sha256-Dus9f2m5Wj46Url7N3UYEvBAankppzGzdJHGPH3CT3g="; 12 }; 13 14 buildInputs = [
+2 -2
pkgs/desktops/gnome/core/gnome-contacts/default.nix
··· 26 27 stdenv.mkDerivation rec { 28 pname = "gnome-contacts"; 29 - version = "43.0"; 30 31 src = fetchurl { 32 url = "mirror://gnome/sources/gnome-contacts/${lib.versions.major version}/${pname}-${version}.tar.xz"; 33 - sha256 = "VbYd9+k/Cr4f+kZeGOPF3k9JqQ8mjqnRHtyGrwbQceE="; 34 }; 35 36 nativeBuildInputs = [
··· 26 27 stdenv.mkDerivation rec { 28 pname = "gnome-contacts"; 29 + version = "43.1"; 30 31 src = fetchurl { 32 url = "mirror://gnome/sources/gnome-contacts/${lib.versions.major version}/${pname}-${version}.tar.xz"; 33 + sha256 = "Ug3IjJAce4/n4SoBOhQlz+2R8vhAhIWitJ+SxnWZACA="; 34 }; 35 36 nativeBuildInputs = [
+45
pkgs/development/compilers/gnu-cim/default.nix
···
··· 1 + { lib 2 + , stdenv 3 + , fetchurl 4 + }: 5 + 6 + stdenv.mkDerivation rec { 7 + pname = "gnu-cim"; 8 + version = "5.1"; 9 + 10 + outputs = ["out" "lib" "man" "info"]; 11 + 12 + src = fetchurl { 13 + url = "mirror://gnu/cim/cim-${version}.tar.gz"; 14 + hash = "sha256-uQcXtm7EAFA73WnlN+i38+ip0QbDupoIoErlc2mgaak="; 15 + }; 16 + 17 + postPatch = '' 18 + for fname in lib/{simulation,simset}.c; do 19 + substituteInPlace "$fname" \ 20 + --replace \ 21 + '#include "../../lib/cim.h"' \ 22 + '#include "../lib/cim.h"' 23 + done 24 + ''; 25 + 26 + CFLAGS = lib.optionalString stdenv.cc.isClang "-Wno-return-type"; 27 + 28 + doCheck = true; 29 + 30 + meta = with lib; { 31 + description = "A GNU compiler for the programming language Simula"; 32 + longDescription = '' 33 + GNU Cim is a compiler for the programming language Simula. 34 + It offers a class concept, separate compilation with full type checking, 35 + interface to external C routines, an application package for process 36 + simulation and a coroutine concept. Commonly used with the Demos for 37 + discrete event modelling. 38 + ''; 39 + homepage = "https://www.gnu.org/software/cim/"; 40 + license = licenses.gpl2; 41 + platforms = platforms.all; 42 + badPlatforms = [ "aarch64-darwin" ]; 43 + maintainers = with maintainers; [ pbsds ]; 44 + }; 45 + }
+1
pkgs/development/compilers/zig/0.10.nix
··· 47 cmakeFlags = [ 48 # file RPATH_CHANGE could not write new RPATH 49 "-DCMAKE_SKIP_BUILD_RPATH=ON" 50 ]; 51 52 doCheck = true;
··· 47 cmakeFlags = [ 48 # file RPATH_CHANGE could not write new RPATH 49 "-DCMAKE_SKIP_BUILD_RPATH=ON" 50 + "-DZIG_TARGET_MCPU=baseline" 51 ]; 52 53 doCheck = true;
+41 -42
pkgs/development/libraries/arrow-cpp/default.nix
··· 43 # non-existent in older versions 44 # see https://github.com/boostorg/process/issues/55 45 , enableS3 ? (!stdenv.isDarwin) || (lib.versionOlder boost.version "1.69" || lib.versionAtLeast boost.version "1.70") 46 - , enableGcs ? !stdenv.isDarwin # google-cloud-cpp is not supported on darwin 47 }: 48 49 assert lib.asserts.assertMsg ··· 52 53 let 54 arrow-testing = fetchFromGitHub { 55 owner = "apache"; 56 repo = "arrow-testing"; 57 - rev = "5bab2f264a23f5af68f69ea93d24ef1e8e77fc88"; 58 - hash = "sha256-Pxx8ohUpXb5u1995IvXmxQMqWiDJ+7LAll/AjQP7ph8="; 59 }; 60 61 parquet-testing = fetchFromGitHub { 62 owner = "apache"; 63 repo = "parquet-testing"; 64 - rev = "aafd3fc9df431c2625a514fb46626e5614f1d199"; 65 - hash = "sha256-cO5t/mgsbBhbSefx8EMGTyxmgTjhZ8mFujkFQ3p/JS0="; 66 }; 67 68 aws-sdk-cpp-arrow = aws-sdk-cpp.override { ··· 79 in 80 stdenv.mkDerivation rec { 81 pname = "arrow-cpp"; 82 - version = "9.0.0"; 83 84 src = fetchurl { 85 url = "mirror://apache/arrow/arrow-${version}/apache-arrow-${version}.tar.gz"; 86 - hash = "sha256-qaAz8KNJAomZj0WGgNGVec8HkRcXumWv3my4AHD3qbU="; 87 }; 88 sourceRoot = "apache-arrow-${version}/cpp"; 89 ··· 108 ARROW_XSIMD_URL = fetchFromGitHub { 109 owner = "xtensor-stack"; 110 repo = "xsimd"; 111 - rev = "8.1.0"; 112 - hash = "sha256-Aqs6XJkGjAjGAp0PprabSM4m+32M/UXpSHppCHdzaZk="; 113 }; 114 115 ARROW_SUBSTRAIT_URL = fetchFromGitHub { 116 owner = "substrait-io"; 117 repo = "substrait"; 118 - rev = "v0.6.0"; 119 - hash = "sha256-hxCBomL4Qg9cHLRg9ZiO9k+JVOZXn6f4ikPtK+V9tno="; 120 }; 121 122 patches = [ ··· 148 utf8proc 149 zlib 150 zstd 151 - ] ++ lib.optionals enableShared [ 152 - python3.pkgs.python 153 - python3.pkgs.numpy 154 ] ++ lib.optionals enableFlight [ 155 grpc 156 openssl 157 protobuf 158 ] ++ lib.optionals enableS3 [ aws-sdk-cpp-arrow openssl ] 159 ++ lib.optionals enableGcs [ 160 crc32c 161 curl 162 - google-cloud-cpp grpc 163 nlohmann_json 164 ]; 165 ··· 183 "-DARROW_COMPUTE=ON" 184 "-DARROW_CSV=ON" 185 "-DARROW_DATASET=ON" 186 - "-DARROW_ENGINE=ON" 187 "-DARROW_FILESYSTEM=ON" 188 "-DARROW_FLIGHT_SQL=${if enableFlight then "ON" else "OFF"}" 189 "-DARROW_HDFS=ON" 190 "-DARROW_IPC=ON" 191 "-DARROW_JEMALLOC=${if enableJemalloc then "ON" else "OFF"}" 192 "-DARROW_JSON=ON" 193 - "-DARROW_PLASMA=ON" 194 - # Disable Python for static mode because openblas is currently broken there. 195 - "-DARROW_PYTHON=${if enableShared then "ON" else "OFF"}" 196 "-DARROW_USE_GLOG=ON" 197 "-DARROW_WITH_BACKTRACE=ON" 198 "-DARROW_WITH_BROTLI=ON" ··· 203 "-DARROW_WITH_ZLIB=ON" 204 "-DARROW_WITH_ZSTD=ON" 205 "-DARROW_MIMALLOC=ON" 206 - # Parquet options: 207 - "-DARROW_PARQUET=ON" 208 "-DARROW_SUBSTRAIT=ON" 209 - "-DPARQUET_BUILD_EXECUTABLES=ON" 210 "-DARROW_FLIGHT=${if enableFlight then "ON" else "OFF"}" 211 "-DARROW_FLIGHT_TESTING=${if enableFlight then "ON" else "OFF"}" 212 "-DARROW_S3=${if enableS3 then "ON" else "OFF"}" 213 "-DARROW_GCS=${if enableGcs then "ON" else "OFF"}" 214 ] ++ lib.optionals (!enableShared) [ 215 "-DARROW_TEST_LINKAGE=static" 216 ] ++ lib.optionals stdenv.isDarwin [ 217 "-DCMAKE_INSTALL_RPATH=@loader_path/../lib" # needed for tools executables 218 - ] ++ lib.optional (!stdenv.isx86_64) "-DARROW_USE_SIMD=OFF" 219 - ++ lib.optional enableS3 "-DAWSSDK_CORE_HEADER_FILE=${aws-sdk-cpp-arrow}/include/aws/core/Aws.h" 220 - ++ lib.optionals enableGcs [ "-DCMAKE_CXX_STANDARD=${grpc.cxxStandard}" ]; 221 222 doInstallCheck = true; 223 ARROW_TEST_DATA = lib.optionalString doInstallCheck "${arrow-testing}/data"; ··· 239 "TestS3FSGeneric.*" 240 ]; 241 in 242 - lib.optionalString doInstallCheck "-${builtins.concatStringsSep ":" filteredTests}"; 243 __darwinAllowLocalNetworking = true; 244 - nativeInstallCheckInputs = [ perl which sqlite ] ++ lib.optional enableS3 minio; 245 - installCheckPhase = 246 - let 247 - excludedTests = lib.optionals stdenv.isDarwin [ 248 - # Some plasma tests need to be patched to use a shorter AF_UNIX socket 249 - # path on Darwin. See https://github.com/NixOS/nix/pull/1085 250 - "plasma-external-store-tests" 251 - "plasma-client-tests" 252 - ] ++ [ "arrow-gcsfs-test" ]; 253 - in 254 - '' 255 - runHook preInstallCheck 256 257 - ctest -L unittest \ 258 - --exclude-regex '^(${builtins.concatStringsSep "|" excludedTests})$' 259 260 - runHook postInstallCheck 261 - ''; 262 263 meta = with lib; { 264 description = "A cross-language development platform for in-memory data"; 265 homepage = "https://arrow.apache.org/docs/cpp/"; 266 license = licenses.asl20; 267 platforms = platforms.unix; 268 maintainers = with maintainers; [ tobim veprbl cpcloud ]; 269 };
··· 43 # non-existent in older versions 44 # see https://github.com/boostorg/process/issues/55 45 , enableS3 ? (!stdenv.isDarwin) || (lib.versionOlder boost.version "1.69" || lib.versionAtLeast boost.version "1.70") 46 + , enableGcs ? (!stdenv.isDarwin) && (lib.versionAtLeast grpc.cxxStandard "17") # google-cloud-cpp is not supported on darwin, needs to support C++17 47 }: 48 49 assert lib.asserts.assertMsg ··· 52 53 let 54 arrow-testing = fetchFromGitHub { 55 + name = "arrow-testing"; 56 owner = "apache"; 57 repo = "arrow-testing"; 58 + rev = "ecab1162cbec872e17d949ecc86181670aee045c"; 59 + hash = "sha256-w6rEuxfLTEO8DyXV44G6JOMeTfYtskFCOj9rHXNmj2Y="; 60 }; 61 62 parquet-testing = fetchFromGitHub { 63 + name = "parquet-testing"; 64 owner = "apache"; 65 repo = "parquet-testing"; 66 + rev = "5b82793ef7196f7b3583e85669ced211cd8b5ff2"; 67 + hash = "sha256-gcOvk7qFHZgJWE9CpucC8zwayYw47VbC3lmSRu4JQFg="; 68 }; 69 70 aws-sdk-cpp-arrow = aws-sdk-cpp.override { ··· 81 in 82 stdenv.mkDerivation rec { 83 pname = "arrow-cpp"; 84 + version = "11.0.0"; 85 86 src = fetchurl { 87 url = "mirror://apache/arrow/arrow-${version}/apache-arrow-${version}.tar.gz"; 88 + hash = "sha256-Ldjw6ghIpYeFYo7jpXZ1VI1QnhchOi9dcrDZALQ/VDA="; 89 }; 90 sourceRoot = "apache-arrow-${version}/cpp"; 91 ··· 110 ARROW_XSIMD_URL = fetchFromGitHub { 111 owner = "xtensor-stack"; 112 repo = "xsimd"; 113 + rev = "9.0.1"; 114 + hash = "sha256-onALN6agtrHWigtFlCeefD9CiRZI4Y690XTzy2UDnrk="; 115 }; 116 117 ARROW_SUBSTRAIT_URL = fetchFromGitHub { 118 owner = "substrait-io"; 119 repo = "substrait"; 120 + rev = "v0.20.0"; 121 + hash = "sha256-71hAwJ0cGvpwK/ibeeQt82e9uqxcu9sM1rPtPENMPfs="; 122 }; 123 124 patches = [ ··· 150 utf8proc 151 zlib 152 zstd 153 ] ++ lib.optionals enableFlight [ 154 grpc 155 openssl 156 protobuf 157 + sqlite 158 ] ++ lib.optionals enableS3 [ aws-sdk-cpp-arrow openssl ] 159 ++ lib.optionals enableGcs [ 160 crc32c 161 curl 162 + google-cloud-cpp 163 + grpc 164 nlohmann_json 165 ]; 166 ··· 184 "-DARROW_COMPUTE=ON" 185 "-DARROW_CSV=ON" 186 "-DARROW_DATASET=ON" 187 "-DARROW_FILESYSTEM=ON" 188 "-DARROW_FLIGHT_SQL=${if enableFlight then "ON" else "OFF"}" 189 "-DARROW_HDFS=ON" 190 "-DARROW_IPC=ON" 191 "-DARROW_JEMALLOC=${if enableJemalloc then "ON" else "OFF"}" 192 "-DARROW_JSON=ON" 193 "-DARROW_USE_GLOG=ON" 194 "-DARROW_WITH_BACKTRACE=ON" 195 "-DARROW_WITH_BROTLI=ON" ··· 200 "-DARROW_WITH_ZLIB=ON" 201 "-DARROW_WITH_ZSTD=ON" 202 "-DARROW_MIMALLOC=ON" 203 "-DARROW_SUBSTRAIT=ON" 204 "-DARROW_FLIGHT=${if enableFlight then "ON" else "OFF"}" 205 "-DARROW_FLIGHT_TESTING=${if enableFlight then "ON" else "OFF"}" 206 "-DARROW_S3=${if enableS3 then "ON" else "OFF"}" 207 "-DARROW_GCS=${if enableGcs then "ON" else "OFF"}" 208 + # Parquet options: 209 + "-DARROW_PARQUET=ON" 210 + "-DPARQUET_BUILD_EXECUTABLES=ON" 211 + "-DPARQUET_REQUIRE_ENCRYPTION=ON" 212 ] ++ lib.optionals (!enableShared) [ 213 "-DARROW_TEST_LINKAGE=static" 214 ] ++ lib.optionals stdenv.isDarwin [ 215 "-DCMAKE_INSTALL_RPATH=@loader_path/../lib" # needed for tools executables 216 + ] ++ lib.optionals (!stdenv.isx86_64) [ "-DARROW_USE_SIMD=OFF" ] 217 + ++ lib.optionals enableS3 [ "-DAWSSDK_CORE_HEADER_FILE=${aws-sdk-cpp-arrow}/include/aws/core/Aws.h" ]; 218 219 doInstallCheck = true; 220 ARROW_TEST_DATA = lib.optionalString doInstallCheck "${arrow-testing}/data"; ··· 236 "TestS3FSGeneric.*" 237 ]; 238 in 239 + lib.optionalString doInstallCheck "-${lib.concatStringsSep ":" filteredTests}"; 240 + 241 __darwinAllowLocalNetworking = true; 242 + 243 + nativeInstallCheckInputs = [ perl which sqlite ] 244 + ++ lib.optionals enableS3 [ minio ] 245 + ++ lib.optionals enableFlight [ python3 ]; 246 + 247 + disabledTests = [ 248 + # requires networking 249 + "arrow-gcsfs-test" 250 + "arrow-flight-integration-test" 251 + ]; 252 + 253 + installCheckPhase = '' 254 + runHook preInstallCheck 255 256 + ctest -L unittest --exclude-regex '^(${lib.concatStringsSep "|" disabledTests})$' 257 258 + runHook postInstallCheck 259 + ''; 260 261 meta = with lib; { 262 description = "A cross-language development platform for in-memory data"; 263 homepage = "https://arrow.apache.org/docs/cpp/"; 264 license = licenses.asl20; 265 + broken = (stdenv.isLinux && stdenv.isAarch64) || stdenv.isDarwin; # waiting on gtest changes in staging 266 platforms = platforms.unix; 267 maintainers = with maintainers; [ tobim veprbl cpcloud ]; 268 };
+5 -2
pkgs/development/libraries/cosmopolitan/default.nix
··· 2 3 stdenv.mkDerivation rec { 4 pname = "cosmopolitan"; 5 - version = "2.1.1"; 6 7 src = fetchFromGitHub { 8 owner = "jart"; 9 repo = pname; 10 rev = version; 11 - sha256 = "sha256-2Q4lutSIQ6tBwTy01lPSMepNAww9Kb7BwNyEcsSdWZ0="; 12 }; 13 14 patches = [ ··· 34 rm test/libc/calls/sched_setscheduler_test.c 35 rm test/libc/thread/pthread_create_test.c 36 rm test/libc/calls/getgroups_test.c 37 ''; 38 39 installPhase = ''
··· 2 3 stdenv.mkDerivation rec { 4 pname = "cosmopolitan"; 5 + version = "2.2"; 6 7 src = fetchFromGitHub { 8 owner = "jart"; 9 repo = pname; 10 rev = version; 11 + sha256 = "sha256-DTL1dXH+LhaxWpiCrsNjV74Bw5+kPbhEAA2Z1NKiPDk="; 12 }; 13 14 patches = [ ··· 34 rm test/libc/calls/sched_setscheduler_test.c 35 rm test/libc/thread/pthread_create_test.c 36 rm test/libc/calls/getgroups_test.c 37 + 38 + # fails 39 + rm test/libc/stdio/posix_spawn_test.c 40 ''; 41 42 installPhase = ''
+2 -2
pkgs/development/libraries/example-robot-data/default.nix
··· 8 9 stdenv.mkDerivation rec { 10 pname = "example-robot-data"; 11 - version = "4.0.3"; 12 13 src = fetchFromGitHub { 14 owner = "Gepetto"; 15 repo = pname; 16 rev = "v${version}"; 17 fetchSubmodules = true; 18 - sha256 = "sha256-rxVyka8tcF/CmGTVNyh3FPR1LVa6JOAN+9zjElgqCak="; 19 }; 20 21 strictDeps = true;
··· 8 9 stdenv.mkDerivation rec { 10 pname = "example-robot-data"; 11 + version = "4.0.4"; 12 13 src = fetchFromGitHub { 14 owner = "Gepetto"; 15 repo = pname; 16 rev = "v${version}"; 17 fetchSubmodules = true; 18 + sha256 = "sha256-5FqMRChv/YGeoZq/jLSEJI5iQazQIDwslT78fbERVfs="; 19 }; 20 21 strictDeps = true;
+2 -2
pkgs/development/libraries/fizz/default.nix
··· 19 20 stdenv.mkDerivation rec { 21 pname = "fizz"; 22 - version = "2023.01.30.00"; 23 24 src = fetchFromGitHub { 25 owner = "facebookincubator"; 26 repo = "fizz"; 27 rev = "v${version}"; 28 - sha256 = "sha256-WyqDVoByBP91qGohNadr3iGpKEwZrURjr9mEaAdbfvs="; 29 }; 30 31 nativeBuildInputs = [ cmake ];
··· 19 20 stdenv.mkDerivation rec { 21 pname = "fizz"; 22 + version = "2023.02.06.00"; 23 24 src = fetchFromGitHub { 25 owner = "facebookincubator"; 26 repo = "fizz"; 27 rev = "v${version}"; 28 + sha256 = "sha256-JwRoIiSumT1jw5/VX/TkxpTJbrmLLke27xH8UHtrs2c="; 29 }; 30 31 nativeBuildInputs = [ cmake ];
+5 -5
pkgs/development/libraries/irr1/default.nix
··· 4 , cmake 5 }: 6 7 - stdenv.mkDerivation rec { 8 pname = "irr1"; 9 version = "1.9.4"; 10 11 src = fetchFromGitHub { 12 owner = "berndporr"; 13 repo = "iir1"; 14 - rev = version; 15 hash = "sha256-T8gl51IkZIGq+6D5ge4Kb3wm5aw7Rhphmnf6TTGwHbs="; 16 }; 17 18 nativeBuildInputs = [ cmake ]; 19 20 meta = { 21 - description = "A DSP IIR realtime filter library written in C++"; 22 - downloadPage = "https://github.com/berndporr/iir1"; 23 homepage = "http://berndporr.github.io/iir1/"; 24 license = lib.licenses.mit; 25 maintainers = [ lib.maintainers.AndersonTorres ]; 26 platforms = lib.platforms.unix; 27 }; 28 - }
··· 4 , cmake 5 }: 6 7 + stdenv.mkDerivation (self: { 8 pname = "irr1"; 9 version = "1.9.4"; 10 11 src = fetchFromGitHub { 12 owner = "berndporr"; 13 repo = "iir1"; 14 + rev = self.version; 15 hash = "sha256-T8gl51IkZIGq+6D5ge4Kb3wm5aw7Rhphmnf6TTGwHbs="; 16 }; 17 18 nativeBuildInputs = [ cmake ]; 19 20 meta = { 21 homepage = "http://berndporr.github.io/iir1/"; 22 + description = "A DSP IIR realtime filter library written in C++"; 23 + changelog = "https://github.com/berndporr/iir1/releases/tag/${self.version}"; 24 license = lib.licenses.mit; 25 maintainers = [ lib.maintainers.AndersonTorres ]; 26 platforms = lib.platforms.unix; 27 }; 28 + })
+60
pkgs/development/libraries/jbig2enc/default.nix
···
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , fetchpatch 5 + , leptonica 6 + , zlib 7 + , libwebp 8 + , giflib 9 + , libjpeg 10 + , libpng 11 + , libtiff 12 + , autoreconfHook 13 + }: 14 + 15 + stdenv.mkDerivation rec { 16 + pname = "jbig2enc"; 17 + version = "0.29"; 18 + 19 + src = fetchFromGitHub { 20 + owner = "agl"; 21 + repo = "jbig2enc"; 22 + rev = version; 23 + hash = "sha256-IAL4egXgaGmCilzcryjuvOoHhahyrfGWY68GBfXXgAM="; 24 + }; 25 + 26 + buildInputs = [ autoreconfHook ]; 27 + propagatedBuildInputs = [ 28 + leptonica 29 + zlib 30 + libwebp 31 + giflib 32 + libjpeg 33 + libpng 34 + libtiff 35 + ]; 36 + 37 + patches = [ 38 + (fetchpatch { 39 + name = "fix-build-leptonica-1.83.patch"; 40 + url = "https://github.com/agl/jbig2enc/commit/ea050190466f5336c69c6a11baa1cb686677fcab.patch"; 41 + hash = "sha256-+kScjFgDEU9F7VOUNAhm2XBjGm49fzAH8hYhmTm8xv8="; 42 + }) 43 + ]; 44 + 45 + # This is necessary, because the resulting library has 46 + # /tmp/nix-build-jbig2enc/src/.libs before /nix/store/jbig2enc/lib 47 + # in its rpath, which means that patchelf --shrink-rpath removes 48 + # the /nix/store one. By cleaning up before fixup, we ensure that 49 + # the /tmp/nix-build-jbig2enc/src/.libs directory is gone. 50 + preFixup = '' 51 + make clean 52 + ''; 53 + 54 + meta = { 55 + description = "Encoder for the JBIG2 image compression format"; 56 + license = lib.licenses.asl20; 57 + platforms = lib.platforms.all; 58 + homepage = "https://github.com/agl/jbig2enc"; 59 + }; 60 + }
+2 -2
pkgs/development/libraries/leptonica/default.nix
··· 4 5 stdenv.mkDerivation rec { 6 pname = "leptonica"; 7 - version = "1.82.0"; 8 9 src = fetchurl { 10 url = "http://www.leptonica.org/source/${pname}-${version}.tar.gz"; 11 - sha256 = "sha256-FVMC7pFGaMJ7b+PKn/LaY7JF9tYvMGHI8nVjd0uK4tY="; 12 }; 13 14 nativeBuildInputs = [ autoreconfHook pkg-config ];
··· 4 5 stdenv.mkDerivation rec { 6 pname = "leptonica"; 7 + version = "1.83.0"; 8 9 src = fetchurl { 10 url = "http://www.leptonica.org/source/${pname}-${version}.tar.gz"; 11 + sha256 = "sha256-IGWR3VjPhO84CDba0TO1jJ0a+SSR9amCXDRqFiBEvP4="; 12 }; 13 14 nativeBuildInputs = [ autoreconfHook pkg-config ];
+2 -2
pkgs/development/libraries/physics/clhep/default.nix
··· 6 7 stdenv.mkDerivation rec { 8 pname = "clhep"; 9 - version = "2.4.6.3"; 10 11 src = fetchurl { 12 url = "https://proj-clhep.web.cern.ch/proj-clhep/dist1/clhep-${version}.tgz"; 13 - hash = "sha256-/NAH8RsQukryjQJyIrYxSNDrRP96CC7uNTvfkh+caEo="; 14 }; 15 16 prePatch = ''
··· 6 7 stdenv.mkDerivation rec { 8 pname = "clhep"; 9 + version = "2.4.6.4"; 10 11 src = fetchurl { 12 url = "https://proj-clhep.web.cern.ch/proj-clhep/dist1/clhep-${version}.tgz"; 13 + hash = "sha256-SciTMPGQPvcH08XXnBanxabyyQ/CkOIDTuODSAlInlc="; 14 }; 15 16 prePatch = ''
+2 -2
pkgs/development/libraries/pico-sdk/default.nix
··· 2 3 stdenv.mkDerivation rec { 4 pname = "pico-sdk"; 5 - version = "1.4.0"; 6 7 src = fetchFromGitHub { 8 owner = "raspberrypi"; 9 repo = pname; 10 rev = version; 11 - sha256 = "sha256-i3IAaNcd0EfKNvU104a776O1poDAChlx1m+nP8iFn8E="; 12 }; 13 14 nativeBuildInputs = [ cmake ];
··· 2 3 stdenv.mkDerivation rec { 4 pname = "pico-sdk"; 5 + version = "1.5.0"; 6 7 src = fetchFromGitHub { 8 owner = "raspberrypi"; 9 repo = pname; 10 rev = version; 11 + sha256 = "sha256-p69go8KXQR21szPb+R1xuonyFj+ZJDunNeoU7M3zIsE="; 12 }; 13 14 nativeBuildInputs = [ cmake ];
+2 -2
pkgs/development/libraries/s2n-tls/default.nix
··· 8 9 stdenv.mkDerivation rec { 10 pname = "s2n-tls"; 11 - version = "1.3.34"; 12 13 src = fetchFromGitHub { 14 owner = "aws"; 15 repo = pname; 16 rev = "v${version}"; 17 - sha256 = "sha256-CaVo2OxfB7ImMOgPuyvKQFbTeEm3PqD8CV96jUEZ8U0="; 18 }; 19 20 nativeBuildInputs = [ cmake ];
··· 8 9 stdenv.mkDerivation rec { 10 pname = "s2n-tls"; 11 + version = "1.3.36"; 12 13 src = fetchFromGitHub { 14 owner = "aws"; 15 repo = pname; 16 rev = "v${version}"; 17 + sha256 = "sha256-IL7+f+7Igvm7KeBpDwnIoIB8IUqg3JDEtLFQslBIENE="; 18 }; 19 20 nativeBuildInputs = [ cmake ];
+9 -1
pkgs/development/libraries/science/math/sympow/default.nix
··· 1 { lib, stdenv 2 , fetchFromGitLab 3 , makeWrapper 4 , which 5 , autoconf ··· 20 sha256 = "132l0xv00ld1svvv9wh99wfra4zzjv2885h2sq0dsl98wiyvi5zl"; 21 }; 22 23 - patches = [ ./clean-extra-logfile-output-from-pari.patch ]; 24 25 postUnpack = '' 26 patchShebangs .
··· 1 { lib, stdenv 2 , fetchFromGitLab 3 + , fetchpatch 4 , makeWrapper 5 , which 6 , autoconf ··· 21 sha256 = "132l0xv00ld1svvv9wh99wfra4zzjv2885h2sq0dsl98wiyvi5zl"; 22 }; 23 24 + patches = [ 25 + ./clean-extra-logfile-output-from-pari.patch 26 + (fetchpatch { 27 + name = "null-terminate-dupdirname.patch"; 28 + url = "https://gitlab.com/rezozer/forks/sympow/-/merge_requests/5.diff"; 29 + sha256 = "sha256-yKjio+qN9teL8L+mb7WOBN/iv545vRIxW20FJU37oO4="; 30 + }) 31 + ]; 32 33 postUnpack = '' 34 patchShebangs .
+15 -3
pkgs/development/libraries/stfl/default.nix
··· 9 sha256 = "1460d5lc780p3q38l3wc9jfr2a7zlyrcra0li65aynj738cam9yl"; 10 }; 11 12 buildInputs = [ ncurses libiconv ]; 13 14 preBuild = '' ··· 16 sed -i s%ncursesw/ncurses.h%ncurses.h% stfl_internals.h 17 '' + lib.optionalString stdenv.isDarwin '' 18 sed -i s/-soname/-install_name/ Makefile 19 - ''; 20 21 installPhase = '' 22 DESTDIR=$out prefix=\"\" make install 23 - 24 - # some programs rely on libstfl.so.0 to be present, so link it 25 ln -s $out/lib/libstfl.so.0.24 $out/lib/libstfl.so.0 26 ''; 27
··· 9 sha256 = "1460d5lc780p3q38l3wc9jfr2a7zlyrcra0li65aynj738cam9yl"; 10 }; 11 12 + makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ]; 13 + 14 buildInputs = [ ncurses libiconv ]; 15 16 preBuild = '' ··· 18 sed -i s%ncursesw/ncurses.h%ncurses.h% stfl_internals.h 19 '' + lib.optionalString stdenv.isDarwin '' 20 sed -i s/-soname/-install_name/ Makefile 21 + '' 22 + # upstream builds shared library unconditionally. Also, it has no 23 + # support for cross-compilation. 24 + + lib.optionalString stdenv.hostPlatform.isStatic '' 25 + sed -i 's/all:.*/all: libstfl.a stfl.pc/' Makefile 26 + sed -i 's/\tar /\t${stdenv.cc.targetPrefix}ar /' Makefile 27 + sed -i 's/\tranlib /\t${stdenv.cc.targetPrefix}ranlib /' Makefile 28 + sed -i '/install -m 644 libstfl.so./d' Makefile 29 + sed -i '/ln -fs libstfl.so./d' Makefile 30 + '' ; 31 32 installPhase = '' 33 DESTDIR=$out prefix=\"\" make install 34 + '' 35 + # some programs rely on libstfl.so.0 to be present, so link it 36 + + lib.optionalString (!stdenv.hostPlatform.isStatic) '' 37 ln -s $out/lib/libstfl.so.0.24 $out/lib/libstfl.so.0 38 ''; 39
+10 -2
pkgs/development/libraries/thrift/default.nix
··· 36 37 buildInputs = [ 38 boost 39 libevent 40 openssl 41 zlib 42 - ] ++ lib.optionals (!static) [ 43 - (python3.withPackages (ps: [ps.twisted])) 44 ]; 45 46 postPatch = '' ··· 65 name = "setuptools-gte-62.1.0.patch"; # https://github.com/apache/thrift/pull/2635 66 url = "https://github.com/apache/thrift/commit/c41ad9d5119e9bdae1746167e77e224f390f2c42.diff"; 67 hash = "sha256-FkErrg/6vXTomS4AsCsld7t+Iccc55ZiDaNjJ3W1km0="; 68 }) 69 ]; 70
··· 36 37 buildInputs = [ 38 boost 39 + ] ++ lib.optionals (!static) [ 40 + (python3.withPackages (ps: [ps.twisted])) 41 + ]; 42 + 43 + propagatedBuildInputs = [ 44 libevent 45 openssl 46 zlib 47 ]; 48 49 postPatch = '' ··· 68 name = "setuptools-gte-62.1.0.patch"; # https://github.com/apache/thrift/pull/2635 69 url = "https://github.com/apache/thrift/commit/c41ad9d5119e9bdae1746167e77e224f390f2c42.diff"; 70 hash = "sha256-FkErrg/6vXTomS4AsCsld7t+Iccc55ZiDaNjJ3W1km0="; 71 + }) 72 + (fetchpatch { 73 + name = "thrift-install-FindLibevent.patch"; # https://github.com/apache/thrift/pull/2726 74 + url = "https://github.com/apache/thrift/commit/2ab850824f75d448f2ba14a468fb77d2594998df.diff"; 75 + hash = "sha256-ejMKFG/cJgoPlAFzVDPI4vIIL7URqaG06/IWdQ2NkhY="; 76 }) 77 ]; 78
+20 -18
pkgs/development/python-modules/asf-search/default.nix
··· 1 { lib 2 , buildPythonPackage 3 - , dateparser 4 , fetchFromGitHub 5 , importlib-metadata 6 , numpy 7 , pytestCheckHook 8 - , python-dateutil 9 - , pythonOlder 10 - , pytz 11 - , requests 12 , requests-mock 13 - , shapely 14 - , wktutils 15 }: 16 17 buildPythonPackage rec { ··· 29 }; 30 31 propagatedBuildInputs = [ 32 - dateparser 33 - importlib-metadata 34 - numpy 35 python-dateutil 36 pytz 37 - requests 38 - shapely 39 - wktutils 40 ]; 41 42 nativeCheckInputs = [ 43 pytestCheckHook 44 requests-mock 45 ]; 46 - 47 - postPatch = '' 48 - substituteInPlace setup.py \ 49 - --replace "WKTUtils==" "WKTUtils>=" 50 - ''; 51 52 pythonImportsCheck = [ 53 "asf_search"
··· 1 { lib 2 , buildPythonPackage 3 , fetchFromGitHub 4 + , pythonOlder 5 + , requests 6 + , shapely 7 + , python-dateutil 8 + , pytz 9 , importlib-metadata 10 , numpy 11 + , dateparser 12 + , jinja2 13 + , remotezip 14 , pytestCheckHook 15 , requests-mock 16 + , defusedxml 17 }: 18 19 buildPythonPackage rec { ··· 31 }; 32 33 propagatedBuildInputs = [ 34 + requests 35 + shapely 36 python-dateutil 37 pytz 38 + importlib-metadata 39 + numpy 40 + dateparser 41 + jinja2 42 + remotezip 43 ]; 44 45 nativeCheckInputs = [ 46 pytestCheckHook 47 + ]; 48 + 49 + checkInputs = [ 50 requests-mock 51 + defusedxml 52 ]; 53 54 pythonImportsCheck = [ 55 "asf_search"
+88
pkgs/development/python-modules/awswrangler/default.nix
···
··· 1 + { backoff 2 + , sparqlwrapper 3 + , boto3 4 + , buildPythonPackage 5 + , fetchFromGitHub 6 + , gremlinpython 7 + , jsonpath-ng 8 + , lib 9 + , moto 10 + , openpyxl 11 + , opensearch-py 12 + , pandas 13 + , pg8000 14 + , poetry-core 15 + , progressbar2 16 + , pyarrow 17 + , pymysql 18 + , pyodbc 19 + , pytestCheckHook 20 + , pythonOlder 21 + , pythonRelaxDepsHook 22 + , redshift-connector 23 + , requests-aws4auth 24 + }: 25 + 26 + buildPythonPackage rec { 27 + pname = "awswrangler"; 28 + version = "2.19.0"; 29 + format = "pyproject"; 30 + 31 + disabled = pythonOlder "3.7.1"; 32 + 33 + src = fetchFromGitHub { 34 + owner = "aws"; 35 + repo = "aws-sdk-pandas"; 36 + rev = "refs/tags/${version}"; 37 + hash = "sha256-xUEytEgr/djfnoOowLxAZmbPkMS+vU0fuPY7JxZXEe0="; 38 + }; 39 + 40 + nativeBuildInputs = [ poetry-core pythonRelaxDepsHook ]; 41 + 42 + propagatedBuildInputs = [ 43 + backoff 44 + boto3 45 + gremlinpython 46 + jsonpath-ng 47 + openpyxl 48 + opensearch-py 49 + pandas 50 + pg8000 51 + progressbar2 52 + pyarrow 53 + pymysql 54 + redshift-connector 55 + requests-aws4auth 56 + ]; 57 + 58 + pythonRelaxDeps = [ 59 + "gremlinpython" 60 + "numpy" 61 + "pandas" 62 + "pg8000" 63 + ]; 64 + 65 + nativeCheckInputs = [ moto pytestCheckHook ]; 66 + 67 + pytestFlagsArray = [ 68 + # Subset of tests that run in upstream CI (many others require credentials) 69 + # https://github.com/aws/aws-sdk-pandas/blob/2b7c62ac0762b1303149bb3c03979791479ba4f9/.github/workflows/minimal-tests.yml 70 + "tests/test_metadata.py" 71 + "tests/test_session.py" 72 + "tests/test_utils.py" 73 + "tests/test_moto.py" 74 + ]; 75 + 76 + passthru.optional-dependencies = { 77 + sqlserver = [ pyodbc ]; 78 + sparql = [ sparqlwrapper ]; 79 + }; 80 + 81 + meta = { 82 + description = "Pandas on AWS"; 83 + homepage = "https://github.com/aws/aws-sdk-pandas"; 84 + changelog = "https://github.com/aws/aws-sdk-pandas/releases/tag/${version}"; 85 + license = lib.licenses.asl20; 86 + maintainers = with lib.maintainers; [ mcwitt ]; 87 + }; 88 + }
+1 -1
pkgs/development/python-modules/bundlewrap/default.nix
··· 31 32 nativeBuildInputs = [ setuptools ]; 33 propagatedBuildInputs = [ 34 - cryptography jinja2 Mako passlib pyyaml requests tomlkit librouteros 35 ] ++ lib.optionals (pythonOlder "3.11") [ rtoml ]; 36 37 pythonImportsCheck = [ "bundlewrap" ];
··· 31 32 nativeBuildInputs = [ setuptools ]; 33 propagatedBuildInputs = [ 34 + setuptools cryptography jinja2 Mako passlib pyyaml requests tomlkit librouteros 35 ] ++ lib.optionals (pythonOlder "3.11") [ rtoml ]; 36 37 pythonImportsCheck = [ "bundlewrap" ];
+4 -2
pkgs/development/python-modules/dask/default.nix
··· 1 { lib 2 , stdenv 3 , bokeh 4 , buildPythonPackage 5 , click ··· 70 }; 71 72 nativeCheckInputs = [ 73 - fastparquet 74 - pyarrow 75 pytestCheckHook 76 pytest-rerunfailures 77 pytest-xdist 78 scipy 79 zarr 80 ]; 81 82 dontUseSetuptoolsCheck = true;
··· 1 { lib 2 , stdenv 3 + , arrow-cpp 4 , bokeh 5 , buildPythonPackage 6 , click ··· 71 }; 72 73 nativeCheckInputs = [ 74 pytestCheckHook 75 pytest-rerunfailures 76 pytest-xdist 77 scipy 78 zarr 79 + ] ++ lib.optionals (!arrow-cpp.meta.broken) [ # support is sparse on aarch64 80 + fastparquet 81 + pyarrow 82 ]; 83 84 dontUseSetuptoolsCheck = true;
+29 -17
pkgs/development/python-modules/effect/default.nix
··· 1 - { buildPythonPackage 2 , fetchPypi 3 - , lib 4 - , isPy3k 5 , six 6 - , attrs 7 - , pytest 8 , testtools 9 }: 10 11 buildPythonPackage rec { 12 version = "1.1.0"; 13 - pname = "effect"; 14 - disabled = (!isPy3k); 15 16 src = fetchPypi { 17 inherit pname version; 18 - sha256 = "7affb603707c648b07b11781ebb793a4b9aee8acf1ac5764c3ed2112adf0c9ea"; 19 }; 20 21 - nativeCheckInputs = [ 22 - pytest 23 - testtools 24 - ]; 25 26 propagatedBuildInputs = [ 27 six 28 - attrs 29 ]; 30 31 - checkPhase = '' 32 - pytest 33 - ''; 34 35 meta = with lib; { 36 description = "Pure effects for Python"; 37 - homepage = "https://github.com/python-effect/effect"; 38 license = licenses.mit; 39 }; 40 }
··· 1 + { lib 2 + , attrs 3 + , buildPythonPackage 4 , fetchPypi 5 + , pytestCheckHook 6 + , pythonOlder 7 , six 8 , testtools 9 }: 10 11 buildPythonPackage rec { 12 + pname = "effect"; 13 version = "1.1.0"; 14 + format = "setuptools"; 15 + 16 + disabled = pythonOlder "3.7"; 17 18 src = fetchPypi { 19 inherit pname version; 20 + hash = "sha256-ev+2A3B8ZIsHsReB67eTpLmu6KzxrFdkw+0hEq3wyeo="; 21 }; 22 23 + postPatch = '' 24 + substituteInPlace effect/test_do.py \ 25 + --replace "py.test" "pytest" 26 + ''; 27 28 propagatedBuildInputs = [ 29 + attrs 30 six 31 + ]; 32 + 33 + nativeCheckInputs = [ 34 + pytestCheckHook 35 + ]; 36 + 37 + checkInputs = [ 38 + testtools 39 ]; 40 41 + pythonImportsCheck = [ 42 + "effect" 43 + ]; 44 45 meta = with lib; { 46 description = "Pure effects for Python"; 47 + homepage = "https://effect.readthedocs.io/"; 48 + changelog = "https://github.com/python-effect/effect/releases/tag/${version}"; 49 license = licenses.mit; 50 + maintainers = with maintainers; [ ]; 51 }; 52 }
+39 -21
pkgs/development/python-modules/fiona/default.nix
··· 1 - { stdenv, lib, buildPythonPackage, fetchPypi, isPy3k, pythonOlder, cython 2 - , attrs, click, cligj, click-plugins, six, munch, enum34 3 - , pytestCheckHook, boto3, mock, giflib, pytz 4 - , gdal, certifi 5 }: 6 7 buildPythonPackage rec { 8 pname = "fiona"; 9 - version = "1.9.0"; 10 11 - src = fetchPypi { 12 - pname = "Fiona"; 13 - inherit version; 14 - hash = "sha256-bkh8v7pahJ+98G5FFp/X4fFmL0Tz1xerS5RgRrJFfq4="; 15 - }; 16 17 - CXXFLAGS = lib.optionalString stdenv.cc.isClang "-std=c++11"; 18 19 nativeBuildInputs = [ 20 cython 21 gdal # for gdal-config 22 ]; 23 24 buildInputs = [ 25 gdal 26 - ] ++ lib.optionals stdenv.cc.isClang [ giflib ]; 27 28 propagatedBuildInputs = [ 29 attrs ··· 31 click 32 cligj 33 click-plugins 34 - six 35 munch 36 - pytz 37 - ] ++ lib.optional (!isPy3k) enum34; 38 39 nativeCheckInputs = [ 40 pytestCheckHook 41 - boto3 42 - ] ++ lib.optional (pythonOlder "3.4") mock; 43 44 preCheck = '' 45 rm -r fiona # prevent importing local fiona 46 - # disable gdal deprecation warnings 47 - export GDAL_ENABLE_DEPRECATED_DRIVER_GTM=YES 48 ''; 49 50 disabledTests = [ 51 # Some tests access network, others test packaging 52 "http" "https" "wheel" 53 - # https://github.com/Toblerity/Fiona/issues/1164 54 - "test_no_append_driver_cannot_append" 55 ]; 56 57 pythonImportsCheck = [ "fiona" ]; 58 59 meta = with lib; { 60 description = "OGR's neat, nimble, no-nonsense API for Python"; 61 homepage = "https://fiona.readthedocs.io/"; 62 license = licenses.bsd3;
··· 1 + { lib 2 + , buildPythonPackage 3 + , pythonOlder 4 + , fetchFromGitHub 5 + , cython 6 + , gdal 7 + , setuptools 8 + , attrs 9 + , certifi 10 + , click 11 + , click-plugins 12 + , cligj 13 + , munch 14 + , shapely 15 + , boto3 16 + , pytestCheckHook 17 + , pytz 18 }: 19 20 buildPythonPackage rec { 21 pname = "fiona"; 22 + version = "1.9.1"; 23 24 + disabled = pythonOlder "3.7"; 25 26 + format = "pyproject"; 27 + 28 + src = fetchFromGitHub { 29 + owner = "Toblerity"; 30 + repo = "Fiona"; 31 + rev = "refs/tags/${version}"; 32 + hash = "sha256-2CGLkgnpCAh9G+ILol5tmRj9S6/XeKk8eLzGEODiyP8="; 33 + }; 34 35 nativeBuildInputs = [ 36 cython 37 gdal # for gdal-config 38 + setuptools 39 ]; 40 41 buildInputs = [ 42 gdal 43 + ]; 44 45 propagatedBuildInputs = [ 46 attrs ··· 48 click 49 cligj 50 click-plugins 51 munch 52 + setuptools 53 + ]; 54 + 55 + passthru.optional-dependencies = { 56 + calc = [ shapely ]; 57 + s3 = [ boto3 ]; 58 + }; 59 60 nativeCheckInputs = [ 61 pytestCheckHook 62 + pytz 63 + ] ++ passthru.optional-dependencies.s3; 64 65 preCheck = '' 66 rm -r fiona # prevent importing local fiona 67 ''; 68 69 disabledTests = [ 70 # Some tests access network, others test packaging 71 "http" "https" "wheel" 72 ]; 73 74 pythonImportsCheck = [ "fiona" ]; 75 76 meta = with lib; { 77 + changelog = "https://github.com/Toblerity/Fiona/blob/${src.rev}/CHANGES.txt"; 78 description = "OGR's neat, nimble, no-nonsense API for Python"; 79 homepage = "https://fiona.readthedocs.io/"; 80 license = licenses.bsd3;
+2 -11
pkgs/development/python-modules/fpylll/default.nix
··· 1 { stdenv 2 , lib 3 , fetchFromGitHub 4 - , fetchpatch 5 , buildPythonPackage 6 , pkgconfig 7 , gmp ··· 16 17 buildPythonPackage rec { 18 pname = "fpylll"; 19 - version = "0.5.7"; 20 21 src = fetchFromGitHub { 22 owner = "fplll"; 23 repo = "fpylll"; 24 rev = version; 25 - sha256 = "sha256-iUPreJ8BSB8LDisbJis0xn8ld6+Nf9Z4AP8SWJlCfZg="; 26 }; 27 - 28 - patches = [ 29 - (fetchpatch { 30 - name = "remove-strategies-doctest.patch"; 31 - url = "https://github.com/fplll/fpylll/commit/3edffcd189e9d827a322d83b0f84d32e5f067442.patch"; 32 - sha256 = "sha256-U7qOIbVzUNwYmjOPryjnE3J+MX/vMwm3T0UyOZ5ylLc="; 33 - }) 34 - ]; 35 36 buildInputs = [ 37 gmp
··· 1 { stdenv 2 , lib 3 , fetchFromGitHub 4 , buildPythonPackage 5 , pkgconfig 6 , gmp ··· 15 16 buildPythonPackage rec { 17 pname = "fpylll"; 18 + version = "0.5.9"; 19 20 src = fetchFromGitHub { 21 owner = "fplll"; 22 repo = "fpylll"; 23 rev = version; 24 + sha256 = "sha256-T6l6hKzRDevlLyLu5H+bnEdl0OhsPer1coCDiftbPAk="; 25 }; 26 27 buildInputs = [ 28 gmp
+2
pkgs/development/python-modules/mediapy/default.nix
··· 21 22 propagatedBuildInputs = [ ipython matplotlib numpy pillow ]; 23 24 pythonImportsCheck = [ "mediapy" ]; 25 26 meta = with lib; {
··· 21 22 propagatedBuildInputs = [ ipython matplotlib numpy pillow ]; 23 24 + format = "flit"; 25 + 26 pythonImportsCheck = [ "mediapy" ]; 27 28 meta = with lib; {
+31 -15
pkgs/development/python-modules/pyarrow/default.nix
··· 18 , pkg-config 19 , scipy 20 , setuptools-scm 21 - , six 22 }: 23 24 let 25 zero_or_one = cond: if cond then 1 else 0; 26 - 27 - _arrow-cpp = arrow-cpp.override { python3 = python; }; 28 in 29 30 buildPythonPackage rec { 31 pname = "pyarrow"; 32 - inherit (_arrow-cpp) version src; 33 34 disabled = pythonOlder "3.7"; 35 ··· 42 setuptools-scm 43 ]; 44 45 propagatedBuildInputs = [ 46 cffi 47 cloudpickle 48 fsspec 49 numpy 50 scipy 51 - six 52 ]; 53 54 nativeCheckInputs = [ ··· 61 PYARROW_BUILD_TYPE = "release"; 62 63 PYARROW_WITH_DATASET = zero_or_one true; 64 - PYARROW_WITH_FLIGHT = zero_or_one _arrow-cpp.enableFlight; 65 PYARROW_WITH_HDFS = zero_or_one true; 66 PYARROW_WITH_PARQUET = zero_or_one true; 67 - PYARROW_WITH_PLASMA = zero_or_one (!stdenv.isDarwin); 68 - PYARROW_WITH_S3 = zero_or_one _arrow-cpp.enableS3; 69 70 PYARROW_CMAKE_OPTIONS = [ 71 "-DCMAKE_INSTALL_RPATH=${ARROW_HOME}/lib" 72 ]; 73 74 - ARROW_HOME = _arrow-cpp; 75 - PARQUET_HOME = _arrow-cpp; 76 77 - ARROW_TEST_DATA = lib.optionalString doCheck _arrow-cpp.ARROW_TEST_DATA; 78 79 doCheck = true; 80 ··· 86 export PYARROW_PARALLEL=$NIX_BUILD_CORES 87 ''; 88 89 pytestFlagsArray = [ 90 # Deselect a single test because pyarrow prints a 2-line error message where 91 # only a single line is expected. The additional line of output comes from ··· 103 "--deselect=pyarrow/tests/test_pandas.py::test_threaded_pandas_import" 104 # Flaky test, works locally but not on Hydra 105 "--deselect=pyarrow/tests/test_csv.py::TestThreadedCSVTableRead::test_cancellation" 106 ] ++ lib.optionals stdenv.isDarwin [ 107 # Requires loopback networking 108 "--deselect=pyarrow/tests/test_ipc.py::test_socket_" ··· 110 "--deselect=pyarrow/tests/test_flight.py::test_large_descriptor" 111 "--deselect=pyarrow/tests/test_flight.py::test_large_metadata_client" 112 "--deselect=pyarrow/tests/test_flight.py::test_none_action_side_effect" 113 ] ++ lib.optionals (pythonAtLeast "3.11") [ 114 # Repr output is printing number instead of enum name so these tests fail 115 "--deselect=pyarrow/tests/test_fs.py::test_get_file_info" 116 ]; 117 118 dontUseSetuptoolsCheck = true; 119 ··· 129 130 pythonImportsCheck = [ 131 "pyarrow" 132 - ] ++ map (module: "pyarrow.${module}") ([ 133 "compute" 134 "csv" 135 "dataset" ··· 139 "hdfs" 140 "json" 141 "parquet" 142 - ] ++ lib.optionals (!stdenv.isDarwin) [ 143 - "plasma" 144 - ]); 145 146 meta = with lib; { 147 description = "A cross-language development platform for in-memory data";
··· 18 , pkg-config 19 , scipy 20 , setuptools-scm 21 }: 22 23 let 24 zero_or_one = cond: if cond then 1 else 0; 25 in 26 27 buildPythonPackage rec { 28 pname = "pyarrow"; 29 + inherit (arrow-cpp) version src; 30 31 disabled = pythonOlder "3.7"; 32 ··· 39 setuptools-scm 40 ]; 41 42 + buildInputs = [ arrow-cpp ]; 43 + 44 propagatedBuildInputs = [ 45 cffi 46 cloudpickle 47 fsspec 48 numpy 49 scipy 50 ]; 51 52 nativeCheckInputs = [ ··· 59 PYARROW_BUILD_TYPE = "release"; 60 61 PYARROW_WITH_DATASET = zero_or_one true; 62 + PYARROW_WITH_FLIGHT = zero_or_one arrow-cpp.enableFlight; 63 PYARROW_WITH_HDFS = zero_or_one true; 64 PYARROW_WITH_PARQUET = zero_or_one true; 65 + PYARROW_WITH_PARQUET_ENCRYPTION = zero_or_one true; 66 + # Plasma is deprecated since arrow 10.0.0 67 + PYARROW_WITH_PLASMA = zero_or_one false; 68 + PYARROW_WITH_S3 = zero_or_one arrow-cpp.enableS3; 69 + PYARROW_WITH_GCS = zero_or_one arrow-cpp.enableGcs; 70 + PYARROW_BUNDLE_ARROW_CPP_HEADERS = zero_or_one false; 71 72 PYARROW_CMAKE_OPTIONS = [ 73 "-DCMAKE_INSTALL_RPATH=${ARROW_HOME}/lib" 74 ]; 75 76 + ARROW_HOME = arrow-cpp; 77 + PARQUET_HOME = arrow-cpp; 78 79 + ARROW_TEST_DATA = lib.optionalString doCheck arrow-cpp.ARROW_TEST_DATA; 80 81 doCheck = true; 82 ··· 88 export PYARROW_PARALLEL=$NIX_BUILD_CORES 89 ''; 90 91 + postInstall = '' 92 + # copy the pyarrow C++ header files to the appropriate location 93 + pyarrow_include="$out/${python.sitePackages}/pyarrow/include" 94 + mkdir -p "$pyarrow_include/arrow/python" 95 + find "$PWD/pyarrow/src/arrow" -type f -name '*.h' -exec cp {} "$pyarrow_include/arrow/python" \; 96 + ''; 97 + 98 pytestFlagsArray = [ 99 # Deselect a single test because pyarrow prints a 2-line error message where 100 # only a single line is expected. The additional line of output comes from ··· 112 "--deselect=pyarrow/tests/test_pandas.py::test_threaded_pandas_import" 113 # Flaky test, works locally but not on Hydra 114 "--deselect=pyarrow/tests/test_csv.py::TestThreadedCSVTableRead::test_cancellation" 115 + # expects arrow-cpp headers to be bundled 116 + "--deselect=pyarrow/tests/test_cpp_internals.py::test_pyarrow_include" 117 ] ++ lib.optionals stdenv.isDarwin [ 118 # Requires loopback networking 119 "--deselect=pyarrow/tests/test_ipc.py::test_socket_" ··· 121 "--deselect=pyarrow/tests/test_flight.py::test_large_descriptor" 122 "--deselect=pyarrow/tests/test_flight.py::test_large_metadata_client" 123 "--deselect=pyarrow/tests/test_flight.py::test_none_action_side_effect" 124 + # fails to compile 125 + "--deselect=pyarrow/tests/test_cython.py::test_cython_api" 126 ] ++ lib.optionals (pythonAtLeast "3.11") [ 127 # Repr output is printing number instead of enum name so these tests fail 128 "--deselect=pyarrow/tests/test_fs.py::test_get_file_info" 129 + ] ++ lib.optionals stdenv.isLinux [ 130 + # this test requires local networking 131 + "--deselect=pyarrow/tests/test_fs.py::test_filesystem_from_uri_gcs" 132 ]; 133 + 134 + disabledTests = [ "GcsFileSystem" ]; 135 136 dontUseSetuptoolsCheck = true; 137 ··· 147 148 pythonImportsCheck = [ 149 "pyarrow" 150 + ] ++ map (module: "pyarrow.${module}") [ 151 "compute" 152 "csv" 153 "dataset" ··· 157 "hdfs" 158 "json" 159 "parquet" 160 + ]; 161 162 meta = with lib; { 163 description = "A cross-language development platform for in-memory data";
+9 -19
pkgs/development/python-modules/pyflunearyou/default.nix pkgs/development/python-modules/pyoutbreaksnearme/default.nix
··· 1 { lib 2 , aiohttp 3 , aresponses 4 - , aiocache 5 , buildPythonPackage 6 , fetchFromGitHub 7 , poetry-core ··· 9 , pytest-aiohttp 10 , pytestCheckHook 11 , pythonOlder 12 - , pythonRelaxDepsHook 13 - , msgpack 14 , ujson 15 }: 16 17 buildPythonPackage rec { 18 - pname = "pyflunearyou"; 19 - version = "2021.10.0"; 20 format = "pyproject"; 21 22 - disabled = pythonOlder "3.6"; 23 24 src = fetchFromGitHub { 25 owner = "bachya"; 26 repo = pname; 27 - rev = version; 28 - sha256 = "sha256-Q65OSE4qckpvaIvZULBR434i7hwuVM97eSq1Blb1oIU="; 29 }; 30 31 - pythonRelaxDeps = [ 32 - "aiocache" 33 - "ujson" 34 - ]; 35 - 36 nativeBuildInputs = [ 37 poetry-core 38 - pythonRelaxDepsHook 39 ]; 40 41 propagatedBuildInputs = [ 42 aiohttp 43 - aiocache 44 - msgpack 45 ujson 46 ]; 47 ··· 58 ]; 59 60 pythonImportsCheck = [ 61 - "pyflunearyou" 62 ]; 63 64 meta = with lib; { 65 - description = "Python library for retrieving UV-related information from Flu Near You"; 66 - homepage = "https://github.com/bachya/pyflunearyou"; 67 license = with licenses; [ mit ]; 68 maintainers = with maintainers; [ fab ]; 69 };
··· 1 { lib 2 , aiohttp 3 , aresponses 4 , buildPythonPackage 5 , fetchFromGitHub 6 , poetry-core ··· 8 , pytest-aiohttp 9 , pytestCheckHook 10 , pythonOlder 11 , ujson 12 }: 13 14 buildPythonPackage rec { 15 + pname = "pyoutbreaksnearme"; 16 + version = "2022.10.0"; 17 format = "pyproject"; 18 19 + disabled = pythonOlder "3.9"; 20 21 src = fetchFromGitHub { 22 owner = "bachya"; 23 repo = pname; 24 + rev = "refs/tags/${version}"; 25 + sha256 = "sha256-D7oXkKDSg+yF+j1WyG/VVY12hLU6oyhEtxLrF6IkMSA="; 26 }; 27 28 nativeBuildInputs = [ 29 poetry-core 30 ]; 31 32 propagatedBuildInputs = [ 33 aiohttp 34 ujson 35 ]; 36 ··· 47 ]; 48 49 pythonImportsCheck = [ 50 + "pyoutbreaksnearme" 51 ]; 52 53 meta = with lib; { 54 + description = "Library for retrieving data from for Outbreaks Near Me"; 55 + homepage = "https://github.com/bachya/pyoutbreaksnearme"; 56 + changelog = "https://github.com/bachya/pyoutbreaksnearme/releases/tag/${version}"; 57 license = with licenses; [ mit ]; 58 maintainers = with maintainers; [ fab ]; 59 };
+3 -2
pkgs/development/python-modules/pyipma/default.nix
··· 13 14 buildPythonPackage rec { 15 pname = "pyipma"; 16 - version = "3.0.5"; 17 format = "setuptools"; 18 19 disabled = pythonOlder "3.7"; ··· 22 owner = "dgomes"; 23 repo = pname; 24 rev = "refs/tags/${version}"; 25 - hash = "sha256-KyXHNkP/XJlTdVFdP91x3udMquQju8G2VUHLPvZymtk="; 26 }; 27 28 propagatedBuildInputs = [ ··· 52 meta = with lib; { 53 description = "Library to retrieve information from Instituto Português do Mar e Atmosfera"; 54 homepage = "https://github.com/dgomes/pyipma"; 55 license = with licenses; [ mit ]; 56 maintainers = with maintainers; [ fab ]; 57 };
··· 13 14 buildPythonPackage rec { 15 pname = "pyipma"; 16 + version = "3.0.6"; 17 format = "setuptools"; 18 19 disabled = pythonOlder "3.7"; ··· 22 owner = "dgomes"; 23 repo = pname; 24 rev = "refs/tags/${version}"; 25 + hash = "sha256-BwW8gUFeinZ9Z/v1orJKRTqt2WxVMD+hQj+A3gU1LDI="; 26 }; 27 28 propagatedBuildInputs = [ ··· 52 meta = with lib; { 53 description = "Library to retrieve information from Instituto Português do Mar e Atmosfera"; 54 homepage = "https://github.com/dgomes/pyipma"; 55 + changelog = "https://github.com/dgomes/pyipma/releases/tag/${version}"; 56 license = with licenses; [ mit ]; 57 maintainers = with maintainers; [ fab ]; 58 };
+4 -3
pkgs/development/python-modules/pyweatherflowrest/default.nix
··· 8 9 buildPythonPackage rec { 10 pname = "pyweatherflowrest"; 11 - version = "1.0.8"; 12 format = "pyproject"; 13 14 disabled = pythonOlder "3.7"; ··· 16 src = fetchFromGitHub { 17 owner = "briis"; 18 repo = pname; 19 - rev = "v${version}"; 20 - sha256 = "1swyqdnvhwaigqhjn5a22gi8if4bl8alfrigln4qa0jl9z03kg09"; 21 }; 22 23 nativeBuildInputs = [ ··· 44 meta = with lib; { 45 description = "Python module to get data from WeatherFlow Weather Stations"; 46 homepage = "https://github.com/briis/pyweatherflowrest"; 47 license = with licenses; [ mit ]; 48 maintainers = with maintainers; [ fab ]; 49 };
··· 8 9 buildPythonPackage rec { 10 pname = "pyweatherflowrest"; 11 + version = "1.0.9"; 12 format = "pyproject"; 13 14 disabled = pythonOlder "3.7"; ··· 16 src = fetchFromGitHub { 17 owner = "briis"; 18 repo = pname; 19 + rev = "refs/tags/v${version}"; 20 + hash = "sha256-LFA1GJCYFIWl7/YblRrYgAB4lbELpzhCJyjB8aCkJ/E="; 21 }; 22 23 nativeBuildInputs = [ ··· 44 meta = with lib; { 45 description = "Python module to get data from WeatherFlow Weather Stations"; 46 homepage = "https://github.com/briis/pyweatherflowrest"; 47 + changelog = "https://github.com/briis/pyweatherflowrest/blob/v${version}/CHANGELOG.md"; 48 license = with licenses; [ mit ]; 49 maintainers = with maintainers; [ fab ]; 50 };
+47
pkgs/development/python-modules/remotezip/default.nix
···
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , requests 5 + , tabulate 6 + , pytestCheckHook 7 + , requests-mock 8 + }: 9 + 10 + buildPythonPackage { 11 + pname = "remotezip"; 12 + version = "0.12.1"; 13 + format = "setuptools"; 14 + 15 + src = fetchFromGitHub { 16 + owner = "gtsystem"; 17 + repo = "python-remotezip"; 18 + # upstream does not tag releases, determined with git blame 19 + # pypi archive lacks files for tests 20 + rev = "da62e115bdb2071ad08a8c91f7ae48f2c1827e0c"; 21 + hash = "sha256-su4dlV8KZuewf/yGdTnGHK9hNLHwGe10ditmFcne4Us="; 22 + }; 23 + 24 + propagatedBuildInputs = [ 25 + requests 26 + tabulate 27 + ]; 28 + 29 + nativeCheckInputs = [ 30 + pytestCheckHook 31 + ]; 32 + 33 + checkInputs = [ 34 + requests-mock 35 + ]; 36 + 37 + pythonImportsCheck = [ 38 + "remotezip" 39 + ]; 40 + 41 + meta = with lib; { 42 + description = "Python module to access single members of a zip archive without downloading the full content"; 43 + homepage = "https://github.com/gtsystem/python-remotezip"; 44 + license = licenses.mit; 45 + maintainers = with maintainers; [ nickcao ]; 46 + }; 47 + }
+4 -2
pkgs/development/python-modules/scmrepo/default.nix
··· 11 , pygtrie 12 , pythonOlder 13 , setuptools 14 }: 15 16 buildPythonPackage rec { 17 pname = "scmrepo"; 18 - version = "0.1.7"; 19 format = "pyproject"; 20 21 disabled = pythonOlder "3.7"; ··· 24 owner = "iterative"; 25 repo = pname; 26 rev = "refs/tags/${version}"; 27 - hash = "sha256-F+t/3Nfcw+LG9Kh0Je2JwPWUWBNsZXTEaQOKaTT5ig0="; 28 }; 29 30 postPatch = '' ··· 46 pathspec 47 pygit2 48 pygtrie 49 ]; 50 51 # Requires a running Docker instance
··· 11 , pygtrie 12 , pythonOlder 13 , setuptools 14 + , shortuuid 15 }: 16 17 buildPythonPackage rec { 18 pname = "scmrepo"; 19 + version = "0.1.9"; 20 format = "pyproject"; 21 22 disabled = pythonOlder "3.7"; ··· 25 owner = "iterative"; 26 repo = pname; 27 rev = "refs/tags/${version}"; 28 + hash = "sha256-WXePQMHCAmcGUHNNHBaqNQisewMUR87iJC0K2ltYVBE="; 29 }; 30 31 postPatch = '' ··· 47 pathspec 48 pygit2 49 pygtrie 50 + shortuuid 51 ]; 52 53 # Requires a running Docker instance
+1
pkgs/development/python-modules/shortuuid/default.nix
··· 28 meta = with lib; { 29 description = "Library to generate concise, unambiguous and URL-safe UUIDs"; 30 homepage = "https://github.com/stochastic-technologies/shortuuid/"; 31 license = licenses.bsd3; 32 maintainers = with maintainers; [ zagy ]; 33 };
··· 28 meta = with lib; { 29 description = "Library to generate concise, unambiguous and URL-safe UUIDs"; 30 homepage = "https://github.com/stochastic-technologies/shortuuid/"; 31 + changelog = "https://github.com/skorokithakis/shortuuid/blob/v${version}/CHANGELOG.md"; 32 license = licenses.bsd3; 33 maintainers = with maintainers; [ zagy ]; 34 };
+5
pkgs/development/python-modules/tesserocr/default.nix
··· 24 sha256 = "1bmj76gi8401lcqdaaznfmz9yf11myy1bzivqwwq08z3dwzxswck"; 25 }; 26 27 nativeBuildInputs = [ 28 cython 29 pkg-config
··· 24 sha256 = "1bmj76gi8401lcqdaaznfmz9yf11myy1bzivqwwq08z3dwzxswck"; 25 }; 26 27 + # https://github.com/sirfz/tesserocr/issues/314 28 + postPatch = '' 29 + sed -i '/allheaders.h/a\ pass\n\ncdef extern from "leptonica/pix_internal.h" nogil:' tesseract.pxd 30 + ''; 31 + 32 nativeBuildInputs = [ 33 cython 34 pkg-config
+2 -2
pkgs/development/python-modules/xmlschema/default.nix
··· 10 11 buildPythonPackage rec { 12 pname = "xmlschema"; 13 - version = "2.2.0"; 14 format = "setuptools"; 15 16 disabled = pythonOlder "3.7"; ··· 19 owner = "sissaschool"; 20 repo = "xmlschema"; 21 rev = "refs/tags/v${version}"; 22 - hash = "sha256-KK1F8OVK+19ZWwu+2UtTMiVNyPPoPOv3V1qJFZAu2h4="; 23 }; 24 25 propagatedBuildInputs = [
··· 10 11 buildPythonPackage rec { 12 pname = "xmlschema"; 13 + version = "2.2.1"; 14 format = "setuptools"; 15 16 disabled = pythonOlder "3.7"; ··· 19 owner = "sissaschool"; 20 repo = "xmlschema"; 21 rev = "refs/tags/v${version}"; 22 + hash = "sha256-yF2L5VxUkqJjen5JeCQis4Q1o1KCJtRJ+S52wnS5VQg="; 23 }; 24 25 propagatedBuildInputs = [
+3 -3
pkgs/development/tools/analysis/tflint/default.nix
··· 10 11 buildGoModule rec { 12 pname = "tflint"; 13 - version = "0.44.1"; 14 15 src = fetchFromGitHub { 16 owner = "terraform-linters"; 17 repo = pname; 18 rev = "v${version}"; 19 - sha256 = "sha256-O758CU70NqRFlbtiy5cmfIHiHdQLxH88BHNZLQVvZ+M="; 20 }; 21 22 - vendorSha256 = "sha256-4ODf6Er7V5KsVUdWjqjv+dfH84PPR+5T29V1AJluoJA="; 23 24 doCheck = false; 25
··· 10 11 buildGoModule rec { 12 pname = "tflint"; 13 + version = "0.45.0"; 14 15 src = fetchFromGitHub { 16 owner = "terraform-linters"; 17 repo = pname; 18 rev = "v${version}"; 19 + sha256 = "sha256-tsnW6KoLHEWd/uDZrK2cnVZ2IWftoxZ5zGdYhRdUp9Q="; 20 }; 21 22 + vendorSha256 = "sha256-crGs7j9hAnGCCFjhigIJVpTM0rr9WgvBq3/ZGt6hwqQ="; 23 24 doCheck = false; 25
+5 -5
pkgs/development/tools/bpf-linker/default.nix
··· 2 , stdenv 3 , rustPlatform 4 , fetchFromGitHub 5 - , llvmPackages_14 6 , zlib 7 , ncurses 8 , libxml2 ··· 10 11 rustPlatform.buildRustPackage rec { 12 pname = "bpf-linker"; 13 - version = "0.9.4"; 14 15 src = fetchFromGitHub { 16 owner = "aya-rs"; 17 repo = pname; 18 rev = "v${version}"; 19 - hash = "sha256-jYuBk78aGQLUeNF6d6kjGPuMxEF22XJquHcs23WVGm0="; 20 }; 21 22 - cargoHash = "sha256-X8EVpOxDHwE/wj/gly/wdZ6tsrMrz3kkDe9gEPbk6iw="; 23 24 buildNoDefaultFeatures = true; 25 buildFeatures = [ "system-llvm" ]; 26 27 - nativeBuildInputs = [ llvmPackages_14.llvm ]; 28 buildInputs = [ zlib ncurses libxml2 ]; 29 30 # fails with: couldn't find crate `core` with expected target triple bpfel-unknown-none
··· 2 , stdenv 3 , rustPlatform 4 , fetchFromGitHub 5 + , llvmPackages_15 6 , zlib 7 , ncurses 8 , libxml2 ··· 10 11 rustPlatform.buildRustPackage rec { 12 pname = "bpf-linker"; 13 + version = "0.9.5"; 14 15 src = fetchFromGitHub { 16 owner = "aya-rs"; 17 repo = pname; 18 rev = "v${version}"; 19 + hash = "sha256-LEZ2to1bzJ/H/XYytuh/7NT7+04aI8chpKIFxxVzM+4="; 20 }; 21 22 + cargoHash = "sha256-s8cW7lXtvgemuQueTtAywewnDVJ/WDcz8SBqsC/tO80="; 23 24 buildNoDefaultFeatures = true; 25 buildFeatures = [ "system-llvm" ]; 26 27 + nativeBuildInputs = [ llvmPackages_15.llvm ]; 28 buildInputs = [ zlib ncurses libxml2 ]; 29 30 # fails with: couldn't find crate `core` with expected target triple bpfel-unknown-none
+3 -3
pkgs/development/tools/coder/default.nix
··· 5 }: 6 buildGoModule rec { 7 pname = "coder"; 8 - version = "0.16.0"; 9 10 src = fetchFromGitHub { 11 owner = pname; 12 repo = pname; 13 rev = "v${version}"; 14 - hash = "sha256-3rGpyJzGkZYUEvKKDzj2I5sqrUImmmX7cXWM9UClPLY="; 15 }; 16 17 # integration tests require network access 18 doCheck = false; 19 20 - vendorHash = "sha256-bb9jBno7elO6qKGjacpX3rxgrpJpGpTxMQtdBYjBzMk="; 21 22 nativeBuildInputs = [ installShellFiles ]; 23
··· 5 }: 6 buildGoModule rec { 7 pname = "coder"; 8 + version = "0.17.1"; 9 10 src = fetchFromGitHub { 11 owner = pname; 12 repo = pname; 13 rev = "v${version}"; 14 + hash = "sha256-FHBaefwSGZXwn1jdU7zK8WhwjarknvyeUJTlhmk/hPM="; 15 }; 16 17 # integration tests require network access 18 doCheck = false; 19 20 + vendorHash = "sha256-+AvmJkZCFovE2+5Lg98tUvA7f2kBHUMzhl5IyrEGuy8="; 21 22 nativeBuildInputs = [ installShellFiles ]; 23
+3 -3
pkgs/development/tools/continuous-integration/fly/default.nix
··· 2 3 buildGoModule rec { 4 pname = "fly"; 5 - version = "7.9.0"; 6 7 src = fetchFromGitHub { 8 owner = "concourse"; 9 repo = "concourse"; 10 rev = "v${version}"; 11 - sha256 = "sha256-YatN0VG3oEUK+vzJzthRnX+EkvUgKq2uIunAoPMoRag="; 12 }; 13 14 - vendorSha256 = "sha256-nX0r/7V+rgJb3/9O91QskYzBpWXIca7m3Do1QtGuHgg="; 15 16 subPackages = [ "fly" ]; 17
··· 2 3 buildGoModule rec { 4 pname = "fly"; 5 + version = "7.9.1"; 6 7 src = fetchFromGitHub { 8 owner = "concourse"; 9 repo = "concourse"; 10 rev = "v${version}"; 11 + sha256 = "sha256-ySyarky92+VSo/KzQFrWeh35KDMTQDV34F5iFrARHJs="; 12 }; 13 14 + vendorHash = "sha256-Oy1wP82ZhdpGHs/gpfdveOK/jI9yuo0D3JtxjLg+W/w="; 15 16 subPackages = [ "fly" ]; 17
+3 -3
pkgs/development/tools/gci/default.nix
··· 5 }: 6 buildGoModule rec { 7 pname = "gci"; 8 - version = "0.9.0"; 9 10 src = fetchFromGitHub { 11 owner = "daixiang0"; 12 repo = pname; 13 rev = "v${version}"; 14 - sha256 = "sha256-qWEEcIbTgYmGVnnTW+hM8e8nw5VLWN1TwzdUIZrxF3s="; 15 }; 16 17 - vendorSha256 = "sha256-dlt+i/pEP3RzW4JwndKTU7my2Nn7/2rLFlk8n1sFR60="; 18 19 meta = with lib; { 20 description = "Controls golang package import order and makes it always deterministic";
··· 5 }: 6 buildGoModule rec { 7 pname = "gci"; 8 + version = "0.9.1"; 9 10 src = fetchFromGitHub { 11 owner = "daixiang0"; 12 repo = pname; 13 rev = "v${version}"; 14 + sha256 = "sha256-VbN4lRK+6stOApMEdtX32JhKGkCSrafMJbizpWmHRXA="; 15 }; 16 17 + vendorHash = "sha256-dlt+i/pEP3RzW4JwndKTU7my2Nn7/2rLFlk8n1sFR60="; 18 19 meta = with lib; { 20 description = "Controls golang package import order and makes it always deterministic";
+3 -3
pkgs/development/tools/kustomize/kustomize-sops.nix
··· 2 3 buildGoModule rec { 4 pname = "kustomize-sops"; 5 - version = "4.0.0"; 6 7 src = fetchFromGitHub { 8 owner = "viaduct-ai"; 9 repo = pname; 10 rev = "v${version}"; 11 - sha256 = "sha256-8CZcPZLainc7iRZ5Ul27QxW3oK7sikCjzCBEkfCeNUc="; 12 }; 13 14 - vendorHash = "sha256-GBjMN6pyB+48e5LNqLBbh6a5fC9P0T53CZUPGNcbBDc="; 15 16 installPhase = '' 17 mkdir -p $out/lib/viaduct.ai/v1/ksops-exec/
··· 2 3 buildGoModule rec { 4 pname = "kustomize-sops"; 5 + version = "4.1.0"; 6 7 src = fetchFromGitHub { 8 owner = "viaduct-ai"; 9 repo = pname; 10 rev = "v${version}"; 11 + sha256 = "sha256-piCsae2B+FC+wi/vCCtPY76O4eMXJeNufFo31QkHCAU="; 12 }; 13 14 + vendorHash = "sha256-vTP2wM7MqiSfP+3Gd0Ab5t0al5xL8rw3kl7bOT19zU4="; 15 16 installPhase = '' 17 mkdir -p $out/lib/viaduct.ai/v1/ksops-exec/
+3 -3
pkgs/development/tools/misc/circleci-cli/default.nix
··· 2 3 buildGoModule rec { 4 pname = "circleci-cli"; 5 - version = "0.1.23334"; 6 7 src = fetchFromGitHub { 8 owner = "CircleCI-Public"; 9 repo = pname; 10 rev = "v${version}"; 11 - sha256 = "sha256-1+PcjameB9/1MoyM0RAxrhuE649INyLlhgxA5xJQ9Pw="; 12 }; 13 14 - vendorHash = "sha256-E24b8PUA1Hy+OepQe2n6TecCMKKicdr5KUdiJ663Td0="; 15 16 nativeBuildInputs = [ installShellFiles ]; 17
··· 2 3 buildGoModule rec { 4 pname = "circleci-cli"; 5 + version = "0.1.23391"; 6 7 src = fetchFromGitHub { 8 owner = "CircleCI-Public"; 9 repo = pname; 10 rev = "v${version}"; 11 + sha256 = "sha256-mTqrckoYbxtlwonXp6mtbXSpmVB3WfSXaOkyycBVjx0="; 12 }; 13 14 + vendorHash = "sha256-7k5jmXvNtxezialavNz8NM7esl2vpXcjRW2n/9GAycs="; 15 16 nativeBuildInputs = [ installShellFiles ]; 17
+2 -2
pkgs/development/tools/misc/saleae-logic-2/default.nix
··· 1 { lib, fetchurl, makeDesktopItem, appimageTools }: 2 let 3 name = "saleae-logic-2"; 4 - version = "2.4.3"; 5 src = fetchurl { 6 url = "https://downloads.saleae.com/logic2/Logic-${version}-master.AppImage"; 7 - hash = "sha256-xF87Q1K25/9pUYt660RY2RCIC6u2m2ArBQb2nWhiKvw="; 8 }; 9 desktopItem = makeDesktopItem { 10 inherit name;
··· 1 { lib, fetchurl, makeDesktopItem, appimageTools }: 2 let 3 name = "saleae-logic-2"; 4 + version = "2.4.6"; 5 src = fetchurl { 6 url = "https://downloads.saleae.com/logic2/Logic-${version}-master.AppImage"; 7 + hash = "sha256-FYLjg4lzr8M22r4yoKfMIAx2HKGi2fcD28AaV1ChkLk="; 8 }; 9 desktopItem = makeDesktopItem { 10 inherit name;
+2 -8
pkgs/development/tools/picotool/default.nix
··· 2 3 stdenv.mkDerivation rec { 4 pname = "picotool"; 5 - version = "1.1.0"; 6 7 src = fetchFromGitHub { 8 owner = "raspberrypi"; 9 repo = pname; 10 rev = version; 11 - sha256 = "sha256-YjDHoRcDoezyli42bJ0bnfjdNNY8l6ZilrxhOudqvwE="; 12 }; 13 14 buildInputs = [ libusb1 pico-sdk ]; 15 nativeBuildInputs = [ cmake pkg-config ]; 16 cmakeFlags = [ "-DPICO_SDK_PATH=${pico-sdk}/lib/pico-sdk" ]; 17 - 18 - installPhase = '' 19 - runHook preInstall 20 - install -Dm755 ./picotool -t $out/bin 21 - runHook postInstall 22 - ''; 23 24 meta = with lib; { 25 homepage = "https://github.com/raspberrypi/picotool";
··· 2 3 stdenv.mkDerivation rec { 4 pname = "picotool"; 5 + version = "1.1.1"; 6 7 src = fetchFromGitHub { 8 owner = "raspberrypi"; 9 repo = pname; 10 rev = version; 11 + sha256 = "sha256-KP5Cq6pYKQI5dV6S4lLapu9EcwAgLgYpK0qreNDZink="; 12 }; 13 14 buildInputs = [ libusb1 pico-sdk ]; 15 nativeBuildInputs = [ cmake pkg-config ]; 16 cmakeFlags = [ "-DPICO_SDK_PATH=${pico-sdk}/lib/pico-sdk" ]; 17 18 meta = with lib; { 19 homepage = "https://github.com/raspberrypi/picotool";
+38 -25
pkgs/os-specific/darwin/xcode/default.nix
··· 41 in app.overrideAttrs ( oldAttrs: oldAttrs // { inherit meta; }); 42 43 in lib.makeExtensible (self: { 44 - xcode_8_1 = requireXcode "8.1" "18xjvfipwzia66gm3r9p770xdd4r375vak7chw5vgqnv9yyjiq2n"; 45 - xcode_8_2 = requireXcode "8.2" "13nd1zsfqcp9hwp15hndr0rsbb8rgprrz7zr2ablj4697qca06m2"; 46 - xcode_9_1 = requireXcode "9.1" "0ab1403wy84ys3yn26fj78cazhpnslmh3nzzp1wxib3mr1afjvic"; 47 - xcode_9_2 = requireXcode "9.2" "1bgfgdp266cbbqf2axcflz92frzvhi0qw0jdkcw6r85kdpc8dj4c"; 48 - xcode_9_3 = requireXcode "9.3" "12m9kb4759s2ky42b1vf7y38qqxn2j99s99adzc6ljnmy26ii12w"; 49 - xcode_9_4 = requireXcode "9.4" "00az1cf9pm8zmvzs6yq04prdmxp8xi3ymxw94jjh4mh7hlbkhcb7"; 50 - xcode_9_4_1 = requireXcode "9.4.1" "0y9kphj86c14jl6aibv57sd7ln0w06vdhzm8ysp0s98rfgyq2lbw"; 51 - xcode_10_1 = requireXcode "10.1" "1ssdbg4v8r11fjf4jl38pwyry2aia1qihbxyxapz0v0n5gfnp05v"; 52 - xcode_10_2 = requireXcode "10.2" "1xzybl1gvb3q5qwlwchanzpws4sb70i3plf0vrzvlfdp2hsb3pg7"; 53 - xcode_10_2_1 = requireXcode "10.2.1" "11sdb54nr0x7kp987qq839x6k5gdx7vqdxjiy5xm5279n1n47bmg"; 54 - xcode_10_3 = requireXcode "10.3" "1i628vfn6zad81fsz3zpc6z15chhskvyp8qnajp2wnpzvrwl6ngb"; 55 - xcode_11 = requireXcode "11" "1r03j3kkp4blfp2kqpn538w3dx57ms930fj8apjkq6dk7fv3jcqh"; 56 - xcode_11_1 = requireXcode "11.1" "1c2gzc4jhhx5a7ncg19sh1r99izhipybaqxl1ll52x5y8689awc1"; 57 - xcode_11_2 = requireXcode "11.2" "1lm3q8zpvm184246h5j9mw4c1y9kk9sxnr3j98kfm0312n0l98gj"; 58 - xcode_11_3 = requireXcode "11.3" "04rv6xlywy8xqfx9ma8ygsdw4yhckk2mq0qnklxnfly899iw4wza"; 59 - xcode_11_3_1 = requireXcode "11.3.1" "1p6nicj91kr6ad3rmycahd1i7z4hj7ccjs93ixsiximjzaahx3q4"; 60 - xcode_11_4 = requireXcode "11.4" "065rpb3rdk19nv3rwyf9bk32ccbd0lld12gj12l89cyg65mhpyy7"; 61 - xcode_11_5 = requireXcode "11.5" "1dizazq9nz1vjkc5gy7dd4x760mkfjiifk1hf6d9mscchdq8rfkw"; 62 - xcode_11_6 = requireXcode "11.6" "1y4fhw1kiphzxdb4wpv697z5r0algvaldwq5iqv266797rnfql4x"; 63 - xcode_11_7 = requireXcode "11.7" "0422rdc4j5qwyk59anbybxyfv0p26x0xryszm0wd8i44g66smlmj"; 64 - xcode_12 = requireXcode "12" "1w3xm268pyn5m04wv22invd5kr2k4jqllgrzapv6n1sxxynxrh8z"; 65 - xcode_12_0_1 = requireXcode "12.0.1" "1p6vd5ai0hh3cq6aflh4h21ar0shxnz8wlkaxwq7liwsdmkwzbl0"; 66 - xcode_12_1 = requireXcode "12.1" "1widy74dk43wx8iqgd7arzf6q4kzdmaz8pfwymzs8chnq9dqr3wp"; 67 - xcode_12_2 = requireXcode "12.2" "17i0wf4pwrxwfgjw7rpw9mcd59nkmys1k5h2rqsw81snzyxy9j0v"; 68 - xcode_12_3 = requireXcode "12.3" "0kwf1y4llysf1p0nsbqyzccn7d77my0ldagr5fi3by4k0xy3d189"; 69 xcode = self."xcode_${lib.replaceStrings ["."] ["_"] (if (stdenv.targetPlatform ? xcodeVer) then stdenv.targetPlatform.xcodeVer else "12.3")}"; 70 }) 71
··· 41 in app.overrideAttrs ( oldAttrs: oldAttrs // { inherit meta; }); 42 43 in lib.makeExtensible (self: { 44 + xcode_8_1 = requireXcode "8.1" "sha256-VuAovU/b4rcLh+xMtcsZmbTWwTk35VGfMSp+fqPbsqM="; 45 + xcode_8_2 = requireXcode "8.2" "sha256-ohqgGD7JEEmXEvmfn/N9Ga2lM8jNwhIuh+ky7PQPzY4="; 46 + xcode_9_1 = requireXcode "9.1" "sha256-LG7pVMh1rNh5uP/bASvV9sKvGDrSGWH90J4gzwcgYSk="; 47 + xcode_9_2 = requireXcode "9.2" "sha256-jMiG2G2zoGw4m00CjkGE+2cn0qeOdSUcXosZI2577q0="; 48 + xcode_9_3 = requireXcode "9.3" "sha256-XIQYjfDVSmrYbyolnZIUtmOMhj9uhyWIn0KncsiaqYo="; 49 + xcode_9_4 = requireXcode "9.4" "sha256-ZzE4F4UHVgKlJIn36kfs6Pba8iUAe6P/rh/VmxwLXwE="; 50 + xcode_9_4_1 = requireXcode "9.4.1" "sha256-fFGB/XMZJQ2u9qh+2LYBHFh6mj5lr6gMlSQwgyS8M3k="; 51 + xcode_10_1 = requireXcode "10.1" "sha256-u4Br3SsWbPCv6r4vGHFQUQmfPb9oUEmcdCFktMlbTes="; 52 + xcode_10_2 = requireXcode "10.2" "sha256-592xNBS3Obp/3sDROyI4SxPN77cKMk45Lnis/QJd/vc="; 53 + xcode_10_2_1 = requireXcode "10.2.1" "sha256-r65DbLDpiFJ78VH2hvfp7ZVpehoI44PSnaeDbElZTYc="; 54 + xcode_10_3 = requireXcode "10.3" "sha256-61lDed7/Wi6uVBaj6/fUELISvmH3j69dQE19Y91GwsQ="; 55 + xcode_11 = requireXcode "11" "sha256-EDM5tjuzGTzlVUg6MJKup/Q2OBrFXjzFdXSRO+eQA+Q="; 56 + xcode_11_1 = requireXcode "11.1" "sha256-gXGVkEG+dFEoDbRjtfyN8MeUcoA6hcfsUaVDKAn7T7A="; 57 + xcode_11_2 = requireXcode "11.2" "sha256-8qFEgRVhgOomSnJk23WaM/nACK9JFmiIICjUfT/Co9I="; 58 + xcode_11_3 = requireXcode "11.3" "sha256-6nPCY0rIU2c7nRYDXMWcDHrCm34eqZq6wx157mk3OxM="; 59 + xcode_11_3_1 = requireXcode "11.3.1" "sha256-BI8Olfqyxh51jyNpydiRkPwTQ4OK+ZpHUybPkCSL1tw="; 60 + xcode_11_4 = requireXcode "11.4" "sha256-x/sLazHPs4SoCPKJ0CgFbTEmxlzJeZ7HtinMlse6uRg="; 61 + xcode_11_5 = requireXcode "11.5" "sha256-fLqMcIOM6ZqacTBMF6N0swJzOmnt+FfYlDt8m/BXP7Y="; 62 + xcode_11_6 = requireXcode "11.6" "sha256-nVDsbD7pGCM2jgXzRtV+VIFc/klmX05W6x/eOAOHjvg="; 63 + xcode_11_7 = requireXcode "11.7" "sha256-stKqjXmERNQ4qF/73EE34oLtfF9+WZXK9BwXSVjLQhA="; 64 + xcode_12 = requireXcode "12" "sha256-H8Hcre9dB2v2VT8/SrEkU+RZ2rZRiM0JqMX6i4yoffA="; 65 + xcode_12_0_1 = requireXcode "12.0.1" "sha256-gK7PZ22aR3ow72pSjr7tUIOsgoAEUqcMZgNCEFVp29w="; 66 + xcode_12_1 = requireXcode "12.1" "sha256-l4+MW8IWMqR/9dxd9FVtfxJs3M/qtIcj6nyQ2cjxLfI="; 67 + xcode_12_2 = requireXcode "12.2" "sha256-G8jku/9WB8Q1zgKWGbSv06bSWE385sPlc7xnfonjIJ4="; 68 + xcode_12_3 = requireXcode "12.3" "sha256-CYU2fAeT+DWiK/mpRoGv57RjGfseL23BDU57SokPjk8="; 69 + xcode_12_4 = requireXcode "12.4" "sha256-Qw4j+XFry85/AviHQVhjjjKLAfmRNNwMGN5G8FheJwQ="; 70 + xcode_12_5 = requireXcode "12.5" "sha256-xiGffnV0P9Ojd6IrJSXILUX4oznPif7zm00WAksn3qU="; 71 + xcode_12_5_1 = requireXcode "12.5.1" "sha256-zL0kS86ZzBkIrKLPKvWguDvXj9Tqbr7uR/VZaT/uZ9A="; 72 + xcode_13 = requireXcode "13" "sha256-uTY6d5DBu4OOQLkxs3ExDfLXh50rE2LLlqtCbk3Qn6E="; 73 + xcode_13_1 = requireXcode "13.1" "sha256-vd+4eFVaAyvXsdaExcfbDZSXOwkpt+rEbkBYSMjdUEA="; 74 + xcode_13_2 = requireXcode "13.2" "sha256-guJXm/QnMfvUZwAcJwoy0QeO+DpDcUhs8AxVKvm9tYQ="; 75 + xcode_13_2_1 = requireXcode "13.2.1" "sha256-r832Uu+Q8utK4zN0CtwiMCvMYT5HstWInyq4cNIaZJM="; 76 + xcode_13_3 = requireXcode "13.3" "sha256-p2zaWMpmUeNHQtYOOaVdhCt3cgapvzL3l73/J+UwzCE="; 77 + xcode_13_3_1 = requireXcode "13.3.1" "sha256-j71vpJVJpyj/IOlL+4+5lYgOlhf/zn+7ExIHbxL51cQ="; 78 + xcode_13_4 = requireXcode "13.4" "sha256-IY1coss90GlBeJg/HQPMU8v2rOOxsqlY5q+2Qxe8nnY="; 79 + xcode_13_4_1 = requireXcode "13.4.1" "sha256-Jk8fLgvnODoIhuVJqfV0KrpBBL40fRrHJbFmm44NRKE="; 80 + xcode_14 = requireXcode "14" "sha256-E+wjPgQx/lbYAsauksdmGsygL5VPBA8R9pHB93eA7T0="; 81 + xcode_14_1 = requireXcode "14.1" "sha256-QJGAUVIhuDYyzDNttBPv5lIGOfvkYqdOFSUAr5tlkfs="; 82 xcode = self."xcode_${lib.replaceStrings ["."] ["_"] (if (stdenv.targetPlatform ? xcodeVer) then stdenv.targetPlatform.xcodeVer else "12.3")}"; 83 }) 84
+2 -16
pkgs/os-specific/linux/dracut/default.nix
··· 10 , bash 11 , kmod 12 , binutils 13 - , busybox 14 , bzip2 15 , coreutils 16 , cpio 17 , findutils 18 - , glibc 19 , gnugrep 20 , gnused 21 , gnutar 22 , gzip 23 - , kbd 24 - , lvm2 25 , lz4 26 , lzop 27 - , procps 28 - , rng-tools 29 , squashfsTools 30 - , systemd 31 , util-linux 32 , xz 33 , zstd ··· 76 wrapProgram $out/bin/dracut --prefix PATH : ${lib.makeBinPath [ 77 coreutils 78 util-linux 79 - ]} --prefix DRACUT_PATH : ${lib.makeBinPath [ 80 bash 81 binutils 82 coreutils 83 findutils 84 - glibc 85 gnugrep 86 gnused 87 gnutar 88 - kbd 89 - lvm2 90 - procps 91 - rng-tools 92 - squashfsTools 93 - systemd 94 util-linux 95 - busybox 96 ]} 97 wrapProgram $out/bin/dracut-catimages --set PATH ${lib.makeBinPath [ 98 coreutils
··· 10 , bash 11 , kmod 12 , binutils 13 , bzip2 14 , coreutils 15 , cpio 16 , findutils 17 , gnugrep 18 , gnused 19 , gnutar 20 , gzip 21 , lz4 22 , lzop 23 , squashfsTools 24 , util-linux 25 , xz 26 , zstd ··· 69 wrapProgram $out/bin/dracut --prefix PATH : ${lib.makeBinPath [ 70 coreutils 71 util-linux 72 + ]} --suffix DRACUT_PATH : ${lib.makeBinPath [ 73 bash 74 binutils 75 coreutils 76 findutils 77 gnugrep 78 gnused 79 gnutar 80 + stdenv.cc.libc # for ldd command 81 util-linux 82 ]} 83 wrapProgram $out/bin/dracut-catimages --set PATH ${lib.makeBinPath [ 84 coreutils
+8 -9
pkgs/servers/gemini/molly-brown/default.nix
··· 1 - { lib, buildGoPackage, fetchgit, nixosTests }: 2 3 - buildGoPackage rec { 4 pname = "molly-brown"; 5 - version = "unstable-2020-08-19"; 6 - rev = "48f9a206c03c0470e1c132b9667c6daa3583dada"; 7 - 8 - goPackagePath = "tildegit.org/solderpunk/molly-brown"; 9 10 src = fetchgit { 11 - inherit rev; 12 url = "https://tildegit.org/solderpunk/molly-brown.git"; 13 - sha256 = "1w79a25mbgav95p78fkdm9j62chwwpkqv0m2wmh5my03yq398gya"; 14 }; 15 16 - goDeps = ./deps.nix; 17 18 passthru.tests.basic = nixosTests.molly-brown; 19
··· 1 + { lib, buildGoModule, fetchgit, nixosTests }: 2 3 + buildGoModule rec { 4 pname = "molly-brown"; 5 + version = "unstable-2023-02-10"; 6 7 src = fetchgit { 8 url = "https://tildegit.org/solderpunk/molly-brown.git"; 9 + rev = "56d8dde14abc90b784b7844602f12100af9756e0"; 10 + hash = "sha256-kfopRyCrDaiVjKYseyWacIT9MJ8PzB8LAs6YMgYqCrs="; 11 }; 12 13 + vendorHash = "sha256-czfHnXS9tf5vQQNXhWH7DStmhsorSc4Di/yZuv4LHRk="; 14 + 15 + ldflags = [ "-s" "-w" ]; 16 17 passthru.tests.basic = nixosTests.molly-brown; 18
-12
pkgs/servers/gemini/molly-brown/deps.nix
··· 1 - # This file was generated by https://github.com/kamilchm/go2nix v1.3.0 2 - [ 3 - { 4 - goPackagePath = "github.com/BurntSushi/toml"; 5 - fetch = { 6 - type = "git"; 7 - url = "https://github.com/BurntSushi/toml"; 8 - rev = "3012a1dbe2e4bd1391d42b32f0577cb7bbc7f005"; 9 - sha256 = "1fjdwwfzyzllgiwydknf1pwjvy49qxfsczqx5gz3y0izs7as99j6"; 10 - }; 11 - } 12 - ]
···
+2 -2
pkgs/servers/http/nginx/modules.nix
··· 351 name = "njs"; 352 src = fetchhg { 353 url = "https://hg.nginx.org/njs"; 354 - rev = "0.7.8"; 355 - sha256 = "sha256-jsR8EOeW8tAo2utKznuUaCG4hK0oU0ZJSnnGmI5HUDk="; 356 name = "nginx-njs"; 357 }; 358
··· 351 name = "njs"; 352 src = fetchhg { 353 url = "https://hg.nginx.org/njs"; 354 + rev = "0.7.10"; 355 + sha256 = "sha256-/yKzY+BUFxLk8bWo+mqKfRVRsC2moe+WvhaRYIGdr6Y="; 356 name = "nginx-njs"; 357 }; 358
+2 -2
pkgs/servers/pounce/default.nix
··· 2 3 stdenv.mkDerivation rec { 4 pname = "pounce"; 5 - version = "3.0"; 6 7 src = fetchzip { 8 url = "https://git.causal.agency/pounce/snapshot/pounce-${version}.tar.gz"; 9 - sha256 = "17vmbfr7ika6kmq9jqa3rpd4cr71arapav7hlmggnj7a9yw5b9mg"; 10 }; 11 12 buildInputs = [ libressl libxcrypt ];
··· 2 3 stdenv.mkDerivation rec { 4 pname = "pounce"; 5 + version = "3.1"; 6 7 src = fetchzip { 8 url = "https://git.causal.agency/pounce/snapshot/pounce-${version}.tar.gz"; 9 + sha256 = "sha256-6PGiaU5sOwqO4V2PKJgIi3kI2jXsBOldEH51D7Sx9tg="; 10 }; 11 12 buildInputs = [ libressl libxcrypt ];
+3 -3
pkgs/tools/admin/eksctl/default.nix
··· 2 3 buildGoModule rec { 4 pname = "eksctl"; 5 - version = "0.128.0"; 6 7 src = fetchFromGitHub { 8 owner = "weaveworks"; 9 repo = pname; 10 rev = version; 11 - sha256 = "sha256-CKtDj9Ht81i8EcpjHqluWfwkEU15a/TZd6N+jCSzIc8="; 12 }; 13 14 - vendorHash = "sha256-aSXj21JNqX/cc62oFqyedmvczmudcV7RhLyWrKsdOMQ="; 15 16 doCheck = false; 17
··· 2 3 buildGoModule rec { 4 pname = "eksctl"; 5 + version = "0.129.0"; 6 7 src = fetchFromGitHub { 8 owner = "weaveworks"; 9 repo = pname; 10 rev = version; 11 + sha256 = "sha256-p9haEozDc1ZTGar89Clm7eEFFLJCYcw+gBN40Zg5vi8="; 12 }; 13 14 + vendorHash = "sha256-Vb0sgOOIQI0rTJDITFoMbXJcnN7BondbFTm3AF1JTLo="; 15 16 doCheck = false; 17
+3 -3
pkgs/tools/admin/trivy/default.nix
··· 5 6 buildGoModule rec { 7 pname = "trivy"; 8 - version = "0.37.1"; 9 10 src = fetchFromGitHub { 11 owner = "aquasecurity"; 12 repo = pname; 13 rev = "v${version}"; 14 - sha256 = "sha256-4kjsNaiXnmJk88ivVnpTemOOc/asKrcZLGpO8gtV0J8="; 15 }; 16 # hash missmatch on across linux and darwin 17 proxyVendor = true; 18 - vendorSha256 = "sha256-qI29Qb8im9Xii83ayG1jZtZsrsAT0JQOcuKOM7VYro0="; 19 20 excludedPackages = "misc"; 21
··· 5 6 buildGoModule rec { 7 pname = "trivy"; 8 + version = "0.37.2"; 9 10 src = fetchFromGitHub { 11 owner = "aquasecurity"; 12 repo = pname; 13 rev = "v${version}"; 14 + sha256 = "sha256-k5S0ttOhI+vjiGJpIPVi9ro6n3f2Cxe7HiADvs14Zuo="; 15 }; 16 # hash missmatch on across linux and darwin 17 proxyVendor = true; 18 + vendorSha256 = "sha256-EJw5DxiBF+gw5X+vqrnZsNCm2umOHEq6GeQ5V/Z0DrE="; 19 20 excludedPackages = "misc"; 21
+2
pkgs/tools/cd-dvd/vobsub2srt/default.nix
··· 11 sha256 = "sha256-i6V2Owb8GcTcWowgb/BmdupOSFsYiCF2SbC9hXa26uY="; 12 }; 13 14 nativeBuildInputs = [ cmake pkg-config ]; 15 buildInputs = [ libtiff ]; 16 propagatedBuildInputs = [ tesseract ];
··· 11 sha256 = "sha256-i6V2Owb8GcTcWowgb/BmdupOSFsYiCF2SbC9hXa26uY="; 12 }; 13 14 + NIX_CFLAGS_COMPILE = lib.optionals stdenv.cc.isGNU [ "-std=c++11" ]; 15 + 16 nativeBuildInputs = [ cmake pkg-config ]; 17 buildInputs = [ libtiff ]; 18 propagatedBuildInputs = [ tesseract ];
+3 -3
pkgs/tools/filesystems/httm/default.nix
··· 6 7 rustPlatform.buildRustPackage rec { 8 pname = "httm"; 9 - version = "0.20.5"; 10 11 src = fetchFromGitHub { 12 owner = "kimono-koans"; 13 repo = pname; 14 rev = version; 15 - sha256 = "sha256-8SizRNjA+lvp8ZD14SoRcymhYmJXlwoeZQjrekIbdL4="; 16 }; 17 18 - cargoHash = "sha256-tXV1G0qWN0jLOKlnZfHHlOZw+wUItLzQtSg4o2f96u0="; 19 20 nativeBuildInputs = [ installShellFiles ]; 21
··· 6 7 rustPlatform.buildRustPackage rec { 8 pname = "httm"; 9 + version = "0.21.1"; 10 11 src = fetchFromGitHub { 12 owner = "kimono-koans"; 13 repo = pname; 14 rev = version; 15 + sha256 = "sha256-uSCFm6aWNPFPcja+KB6TU7iVVYkDdD82pFjA9dOpSs8="; 16 }; 17 18 + cargoHash = "sha256-uxtZ+aUUhfWGCLysOcWi5En1eRui8Ja+nyD3S2WEWQM="; 19 20 nativeBuildInputs = [ installShellFiles ]; 21
-47
pkgs/tools/graphics/jbig2enc/53ce5fe7e73d7ed95c9e12b52dd4984723f865fa.patch
··· 1 - From 53ce5fe7e73d7ed95c9e12b52dd4984723f865fa Mon Sep 17 00:00:00 2001 2 - From: =?UTF-8?q?Zdenko=20Podobn=C3=BD?= <zdenop@gmail.com> 3 - Date: Sun, 6 Apr 2014 21:25:27 +0200 4 - Subject: [PATCH] fix build with leptonica 1.70 5 - 6 - --- 7 - configure.ac | 1 + 8 - src/jbig2.cc | 13 +++++++++---- 9 - 2 files changed, 10 insertions(+), 4 deletions(-) 10 - 11 - diff --git a/configure.ac b/configure.ac 12 - index fe37c22..753a607 100644 13 - --- a/configure.ac 14 - +++ b/configure.ac 15 - @@ -55,6 +55,7 @@ AC_CHECK_LIB([lept], [findFileFormatStream], [], [ 16 - echo "Error! Leptonica not detected." 17 - exit -1 18 - ]) 19 - +AC_CHECK_FUNCS(expandBinaryPower2Low,,) 20 - # test for function - it should detect leptonica dependecies 21 - 22 - # Check for possible dependancies of leptonica. 23 - diff --git a/src/jbig2.cc b/src/jbig2.cc 24 - index e10f042..515c1ef 100644 25 - --- a/src/jbig2.cc 26 - +++ b/src/jbig2.cc 27 - @@ -130,11 +130,16 @@ segment_image(PIX *pixb, PIX *piximg) { 28 - // input color image, so we have to do it this way... 29 - // is there a better way? 30 - // PIX *pixd = pixExpandBinary(pixd4, 4); 31 - - PIX *pixd = pixCreate(piximg->w, piximg->h, 1); 32 - - pixCopyResolution(pixd, piximg); 33 - - if (verbose) pixInfo(pixd, "mask image: "); 34 - - expandBinaryPower2Low(pixd->data, pixd->w, pixd->h, pixd->wpl, 35 - + PIX *pixd; 36 - +#ifdef HAVE_EXPANDBINARYPOWER2LOW 37 - + pixd = pixCreate(piximg->w, piximg->h, 1); 38 - + pixCopyResolution(pixd, piximg); 39 - + expandBinaryPower2Low(pixd->data, pixd->w, pixd->h, pixd->wpl, 40 - pixd4->data, pixd4->w, pixd4->h, pixd4->wpl, 4); 41 - +#else 42 - + pixd = pixExpandBinaryPower2(pixd4, 4); 43 - +#endif 44 - + if (verbose) pixInfo(pixd, "mask image: "); 45 - 46 - pixDestroy(&pixd4); 47 - pixDestroy(&pixsf4);
···
-35
pkgs/tools/graphics/jbig2enc/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, leptonica, zlib, libwebp, giflib, libjpeg, libpng, libtiff }: 2 - 3 - stdenv.mkDerivation rec { 4 - pname = "jbig2enc"; 5 - version = "0.28"; 6 - 7 - src = fetchFromGitHub { 8 - owner = "agl"; 9 - repo = "jbig2enc"; 10 - rev = "${version}-dist"; 11 - hash = "sha256-Y3IVTjvO5tqn/O076y/llnTyenKpbx1WyT/JFZ/s0VY="; 12 - }; 13 - 14 - propagatedBuildInputs = [ leptonica zlib libwebp giflib libjpeg libpng libtiff ]; 15 - 16 - patches = [ 17 - # https://github.com/agl/jbig2enc/commit/53ce5fe7e73d7ed95c9e12b52dd4984723f865fa 18 - ./53ce5fe7e73d7ed95c9e12b52dd4984723f865fa.patch 19 - ]; 20 - 21 - # This is necessary, because the resulting library has 22 - # /tmp/nix-build-jbig2enc/src/.libs before /nix/store/jbig2enc/lib 23 - # in its rpath, which means that patchelf --shrink-rpath removes 24 - # the /nix/store one. By cleaning up before fixup, we ensure that 25 - # the /tmp/nix-build-jbig2enc/src/.libs directory is gone. 26 - preFixup = '' 27 - make clean 28 - ''; 29 - 30 - meta = { 31 - description = "Encoder for the JBIG2 image compression format"; 32 - license = lib.licenses.asl20; 33 - platforms = lib.platforms.all; 34 - }; 35 - }
···
+26
pkgs/tools/misc/boxxy/default.nix
···
··· 1 + { lib 2 + , rustPlatform 3 + , fetchFromGitHub 4 + }: 5 + 6 + rustPlatform.buildRustPackage rec { 7 + pname = "boxxy"; 8 + version = "0.2.7"; 9 + 10 + src = fetchFromGitHub { 11 + owner = "queer"; 12 + repo = "boxxy"; 13 + rev = "v${version}"; 14 + hash = "sha256-mvSarA0rZuOQvgf2NJXWIWoeZtvb+D/GofAHPKQDH6U="; 15 + }; 16 + 17 + cargoHash = "sha256-Psc9qErqi3aangNowXxhkEXphFCR7pp+DKTKtk6tMo0="; 18 + 19 + meta = with lib; { 20 + description = "Puts bad Linux applications in a box with only their files"; 21 + homepage = "https://github.com/queer/boxxy"; 22 + license = licenses.mit; 23 + maintainers = with maintainers; [ dit7ya ]; 24 + platforms = platforms.linux; 25 + }; 26 + }
+2 -2
pkgs/tools/misc/steampipe/default.nix
··· 2 3 buildGoModule rec { 4 pname = "steampipe"; 5 - version = "0.18.4"; 6 7 src = fetchFromGitHub { 8 owner = "turbot"; 9 repo = "steampipe"; 10 rev = "v${version}"; 11 - sha256 = "sha256-sCnKnBxZuueH8XgXPqCLrJvS4zUbraz3mZr/2Xn+7YU="; 12 }; 13 14 vendorHash = "sha256-W30f7QYgm+QyLDJICpjMn7mtUIziTR1igThEbv+Aa7M=";
··· 2 3 buildGoModule rec { 4 pname = "steampipe"; 5 + version = "0.18.5"; 6 7 src = fetchFromGitHub { 8 owner = "turbot"; 9 repo = "steampipe"; 10 rev = "v${version}"; 11 + sha256 = "sha256-Y/Nn2jAkz135HxRNpeotoPRvyexG9QgtvIcTdXsj034="; 12 }; 13 14 vendorHash = "sha256-W30f7QYgm+QyLDJICpjMn7mtUIziTR1igThEbv+Aa7M=";
+3 -3
pkgs/tools/networking/frp/default.nix
··· 2 3 buildGoModule rec { 4 pname = "frp"; 5 - version = "0.46.1"; 6 7 src = fetchFromGitHub { 8 owner = "fatedier"; 9 repo = pname; 10 rev = "v${version}"; 11 - sha256 = "sha256-/itziNmIDIuj3sKpB+SEiiwvJqdH5nmTkpFdMSY5L0g="; 12 }; 13 14 - vendorHash = "sha256-dU9rhYgYgP1qTPR3ykUgyg+B1bBVJwizWooyCpdpnm0="; 15 16 doCheck = false; 17
··· 2 3 buildGoModule rec { 4 pname = "frp"; 5 + version = "0.47.0"; 6 7 src = fetchFromGitHub { 8 owner = "fatedier"; 9 repo = pname; 10 rev = "v${version}"; 11 + sha256 = "sha256-S2qccDzS+Kj1tEAUR4a0G/4Eu3DAF7lY7ffxU6aykVU="; 12 }; 13 14 + vendorHash = "sha256-ffkXNE3LkgdCGfO6K9lGxEMxT/9Q1o0m3BMtu6tDHdk="; 15 16 doCheck = false; 17
+31
pkgs/tools/networking/grpc_cli/default.nix
···
··· 1 + { lib, stdenv, fetchFromGitHub, automake, cmake, autoconf, curl, numactl }: 2 + 3 + stdenv.mkDerivation rec { 4 + pname = "grpc_cli"; 5 + version = "1.46.6"; 6 + src = fetchFromGitHub { 7 + owner = "grpc"; 8 + repo = "grpc"; 9 + rev = "v${version}"; 10 + hash = "sha256-UPenQh6+FBryQiOoeijsXkCZjlMzYljkg2aUtSFJFL4="; 11 + fetchSubmodules = true; 12 + }; 13 + nativeBuildInputs = [ automake cmake autoconf ]; 14 + buildInputs = [ curl numactl ]; 15 + cmakeFlags = [ "-DgRPC_BUILD_TESTS=ON" ]; 16 + makeFlags = [ "grpc_cli" ]; 17 + installPhase = '' 18 + runHook preInstall 19 + 20 + install -Dm555 grpc_cli "$out/bin/grpc_cli" 21 + 22 + runHook postInstall 23 + ''; 24 + meta = with lib; { 25 + description = "The command line tool for interacting with grpc services."; 26 + homepage = "https://github.com/grpc/grpc"; 27 + license = licenses.asl20; 28 + maintainers = with maintainers; [ doriath ]; 29 + platforms = [ "x86_64-linux" ]; 30 + }; 31 + }
+3 -3
pkgs/tools/networking/snowflake/default.nix
··· 2 3 buildGoModule rec { 4 pname = "snowflake"; 5 - version = "2.5.0"; 6 7 src = fetchFromGitLab { 8 domain = "gitlab.torproject.org"; ··· 10 owner = "anti-censorship/pluggable-transports"; 11 repo = "snowflake"; 12 rev = "v${version}"; 13 - sha256 = "sha256-7iwRbik3hUj6Zv3tqLKqhGUIag6OnWRhpWqW6NTI+FU="; 14 }; 15 16 - vendorHash = "sha256-wHLYVf8QurMbmdLNkTFGgmncOJlJHZF8PwYTUniXOGY="; 17 18 meta = with lib; { 19 description = "System to defeat internet censorship";
··· 2 3 buildGoModule rec { 4 pname = "snowflake"; 5 + version = "2.5.1"; 6 7 src = fetchFromGitLab { 8 domain = "gitlab.torproject.org"; ··· 10 owner = "anti-censorship/pluggable-transports"; 11 repo = "snowflake"; 12 rev = "v${version}"; 13 + sha256 = "sha256-r2NRIb6qbA1B5HlVNRqa9ongQpyiyPskhembPHX3Lgc="; 14 }; 15 16 + vendorHash = "sha256-dnfm4KiVD89bnHV7bfw5aXWHGdcH9JBdrtvuS6s8N5w="; 17 18 meta = with lib; { 19 description = "System to defeat internet censorship";
+3 -3
pkgs/tools/package-management/nfpm/default.nix
··· 2 3 buildGoModule rec { 4 pname = "nfpm"; 5 - version = "2.25.0"; 6 7 src = fetchFromGitHub { 8 owner = "goreleaser"; 9 repo = pname; 10 rev = "v${version}"; 11 - sha256 = "sha256-Mu0/mWkdrhaybI0iAB/MuD7UTbDDC73ZMxr8kU7R23I="; 12 }; 13 14 - vendorHash = "sha256-YDV816jTLAqbSjiKXvbkwPbPCLPplH+NFN1SCVjWcbk="; 15 16 ldflags = [ "-s" "-w" "-X main.version=${version}" ]; 17
··· 2 3 buildGoModule rec { 4 pname = "nfpm"; 5 + version = "2.25.1"; 6 7 src = fetchFromGitHub { 8 owner = "goreleaser"; 9 repo = pname; 10 rev = "v${version}"; 11 + sha256 = "sha256-J5vAvF22NKMvvaftfVugWYAP6uM6pcyKEPqRDf+J9A4="; 12 }; 13 14 + vendorHash = "sha256-GaESwr7rvDvjQ7zi/LbndiB2lQGmIELTx7wAJitj5kw="; 15 16 ldflags = [ "-s" "-w" "-X main.version=${version}" ]; 17
+2 -2
pkgs/tools/security/erosmb/default.nix
··· 5 6 python3.pkgs.buildPythonApplication rec { 7 pname = "erosmb"; 8 - version = "0.1.4"; 9 format = "pyproject"; 10 11 src = fetchFromGitHub { 12 owner = "viktor02"; 13 repo = "EroSmb"; 14 rev = "refs/tags/v${version}"; 15 - hash = "sha256-ThJwBKpxoTwHP84OlVKH62gQ3kfv83J8HNs5Mizi8Ck="; 16 }; 17 18 propagatedBuildInputs = with python3.pkgs; [
··· 5 6 python3.pkgs.buildPythonApplication rec { 7 pname = "erosmb"; 8 + version = "0.1.5"; 9 format = "pyproject"; 10 11 src = fetchFromGitHub { 12 owner = "viktor02"; 13 repo = "EroSmb"; 14 rev = "refs/tags/v${version}"; 15 + hash = "sha256-9Zs5Z+3JiBiJkV9Ixl5pPmLv0dUT59CT0UkQDsmneWc="; 16 }; 17 18 propagatedBuildInputs = with python3.pkgs; [
+2 -2
pkgs/tools/system/ddrescue/default.nix
··· 4 5 stdenv.mkDerivation rec { 6 pname = "ddrescue"; 7 - version = "1.26"; 8 9 src = fetchurl { 10 url = "mirror://gnu/ddrescue/ddrescue-${version}.tar.lz"; 11 - sha256 = "sha256-5RPNOpDZgQ392RGX1AqkD23wFZe/tez9+yBd4RJ8VR8="; 12 }; 13 14 nativeBuildInputs = [ lzip ];
··· 4 5 stdenv.mkDerivation rec { 6 pname = "ddrescue"; 7 + version = "1.27"; 8 9 src = fetchurl { 10 url = "mirror://gnu/ddrescue/ddrescue-${version}.tar.lz"; 11 + sha256 = "sha256-OMgMmMWkTxXlNmPkUQCX/WjW7CB1jv3zqSUDfBgyMus="; 12 }; 13 14 nativeBuildInputs = [ lzip ];
+12 -3
pkgs/tools/system/kanata/default.nix
··· 1 { fetchFromGitHub 2 , lib 3 , rustPlatform 4 , withCmd ? false ··· 6 7 rustPlatform.buildRustPackage rec { 8 pname = "kanata"; 9 - version = "1.1.0"; 10 11 src = fetchFromGitHub { 12 owner = "jtroo"; 13 repo = pname; 14 rev = "v${version}"; 15 - sha256 = "sha256-/v3P5C0F/FVPJqJ38dzSnAc7ua2fOs3BeX9BDoQ8bDw="; 16 }; 17 18 - cargoHash = "sha256-KXsW0fgbBy0tf/He0vH9Xq8yGuz77H/jeIabgw3ppy8="; 19 20 buildFeatures = lib.optional withCmd "cmd"; 21
··· 1 { fetchFromGitHub 2 + , fetchpatch 3 , lib 4 , rustPlatform 5 , withCmd ? false ··· 7 8 rustPlatform.buildRustPackage rec { 9 pname = "kanata"; 10 + version = "1.2.0"; 11 12 src = fetchFromGitHub { 13 owner = "jtroo"; 14 repo = pname; 15 rev = "v${version}"; 16 + sha256 = "sha256-mQSbsJ+3mKoDMg0ewwR7UvXUq+5WA9aTPKWCaTz8nDE="; 17 }; 18 19 + cargoHash = "sha256-Pu96OGfnXNaIse/IcwFJWxGMlKOVhZ6DtvgXJkHh+Ao="; 20 + 21 + cargoPatches = [ 22 + (fetchpatch { 23 + name = "serialize-cfg-parsing-tests-for-1.2.0.patch"; 24 + url = "https://github.com/jtroo/kanata/commit/9ef1e80fbcb40402262e08bd9196d000f73f686d.patch"; 25 + hash = "sha256-/FhyaYx4usDjGoVfRktf9dtwjY4oXdMQKqxLz00/NPY="; 26 + }) 27 + ]; 28 29 buildFeatures = lib.optional withCmd "cmd"; 30
+2 -2
pkgs/tools/text/dos2unix/default.nix
··· 2 3 stdenv.mkDerivation rec { 4 pname = "dos2unix"; 5 - version = "7.4.3"; 6 7 src = fetchurl { 8 url = "https://waterlan.home.xs4all.nl/dos2unix/${pname}-${version}.tar.gz"; 9 - sha256 = "sha256-to20GVba+TOChCOqMFEOAMEtKe9ZFucV6NTmlP5mynI="; 10 }; 11 12 nativeBuildInputs = [ perl gettext ];
··· 2 3 stdenv.mkDerivation rec { 4 pname = "dos2unix"; 5 + version = "7.4.4"; 6 7 src = fetchurl { 8 url = "https://waterlan.home.xs4all.nl/dos2unix/${pname}-${version}.tar.gz"; 9 + sha256 = "sha256-KKhB2wvVgn1kXKup2AFeOnGYPcbjmAcLUofuE3rkQ24="; 10 }; 11 12 nativeBuildInputs = [ perl gettext ];
+1
pkgs/top-level/aliases.nix
··· 380 docker_compose = throw "'docker_compose' has been renamed to/replaced by 'docker-compose'"; # Converted to throw 2022-02-22 381 docker-compose_2 = throw "'docker-compose_2' has been renamed to 'docker-compose'"; # Added 2022-06-05 382 docker-edge = throw "'docker-edge' has been removed, it was an alias for 'docker'"; # Added 2022-06-05 383 dolphinEmu = dolphin-emu; # Added 2021-11-10 384 dolphinEmuMaster = dolphin-emu-beta; # Added 2021-11-10 385 dot-http = throw "'dot-http' has been removed: abandoned by upstream. Use hurl instead."; # Added 2023-01-16
··· 380 docker_compose = throw "'docker_compose' has been renamed to/replaced by 'docker-compose'"; # Converted to throw 2022-02-22 381 docker-compose_2 = throw "'docker-compose_2' has been renamed to 'docker-compose'"; # Added 2022-06-05 382 docker-edge = throw "'docker-edge' has been removed, it was an alias for 'docker'"; # Added 2022-06-05 383 + dolphin-emu-beta = dolphin-emu; # Added 2023-02-11 384 dolphinEmu = dolphin-emu; # Added 2021-11-10 385 dolphinEmuMaster = dolphin-emu-beta; # Added 2021-11-10 386 dot-http = throw "'dot-http' has been removed: abandoned by upstream. Use hurl instead."; # Added 2023-01-16
+17 -9
pkgs/top-level/all-packages.nix
··· 2278 2279 ### APPLICATIONS/EMULATORS/DOLPHIN-EMU 2280 2281 - dolphin-emu = callPackage ../applications/emulators/dolphin-emu { }; 2282 - 2283 - dolphin-emu-beta = qt6Packages.callPackage ../applications/emulators/dolphin-emu/master.nix { 2284 inherit (darwin.apple_sdk_11_0.frameworks) CoreBluetooth ForceFeedback IOKit OpenGL VideoToolbox; 2285 inherit (darwin) moltenvk; 2286 stdenv = ··· 2857 else throw "freshBootstrapTools: unknown hostPlatform ${stdenv.hostPlatform.config}"; 2858 2859 boxes = callPackage ../tools/text/boxes { }; 2860 2861 boundary = callPackage ../tools/networking/boundary { }; 2862 ··· 7733 7734 gnucap = callPackage ../applications/science/electronics/gnucap { }; 7735 7736 gnu-cobol = callPackage ../development/compilers/gnu-cobol { }; 7737 7738 gnuclad = callPackage ../applications/graphics/gnuclad { }; ··· 7940 groonga = callPackage ../servers/search/groonga { }; 7941 7942 grpcurl = callPackage ../tools/networking/grpcurl { }; 7943 7944 grpc-gateway = callPackage ../development/tools/grpc-gateway { }; 7945 ··· 9783 pythonPackages = python3Packages; 9784 }; 9785 9786 - mirakurun = callPackage ../applications/video/mirakurun { }; 9787 9788 miredo = callPackage ../tools/networking/miredo { }; 9789 ··· 10794 pdfminer = with python3Packages; toPythonApplication pdfminer-six; 10795 10796 pdf-quench = callPackage ../applications/misc/pdf-quench { }; 10797 - 10798 - jbig2enc = callPackage ../tools/graphics/jbig2enc { }; 10799 10800 pdfarranger = callPackage ../applications/misc/pdfarranger { }; 10801 ··· 20500 jasper = callPackage ../development/libraries/jasper { }; 20501 20502 jbig2dec = callPackage ../development/libraries/jbig2dec { }; 20503 20504 jcal = callPackage ../development/libraries/jcal { }; 20505 ··· 32091 32092 pavucontrol = callPackage ../applications/audio/pavucontrol { }; 32093 32094 - paraview = libsForQt5.callPackage ../applications/graphics/paraview { 32095 - python3 = python39; 32096 - }; 32097 32098 parlatype = callPackage ../applications/audio/parlatype { }; 32099
··· 2278 2279 ### APPLICATIONS/EMULATORS/DOLPHIN-EMU 2280 2281 + dolphin-emu = qt6Packages.callPackage ../applications/emulators/dolphin-emu { 2282 inherit (darwin.apple_sdk_11_0.frameworks) CoreBluetooth ForceFeedback IOKit OpenGL VideoToolbox; 2283 inherit (darwin) moltenvk; 2284 stdenv = ··· 2855 else throw "freshBootstrapTools: unknown hostPlatform ${stdenv.hostPlatform.config}"; 2856 2857 boxes = callPackage ../tools/text/boxes { }; 2858 + 2859 + boxxy = callPackage ../tools/misc/boxxy { }; 2860 2861 boundary = callPackage ../tools/networking/boundary { }; 2862 ··· 7733 7734 gnucap = callPackage ../applications/science/electronics/gnucap { }; 7735 7736 + gnu-cim = callPackage ../development/compilers/gnu-cim { }; 7737 + 7738 gnu-cobol = callPackage ../development/compilers/gnu-cobol { }; 7739 7740 gnuclad = callPackage ../applications/graphics/gnuclad { }; ··· 7942 groonga = callPackage ../servers/search/groonga { }; 7943 7944 grpcurl = callPackage ../tools/networking/grpcurl { }; 7945 + 7946 + grpc_cli = callPackage ../tools/networking/grpc_cli { }; 7947 7948 grpc-gateway = callPackage ../development/tools/grpc-gateway { }; 7949 ··· 9787 pythonPackages = python3Packages; 9788 }; 9789 9790 + mirakurun = callPackage ../applications/video/mirakurun { 9791 + yarn = yarn.override { nodejs = nodejs-16_x; }; 9792 + inherit (callPackage ../development/tools/yarn2nix-moretea/yarn2nix { 9793 + nodejs = nodejs-16_x; 9794 + yarn = yarn.override { nodejs = nodejs-16_x; }; 9795 + }) mkYarnPackage; 9796 + }; 9797 9798 miredo = callPackage ../tools/networking/miredo { }; 9799 ··· 10804 pdfminer = with python3Packages; toPythonApplication pdfminer-six; 10805 10806 pdf-quench = callPackage ../applications/misc/pdf-quench { }; 10807 10808 pdfarranger = callPackage ../applications/misc/pdfarranger { }; 10809 ··· 20508 jasper = callPackage ../development/libraries/jasper { }; 20509 20510 jbig2dec = callPackage ../development/libraries/jbig2dec { }; 20511 + 20512 + jbig2enc = callPackage ../development/libraries/jbig2enc { }; 20513 20514 jcal = callPackage ../development/libraries/jcal { }; 20515 ··· 32101 32102 pavucontrol = callPackage ../applications/audio/pavucontrol { }; 32103 32104 + paraview = libsForQt5.callPackage ../applications/graphics/paraview { }; 32105 32106 parlatype = callPackage ../applications/audio/parlatype { }; 32107
+6 -3
pkgs/top-level/darwin-packages.nix
··· 182 183 inherit (pkgs.callPackages ../os-specific/darwin/xcode { }) 184 xcode_8_1 xcode_8_2 185 - xcode_9_1 xcode_9_2 xcode_9_4 xcode_9_4_1 186 - xcode_10_2 xcode_10_2_1 xcode_10_3 187 - xcode_11 188 xcode; 189 190 CoreSymbolication = callPackage ../os-specific/darwin/CoreSymbolication { };
··· 182 183 inherit (pkgs.callPackages ../os-specific/darwin/xcode { }) 184 xcode_8_1 xcode_8_2 185 + xcode_9_1 xcode_9_2 xcode_9_3 xcode_9_4 xcode_9_4_1 186 + xcode_10_1 xcode_10_2 xcode_10_2_1 xcode_10_3 187 + xcode_11 xcode_11_1 xcode_11_2 xcode_11_3_1 xcode_11_4 xcode_11_5 xcode_11_6 xcode_11_7 188 + xcode_12 xcode_12_0_1 xcode_12_1 xcode_12_2 xcode_12_3 xcode_12_4 xcode_12_5 xcode_12_5_1 189 + xcode_13 xcode_13_1 xcode_13_2 xcode_13_3 xcode_13_3_1 xcode_13_4 xcode_13_4_1 190 + xcode_14 xcode_14_1 191 xcode; 192 193 CoreSymbolication = callPackage ../os-specific/darwin/CoreSymbolication { };
+1
pkgs/top-level/python-aliases.nix
··· 156 pycallgraph = throw "pycallgraph has been removed, it was using setuptools 2to3 translation feature, which has been removed in setuptools 58"; # added 2022-01-18 157 pychef = throw "pychef has been removed because it's been archived upstream and abandoned since 2017."; # added 2022-11-14 158 pycryptodome-test-vectors = throw "pycryptodome-test-vectors has been removed because it is an internal package to pycryptodome"; # added 2022-05-28 159 pyialarmxr = pyialarmxr-homeassistant; # added 2022-06-07 160 pyialarmxr-homeassistant = throw "The package was removed together with the component support in home-assistant 2022.7.0"; # added 2022-07-07 161 PyICU = pyicu; # Added 2022-12-22
··· 156 pycallgraph = throw "pycallgraph has been removed, it was using setuptools 2to3 translation feature, which has been removed in setuptools 58"; # added 2022-01-18 157 pychef = throw "pychef has been removed because it's been archived upstream and abandoned since 2017."; # added 2022-11-14 158 pycryptodome-test-vectors = throw "pycryptodome-test-vectors has been removed because it is an internal package to pycryptodome"; # added 2022-05-28 159 + pyflunearyou = pyoutbreaksnearme; # added 2023-02-11 160 pyialarmxr = pyialarmxr-homeassistant; # added 2022-06-07 161 pyialarmxr-homeassistant = throw "The package was removed together with the component support in home-assistant 2022.7.0"; # added 2022-07-07 162 PyICU = pyicu; # Added 2022-12-22
+6 -2
pkgs/top-level/python-packages.nix
··· 853 854 awslambdaric = callPackage ../development/python-modules/awslambdaric { }; 855 856 axis = callPackage ../development/python-modules/axis { }; 857 858 azure-appconfiguration = callPackage ../development/python-modules/azure-appconfiguration { }; ··· 7267 7268 pyorthanc = callPackage ../development/python-modules/pyorthanc { }; 7269 7270 pyoverkiz = callPackage ../development/python-modules/pyoverkiz { }; 7271 7272 pyownet = callPackage ../development/python-modules/pyownet { }; ··· 8058 pyflic = callPackage ../development/python-modules/pyflic { }; 8059 8060 pyflume = callPackage ../development/python-modules/pyflume { }; 8061 - 8062 - pyflunearyou = callPackage ../development/python-modules/pyflunearyou { }; 8063 8064 pyfma = callPackage ../development/python-modules/pyfma { }; 8065 ··· 9942 remi = callPackage ../development/python-modules/remi { }; 9943 9944 remote-pdb = callPackage ../development/python-modules/remote-pdb { }; 9945 9946 renault-api = callPackage ../development/python-modules/renault-api { }; 9947
··· 853 854 awslambdaric = callPackage ../development/python-modules/awslambdaric { }; 855 856 + awswrangler = callPackage ../development/python-modules/awswrangler { }; 857 + 858 axis = callPackage ../development/python-modules/axis { }; 859 860 azure-appconfiguration = callPackage ../development/python-modules/azure-appconfiguration { }; ··· 7269 7270 pyorthanc = callPackage ../development/python-modules/pyorthanc { }; 7271 7272 + pyoutbreaksnearme = callPackage ../development/python-modules/pyoutbreaksnearme { }; 7273 + 7274 pyoverkiz = callPackage ../development/python-modules/pyoverkiz { }; 7275 7276 pyownet = callPackage ../development/python-modules/pyownet { }; ··· 8062 pyflic = callPackage ../development/python-modules/pyflic { }; 8063 8064 pyflume = callPackage ../development/python-modules/pyflume { }; 8065 8066 pyfma = callPackage ../development/python-modules/pyfma { }; 8067 ··· 9944 remi = callPackage ../development/python-modules/remi { }; 9945 9946 remote-pdb = callPackage ../development/python-modules/remote-pdb { }; 9947 + 9948 + remotezip = callPackage ../development/python-modules/remotezip { }; 9949 9950 renault-api = callPackage ../development/python-modules/renault-api { }; 9951