lol

Merge master into staging-next

authored by

github-actions[bot] and committed by
GitHub
3bfcfd7e cc5ae613

+223 -74
+15 -1
nixos/modules/services/hardware/kanata.nix
··· 9 options = { 10 devices = mkOption { 11 type = types.listOf types.str; 12 example = [ "/dev/input/by-id/usb-0000_0000-event-kbd" ]; 13 - description = mdDoc "Paths to keyboard devices."; 14 }; 15 config = mkOption { 16 type = types.lines; ··· 162 }; 163 164 config = mkIf cfg.enable { 165 hardware.uinput.enable = true; 166 167 systemd.services = mapAttrs' mkService cfg.keyboards;
··· 9 options = { 10 devices = mkOption { 11 type = types.listOf types.str; 12 + default = [ ]; 13 example = [ "/dev/input/by-id/usb-0000_0000-event-kbd" ]; 14 + description = mdDoc '' 15 + Paths to keyboard devices. 16 + 17 + An empty list, the default value, lets kanata detect which 18 + input devices are keyboards and intercept them all. 19 + ''; 20 }; 21 config = mkOption { 22 type = types.lines; ··· 168 }; 169 170 config = mkIf cfg.enable { 171 + warnings = 172 + let 173 + keyboardsWithEmptyDevices = filterAttrs (name: keyboard: keyboard.devices == [ ]) cfg.keyboards; 174 + existEmptyDevices = length (attrNames keyboardsWithEmptyDevices) > 0; 175 + moreThanOneKeyboard = length (attrNames cfg.keyboards) > 1; 176 + in 177 + optional (existEmptyDevices && moreThanOneKeyboard) "One device can only be intercepted by one kanata instance. Setting services.kanata.keyboards.${head (attrNames keyboardsWithEmptyDevices)}.devices = [ ] and using more than one services.kanata.keyboards may cause a race condition."; 178 + 179 hardware.uinput.enable = true; 180 181 systemd.services = mapAttrs' mkService cfg.keyboards;
+10 -1
nixos/modules/services/networking/wireguard.nix
··· 164 of the wireguard network has to be adjusted as well. 165 ''; 166 }; 167 }; 168 169 }; ··· 395 optionalString interfaceCfg.allowedIPsAsRoutes 396 (concatMapStringsSep "\n" 397 (allowedIP: 398 - ''${ip} route replace "${allowedIP}" dev "${interfaceName}" table "${interfaceCfg.table}"'' 399 ) peer.allowedIPs); 400 in '' 401 ${wg_setup}
··· 164 of the wireguard network has to be adjusted as well. 165 ''; 166 }; 167 + 168 + metric = mkOption { 169 + default = null; 170 + type = with types; nullOr int; 171 + example = 700; 172 + description = lib.mdDoc '' 173 + Set the metric of routes related to this Wireguard interface. 174 + ''; 175 + }; 176 }; 177 178 }; ··· 404 optionalString interfaceCfg.allowedIPsAsRoutes 405 (concatMapStringsSep "\n" 406 (allowedIP: 407 + ''${ip} route replace "${allowedIP}" dev "${interfaceName}" table "${interfaceCfg.table}" ${optionalString (interfaceCfg.metric != null) "metric ${toString interfaceCfg.metric}"}'' 408 ) peer.allowedIPs); 409 in '' 410 ${wg_setup}
+2 -2
pkgs/applications/editors/ldtk/default.nix
··· 3 4 stdenv.mkDerivation (finalAttrs: { 5 pname = "ldtk"; 6 - version = "1.3.4"; 7 8 src = fetchurl { 9 url = "https://github.com/deepnight/ldtk/releases/download/v${finalAttrs.version}/ubuntu-distribution.zip"; 10 - hash = "sha256-/EFmuzj8hYhQJegZpZhZb4fuSeMF9wdG1Be4duEvW54="; 11 }; 12 13 nativeBuildInputs = [ unzip makeWrapper copyDesktopItems appimage-run ];
··· 3 4 stdenv.mkDerivation (finalAttrs: { 5 pname = "ldtk"; 6 + version = "1.4.0"; 7 8 src = fetchurl { 9 url = "https://github.com/deepnight/ldtk/releases/download/v${finalAttrs.version}/ubuntu-distribution.zip"; 10 + hash = "sha256-WuKzhE9r/yMqlV2bf/0AuNVKfxq/SlecmN3rHt6RjXo="; 11 }; 12 13 nativeBuildInputs = [ unzip makeWrapper copyDesktopItems appimage-run ];
+18
pkgs/applications/graphics/hydrus/0001-inform-nixpkgs.patch
···
··· 1 + diff --git a/hydrus/core/HydrusConstants.py b/hydrus/core/HydrusConstants.py 2 + index 809338ef..9125928f 100644 3 + --- a/hydrus/core/HydrusConstants.py 4 + +++ b/hydrus/core/HydrusConstants.py 5 + @@ -59,12 +59,7 @@ elif PLATFORM_HAIKU: 6 + RUNNING_FROM_SOURCE = sys.argv[0].endswith( '.py' ) or sys.argv[0].endswith( '.pyw' ) 7 + RUNNING_FROM_MACOS_APP = os.path.exists( os.path.join( BASE_DIR, 'running_from_app' ) ) 8 + 9 + -if RUNNING_FROM_SOURCE: 10 + - NICE_RUNNING_AS_STRING = 'from source' 11 + -elif RUNNING_FROM_FROZEN_BUILD: 12 + - NICE_RUNNING_AS_STRING = 'from frozen build' 13 + -elif RUNNING_FROM_MACOS_APP: 14 + - NICE_RUNNING_AS_STRING = 'from App' 15 + +NICE_RUNNING_AS_STRING = "from nixpkgs (source)" 16 + 17 + BIN_DIR = os.path.join( BASE_DIR, 'bin' ) 18 + HELP_DIR = os.path.join( BASE_DIR, 'help' )
+16 -5
pkgs/applications/graphics/hydrus/default.nix
··· 12 13 python3Packages.buildPythonPackage rec { 14 pname = "hydrus"; 15 - version = "520"; 16 format = "other"; 17 18 src = fetchFromGitHub { 19 owner = "hydrusnetwork"; 20 repo = "hydrus"; 21 rev = "refs/tags/v${version}"; 22 - hash = "sha256-y8KfPe3cBBq/iPCG7hNXrZDkOSNi+qSir6rO/65SHkI="; 23 }; 24 25 nativeBuildInputs = [ 26 wrapQtAppsHook 27 python3Packages.mkdocs-material ··· 37 cbor2 38 chardet 39 cloudscraper 40 html5lib 41 lxml 42 lz4 43 numpy 44 opencv4 45 pillow 46 psutil 47 pympler 48 pyopenssl 49 pyqt6 ··· 56 requests 57 send2trash 58 service-identity 59 - six 60 twisted 61 ]; 62 ··· 92 -e TestHydrusSessions \ 93 -e TestServer \ 94 -e TestClientMetadataMigration \ 95 ''; 96 97 outputs = [ "out" "doc" ]; ··· 100 # Move the hydrus module and related directories 101 mkdir -p $out/${python3Packages.python.sitePackages} 102 mv {hydrus,static} $out/${python3Packages.python.sitePackages} 103 mkdocs build -d help 104 mv help $out/doc/ 105 106 # install the hydrus binaries 107 mkdir -p $out/bin 108 - install -m0755 server.py $out/bin/hydrus-server 109 - install -m0755 client.py $out/bin/hydrus-client 110 '' + lib.optionalString enableSwftools '' 111 mkdir -p $out/${python3Packages.python.sitePackages}/bin 112 # swfrender seems to have to be called sfwrender_linux
··· 12 13 python3Packages.buildPythonPackage rec { 14 pname = "hydrus"; 15 + version = "544"; 16 format = "other"; 17 18 src = fetchFromGitHub { 19 owner = "hydrusnetwork"; 20 repo = "hydrus"; 21 rev = "refs/tags/v${version}"; 22 + hash = "sha256-e3VvkdJAQx5heKDJ1Ms6XpXrXWdzv48f8yu0DHfPy1A="; 23 }; 24 25 + patches = [ 26 + # Nixpkgs specific, can be removed if upstream makes a more reasonable check 27 + ./0001-inform-nixpkgs.patch 28 + ]; 29 + 30 nativeBuildInputs = [ 31 wrapQtAppsHook 32 python3Packages.mkdocs-material ··· 42 cbor2 43 chardet 44 cloudscraper 45 + dateparser 46 html5lib 47 lxml 48 lz4 49 numpy 50 opencv4 51 pillow 52 + pillow-heif 53 psutil 54 + psd-tools 55 pympler 56 pyopenssl 57 pyqt6 ··· 64 requests 65 send2trash 66 service-identity 67 twisted 68 ]; 69 ··· 99 -e TestHydrusSessions \ 100 -e TestServer \ 101 -e TestClientMetadataMigration \ 102 + -e TestClientFileStorage \ 103 ''; 104 105 outputs = [ "out" "doc" ]; ··· 108 # Move the hydrus module and related directories 109 mkdir -p $out/${python3Packages.python.sitePackages} 110 mv {hydrus,static} $out/${python3Packages.python.sitePackages} 111 + # Fix random files being marked with execute permissions 112 + chmod -x $out/${python3Packages.python.sitePackages}/static/*.{png,svg,ico} 113 + # Build docs 114 mkdocs build -d help 115 mv help $out/doc/ 116 117 # install the hydrus binaries 118 mkdir -p $out/bin 119 + install -m0755 hydrus_server.py $out/bin/hydrus-server 120 + install -m0755 hydrus_client.py $out/bin/hydrus-client 121 '' + lib.optionalString enableSwftools '' 122 mkdir -p $out/${python3Packages.python.sitePackages}/bin 123 # swfrender seems to have to be called sfwrender_linux
+2 -2
pkgs/applications/graphics/upscayl/default.nix
··· 4 lib, 5 }: let 6 pname = "upscayl"; 7 - version = "2.8.1"; 8 9 src = fetchurl { 10 url = "https://github.com/upscayl/upscayl/releases/download/v${version}/upscayl-${version}-linux.AppImage"; 11 - hash = "sha256-gmFT6onuoaw9WDCUDImZM/AxuZECqPC73ZyNnp6WSGA="; 12 }; 13 14 appimageContents = appimageTools.extractType2 {
··· 4 lib, 5 }: let 6 pname = "upscayl"; 7 + version = "2.8.6"; 8 9 src = fetchurl { 10 url = "https://github.com/upscayl/upscayl/releases/download/v${version}/upscayl-${version}-linux.AppImage"; 11 + hash = "sha256-w5rjLqdlPOZWgdc2t0Y3tl24qZqpjBV6I9gruLaI+qc="; 12 }; 13 14 appimageContents = appimageTools.extractType2 {
+2 -2
pkgs/applications/office/appflowy/default.nix
··· 12 13 stdenv.mkDerivation rec { 14 pname = "appflowy"; 15 - version = "0.3.1"; 16 17 src = fetchzip { 18 url = "https://github.com/AppFlowy-IO/appflowy/releases/download/${version}/AppFlowy_x86_64-unknown-linux-gnu_ubuntu-20.04.tar.gz"; 19 - hash = "sha256-jIekGA+MG9tvjEyHAI3dcD7lI1JL/qPqRpVO9gRhcTw="; 20 stripRoot = false; 21 }; 22
··· 12 13 stdenv.mkDerivation rec { 14 pname = "appflowy"; 15 + version = "0.3.2"; 16 17 src = fetchzip { 18 url = "https://github.com/AppFlowy-IO/appflowy/releases/download/${version}/AppFlowy_x86_64-unknown-linux-gnu_ubuntu-20.04.tar.gz"; 19 + hash = "sha256-UmBXAfRIr9zOScqibKPHeKzr+UTx3gbGEm0tl7qn+oE="; 20 stripRoot = false; 21 }; 22
+2 -2
pkgs/applications/science/logic/beluga/default.nix
··· 2 3 ocamlPackages.buildDunePackage rec { 4 pname = "beluga"; 5 - version = "1.1"; 6 7 src = fetchFromGitHub { 8 owner = "Beluga-lang"; 9 repo = "Beluga"; 10 rev = "refs/tags/v${version}"; 11 - hash = "sha256-0E7rmiLmQPfOAQ1qKiqxeLdqviVl+Thkl6KfOWkGZRc="; 12 }; 13 14 duneVersion = "3";
··· 2 3 ocamlPackages.buildDunePackage rec { 4 pname = "beluga"; 5 + version = "1.1.1"; 6 7 src = fetchFromGitHub { 8 owner = "Beluga-lang"; 9 repo = "Beluga"; 10 rev = "refs/tags/v${version}"; 11 + hash = "sha256-l/C77czLtlLnpadVx4d9ve9jv/e11jsOgzrbXt+Zo5s="; 12 }; 13 14 duneVersion = "3";
+2 -2
pkgs/applications/video/anilibria-winmaclinux/default.nix
··· 14 15 mkDerivation rec { 16 pname = "anilibria-winmaclinux"; 17 - version = "1.2.9"; 18 19 src = fetchFromGitHub { 20 owner = "anilibria"; 21 repo = "anilibria-winmaclinux"; 22 rev = version; 23 - sha256 = "sha256-Fdj7i4jpKIDwaIBAch7SjIV/WnqMDnCfNYSiZLsamx8="; 24 }; 25 26 sourceRoot = "source/src";
··· 14 15 mkDerivation rec { 16 pname = "anilibria-winmaclinux"; 17 + version = "1.2.10"; 18 19 src = fetchFromGitHub { 20 owner = "anilibria"; 21 repo = "anilibria-winmaclinux"; 22 rev = version; 23 + sha256 = "sha256-mCDw8V/Uzewm32rj+mkkm5atS5nJAFJ3ry1boTn+gqI="; 24 }; 25 26 sourceRoot = "source/src";
+3 -2
pkgs/build-support/php/hooks/default.nix
··· 3 , moreutils 4 , makeBinaryWrapper 5 , php 6 }: 7 8 { 9 composerRepositoryHook = makeSetupHook 10 { 11 name = "composer-repository-hook.sh"; 12 - propagatedBuildInputs = [ jq moreutils php ]; 13 substitutions = { }; 14 } ./composer-repository-hook.sh; 15 16 composerInstallHook = makeSetupHook 17 { 18 name = "composer-install-hook.sh"; 19 - propagatedBuildInputs = [ jq makeBinaryWrapper moreutils php ]; 20 substitutions = { }; 21 } ./composer-install-hook.sh; 22 }
··· 3 , moreutils 4 , makeBinaryWrapper 5 , php 6 + , cacert 7 }: 8 9 { 10 composerRepositoryHook = makeSetupHook 11 { 12 name = "composer-repository-hook.sh"; 13 + propagatedBuildInputs = [ jq moreutils php cacert ]; 14 substitutions = { }; 15 } ./composer-repository-hook.sh; 16 17 composerInstallHook = makeSetupHook 18 { 19 name = "composer-install-hook.sh"; 20 + propagatedBuildInputs = [ jq makeBinaryWrapper moreutils php cacert ]; 21 substitutions = { }; 22 } ./composer-install-hook.sh; 23 }
+52
pkgs/by-name/pe/pesign/package.nix
···
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , pkg-config 5 + , nss 6 + , efivar 7 + , util-linux 8 + , popt 9 + , nspr 10 + , mandoc 11 + }: 12 + 13 + stdenv.mkDerivation rec { 14 + pname = "pesign"; 15 + version = "116"; 16 + 17 + src = fetchFromGitHub { 18 + owner = "rhboot"; 19 + repo = "pesign"; 20 + rev = version; 21 + hash = "sha256-cuOSD/ZHkilgguDFJviIZCG8kceRWw2JgssQuWN02Do="; 22 + }; 23 + 24 + # nss-util is missing because it is already contained in nss 25 + # Red Hat seems to be shipping a separate nss-util: 26 + # https://centos.pkgs.org/7/centos-x86_64/nss-util-devel-3.44.0-4.el7_7.x86_64.rpm.html 27 + # containing things we already have in `nss`. 28 + # We can ignore all the errors pertaining to a missing 29 + # nss-util.pc I suppose. 30 + buildInputs = [ efivar util-linux nss popt nspr mandoc ]; 31 + nativeBuildInputs = [ pkg-config ]; 32 + 33 + makeFlags = [ "INSTALLROOT=$(out)" ]; 34 + 35 + postInstall = '' 36 + mv $out/usr/bin $out/bin 37 + mv $out/usr/share $out/share 38 + 39 + rm -rf $out/usr 40 + rm -rf $out/etc 41 + rm -rf $out/run 42 + ''; 43 + 44 + meta = with lib; { 45 + description = "Signing tools for PE-COFF binaries. Compliant with the PE and Authenticode specifications."; 46 + homepage = "https://github.com/rhboot/pesign"; 47 + license = licenses.gpl2Only; 48 + maintainers = with maintainers; [ raitobezarius ]; 49 + # efivar is currently Linux-only. 50 + platforms = platforms.linux; 51 + }; 52 + }
+2 -2
pkgs/development/libraries/libite/default.nix
··· 2 3 stdenv.mkDerivation rec { 4 pname = "libite"; 5 - version = "2.5.3"; 6 7 src = fetchFromGitHub { 8 owner = "troglobit"; 9 repo = "libite"; 10 rev = "v${version}"; 11 - sha256 = "sha256-orxmd6yItB6XLj650RQb0CP/EnN9563v+P9xz9LEJkY="; 12 }; 13 14 nativeBuildInputs = [ autoreconfHook pkg-config ];
··· 2 3 stdenv.mkDerivation rec { 4 pname = "libite"; 5 + version = "2.6.0"; 6 7 src = fetchFromGitHub { 8 owner = "troglobit"; 9 repo = "libite"; 10 rev = "v${version}"; 11 + sha256 = "sha256-hdV8g/BFTI/QfEgVsf942SR0G5xdqP/+h+vnydt4kf0="; 12 }; 13 14 nativeBuildInputs = [ autoreconfHook pkg-config ];
+2 -2
pkgs/development/php-packages/phalcon/default.nix
··· 2 3 buildPecl rec { 4 pname = "phalcon"; 5 - version = "5.3.0"; 6 7 src = fetchFromGitHub { 8 owner = "phalcon"; 9 repo = "cphalcon"; 10 rev = "v${version}"; 11 - hash = "sha256-82DJ+Qx0OYhw9Nv6FkAoyBec8WWfAiqNfBU9Ll/8RfA="; 12 }; 13 14 internalDeps = [ php.extensions.session php.extensions.pdo ];
··· 2 3 buildPecl rec { 4 pname = "phalcon"; 5 + version = "5.3.1"; 6 7 src = fetchFromGitHub { 8 owner = "phalcon"; 9 repo = "cphalcon"; 10 rev = "v${version}"; 11 + hash = "sha256-FxGibpGlbNLqWDplCv4T4yUPg5US020niLfC7tHfkCU="; 12 }; 13 14 internalDeps = [ php.extensions.session php.extensions.pdo ];
+2 -2
pkgs/development/python-modules/aliyun-python-sdk-iot/default.nix
··· 7 8 buildPythonPackage rec { 9 pname = "aliyun-python-sdk-iot"; 10 - version = "8.56.0"; 11 format = "setuptools"; 12 13 disabled = pythonOlder "3.7"; 14 15 src = fetchPypi { 16 inherit pname version; 17 - hash = "sha256-8d77P522c6gV8LhKErixzE2DvGmjr9bms+2eHYirgwg="; 18 }; 19 20 propagatedBuildInputs = [
··· 7 8 buildPythonPackage rec { 9 pname = "aliyun-python-sdk-iot"; 10 + version = "8.57.0"; 11 format = "setuptools"; 12 13 disabled = pythonOlder "3.7"; 14 15 src = fetchPypi { 16 inherit pname version; 17 + hash = "sha256-Ea0IUn2mlu0c7QYJZkUrBUrtjUuTHoTeuvZHw/il+4A="; 18 }; 19 20 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/app-model/default.nix
··· 13 14 buildPythonPackage rec { 15 pname = "app-model"; 16 - version = "0.2.1"; 17 format = "pyproject"; 18 19 disabled = pythonOlder "3.8"; ··· 22 owner = "pyapp-kit"; 23 repo = pname; 24 rev = "refs/tags/v${version}"; 25 - hash = "sha256-1LldqihVCCgFdnsod751zWAAqkaaIH2qMpfsPYjWzgs="; 26 }; 27 28 SETUPTOOLS_SCM_PRETEND_VERSION = version;
··· 13 14 buildPythonPackage rec { 15 pname = "app-model"; 16 + version = "0.2.2"; 17 format = "pyproject"; 18 19 disabled = pythonOlder "3.8"; ··· 22 owner = "pyapp-kit"; 23 repo = pname; 24 rev = "refs/tags/v${version}"; 25 + hash = "sha256-vo10BHUzvYlldAqTw/1LxgvSXgTM3LAls9jQIeB5LcU="; 26 }; 27 28 SETUPTOOLS_SCM_PRETEND_VERSION = version;
+2 -2
pkgs/development/python-modules/bluetooth-data-tools/default.nix
··· 11 12 buildPythonPackage rec { 13 pname = "bluetooth-data-tools"; 14 - version = "1.11.0"; 15 format = "pyproject"; 16 17 disabled = pythonOlder "3.9"; ··· 20 owner = "Bluetooth-Devices"; 21 repo = pname; 22 rev = "refs/tags/v${version}"; 23 - hash = "sha256-iyfk0OOJezNCNyqRCbR2cTTTdgdYQM6hExTngd/3CtA="; 24 }; 25 26 # The project can build both an optimized cython version and an unoptimized
··· 11 12 buildPythonPackage rec { 13 pname = "bluetooth-data-tools"; 14 + version = "1.12.0"; 15 format = "pyproject"; 16 17 disabled = pythonOlder "3.9"; ··· 20 owner = "Bluetooth-Devices"; 21 repo = pname; 22 rev = "refs/tags/v${version}"; 23 + hash = "sha256-zdMqjZ7CEwDnvVvIe1breQ+/4ZwzdLk2CtI+GCY+3uk="; 24 }; 25 26 # The project can build both an optimized cython version and an unoptimized
+2 -2
pkgs/development/python-modules/garth/default.nix
··· 12 13 buildPythonPackage rec { 14 pname = "garth"; 15 - version = "0.4.26"; 16 format = "pyproject"; 17 18 disabled = pythonOlder "3.9"; 19 20 src = fetchPypi { 21 inherit pname version; 22 - hash = "sha256-Ezq9lZE6HTtuW396sKZ32mDvNjrkz6UHQGvLhXUjfnI="; 23 }; 24 25 nativeBuildInputs = [
··· 12 13 buildPythonPackage rec { 14 pname = "garth"; 15 + version = "0.4.27"; 16 format = "pyproject"; 17 18 disabled = pythonOlder "3.9"; 19 20 src = fetchPypi { 21 inherit pname version; 22 + hash = "sha256-GOpYR1fudDKHbnxwAMCXrk95xYe0Pdi7pYebHua+IjM="; 23 }; 24 25 nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/nomadnet/default.nix
··· 10 11 buildPythonPackage rec { 12 pname = "nomadnet"; 13 - version = "0.3.7"; 14 format = "setuptools"; 15 16 disabled = pythonOlder "3.7"; ··· 19 owner = "markqvist"; 20 repo = "NomadNet"; 21 rev = "refs/tags/${version}"; 22 - hash = "sha256-cyD68GsAuJKmbVxWCCJVWz/VErB9LEdRzz9IT8ir+U0="; 23 }; 24 25 propagatedBuildInputs = [
··· 10 11 buildPythonPackage rec { 12 pname = "nomadnet"; 13 + version = "0.3.8"; 14 format = "setuptools"; 15 16 disabled = pythonOlder "3.7"; ··· 19 owner = "markqvist"; 20 repo = "NomadNet"; 21 rev = "refs/tags/${version}"; 22 + hash = "sha256-w7NQH4CEfYQ4iwPtLQO5mYRnfWQbPuxb/qXRBP0V56Y="; 23 }; 24 25 propagatedBuildInputs = [
+41
pkgs/development/python-modules/pillow-heif/default.nix
···
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , cmake 5 + , pillow 6 + , pytest 7 + , nasm 8 + , libheif 9 + , libaom 10 + , libde265 11 + , x265 12 + }: 13 + 14 + buildPythonPackage rec { 15 + pname = "pillow_heif"; 16 + version = "0.13.0"; 17 + format = "setuptools"; 18 + 19 + src = fetchFromGitHub { 20 + owner = "bigcat88"; 21 + repo = "pillow_heif"; 22 + rev = "refs/tags/v${version}"; 23 + hash = "sha256-GbOW29rGpLMS7AfShuO6UCzcspdHtFS7hyNKori0otI="; 24 + }; 25 + 26 + nativeBuildInputs = [ cmake nasm ]; 27 + buildInputs = [ libheif libaom libde265 x265 ]; 28 + propagatedBuildInputs = [ pillow ]; 29 + nativeCheckInputs = [ pytest ]; 30 + 31 + dontUseCmakeConfigure = true; 32 + 33 + pythonImportsCheck = [ "pillow_heif" ]; 34 + 35 + meta = { 36 + description = "Python library for working with HEIF images and plugin for Pillow"; 37 + homepage = "https://github.com/bigcat88/pillow_heif"; 38 + license = with lib.licenses; [ bsd3 lgpl3 ]; 39 + maintainers = with lib.maintainers; [ dandellion ]; 40 + }; 41 + }
+2 -2
pkgs/development/python-modules/rns/default.nix
··· 9 10 buildPythonPackage rec { 11 pname = "rns"; 12 - version = "0.5.9"; 13 format = "setuptools"; 14 15 disabled = pythonOlder "3.7"; ··· 18 owner = "markqvist"; 19 repo = "Reticulum"; 20 rev = "refs/tags/${version}"; 21 - hash = "sha256-vzFN8b+F4CO/f/7CbUpX/Xj8wZMEpz2veUXsPHYzPxE="; 22 }; 23 24 propagatedBuildInputs = [
··· 9 10 buildPythonPackage rec { 11 pname = "rns"; 12 + version = "0.6.0"; 13 format = "setuptools"; 14 15 disabled = pythonOlder "3.7"; ··· 18 owner = "markqvist"; 19 repo = "Reticulum"; 20 rev = "refs/tags/${version}"; 21 + hash = "sha256-wlFDl7yCawLrijQMouFWcRoXmIJRcpHSAKFHyu+sMGk="; 22 }; 23 24 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/wsgidav/default.nix
··· 16 17 buildPythonPackage rec { 18 pname = "wsgidav"; 19 - version = "4.2.0"; 20 format = "pyproject"; 21 22 disabled = pythonOlder "3.7"; ··· 25 owner = "mar10"; 26 repo = pname; 27 rev = "refs/tags/v${version}"; 28 - hash = "sha256-1S3Zi92YRcu/PKNWJIn2ayr5Wbc+/+E7irFBQpMrKW8="; 29 }; 30 31 nativeBuildInputs = [
··· 16 17 buildPythonPackage rec { 18 pname = "wsgidav"; 19 + version = "4.3.0"; 20 format = "pyproject"; 21 22 disabled = pythonOlder "3.7"; ··· 25 owner = "mar10"; 26 repo = pname; 27 rev = "refs/tags/v${version}"; 28 + hash = "sha256-DEUoKoFELIOg5KX6hL1VgR18dtsery4ZzKksrxl0D7Q="; 29 }; 30 31 nativeBuildInputs = [
+2 -2
pkgs/development/tools/build-managers/goredo/default.nix
··· 9 10 buildGoModule rec { 11 pname = "goredo"; 12 - version = "1.30.0"; 13 14 src = fetchurl { 15 url = "http://www.goredo.cypherpunks.ru/download/${pname}-${version}.tar.zst"; 16 - hash = "sha256-glsg2q8jFd4z6CuKzlZ3afJx/S7Aw6LCxFAS/uHLlUg="; 17 }; 18 19 patches = [ ./fix-tests.diff ];
··· 9 10 buildGoModule rec { 11 pname = "goredo"; 12 + version = "1.31.0"; 13 14 src = fetchurl { 15 url = "http://www.goredo.cypherpunks.ru/download/${pname}-${version}.tar.zst"; 16 + hash = "sha256-z7u71VFMoq4VwHohMnYx/ahBSkRZHoI8MZet9gO+XVw="; 17 }; 18 19 patches = [ ./fix-tests.diff ];
+3 -3
pkgs/development/tools/symfony-cli/default.nix
··· 2 3 buildGoModule rec { 4 pname = "symfony-cli"; 5 - version = "5.5.8"; 6 - vendorHash = "sha256-hOYVIynWsbsindNJRbXX4NkC3FW3RErORCSLlV1bCWc="; 7 8 src = fetchFromGitHub { 9 owner = "symfony-cli"; 10 repo = "symfony-cli"; 11 rev = "v${version}"; 12 - hash = "sha256-K2DttdK8g5NI+XlGwIA9HTPTLlMGgGc1K625FquIhi4="; 13 }; 14 15 ldflags = [
··· 2 3 buildGoModule rec { 4 pname = "symfony-cli"; 5 + version = "5.5.9"; 6 + vendorHash = "sha256-eeVi/O4p7bF4CPqJBCpLfx1Yc5vZZ3b8RV5ERcIL8H4="; 7 8 src = fetchFromGitHub { 9 owner = "symfony-cli"; 10 repo = "symfony-cli"; 11 rev = "v${version}"; 12 + hash = "sha256-dQ7ImNSnWD2u9cY9VEBlum45YqlhHgczAkD70QJFr68="; 13 }; 14 15 ldflags = [
+3 -2
pkgs/development/tools/wxformbuilder/default.nix
··· 10 }: 11 12 stdenv.mkDerivation (finalAttrs: { 13 - pname = "wxFormBuilder"; 14 version = "unstable-2023-04-21"; 15 16 src = fetchFromGitHub { ··· 47 postInstall = lib.optionalString stdenv.isDarwin '' 48 mkdir -p $out/{Applications,bin} 49 mv $out/wxFormBuilder.app $out/Applications 50 - makeWrapper $out/{Applications/wxFormBuilder.app/Contents/MacOS,bin}/wxFormBuilder 51 ''; 52 53 meta = with lib; { 54 description = "RAD tool for wxWidgets GUI design"; 55 homepage = "https://github.com/wxFormBuilder/wxFormBuilder"; 56 license = licenses.gpl2Only; 57 maintainers = with maintainers; [ matthuszagh wegank ]; 58 platforms = platforms.unix; 59 };
··· 10 }: 11 12 stdenv.mkDerivation (finalAttrs: { 13 + pname = "wxformbuilder"; 14 version = "unstable-2023-04-21"; 15 16 src = fetchFromGitHub { ··· 47 postInstall = lib.optionalString stdenv.isDarwin '' 48 mkdir -p $out/{Applications,bin} 49 mv $out/wxFormBuilder.app $out/Applications 50 + makeWrapper $out/Applications/wxFormBuilder.app/Contents/MacOS/wxFormBuilder $out/bin/wxformbuilder 51 ''; 52 53 meta = with lib; { 54 description = "RAD tool for wxWidgets GUI design"; 55 homepage = "https://github.com/wxFormBuilder/wxFormBuilder"; 56 license = licenses.gpl2Only; 57 + mainProgram = "wxformbuilder"; 58 maintainers = with maintainers; [ matthuszagh wegank ]; 59 platforms = platforms.unix; 60 };
+5 -5
pkgs/development/web/bun/default.nix
··· 12 }: 13 14 stdenvNoCC.mkDerivation rec { 15 - version = "1.0.2"; 16 pname = "bun"; 17 18 src = passthru.sources.${stdenvNoCC.hostPlatform.system} or (throw "Unsupported system: ${stdenvNoCC.hostPlatform.system}"); ··· 51 sources = { 52 "aarch64-darwin" = fetchurl { 53 url = "https://github.com/oven-sh/bun/releases/download/bun-v${version}/bun-darwin-aarch64.zip"; 54 - hash = "sha256-QvoEakfR5wmP10d6MDpfS8THke975bVyZc5pLVliUbQ="; 55 }; 56 "aarch64-linux" = fetchurl { 57 url = "https://github.com/oven-sh/bun/releases/download/bun-v${version}/bun-linux-aarch64.zip"; 58 - hash = "sha256-izVtW28QE7Tty6DfQDKmw1oqD5GOolTzCeIUmtgI1Uw="; 59 }; 60 "x86_64-darwin" = fetchurl { 61 url = "https://github.com/oven-sh/bun/releases/download/bun-v${version}/bun-darwin-x64.zip"; 62 - hash = "sha256-e/VXNCq2CwNsM7ruk8IGSwU/swkVhcvvQRv/yiIQtCU="; 63 }; 64 "x86_64-linux" = fetchurl { 65 url = "https://github.com/oven-sh/bun/releases/download/bun-v${version}/bun-linux-x64.zip"; 66 - hash = "sha256-kHv8PU48Le4lG3pf304hXggAtx/I5uBeu4aHmLsbdgw="; 67 }; 68 }; 69 updateScript = writeShellScript "update-bun" ''
··· 12 }: 13 14 stdenvNoCC.mkDerivation rec { 15 + version = "1.0.3"; 16 pname = "bun"; 17 18 src = passthru.sources.${stdenvNoCC.hostPlatform.system} or (throw "Unsupported system: ${stdenvNoCC.hostPlatform.system}"); ··· 51 sources = { 52 "aarch64-darwin" = fetchurl { 53 url = "https://github.com/oven-sh/bun/releases/download/bun-v${version}/bun-darwin-aarch64.zip"; 54 + hash = "sha256-M0OG9V+TVqUqNuEDvpPCJR1KvILty7M59JiYjOsRjS0="; 55 }; 56 "aarch64-linux" = fetchurl { 57 url = "https://github.com/oven-sh/bun/releases/download/bun-v${version}/bun-linux-aarch64.zip"; 58 + hash = "sha256-0Nto5EikWEvW6PCX6801qxDdlB1PtWJ1iym0mwh/YJI="; 59 }; 60 "x86_64-darwin" = fetchurl { 61 url = "https://github.com/oven-sh/bun/releases/download/bun-v${version}/bun-darwin-x64.zip"; 62 + hash = "sha256-3GUQk7Nv5Nx25SPk+Z+6EDNEsDbLW68IOXmLt8NkSYQ="; 63 }; 64 "x86_64-linux" = fetchurl { 65 url = "https://github.com/oven-sh/bun/releases/download/bun-v${version}/bun-linux-x64.zip"; 66 + hash = "sha256-8xMBU3jloMsdekejKrnswWfzXhxwvsHFNgcUf4hn0W4="; 67 }; 68 }; 69 updateScript = writeShellScript "update-bun" ''
+5 -5
pkgs/misc/urbit/default.nix
··· 10 in 11 stdenv.mkDerivation rec { 12 pname = "urbit"; 13 - version = "2.11"; 14 15 src = fetchzip { 16 url = "https://github.com/urbit/vere/releases/download/vere-v${version}/${platform}.tgz"; 17 sha256 = { 18 - x86_64-linux = "sha256-k2zmcjZ9NXmwZf93LIAg1jx4IRprKUgdkvwzxEOKWDY="; 19 - aarch64-linux = "sha256-atMBXyXwavpSDTZxUnXIq+NV4moKGRWLaFTM9Kuzt94="; 20 - x86_64-darwin = "sha256-LSJ9jVY3fETlpRAkyUWa/2vZ5xAFmmMssvbzUfIBY/4="; 21 - aarch64-darwin = "sha256-AViUt2N+YCgMWOcv3ZI0GfdYVOiRLbhseQ7TTq4zCiQ="; 22 }.${stdenv.hostPlatform.system} or (throw "unsupported system ${stdenv.hostPlatform.system}"); 23 }; 24
··· 10 in 11 stdenv.mkDerivation rec { 12 pname = "urbit"; 13 + version = "2.12"; 14 15 src = fetchzip { 16 url = "https://github.com/urbit/vere/releases/download/vere-v${version}/${platform}.tgz"; 17 sha256 = { 18 + x86_64-linux = "sha256-N8RYlafw0HcmtGAQMKQb1cG7AivOpWS/5rU8CESJWAw="; 19 + aarch64-linux = "sha256-RsBtwxSdqHVXMk7or1nPAFWd6Ypa0SqjpTihv8riyk4="; 20 + x86_64-darwin = "sha256-/QPI66/gl3mlQHc+8zrEyP4/Hv5vwXlEx1cW2mP33IY="; 21 + aarch64-darwin = "sha256-+2DYohaBxVcR1ZOjuk6GWcNpzb6aJMXq6BxwWw1OeIY="; 22 }.${stdenv.hostPlatform.system} or (throw "unsupported system ${stdenv.hostPlatform.system}"); 23 }; 24
+2 -2
pkgs/servers/http/jetty/default.nix
··· 2 3 stdenv.mkDerivation rec { 4 pname = "jetty"; 5 - version = "11.0.15"; 6 src = fetchurl { 7 url = "mirror://maven/org/eclipse/jetty/jetty-home/${version}/jetty-home-${version}.tar.gz"; 8 - sha256 = "sha256-bDg3CYPAGryqRv/gcPdeZKucXx6YTkkNd0Cu1+zIjto="; 9 }; 10 11 dontBuild = true;
··· 2 3 stdenv.mkDerivation rec { 4 pname = "jetty"; 5 + version = "11.0.16"; 6 src = fetchurl { 7 url = "mirror://maven/org/eclipse/jetty/jetty-home/${version}/jetty-home-${version}.tar.gz"; 8 + hash = "sha256-iL1s4o/1Hds0N/fzXgwOMriPtZNG7ei2t4frF1ImW+E="; 9 }; 10 11 dontBuild = true;
+2 -2
pkgs/servers/jellyfin/default.nix
··· 14 15 buildDotnetModule rec { 16 pname = "jellyfin"; 17 - version = "10.8.10"; # ensure that jellyfin-web has matching version 18 19 src = fetchFromGitHub { 20 owner = "jellyfin"; 21 repo = "jellyfin"; 22 rev = "v${version}"; 23 - sha256 = "uX56TSyi0V0Rs6R3A8QHZrjTIHUZobLYIgG+nZDE3Hg="; 24 }; 25 26 patches = [
··· 14 15 buildDotnetModule rec { 16 pname = "jellyfin"; 17 + version = "10.8.11"; # ensure that jellyfin-web has matching version 18 19 src = fetchFromGitHub { 20 owner = "jellyfin"; 21 repo = "jellyfin"; 22 rev = "v${version}"; 23 + sha256 = "deJv2lWo0kXGixCBJzfdIBZcNjg45y2ITGQfWcM2smU="; 24 }; 25 26 patches = [
+3 -3
pkgs/servers/jellyfin/web.nix
··· 7 8 buildNpmPackage rec { 9 pname = "jellyfin-web"; 10 - version = "10.8.10"; 11 12 src = fetchFromGitHub { 13 owner = "jellyfin"; 14 repo = "jellyfin-web"; 15 rev = "v${version}"; 16 - hash = "sha256-fJmGiHLwhgd3Ac7ggCbkMu6llob3qN87EpHpCO4K29I="; 17 }; 18 19 - npmDepsHash = "sha256-X8a/pmQGAhoGKhThJ86b50sf0nlsCXGgvLQaxRsmA5Q="; 20 21 npmBuildScript = [ "build:production" ]; 22
··· 7 8 buildNpmPackage rec { 9 pname = "jellyfin-web"; 10 + version = "10.8.11"; 11 12 src = fetchFromGitHub { 13 owner = "jellyfin"; 14 repo = "jellyfin-web"; 15 rev = "v${version}"; 16 + hash = "sha256-Gl8eaC/AXBD956tAepwWVG3lSvL4rBCcgmkHeT/mrzM="; 17 }; 18 19 + npmDepsHash = "sha256-HoRteA6KFCFxDdwGtDKrvwWCMYNfYQWlit52RAN1eAU="; 20 21 npmBuildScript = [ "build:production" ]; 22
+3 -3
pkgs/servers/routinator/default.nix
··· 7 8 rustPlatform.buildRustPackage rec { 9 pname = "routinator"; 10 - version = "0.12.2"; 11 12 src = fetchFromGitHub { 13 owner = "NLnetLabs"; 14 repo = pname; 15 rev = "v${version}"; 16 - hash = "sha256-fblUr2gtlGMRAFbpWYDafskLmIls56e9b2GFD7ASZHM="; 17 }; 18 19 - cargoHash = "sha256-pvb/tZW4jqNSLgp+Ktakd3J1KVfCRtPgE0bgNst6ImQ="; 20 21 buildInputs = lib.optionals stdenv.isDarwin [ Security ]; 22
··· 7 8 rustPlatform.buildRustPackage rec { 9 pname = "routinator"; 10 + version = "0.13.0"; 11 12 src = fetchFromGitHub { 13 owner = "NLnetLabs"; 14 repo = pname; 15 rev = "v${version}"; 16 + hash = "sha256-gInJS7JpvEbmOuZecB4xjff2d7TnjcVV+8mPOmy5Oyo="; 17 }; 18 19 + cargoHash = "sha256-c5SQysjO821pfGhnyB4aGOZuwrHaN502PfkA1gBPtY4="; 20 21 buildInputs = lib.optionals stdenv.isDarwin [ Security ]; 22
+2 -2
pkgs/shells/nushell/plugins/formats.nix
··· 14 inherit pname; 15 version = "0.85.0"; 16 src = nushell.src; 17 - cargoHash = "sha256-OKtktjBOujvljAX260TbC2sQWZOiGgU+sXsbYRhGPRM="; 18 nativeBuildInputs = [ pkg-config ]; 19 - buildInputs = [ IOKit Foundation ]; 20 cargoBuildFlags = [ "--package nu_plugin_formats" ]; 21 doCheck = false; 22 meta = with lib; {
··· 14 inherit pname; 15 version = "0.85.0"; 16 src = nushell.src; 17 + cargoHash = "sha256-WS8VRpJnn/VWS7GUkGowFf51ifUx0SbEZzcoTfx2dp0="; 18 nativeBuildInputs = [ pkg-config ]; 19 + buildInputs = lib.optionals stdenv.isDarwin [ IOKit Foundation ]; 20 cargoBuildFlags = [ "--package nu_plugin_formats" ]; 21 doCheck = false; 22 meta = with lib; {
+1 -1
pkgs/shells/nushell/plugins/gstat.nix
··· 14 inherit pname; 15 version = "0.85.0"; 16 src = nushell.src; 17 - cargoHash = "sha256-Fj70uKYzEKxeZeNrqlwM7ZFJ+K1tz10RqLndrdY40CE="; 18 nativeBuildInputs = [ pkg-config ]; 19 buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security ]; 20 cargoBuildFlags = [ "--package nu_plugin_gstat" ];
··· 14 inherit pname; 15 version = "0.85.0"; 16 src = nushell.src; 17 + cargoHash = "sha256-6luY3SIRRd9vaY9KIJcj8Q974FW0LtAvRjVpdpzkdLo="; 18 nativeBuildInputs = [ pkg-config ]; 19 buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security ]; 20 cargoBuildFlags = [ "--package nu_plugin_gstat" ];
+1 -1
pkgs/shells/nushell/plugins/query.nix
··· 13 14 src = nushell.src; 15 16 - cargoHash = "sha256-8iUqOdGWm2kDW72ptlCBIqqe4zjckN09MOQD77kCf5Y="; 17 18 buildInputs = lib.optionals stdenv.isDarwin [ IOKit CoreFoundation ]; 19
··· 13 14 src = nushell.src; 15 16 + cargoHash = "sha256-xyty3GfI+zNkuHs7LYHBctqXUHZ4/MNNcnnfYvI18do="; 17 18 buildInputs = lib.optionals stdenv.isDarwin [ IOKit CoreFoundation ]; 19
+3 -3
pkgs/tools/networking/clash-meta/default.nix
··· 4 }: 5 buildGoModule rec { 6 pname = "clash-meta"; 7 - version = "1.15.1"; 8 9 src = fetchFromGitHub { 10 owner = "MetaCubeX"; 11 repo = "Clash.Meta"; 12 rev = "v${version}"; 13 - hash = "sha256-gOUG+XtLfkgnbTj1yUun50pevOh+aPXfIlof5/U2ud8="; 14 }; 15 16 - vendorHash = "sha256-My/fwa8BgaJcSGKcyyzUExVE0M2fk7rMZtOBW7V5edQ="; 17 18 # Do not build testing suit 19 excludedPackages = [ "./test" ];
··· 4 }: 5 buildGoModule rec { 6 pname = "clash-meta"; 7 + version = "1.16.0"; 8 9 src = fetchFromGitHub { 10 owner = "MetaCubeX"; 11 repo = "Clash.Meta"; 12 rev = "v${version}"; 13 + hash = "sha256-N7uCvzKBqOWYBfY1FBS9TjuHUfoKeMJF6o4k8C3f4z4="; 14 }; 15 16 + vendorHash = "sha256-ySCmHLuMTCxBcAYo7YD8zOpUAa90PQmeLLt+uOn40Pk="; 17 18 # Do not build testing suit 19 excludedPackages = [ "./test" ];
+3 -3
pkgs/tools/networking/oha/default.nix
··· 9 10 rustPlatform.buildRustPackage rec { 11 pname = "oha"; 12 - version = "0.6.3"; 13 14 src = fetchFromGitHub { 15 owner = "hatoo"; 16 repo = pname; 17 rev = "refs/tags/v${version}"; 18 - sha256 = "sha256-vna0wmdcugrYLubnjSgBBeDW6ZHH3VToIJG0z8sB/ss="; 19 }; 20 21 - cargoSha256 = "sha256-d6gK/+dsJYb/9HSOHOsly3b35dh0FZ+aNnDVVzcXiV0="; 22 23 nativeBuildInputs = lib.optionals stdenv.isLinux [ 24 pkg-config
··· 9 10 rustPlatform.buildRustPackage rec { 11 pname = "oha"; 12 + version = "0.6.4"; 13 14 src = fetchFromGitHub { 15 owner = "hatoo"; 16 repo = pname; 17 rev = "refs/tags/v${version}"; 18 + sha256 = "sha256-zupenhIxw93EifV1JRcM9ryGli+wqo88JH+8JciOn8E="; 19 }; 20 21 + cargoSha256 = "sha256-g0YJu34LmqqKCSVqS6LaO71iCJ26QKvbMpR6+sMLTr4="; 22 23 nativeBuildInputs = lib.optionals stdenv.isLinux [ 24 pkg-config
+2
pkgs/top-level/python-packages.nix
··· 8190 inherit (pkgs.xorg) libX11 libxcb; 8191 }; 8192 8193 pillow-simd = callPackage ../development/python-modules/pillow-simd { 8194 inherit (pkgs) freetype libjpeg zlib libtiff libwebp tcl lcms2 tk; 8195 inherit (pkgs.xorg) libX11;
··· 8190 inherit (pkgs.xorg) libX11 libxcb; 8191 }; 8192 8193 + pillow-heif = callPackage ../development/python-modules/pillow-heif { }; 8194 + 8195 pillow-simd = callPackage ../development/python-modules/pillow-simd { 8196 inherit (pkgs) freetype libjpeg zlib libtiff libwebp tcl lcms2 tk; 8197 inherit (pkgs.xorg) libX11;