Merge staging-next into staging

authored by

github-actions[bot] and committed by
GitHub
1016b5a6 8f71a7f3

+1217 -636
+12 -2
nixos/modules/installer/cd-dvd/iso-image.nix
··· 428 428 # Rewrite dates for everything in the FS 429 429 find . -exec touch --date=2000-01-01 {} + 430 430 431 - usage_size=$(du -sb --apparent-size . | tr -cd '[:digit:]') 431 + # Round up to the nearest multiple of 1MB, for more deterministic du output 432 + usage_size=$(( $(du -s --block-size=1M --apparent-size . | tr -cd '[:digit:]') * 1024 * 1024 )) 432 433 # Make the image 110% as big as the files need to make up for FAT overhead 433 434 image_size=$(( ($usage_size * 110) / 100 )) 434 435 # Make the image fit blocks of 1M ··· 438 439 echo "Image size: $image_size" 439 440 truncate --size=$image_size "$out" 440 441 faketime "2000-01-01 00:00:00" mkfs.vfat -i 12345678 -n EFIBOOT "$out" 441 - mcopy -psvm -i "$out" ./EFI ./boot :: 442 + 443 + # Force a fixed order in mcopy for better determinism, and avoid file globbing 444 + for d in $(find EFI boot -type d | sort); do 445 + faketime "2000-01-01 00:00:00" mmd -i "$out" "::/$d" 446 + done 447 + 448 + for f in $(find EFI boot -type f | sort); do 449 + mcopy -pvm -i "$out" "$f" "::/$f" 450 + done 451 + 442 452 # Verify the FAT partition. 443 453 fsck.vfat -vn "$out" 444 454 ''; # */
+1
nixos/modules/module-list.nix
··· 153 153 ./programs/iftop.nix 154 154 ./programs/iotop.nix 155 155 ./programs/java.nix 156 + ./programs/kdeconnect.nix 156 157 ./programs/kbdlight.nix 157 158 ./programs/less.nix 158 159 ./programs/liboping.nix
+35
nixos/modules/programs/kdeconnect.nix
··· 1 + { config, pkgs, lib, ... }: 2 + with lib; 3 + { 4 + options.programs.kdeconnect = { 5 + enable = mkEnableOption '' 6 + kdeconnect. 7 + 8 + Note that it will open the TCP and UDP port from 9 + 1714 to 1764 as they are needed for it to function properly. 10 + You can use the <option>package</option> to use 11 + <code>gnomeExtensions.gsconnect</code> as an alternative 12 + implementation if you use Gnome. 13 + ''; 14 + package = mkOption { 15 + default = pkgs.kdeconnect; 16 + defaultText = "pkgs.kdeconnect"; 17 + type = types.package; 18 + example = literalExample "pkgs.gnomeExtensions.gsconnect"; 19 + description = '' 20 + The package providing the implementation for kdeconnect. 21 + ''; 22 + }; 23 + }; 24 + config = 25 + let 26 + cfg = config.programs.kdeconnect; 27 + in 28 + mkIf cfg.enable { 29 + environment.systemPackages = [ cfg.package ]; 30 + networking.firewall = rec { 31 + allowedTCPPortRanges = [ { from = 1714; to = 1764; } ]; 32 + allowedUDPPortRanges = allowedTCPPortRanges; 33 + }; 34 + }; 35 + }
+3 -2
nixos/tests/php/default.nix
··· 1 1 { system ? builtins.currentSystem 2 - , config ? {} 2 + , config ? { } 3 3 , pkgs ? import ../../.. { inherit system config; } 4 4 , php ? pkgs.php 5 5 }: ··· 8 8 php' = php.buildEnv { 9 9 extensions = { enabled, all }: with all; enabled ++ [ apcu ]; 10 10 }; 11 - in { 11 + in 12 + { 12 13 fpm = import ./fpm.nix { inherit system pkgs; php = php'; }; 13 14 httpd = import ./httpd.nix { inherit system pkgs; php = php'; }; 14 15 pcre = import ./pcre.nix { inherit system pkgs; php = php'; };
+17 -15
nixos/tests/php/fpm.nix
··· 1 - import ../make-test-python.nix ({pkgs, lib, php, ...}: { 1 + import ../make-test-python.nix ({ pkgs, lib, php, ... }: { 2 2 name = "php-${php.version}-fpm-nginx-test"; 3 3 meta.maintainers = lib.teams.php.members; 4 4 ··· 8 8 services.nginx = { 9 9 enable = true; 10 10 11 - virtualHosts."phpfpm" = let 12 - testdir = pkgs.writeTextDir "web/index.php" "<?php phpinfo();"; 13 - in { 14 - root = "${testdir}/web"; 15 - locations."~ \\.php$".extraConfig = '' 16 - fastcgi_pass unix:${config.services.phpfpm.pools.foobar.socket}; 17 - fastcgi_index index.php; 18 - include ${pkgs.nginx}/conf/fastcgi_params; 19 - include ${pkgs.nginx}/conf/fastcgi.conf; 20 - ''; 21 - locations."/" = { 22 - tryFiles = "$uri $uri/ index.php"; 23 - index = "index.php index.html index.htm"; 11 + virtualHosts."phpfpm" = 12 + let 13 + testdir = pkgs.writeTextDir "web/index.php" "<?php phpinfo();"; 14 + in 15 + { 16 + root = "${testdir}/web"; 17 + locations."~ \\.php$".extraConfig = '' 18 + fastcgi_pass unix:${config.services.phpfpm.pools.foobar.socket}; 19 + fastcgi_index index.php; 20 + include ${pkgs.nginx}/conf/fastcgi_params; 21 + include ${pkgs.nginx}/conf/fastcgi.conf; 22 + ''; 23 + locations."/" = { 24 + tryFiles = "$uri $uri/ index.php"; 25 + index = "index.php index.html index.htm"; 26 + }; 24 27 }; 25 - }; 26 28 }; 27 29 28 30 services.phpfpm.pools."foobar" = {
+10 -8
nixos/tests/php/httpd.nix
··· 1 - import ../make-test-python.nix ({pkgs, lib, php, ...}: { 1 + import ../make-test-python.nix ({ pkgs, lib, php, ... }: { 2 2 name = "php-${php.version}-httpd-test"; 3 3 meta.maintainers = lib.teams.php.members; 4 4 ··· 6 6 services.httpd = { 7 7 enable = true; 8 8 adminAddr = "admin@phpfpm"; 9 - virtualHosts."phpfpm" = let 10 - testdir = pkgs.writeTextDir "web/index.php" "<?php phpinfo();"; 11 - in { 12 - documentRoot = "${testdir}/web"; 13 - locations."/" = { 14 - index = "index.php index.html"; 9 + virtualHosts."phpfpm" = 10 + let 11 + testdir = pkgs.writeTextDir "web/index.php" "<?php phpinfo();"; 12 + in 13 + { 14 + documentRoot = "${testdir}/web"; 15 + locations."/" = { 16 + index = "index.php index.html"; 17 + }; 15 18 }; 16 - }; 17 19 phpPackage = php; 18 20 enablePHP = true; 19 21 };
+11 -9
nixos/tests/php/pcre.nix
··· 1 1 let 2 2 testString = "can-use-subgroups"; 3 - in import ../make-test-python.nix ({lib, php, ...}: { 3 + in 4 + import ../make-test-python.nix ({ lib, php, ... }: { 4 5 name = "php-${php.version}-httpd-pcre-jit-test"; 5 6 meta.maintainers = lib.teams.php.members; 6 7 ··· 12 13 phpPackage = php; 13 14 enablePHP = true; 14 15 phpOptions = "pcre.jit = true"; 15 - extraConfig = let 16 - testRoot = pkgs.writeText "index.php" 17 - '' 18 - <?php 19 - preg_match('/(${testString})/', '${testString}', $result); 20 - var_dump($result); 21 - ''; 22 - in 16 + extraConfig = 17 + let 18 + testRoot = pkgs.writeText "index.php" 19 + '' 20 + <?php 21 + preg_match('/(${testString})/', '${testString}', $result); 22 + var_dump($result); 23 + ''; 24 + in 23 25 '' 24 26 Alias / ${testRoot}/ 25 27
+5 -12
pkgs/applications/science/astronomy/siril/default.nix
··· 1 - { lib, stdenv, fetchFromGitLab, fetchpatch, pkg-config, meson, ninja 1 + { lib, stdenv, fetchFromGitLab, pkg-config, meson, ninja 2 2 , git, criterion, gtk3, libconfig, gnuplot, opencv, json-glib 3 3 , fftwFloat, cfitsio, gsl, exiv2, librtprocess, wcslib, ffmpeg 4 4 , libraw, libtiff, libpng, libjpeg, libheif, ffms, wrapGAppsHook ··· 6 6 7 7 stdenv.mkDerivation rec { 8 8 pname = "siril"; 9 - version = "0.99.8.1"; 9 + version = "0.99.10.1"; 10 10 11 11 src = fetchFromGitLab { 12 12 owner = "free-astro"; 13 13 repo = pname; 14 14 rev = version; 15 - sha256 = "0h3slgpj6zdc0rwmyr9zb0vgf53283hpwb7h26skdswmggsk90i5"; 15 + sha256 = "sha256-gqV+pJNaU+GnYiUo/imofgNdeM+AtDg/pSH7aoqhkYA="; 16 16 }; 17 17 18 - patches = [ 19 - # Backport fix for broken build on glib-2.68 20 - (fetchpatch { 21 - url = "https://gitlab.com/free-astro/siril/-/commit/d319fceca5b00f156e1c5e3512d3ac1f41beb16a.diff"; 22 - sha256 = "00lq9wq8z48ly3hmkgzfqbdjaxr0hzyl2qwbj45bdnxfwqragh5m"; 23 - }) 24 - ]; 25 - 26 18 nativeBuildInputs = [ 27 19 meson ninja pkg-config git criterion wrapGAppsHook 28 20 ]; ··· 47 39 homepage = "https://www.siril.org/"; 48 40 description = "Astrophotographic image processing tool"; 49 41 license = licenses.gpl3Plus; 42 + changelog = "https://gitlab.com/free-astro/siril/-/blob/HEAD/ChangeLog"; 50 43 maintainers = with maintainers; [ hjones2199 ]; 51 - platforms = [ "x86_64-linux" ]; 44 + platforms = platforms.linux; 52 45 }; 53 46 }
+2 -2
pkgs/applications/virtualization/podman/default.nix
··· 17 17 18 18 buildGoModule rec { 19 19 pname = "podman"; 20 - version = "3.2.1"; 20 + version = "3.2.2"; 21 21 22 22 src = fetchFromGitHub { 23 23 owner = "containers"; 24 24 repo = "podman"; 25 25 rev = "v${version}"; 26 - sha256 = "sha256-nnVMK4ST9Z2Oi1yLiFRIc9qAlJF4UEtE90iseHhKGlQ="; 26 + sha256 = "sha256-D1gtKaDZ7/SyySYWmDa3eDHbh2f5B3q1VEYKgl1pXCE="; 27 27 }; 28 28 29 29 vendorSha256 = null;
+5 -5
pkgs/build-support/build-pecl.nix
··· 2 2 3 3 { pname 4 4 , version 5 - , internalDeps ? [] 6 - , peclDeps ? [] 7 - , buildInputs ? [] 8 - , nativeBuildInputs ? [] 5 + , internalDeps ? [ ] 6 + , peclDeps ? [ ] 7 + , buildInputs ? [ ] 8 + , nativeBuildInputs ? [ ] 9 9 , postPhpize ? "" 10 - , makeFlags ? [] 10 + , makeFlags ? [ ] 11 11 , src ? fetchurl { 12 12 url = "http://pecl.php.net/get/${pname}-${version}.tgz"; 13 13 inherit (args) sha256;
+9 -6
pkgs/development/compilers/chicken/5/chicken.nix
··· 1 1 { lib, stdenv, fetchurl, makeWrapper, darwin, bootstrap-chicken ? null }: 2 2 3 3 let 4 - version = "5.2.0"; 5 4 platform = with stdenv; 6 5 if isDarwin then "macosx" 7 6 else if isCygwin then "cygwin" ··· 9 8 else if isSunOS then "solaris" 10 9 else "linux"; # Should be a sane default 11 10 in 12 - stdenv.mkDerivation { 11 + stdenv.mkDerivation rec { 13 12 pname = "chicken"; 14 - inherit version; 13 + version = "5.2.0"; 15 14 16 15 binaryVersion = 11; 17 16 ··· 46 45 done 47 46 ''; 48 47 49 - # TODO: Assert csi -R files -p '(pathname-file (repository-path))' == binaryVersion 48 + doCheck = true; 49 + postCheck = '' 50 + ./csi -R chicken.pathname -R chicken.platform \ 51 + -p "(assert (equal? \"${toString binaryVersion}\" (pathname-file (car (repository-path)))))" 52 + ''; 50 53 51 54 meta = { 52 - homepage = "http://www.call-cc.org/"; 55 + homepage = "https://call-cc.org/"; 53 56 license = lib.licenses.bsd3; 54 57 maintainers = with lib.maintainers; [ corngood ]; 55 - platforms = lib.platforms.linux ++ lib.platforms.darwin; # Maybe other Unix 58 + platforms = lib.platforms.unix; 56 59 description = "A portable compiler for the Scheme programming language"; 57 60 longDescription = '' 58 61 CHICKEN is a compiler for the Scheme programming language.
+1
pkgs/development/compilers/llvm/12/llvm/default.nix
··· 96 96 rm test/DebugInfo/X86/convert-debugloc.ll 97 97 rm test/DebugInfo/X86/convert-inlined.ll 98 98 rm test/DebugInfo/X86/convert-linked.ll 99 + rm test/DebugInfo/X86/vla-multi.ll 99 100 rm test/tools/dsymutil/X86/op-convert.test 100 101 '' + optionalString (stdenv.hostPlatform.system == "armv6l-linux") '' 101 102 # Seems to require certain floating point hardware (NEON?)
+43 -6
pkgs/development/interpreters/php/7.4.nix
··· 6 6 sha256 = "0d5ncz97y0271dsmz269wl4721vhq2fn6pmm9rxglc756p36pnha"; 7 7 }); 8 8 9 - in base.withExtensions ({ all, ... }: with all; ([ 10 - bcmath calendar curl ctype dom exif fileinfo filter ftp gd 11 - gettext gmp iconv intl json ldap mbstring mysqli mysqlnd opcache 12 - openssl pcntl pdo pdo_mysql pdo_odbc pdo_pgsql pdo_sqlite pgsql 13 - posix readline session simplexml sockets soap sodium sqlite3 14 - tokenizer xmlreader xmlwriter zip zlib 9 + in 10 + base.withExtensions ({ all, ... }: with all; ([ 11 + bcmath 12 + calendar 13 + curl 14 + ctype 15 + dom 16 + exif 17 + fileinfo 18 + filter 19 + ftp 20 + gd 21 + gettext 22 + gmp 23 + iconv 24 + intl 25 + json 26 + ldap 27 + mbstring 28 + mysqli 29 + mysqlnd 30 + opcache 31 + openssl 32 + pcntl 33 + pdo 34 + pdo_mysql 35 + pdo_odbc 36 + pdo_pgsql 37 + pdo_sqlite 38 + pgsql 39 + posix 40 + readline 41 + session 42 + simplexml 43 + sockets 44 + soap 45 + sodium 46 + sqlite3 47 + tokenizer 48 + xmlreader 49 + xmlwriter 50 + zip 51 + zlib 15 52 ] ++ lib.optionals (!stdenv.isDarwin) [ imap ]))
+42 -6
pkgs/development/interpreters/php/8.0.nix
··· 6 6 sha256 = "0yazcc9x66xg1gmi3rpgk891g6s3mm7aywcadqfqnx1mdz4z5ckj"; 7 7 }); 8 8 9 - in base.withExtensions ({ all, ... }: with all; ([ 10 - bcmath calendar curl ctype dom exif fileinfo filter ftp gd 11 - gettext gmp iconv intl ldap mbstring mysqli mysqlnd opcache 12 - openssl pcntl pdo pdo_mysql pdo_odbc pdo_pgsql pdo_sqlite pgsql 13 - posix readline session simplexml sockets soap sodium sqlite3 14 - tokenizer xmlreader xmlwriter zip zlib 9 + in 10 + base.withExtensions ({ all, ... }: with all; ([ 11 + bcmath 12 + calendar 13 + curl 14 + ctype 15 + dom 16 + exif 17 + fileinfo 18 + filter 19 + ftp 20 + gd 21 + gettext 22 + gmp 23 + iconv 24 + intl 25 + ldap 26 + mbstring 27 + mysqli 28 + mysqlnd 29 + opcache 30 + openssl 31 + pcntl 32 + pdo 33 + pdo_mysql 34 + pdo_odbc 35 + pdo_pgsql 36 + pdo_sqlite 37 + pgsql 38 + posix 39 + readline 40 + session 41 + simplexml 42 + sockets 43 + soap 44 + sodium 45 + sqlite3 46 + tokenizer 47 + xmlreader 48 + xmlwriter 49 + zip 50 + zlib 15 51 ] ++ lib.optionals (!stdenv.isDarwin) [ imap ]))
+140 -118
pkgs/development/interpreters/php/generic.nix
··· 3 3 4 4 let 5 5 generic = 6 - { callPackage, lib, stdenv, nixosTests, fetchurl, makeWrapper 7 - , symlinkJoin, writeText, autoconf, automake, bison, flex, libtool 8 - , pkg-config, re2c, apacheHttpd, libargon2, libxml2, pcre2 9 - , systemd, system-sendmail, valgrind, xcbuild 6 + { callPackage 7 + , lib 8 + , stdenv 9 + , nixosTests 10 + , fetchurl 11 + , makeWrapper 12 + , symlinkJoin 13 + , writeText 14 + , autoconf 15 + , automake 16 + , bison 17 + , flex 18 + , libtool 19 + , pkg-config 20 + , re2c 21 + , apacheHttpd 22 + , libargon2 23 + , libxml2 24 + , pcre2 25 + , systemd 26 + , system-sendmail 27 + , valgrind 28 + , xcbuild 10 29 11 30 , version 12 31 , sha256 13 - , extraPatches ? [] 14 - , packageOverrides ? (final: prev: {}) 32 + , extraPatches ? [ ] 33 + , packageOverrides ? (final: prev: { }) 15 34 16 - # Sapi flags 35 + # Sapi flags 17 36 , cgiSupport ? true 18 37 , cliSupport ? true 19 38 , fpmSupport ? true ··· 21 40 , pharSupport ? true 22 41 , phpdbgSupport ? true 23 42 24 - # Misc flags 43 + # Misc flags 25 44 , apxs2Support ? !stdenv.isDarwin 26 45 , argon2Support ? true 27 46 , cgotoSupport ? false ··· 43 62 # expected. 44 63 mkBuildEnv = prevArgs: prevExtensionFunctions: lib.makeOverridable ( 45 64 { extensions ? ({ enabled, ... }: enabled), extraConfig ? "", ... }@innerArgs: 46 - let 47 - allArgs = args // prevArgs // innerArgs; 48 - filteredArgs = builtins.removeAttrs allArgs [ "extensions" "extraConfig" ]; 49 - php = generic filteredArgs; 65 + let 66 + allArgs = args // prevArgs // innerArgs; 67 + filteredArgs = builtins.removeAttrs allArgs [ "extensions" "extraConfig" ]; 68 + php = generic filteredArgs; 50 69 51 - php-packages = (callPackage ../../../top-level/php-packages.nix { 52 - phpPackage = phpWithExtensions; 53 - }).overrideScope' packageOverrides; 70 + php-packages = (callPackage ../../../top-level/php-packages.nix { 71 + phpPackage = phpWithExtensions; 72 + }).overrideScope' packageOverrides; 54 73 55 - allExtensionFunctions = prevExtensionFunctions ++ [ extensions ]; 56 - enabledExtensions = 57 - builtins.foldl' 58 - (enabled: f: 59 - f { inherit enabled; all = php-packages.extensions; }) 60 - [] 61 - allExtensionFunctions; 74 + allExtensionFunctions = prevExtensionFunctions ++ [ extensions ]; 75 + enabledExtensions = 76 + builtins.foldl' 77 + (enabled: f: 78 + f { inherit enabled; all = php-packages.extensions; }) 79 + [ ] 80 + allExtensionFunctions; 62 81 63 - getExtName = ext: lib.removePrefix "php-" (builtins.parseDrvName ext.name).name; 82 + getExtName = ext: lib.removePrefix "php-" (builtins.parseDrvName ext.name).name; 64 83 65 - # Recursively get a list of all internal dependencies 66 - # for a list of extensions. 67 - getDepsRecursively = extensions: 68 - let 69 - deps = lib.concatMap 70 - (ext: (ext.internalDeps or []) ++ (ext.peclDeps or [])) 71 - extensions; 72 - in 73 - if ! (deps == []) then 74 - deps ++ (getDepsRecursively deps) 75 - else 76 - deps; 84 + # Recursively get a list of all internal dependencies 85 + # for a list of extensions. 86 + getDepsRecursively = extensions: 87 + let 88 + deps = lib.concatMap 89 + (ext: (ext.internalDeps or [ ]) ++ (ext.peclDeps or [ ])) 90 + extensions; 91 + in 92 + if ! (deps == [ ]) then 93 + deps ++ (getDepsRecursively deps) 94 + else 95 + deps; 77 96 78 - # Generate extension load configuration snippets from the 79 - # extension parameter. This is an attrset suitable for use 80 - # with textClosureList, which is used to put the strings in 81 - # the right order - if a plugin which is dependent on 82 - # another plugin is placed before its dependency, it will 83 - # fail to load. 84 - extensionTexts = 85 - lib.listToAttrs 86 - (map (ext: 97 + # Generate extension load configuration snippets from the 98 + # extension parameter. This is an attrset suitable for use 99 + # with textClosureList, which is used to put the strings in 100 + # the right order - if a plugin which is dependent on 101 + # another plugin is placed before its dependency, it will 102 + # fail to load. 103 + extensionTexts = 104 + lib.listToAttrs 105 + (map 106 + (ext: 87 107 let 88 108 extName = getExtName ext; 89 - phpDeps = (ext.internalDeps or []) ++ (ext.peclDeps or []); 109 + phpDeps = (ext.internalDeps or [ ]) ++ (ext.peclDeps or [ ]); 90 110 type = "${lib.optionalString (ext.zendExtension or false) "zend_"}extension"; 91 111 in 92 - lib.nameValuePair extName { 93 - text = "${type}=${ext}/lib/php/extensions/${extName}.so"; 94 - deps = map getExtName phpDeps; 95 - }) 96 - (enabledExtensions ++ (getDepsRecursively enabledExtensions))); 112 + lib.nameValuePair extName { 113 + text = "${type}=${ext}/lib/php/extensions/${extName}.so"; 114 + deps = map getExtName phpDeps; 115 + }) 116 + (enabledExtensions ++ (getDepsRecursively enabledExtensions))); 97 117 98 - extNames = map getExtName enabledExtensions; 99 - extraInit = writeText "php-extra-init-${version}.ini" '' 100 - ${lib.concatStringsSep "\n" 101 - (lib.textClosureList extensionTexts extNames)} 102 - ${extraConfig} 103 - ''; 118 + extNames = map getExtName enabledExtensions; 119 + extraInit = writeText "php-extra-init-${version}.ini" '' 120 + ${lib.concatStringsSep "\n" 121 + (lib.textClosureList extensionTexts extNames)} 122 + ${extraConfig} 123 + ''; 104 124 105 - phpWithExtensions = symlinkJoin { 106 - name = "php-with-extensions-${version}"; 107 - inherit (php) version; 108 - nativeBuildInputs = [ makeWrapper ]; 109 - passthru = php.passthru // { 110 - buildEnv = mkBuildEnv allArgs allExtensionFunctions; 111 - withExtensions = mkWithExtensions allArgs allExtensionFunctions; 112 - phpIni = "${phpWithExtensions}/lib/php.ini"; 113 - unwrapped = php; 114 - # Select the right php tests for the php version 115 - tests = nixosTests."php${lib.strings.replaceStrings [ "." ] [ "" ] (lib.versions.majorMinor php.version)}"; 116 - inherit (php-packages) extensions buildPecl; 117 - packages = php-packages.tools; 118 - meta = php.meta // { 119 - outputsToInstall = [ "out" ]; 120 - }; 125 + phpWithExtensions = symlinkJoin { 126 + name = "php-with-extensions-${version}"; 127 + inherit (php) version; 128 + nativeBuildInputs = [ makeWrapper ]; 129 + passthru = php.passthru // { 130 + buildEnv = mkBuildEnv allArgs allExtensionFunctions; 131 + withExtensions = mkWithExtensions allArgs allExtensionFunctions; 132 + phpIni = "${phpWithExtensions}/lib/php.ini"; 133 + unwrapped = php; 134 + # Select the right php tests for the php version 135 + tests = nixosTests."php${lib.strings.replaceStrings [ "." ] [ "" ] (lib.versions.majorMinor php.version)}"; 136 + inherit (php-packages) extensions buildPecl; 137 + packages = php-packages.tools; 138 + meta = php.meta // { 139 + outputsToInstall = [ "out" ]; 121 140 }; 122 - paths = [ php ]; 123 - postBuild = '' 124 - ln -s ${extraInit} $out/lib/php.ini 141 + }; 142 + paths = [ php ]; 143 + postBuild = '' 144 + ln -s ${extraInit} $out/lib/php.ini 125 145 126 - if test -e $out/bin/php; then 127 - wrapProgram $out/bin/php --set PHP_INI_SCAN_DIR $out/lib 128 - fi 146 + if test -e $out/bin/php; then 147 + wrapProgram $out/bin/php --set PHP_INI_SCAN_DIR $out/lib 148 + fi 129 149 130 - if test -e $out/bin/php-fpm; then 131 - wrapProgram $out/bin/php-fpm --set PHP_INI_SCAN_DIR $out/lib 132 - fi 150 + if test -e $out/bin/php-fpm; then 151 + wrapProgram $out/bin/php-fpm --set PHP_INI_SCAN_DIR $out/lib 152 + fi 133 153 134 - if test -e $out/bin/phpdbg; then 135 - wrapProgram $out/bin/phpdbg --set PHP_INI_SCAN_DIR $out/lib 136 - fi 137 - ''; 138 - }; 139 - in 140 - phpWithExtensions); 154 + if test -e $out/bin/phpdbg; then 155 + wrapProgram $out/bin/phpdbg --set PHP_INI_SCAN_DIR $out/lib 156 + fi 157 + ''; 158 + }; 159 + in 160 + phpWithExtensions 161 + ); 141 162 142 163 mkWithExtensions = prevArgs: prevExtensionFunctions: extensions: 143 164 mkBuildEnv prevArgs prevExtensionFunctions { inherit extensions; }; ··· 182 203 # Enable sapis 183 204 ++ lib.optional (!cgiSupport) "--disable-cgi" 184 205 ++ lib.optional (!cliSupport) "--disable-cli" 185 - ++ lib.optional fpmSupport "--enable-fpm" 206 + ++ lib.optional fpmSupport "--enable-fpm" 186 207 ++ lib.optional pearSupport [ "--with-pear" "--enable-xml" "--with-libxml" ] 187 208 ++ lib.optionals (pearSupport && (lib.versionOlder version "7.4")) [ 188 209 "--enable-libxml" 189 210 "--with-libxml-dir=${libxml2.dev}" 190 211 ] 191 - ++ lib.optional pharSupport "--enable-phar" 212 + ++ lib.optional pharSupport "--enable-phar" 192 213 ++ lib.optional (!phpdbgSupport) "--disable-phpdbg" 193 214 194 215 ··· 211 232 hardeningDisable = [ "bindnow" ]; 212 233 213 234 preConfigure = 214 - # Don't record the configure flags since this causes unnecessary 215 - # runtime dependencies 216 - '' 217 - for i in main/build-defs.h.in scripts/php-config.in; do 218 - substituteInPlace $i \ 219 - --replace '@CONFIGURE_COMMAND@' '(omitted)' \ 220 - --replace '@CONFIGURE_OPTIONS@' "" \ 221 - --replace '@PHP_LDFLAGS@' "" 222 - done 235 + # Don't record the configure flags since this causes unnecessary 236 + # runtime dependencies 237 + '' 238 + for i in main/build-defs.h.in scripts/php-config.in; do 239 + substituteInPlace $i \ 240 + --replace '@CONFIGURE_COMMAND@' '(omitted)' \ 241 + --replace '@CONFIGURE_OPTIONS@' "" \ 242 + --replace '@PHP_LDFLAGS@' "" 243 + done 223 244 224 - export EXTENSION_DIR=$out/lib/php/extensions 225 - '' 226 - # PKG_CONFIG need not be a relative path 227 - + lib.optionalString (! lib.versionAtLeast version "7.4") '' 228 - for i in $(find . -type f -name "*.m4"); do 229 - substituteInPlace $i \ 230 - --replace 'test -x "$PKG_CONFIG"' 'type -P "$PKG_CONFIG" >/dev/null' 231 - done 232 - '' + '' 233 - ./buildconf --copy --force 245 + export EXTENSION_DIR=$out/lib/php/extensions 246 + '' 247 + # PKG_CONFIG need not be a relative path 248 + + lib.optionalString (!lib.versionAtLeast version "7.4") '' 249 + for i in $(find . -type f -name "*.m4"); do 250 + substituteInPlace $i \ 251 + --replace 'test -x "$PKG_CONFIG"' 'type -P "$PKG_CONFIG" >/dev/null' 252 + done 253 + '' + '' 254 + ./buildconf --copy --force 234 255 235 - if test -f $src/genfiles; then 236 - ./genfiles 237 - fi 238 - '' + lib.optionalString stdenv.isDarwin '' 239 - substituteInPlace configure --replace "-lstdc++" "-lc++" 240 - ''; 256 + if test -f $src/genfiles; then 257 + ./genfiles 258 + fi 259 + '' + lib.optionalString stdenv.isDarwin '' 260 + substituteInPlace configure --replace "-lstdc++" "-lc++" 261 + ''; 241 262 242 263 postInstall = '' 243 264 test -d $out/etc || mkdir $out/etc ··· 264 285 outputs = [ "out" "dev" ]; 265 286 266 287 passthru = { 267 - buildEnv = mkBuildEnv {} []; 268 - withExtensions = mkWithExtensions {} []; 288 + buildEnv = mkBuildEnv { } [ ]; 289 + withExtensions = mkWithExtensions { } [ ]; 269 290 inherit ztsSupport; 270 291 }; 271 292 ··· 278 299 outputsToInstall = [ "out" "dev" ]; 279 300 }; 280 301 }; 281 - in generic 302 + in 303 + generic
+2 -2
pkgs/development/libraries/science/astronomy/indilib/default.nix
··· 15 15 16 16 stdenv.mkDerivation rec { 17 17 pname = "indilib"; 18 - version = "1.9.0"; 18 + version = "1.9.1"; 19 19 20 20 src = fetchFromGitHub { 21 21 owner = "indilib"; 22 22 repo = "indi"; 23 23 rev = "v${version}"; 24 - sha256 = "sha256-YdVBzhz+Gim27/Js5MhEJNukoXp5eK9/dZ+JQVyls0M="; 24 + sha256 = "sha256-qXGTHyXhJrApexQL31fba0ZvnHEyTsY3Tb7aB4GpGn4="; 25 25 }; 26 26 27 27 nativeBuildInputs = [
+2 -2
pkgs/development/libraries/science/astronomy/indilib/indi-full.nix
··· 1 1 { stdenv, lib, callPackage, fetchFromGitHub, indilib }: 2 2 3 3 let 4 - indi-version = "1.9.0"; 4 + indi-version = "1.9.1"; 5 5 indi-3rdparty-src = fetchFromGitHub { 6 6 owner = "indilib"; 7 7 repo = "indi-3rdparty"; 8 8 rev = "v${indi-version}"; 9 - sha256 = "sha256-5VR1MN52a0ZtaHYw4lD6LWmnvc1oHlfE5GLGbfBKvqE="; 9 + sha256 = "sha256-F0O4WUYdUL6IjJyON/XJp78v4n5rj0unm1xTzEsEH0k="; 10 10 }; 11 11 indi-firmware = callPackage ./indi-firmware.nix { 12 12 version = indi-version;
+2 -2
pkgs/development/php-packages/event/default.nix
··· 2 2 buildPecl { 3 3 pname = "event"; 4 4 5 - version = "3.0.4"; 6 - sha256 = "13yb3zvlx43cncawymiwbqyz8gzpq1g03vd0xjlw9vz75b4mwn1x"; 5 + version = "3.0.5"; 6 + sha256 = "0q5a83mcl97cyry5rd85j5xsjvflnki6s5cm56igjm0szxvgj39c"; 7 7 8 8 configureFlags = [ 9 9 "--with-event-libevent-dir=${libevent.dev}"
+2 -2
pkgs/development/php-packages/igbinary/default.nix
··· 3 3 buildPecl { 4 4 pname = "igbinary"; 5 5 6 - version = "3.2.2"; 7 - sha256 = "0321pb0298fa67qwj5nhhabkjiaxna5mag15ljyrqzpivimvny92"; 6 + version = "3.2.3"; 7 + sha256 = "1ffaqhckkk1qr5dk1fl7f8dm2w4lj4gqrgazzmc67acsdmp7z5f0"; 8 8 9 9 configureFlags = [ "--enable-igbinary" ]; 10 10 makeFlags = [ "phpincludedir=$(dev)/include" ];
+3 -16
pkgs/development/php-packages/imagick/default.nix
··· 1 - { buildPecl, fetchpatch, lib, imagemagick, pkg-config, pcre2 }: 1 + { buildPecl, lib, imagemagick, pkg-config, pcre2 }: 2 2 3 3 buildPecl { 4 4 pname = "imagick"; 5 5 6 - version = "3.4.4"; 7 - sha256 = "0xvhaqny1v796ywx83w7jyjyd0nrxkxf34w9zi8qc8aw8qbammcd"; 8 - 9 - patches = [ 10 - # Fix compatibility with PHP 8. 11 - (fetchpatch { 12 - url = "https://github.com/Imagick/imagick/pull/336.patch"; 13 - sha256 = "nuRdh02qaMx0s/5OzlfWjyYgZG1zgrYnAjsZ/UVIrUM="; 14 - }) 15 - # Fix detection of ImageMagick 7. 16 - (fetchpatch { 17 - url = "https://github.com/Imagick/imagick/commit/09551fbf38c16cdaf4ade7c08744501cd82d2747.patch"; 18 - sha256 = "qUeQHP08kKOzuQdEpR8RSZ18Yhi0U9z24KwQcAx1UVg="; 19 - }) 20 - ]; 6 + version = "3.5.0"; 7 + sha256 = "0afjyll6rr79am6d1p041bl4dj44hp9z4gzmlhrkvkdsdz1vfpbr"; 21 8 22 9 configureFlags = [ "--with-imagick=${imagemagick.dev}" ]; 23 10 nativeBuildInputs = [ pkg-config ];
+12 -2
pkgs/development/php-packages/mongodb/default.nix
··· 1 - { stdenv, buildPecl, lib, pcre2, pkg-config, cyrus_sasl, icu64 2 - , openssl, snappy, zlib, darwin }: 1 + { stdenv 2 + , buildPecl 3 + , lib 4 + , pcre2 5 + , pkg-config 6 + , cyrus_sasl 7 + , icu64 8 + , openssl 9 + , snappy 10 + , zlib 11 + , darwin 12 + }: 3 13 4 14 buildPecl { 5 15 pname = "mongodb";
+2 -2
pkgs/development/php-packages/php-cs-fixer/default.nix
··· 1 1 { mkDerivation, fetchurl, makeWrapper, lib, php }: 2 2 let 3 3 pname = "php-cs-fixer"; 4 - version = "2.18.4"; 4 + version = "3.0.0"; 5 5 in 6 6 mkDerivation { 7 7 inherit pname version; 8 8 9 9 src = fetchurl { 10 10 url = "https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases/download/v${version}/php-cs-fixer.phar"; 11 - sha256 = "sha256-ZgnWv7Xd+0XgZ/IPdjVpAEraNNJq2KHB3aUUIG1SirU="; 11 + sha256 = "141rkcr0wbsqnc4s5vg4bk4dmxwigwxa3j0vi5c42b5k1lq3sgwr"; 12 12 }; 13 13 14 14 phases = [ "installPhase" ];
+2 -2
pkgs/development/php-packages/phpstan/default.nix
··· 1 1 { mkDerivation, fetchurl, makeWrapper, lib, php }: 2 2 let 3 3 pname = "phpstan"; 4 - version = "0.12.82"; 4 + version = "0.12.90"; 5 5 in 6 6 mkDerivation { 7 7 inherit pname version; 8 8 9 9 src = fetchurl { 10 10 url = "https://github.com/phpstan/phpstan/releases/download/${version}/phpstan.phar"; 11 - sha256 = "sha256-fX7YK4z6xUhSJ2jTCy7bRK13TxXSn/qo7E5DeZlv2Nw="; 11 + sha256 = "0f8858w9b421s3dfz8a56g0mik4zyi1lp88lijw4zs2d94dcdl9s"; 12 12 }; 13 13 14 14 phases = [ "installPhase" ];
+2 -2
pkgs/development/php-packages/protobuf/default.nix
··· 3 3 buildPecl { 4 4 pname = "protobuf"; 5 5 6 - version = "3.17.2"; 7 - sha256 = "0i4npj4sl8ihkzxc6m3vv3nlqk952z9bfwnrk90a9yakw5gfhlz5"; 6 + version = "3.17.3"; 7 + sha256 = "05nn6ps271vwrbr9w08lyyzsszabnqhz1x0vbblg0q8y2xrmb6dl"; 8 8 9 9 buildInputs = [ pcre2 ]; 10 10
+2 -2
pkgs/development/php-packages/psalm/default.nix
··· 1 1 { mkDerivation, fetchurl, makeWrapper, lib, php }: 2 2 let 3 3 pname = "psalm"; 4 - version = "4.6.1"; 4 + version = "4.7.3"; 5 5 in 6 6 mkDerivation { 7 7 inherit pname version; 8 8 9 9 src = fetchurl { 10 10 url = "https://github.com/vimeo/psalm/releases/download/${version}/psalm.phar"; 11 - sha256 = "sha256-YFeTSIfZ2u1KmpoKV5I7pMMvCk3u5ILktsunvoDnBsg="; 11 + sha256 = "0d8gxkpm4rc00a8br5wzjpglkwx95kr15s4z3cvxyf6iik1j5r47"; 12 12 }; 13 13 14 14 phases = [ "installPhase" ];
+49
pkgs/development/python-modules/alpha-vantage/default.nix
··· 1 + { lib 2 + , aiohttp 3 + , aioresponses 4 + , buildPythonPackage 5 + , fetchFromGitHub 6 + , pandas 7 + , pytestCheckHook 8 + , requests 9 + , requests-mock 10 + }: 11 + 12 + buildPythonPackage rec { 13 + pname = "alpha-vantage"; 14 + version = "2.3.1"; 15 + 16 + src = fetchFromGitHub { 17 + owner = "RomelTorres"; 18 + repo = "alpha_vantage"; 19 + rev = version; 20 + sha256 = "0cyw6zw7c7r076rmhnmg905ihwb9r7g511n6gdlph06v74pdls8d"; 21 + }; 22 + 23 + propagatedBuildInputs = [ 24 + aiohttp 25 + requests 26 + ]; 27 + 28 + checkInputs = [ 29 + aioresponses 30 + requests-mock 31 + pandas 32 + pytestCheckHook 33 + ]; 34 + 35 + disabledTestPaths = [ 36 + # Tests require network access 37 + "test_alpha_vantage/test_integration_alphavantage.py" 38 + "test_alpha_vantage/test_integration_alphavantage_async.py" 39 + ]; 40 + 41 + pythonImportsCheck = [ "alpha_vantage" ]; 42 + 43 + meta = with lib; { 44 + description = "Python module for the Alpha Vantage API"; 45 + homepage = "https://github.com/RomelTorres/alpha_vantage"; 46 + license = with licenses; [ mit ]; 47 + maintainers = with maintainers; [ fab ]; 48 + }; 49 + }
+35
pkgs/development/python-modules/bizkaibus/default.nix
··· 1 + { lib 2 + , requests 3 + , buildPythonPackage 4 + , fetchFromGitHub 5 + , pythonOlder 6 + }: 7 + 8 + buildPythonPackage rec { 9 + pname = "bizkaibus"; 10 + version = "0.1.4"; 11 + disabled = pythonOlder "3.6"; 12 + 13 + src = fetchFromGitHub { 14 + owner = "UgaitzEtxebarria"; 15 + repo = "BizkaibusRTPI"; 16 + rev = version; 17 + sha256 = "1v7k9fclndb4x9npzhzj68kbrc3lb3wr6cwal2x46ib207593ckr"; 18 + }; 19 + 20 + propagatedBuildInputs = [ 21 + requests 22 + ]; 23 + 24 + # Project has no tests 25 + doCheck = false; 26 + 27 + pythonImportsCheck = [ "bizkaibus" ]; 28 + 29 + meta = with lib; { 30 + description = "Python module to get information about Bizkaibus buses"; 31 + homepage = "https://github.com/UgaitzEtxebarria/BizkaibusRTPI"; 32 + license = with licenses; [ mit ]; 33 + maintainers = with maintainers; [ fab ]; 34 + }; 35 + }
+34
pkgs/development/python-modules/dtlssocket/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , autoconf 5 + , cython 6 + }: 7 + 8 + buildPythonPackage rec { 9 + pname = "dtlssocket"; 10 + version = "0.1.12"; 11 + 12 + src = fetchPypi { 13 + pname = "DTLSSocket"; 14 + inherit version; 15 + sha256 = "909a8f52f1890ec9e92fd46ef609daa8875c2a1c262c0b61200e73c6c2dd5099"; 16 + }; 17 + 18 + nativeBuildInputs = [ 19 + autoconf 20 + cython 21 + ]; 22 + 23 + # no tests on PyPI, no tags on GitLab 24 + doCheck = false; 25 + 26 + pythonImportsCheck = [ "DTLSSocket" ]; 27 + 28 + meta = with lib; { 29 + description = "Cython wrapper for tinydtls with a Socket like interface"; 30 + homepage = "https://git.fslab.de/jkonra2m/tinydtls-cython"; 31 + license = licenses.epl10; 32 + maintainers = with maintainers; [ dotlambda ]; 33 + }; 34 + }
+35
pkgs/development/python-modules/fordpass/default.nix
··· 1 + { lib 2 + , requests 3 + , buildPythonPackage 4 + , fetchFromGitHub 5 + , pythonOlder 6 + }: 7 + 8 + buildPythonPackage rec { 9 + pname = "fordpass"; 10 + version = "0.0.4"; 11 + disabled = pythonOlder "3.7"; 12 + 13 + src = fetchFromGitHub { 14 + owner = "clarkd"; 15 + repo = "fordpass-python"; 16 + rev = version; 17 + sha256 = "0i1dlswxc2bv1smc5d4r1adbxbl7sgr1swh2cjfajp73vs43xa0m"; 18 + }; 19 + 20 + propagatedBuildInputs = [ 21 + requests 22 + ]; 23 + 24 + # Project has no tests 25 + doCheck = false; 26 + 27 + pythonImportsCheck = [ "fordpass" ]; 28 + 29 + meta = with lib; { 30 + description = "Python module for the FordPass API"; 31 + homepage = "https://github.com/clarkd/fordpass-python"; 32 + license = with licenses; [ mit ]; 33 + maintainers = with maintainers; [ fab ]; 34 + }; 35 + }
+35
pkgs/development/python-modules/pyhomepilot/default.nix
··· 1 + { lib 2 + , aiohttp 3 + , buildPythonPackage 4 + , fetchFromGitHub 5 + , pythonOlder 6 + }: 7 + 8 + buildPythonPackage rec { 9 + pname = "pyhomepilot"; 10 + version = "0.0.3"; 11 + disabled = pythonOlder "3.6"; 12 + 13 + src = fetchFromGitHub { 14 + owner = "nico0302"; 15 + repo = pname; 16 + rev = "v${version}"; 17 + sha256 = "00gmqx8cwsd15iccnlr8ypgqrdg6nw9ha518cfk7pyp8vhw1ziwy"; 18 + }; 19 + 20 + propagatedBuildInputs = [ 21 + aiohttp 22 + ]; 23 + 24 + # Project has no tests 25 + doCheck = false; 26 + 27 + pythonImportsCheck = [ "pyhomepilot" ]; 28 + 29 + meta = with lib; { 30 + description = "Python module to communicate with the Rademacher HomePilot API"; 31 + homepage = "https://github.com/nico0302/pyhomepilot"; 32 + license = with licenses; [ mit ]; 33 + maintainers = with maintainers; [ fab ]; 34 + }; 35 + }
+40
pkgs/development/python-modules/pytradfri/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , pythonOlder 4 + , fetchFromGitHub 5 + , aiocoap 6 + , dtlssocket 7 + , pytestCheckHook 8 + }: 9 + 10 + buildPythonPackage rec { 11 + pname = "pytradfri"; 12 + version = "7.0.6"; 13 + 14 + disabled = pythonOlder "3.7"; 15 + 16 + src = fetchFromGitHub { 17 + owner = "home-assistant-libs"; 18 + repo = "pytradfri"; 19 + rev = version; 20 + sha256 = "0ckh2waz3xpz51pmigg1q336igqvvkl2pzncszvblkwv38a0rj3a"; 21 + }; 22 + 23 + propagatedBuildInputs = [ 24 + aiocoap 25 + dtlssocket 26 + ]; 27 + 28 + checkInputs = [ 29 + pytestCheckHook 30 + ]; 31 + 32 + pythonImportsCheck = [ "pytradfri" ]; 33 + 34 + meta = with lib; { 35 + description = "Python package to communicate with the IKEA Trådfri ZigBee Gateway"; 36 + homepage = "https://github.com/home-assistant-libs/pytradfri"; 37 + license = licenses.mit; 38 + maintainers = with maintainers; [ dotlambda ]; 39 + }; 40 + }
+21 -18
pkgs/development/web/protege-distribution/default.nix
··· 1 - { lib, stdenv, fetchurl, unzip, jre8, copyDesktopItems, makeDesktopItem }: 1 + { lib, stdenv, fetchurl, unzip, jre8 2 + , copyDesktopItems 3 + , makeDesktopItem 4 + , iconConvTools 5 + }: 2 6 3 7 stdenv.mkDerivation rec { 4 8 pname = "protege-distribution"; ··· 9 13 sha256 = "092x22wyisdnhccx817mqq15sxqdfc7iz4whr4mbvzrd9di6ipjq"; 10 14 }; 11 15 12 - nativeBuildInputs = [ unzip copyDesktopItems ]; 16 + nativeBuildInputs = [ unzip copyDesktopItems iconConvTools ]; 13 17 14 - postPatch = '' 15 - # Delete all those commands meant to change directory to the source directory 16 - sed -i -e '3,9d' run.sh 18 + patches = [ 19 + # Replace logic for searching the install directory with a static cd into $out 20 + ./static-path.patch 21 + # Disable console logging, maintaining only file-based logging 22 + ./disable-console-log.patch 23 + ]; 17 24 18 - # Change directory to where the application is stored to avoid heavy patching 19 - # of searchpaths 20 - sed -i -e "2a\ 21 - cd $out/protege" run.sh 22 - 23 - # Set the correct Java executable (Protege is a JRE 8 application) 25 + postPatch = '' 26 + # Resolve @out@ (introduced by "static-path.patch") to $out, and set the 27 + # correct Java executable (Protege is a JRE 8 application) 24 28 substituteInPlace run.sh \ 25 - --replace "java -X" "exec ${jre8.outPath}/bin/java -X" \ 26 - 27 - # Silence console logs, since these are not shown in graphical environments 28 - sed -i -e '4,8d;21d' conf/logback.xml 29 + --subst-var-by out $out \ 30 + --replace "java -X" "exec ${jre8.outPath}/bin/java -X" 29 31 ''; 30 32 31 33 dontConfigure = true; ··· 42 44 # Move launch script into /bin, giving it a recognizable name 43 45 install -D run.sh $out/bin/run-protege 44 46 45 - # Copy icon to where it can be found 46 - install -D app/Protege.ico $out/share/icons/hicolor/128x128/apps/protege.ico 47 + # Generate and copy icons to where they can be found 48 + icoFileToHiColorTheme app/Protege.ico protege $out 47 49 48 50 # Move everything else under protege/ 49 51 mkdir $out/protege ··· 56 58 (makeDesktopItem { 57 59 name = "Protege"; 58 60 desktopName = "Protege Desktop"; 59 - icon = "protege.ico"; 61 + icon = "protege"; 60 62 comment = "OWL2 ontology editor"; 63 + categories = "Development"; 61 64 exec = "run-protege"; 62 65 }) 63 66 ];
+28
pkgs/development/web/protege-distribution/disable-console-log.patch
··· 1 + --- a/conf/logback.xml 2021-06-25 00:49:10.446416341 +0900 2 + +++ b/conf/logback.xml 2021-06-25 00:50:32.889120465 +0900 3 + @@ -1,13 +1,6 @@ 4 + <?xml version="1.0" encoding="UTF-8"?> 5 + <configuration scan="true" scanPeriod="10 seconds"> 6 + 7 + - <appender name="stdout" class="ch.qos.logback.core.ConsoleAppender"> 8 + - <encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder"> 9 + - <Pattern>%highlight(%msg) %n</Pattern> 10 + - </encoder> 11 + - </appender> 12 + - 13 + - 14 + <appender name="files" class="ch.qos.logback.core.FileAppender"> 15 + <file>${user.home}/.Protege/logs/protege.log</file> 16 + <append>true</append> 17 + @@ -18,9 +11,8 @@ 18 + 19 + 20 + <root level="info"> 21 + - <appender-ref ref="stdout" /> 22 + <appender-ref ref="files"/> 23 + </root> 24 + 25 + 26 + -</configuration> 27 + \ No newline at end of file 28 + +</configuration>
+16
pkgs/development/web/protege-distribution/static-path.patch
··· 1 + --- a/run.sh 2021-06-24 22:30:20.764897745 +0900 2 + +++ b/run.sh 2021-06-24 22:29:47.211210142 +0900 3 + @@ -1,12 +1,6 @@ 4 + #!/usr/bin/env bash 5 + 6 + -SOURCE="${BASH_SOURCE[0]}" 7 + -while [ -h "$SOURCE" ]; do # resolve $SOURCE until the file is no longer a symlink 8 + - DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )" 9 + - SOURCE="$(readlink "$SOURCE")" 10 + - [[ $SOURCE != /* ]] && SOURCE="$DIR/$SOURCE" # if $SOURCE was a relative symlink, we need to resolve it relative to the path where the symlink file was located 11 + -done 12 + -cd "$( cd -P "$( dirname "$SOURCE" )" && pwd )" 13 + +cd @out@/protege 14 + 15 + java -Xmx500M -Xms200M \ 16 + -Xss16M \
+35
pkgs/os-specific/linux/apfs/default.nix
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , kernel 5 + }: 6 + 7 + stdenv.mkDerivation { 8 + pname = "apfs"; 9 + version = "unstable-2021-06-25-${kernel.version}"; 10 + 11 + src = fetchFromGitHub { 12 + owner = "linux-apfs"; 13 + repo = "linux-apfs-rw"; 14 + rev = "2ce6d06dc73036d113da5166c59393233bf54229"; 15 + sha256 = "sha256-18HFtPr0qcTIZ8njwEtveiPYO+HGlj90bdUoL47UUY0="; 16 + }; 17 + 18 + hardeningDisable = [ "pic" ]; 19 + nativeBuildInputs = kernel.moduleBuildDependencies; 20 + 21 + makeFlags = [ 22 + "KERNELRELEASE=${kernel.modDirVersion}" 23 + "KERNEL_DIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build" 24 + "INSTALL_MOD_PATH=$(out)" 25 + ]; 26 + 27 + meta = with lib; { 28 + description = "APFS module for linux"; 29 + homepage = "https://github.com/linux-apfs/linux-apfs-rw"; 30 + license = licenses.gpl2Only; 31 + platforms = platforms.linux; 32 + broken = kernel.kernelOlder "4.19"; 33 + maintainers = with maintainers; [ Luflosi ]; 34 + }; 35 + }
+3 -3
pkgs/servers/home-assistant/component-packages.nix
··· 25 25 "alert" = ps: with ps; [ ]; 26 26 "alexa" = ps: with ps; [ aiohttp-cors ]; 27 27 "almond" = ps: with ps; [ aiohttp-cors pyalmond ]; 28 - "alpha_vantage" = ps: with ps; [ ]; # missing inputs: alpha_vantage 28 + "alpha_vantage" = ps: with ps; [ alpha-vantage ]; 29 29 "amazon_polly" = ps: with ps; [ boto3 ]; 30 30 "ambiclimate" = ps: with ps; [ aiohttp-cors ambiclimate ]; 31 31 "ambient_station" = ps: with ps; [ aioambient ]; ··· 79 79 "bh1750" = ps: with ps; [ smbus-cffi ]; # missing inputs: i2csense 80 80 "binary_sensor" = ps: with ps; [ ]; 81 81 "bitcoin" = ps: with ps; [ blockchain ]; 82 - "bizkaibus" = ps: with ps; [ ]; # missing inputs: bizkaibus 82 + "bizkaibus" = ps: with ps; [ bizkaibus ]; 83 83 "blackbird" = ps: with ps; [ pyblackbird ]; 84 84 "blebox" = ps: with ps; [ blebox-uniapi ]; 85 85 "blink" = ps: with ps; [ blinkpy ]; ··· 880 880 "traccar" = ps: with ps; [ aiohttp-cors stringcase ]; # missing inputs: pytraccar 881 881 "trace" = ps: with ps; [ ]; 882 882 "trackr" = ps: with ps; [ ]; # missing inputs: pytrackr 883 - "tradfri" = ps: with ps; [ ]; # missing inputs: pytradfri[async] 883 + "tradfri" = ps: with ps; [ pytradfri ]; 884 884 "trafikverket_train" = ps: with ps; [ pytrafikverket ]; 885 885 "trafikverket_weatherstation" = ps: with ps; [ pytrafikverket ]; 886 886 "transmission" = ps: with ps; [ transmissionrpc ];
+1
pkgs/servers/home-assistant/default.nix
··· 703 703 "toon" 704 704 "tplink" 705 705 "trace" 706 + "tradfri" 706 707 "transmission" 707 708 "trend" 708 709 "tts"
+2
pkgs/top-level/all-packages.nix
··· 20838 20838 20839 20839 anbox = callPackage ../os-specific/linux/anbox/kmod.nix { }; 20840 20840 20841 + apfs = callPackage ../os-specific/linux/apfs { }; 20842 + 20841 20843 batman_adv = callPackage ../os-specific/linux/batman-adv {}; 20842 20844 20843 20845 bcc = callPackage ../os-specific/linux/bcc {
+504 -390
pkgs/top-level/php-packages.nix
··· 1 - { stdenv, lib, pkgs, fetchgit, phpPackage, autoconf, pkg-config, re2c 2 - , gettext, bzip2, curl, libxml2, openssl, gmp, icu64, oniguruma, libsodium 3 - , html-tidy, libzip, zlib, pcre2, libxslt, aspell, openldap, cyrus_sasl 4 - , uwimap, pam, libiconv, enchant1, libXpm, gd, libwebp, libjpeg, libpng 5 - , freetype, libffi, freetds, postgresql, sqlite, net-snmp, unixODBC, libedit 6 - , readline, rsync, fetchpatch, valgrind 1 + { stdenv 2 + , lib 3 + , pkgs 4 + , fetchgit 5 + , phpPackage 6 + , autoconf 7 + , pkg-config 8 + , aspell 9 + , bzip2 10 + , curl 11 + , cyrus_sasl 12 + , enchant1 13 + , fetchpatch 14 + , freetds 15 + , freetype 16 + , gd 17 + , gettext 18 + , gmp 19 + , html-tidy 20 + , icu64 21 + , libXpm 22 + , libedit 23 + , libffi 24 + , libiconv 25 + , libjpeg 26 + , libpng 27 + , libsodium 28 + , libwebp 29 + , libxml2 30 + , libxslt 31 + , libzip 32 + , net-snmp 33 + , oniguruma 34 + , openldap 35 + , openssl 36 + , pam 37 + , pcre2 38 + , postgresql 39 + , re2c 40 + , readline 41 + , rsync 42 + , sqlite 43 + , unixODBC 44 + , uwimap 45 + , valgrind 46 + , zlib 7 47 }: 8 48 9 49 lib.makeScope pkgs.newScope (self: with self; { ··· 129 169 xdebug = callPackage ../development/php-packages/xdebug { }; 130 170 131 171 yaml = callPackage ../development/php-packages/yaml { }; 132 - } // (let 133 - # Function to build a single php extension based on the php version. 134 - # 135 - # Name passed is the name of the extension and is automatically used 136 - # to add the configureFlag "--enable-${name}", which can be overriden. 137 - # 138 - # Build inputs is used for extra deps that may be needed. And zendExtension 139 - # will mark the extension as a zend extension or not. 140 - mkExtension = { 141 - name 142 - , configureFlags ? [ "--enable-${name}" ] 143 - , internalDeps ? [] 144 - , postPhpize ? "" 145 - , buildInputs ? [] 146 - , zendExtension ? false 147 - , doCheck ? true 148 - , ... 149 - }@args: stdenv.mkDerivation ((builtins.removeAttrs args [ "name" ]) // { 150 - pname = "php-${name}"; 151 - extensionName = name; 172 + } // ( 173 + let 174 + # Function to build a single php extension based on the php version. 175 + # 176 + # Name passed is the name of the extension and is automatically used 177 + # to add the configureFlag "--enable-${name}", which can be overriden. 178 + # 179 + # Build inputs is used for extra deps that may be needed. And zendExtension 180 + # will mark the extension as a zend extension or not. 181 + mkExtension = 182 + { name 183 + , configureFlags ? [ "--enable-${name}" ] 184 + , internalDeps ? [ ] 185 + , postPhpize ? "" 186 + , buildInputs ? [ ] 187 + , zendExtension ? false 188 + , doCheck ? true 189 + , ... 190 + }@args: stdenv.mkDerivation ((builtins.removeAttrs args [ "name" ]) // { 191 + pname = "php-${name}"; 192 + extensionName = name; 152 193 153 - inherit (php.unwrapped) version src; 154 - sourceRoot = "php-${php.version}/ext/${name}"; 194 + inherit (php.unwrapped) version src; 195 + sourceRoot = "php-${php.version}/ext/${name}"; 155 196 156 - enableParallelBuilding = true; 157 - nativeBuildInputs = [ php.unwrapped autoconf pkg-config re2c ]; 158 - inherit configureFlags internalDeps buildInputs 159 - zendExtension doCheck; 197 + enableParallelBuilding = true; 198 + nativeBuildInputs = [ php.unwrapped autoconf pkg-config re2c ]; 199 + inherit configureFlags internalDeps buildInputs 200 + zendExtension doCheck; 160 201 161 - prePatch = "pushd ../.."; 162 - postPatch = "popd"; 202 + prePatch = "pushd ../.."; 203 + postPatch = "popd"; 163 204 164 - preConfigure = '' 165 - nullglobRestore=$(shopt -p nullglob) 166 - shopt -u nullglob # To make ?-globbing work 205 + preConfigure = '' 206 + nullglobRestore=$(shopt -p nullglob) 207 + shopt -u nullglob # To make ?-globbing work 167 208 168 - # Some extensions have a config0.m4 or config9.m4 169 - if [ -f config?.m4 ]; then 170 - mv config?.m4 config.m4 171 - fi 209 + # Some extensions have a config0.m4 or config9.m4 210 + if [ -f config?.m4 ]; then 211 + mv config?.m4 config.m4 212 + fi 172 213 173 - $nullglobRestore 174 - phpize 175 - ${postPhpize} 176 - ${lib.concatMapStringsSep "\n" 177 - (dep: "mkdir -p ext; ln -s ${dep.dev}/include ext/${dep.extensionName}") 178 - internalDeps} 179 - ''; 180 - checkPhase = "runHook preCheck; NO_INTERACTON=yes make test; runHook postCheck"; 181 - outputs = [ "out" "dev" ]; 182 - installPhase = '' 183 - mkdir -p $out/lib/php/extensions 184 - cp modules/${name}.so $out/lib/php/extensions/${name}.so 185 - mkdir -p $dev/include 186 - ${rsync}/bin/rsync -r --filter="+ */" \ 187 - --filter="+ *.h" \ 188 - --filter="- *" \ 189 - --prune-empty-dirs \ 190 - . $dev/include/ 191 - ''; 214 + $nullglobRestore 215 + phpize 216 + ${postPhpize} 217 + ${lib.concatMapStringsSep "\n" 218 + (dep: "mkdir -p ext; ln -s ${dep.dev}/include ext/${dep.extensionName}") 219 + internalDeps} 220 + ''; 221 + checkPhase = "runHook preCheck; NO_INTERACTON=yes make test; runHook postCheck"; 222 + outputs = [ "out" "dev" ]; 223 + installPhase = '' 224 + mkdir -p $out/lib/php/extensions 225 + cp modules/${name}.so $out/lib/php/extensions/${name}.so 226 + mkdir -p $dev/include 227 + ${rsync}/bin/rsync -r --filter="+ */" \ 228 + --filter="+ *.h" \ 229 + --filter="- *" \ 230 + --prune-empty-dirs \ 231 + . $dev/include/ 232 + ''; 192 233 193 - meta = { 194 - description = "PHP upstream extension: ${name}"; 195 - inherit (php.meta) maintainers homepage license; 196 - }; 197 - }); 234 + meta = { 235 + description = "PHP upstream extension: ${name}"; 236 + inherit (php.meta) maintainers homepage license; 237 + }; 238 + }); 198 239 199 - # This list contains build instructions for different modules that one may 200 - # want to build. 201 - # 202 - # These will be passed as arguments to mkExtension above. 203 - extensionData = [ 204 - { name = "bcmath"; } 205 - { name = "bz2"; buildInputs = [ bzip2 ]; configureFlags = [ "--with-bz2=${bzip2.dev}" ]; } 206 - { name = "calendar"; } 207 - { name = "ctype"; } 208 - { name = "curl"; 209 - buildInputs = [ curl ]; 210 - configureFlags = [ "--with-curl=${curl.dev}" ]; 211 - doCheck = false; } 212 - { name = "dba"; } 213 - { name = "dom"; 214 - buildInputs = [ libxml2 ]; 215 - patches = [ 216 - # https://github.com/php/php-src/pull/7030 217 - (fetchpatch { 218 - url = "https://github.com/php/php-src/commit/4cc261aa6afca2190b1b74de39c3caa462ec6f0b.patch"; 219 - sha256 = "11qsdiwj1zmpfc2pgh6nr0sn7qa1nyjg4jwf69cgwnd57qfjcy4k"; 220 - excludes = [ "ext/dom/tests/bug43364.phpt" "ext/dom/tests/bug80268.phpt" ]; 221 - }) 222 - ]; 223 - # For some reason `patch` fails to remove these files correctly. 224 - # Since `postPatch` is already used in `mkExtension`, we have to make it here. 225 - preCheck = '' 226 - rm tests/bug43364.phpt 227 - rm tests/bug80268.phpt 228 - ''; 229 - configureFlags = [ "--enable-dom" ] 230 - # Required to build on darwin. 231 - ++ lib.optionals (lib.versionOlder php.version "7.4") [ "--with-libxml-dir=${libxml2.dev}" ]; } 232 - { name = "enchant"; 233 - buildInputs = [ enchant1 ]; 234 - configureFlags = [ "--with-enchant=${enchant1}" ]; 235 - # enchant1 doesn't build on darwin. 236 - enable = (!stdenv.isDarwin); 237 - doCheck = false; } 238 - { name = "exif"; doCheck = false; } 239 - { name = "ffi"; buildInputs = [ libffi ]; enable = lib.versionAtLeast php.version "7.4"; } 240 - { name = "fileinfo"; buildInputs = [ pcre2 ]; } 241 - { name = "filter"; buildInputs = [ pcre2 ]; } 242 - { name = "ftp"; buildInputs = [ openssl ]; } 243 - { name = "gd"; 244 - buildInputs = [ zlib gd ]; 245 - configureFlags = [ 246 - "--enable-gd" 247 - "--with-external-gd=${gd.dev}" 248 - "--enable-gd-jis-conv" 249 - ]; 250 - doCheck = false; 251 - enable = lib.versionAtLeast php.version "7.4"; } 252 - { name = "gd"; 253 - buildInputs = [ zlib gd libXpm ]; 254 - configureFlags = [ 255 - "--with-gd=${gd.dev}" 256 - "--with-freetype-dir=${freetype.dev}" 257 - "--with-jpeg-dir=${libjpeg.dev}" 258 - "--with-png-dir=${libpng.dev}" 259 - "--with-webp-dir=${libwebp}" 260 - "--with-xpm-dir=${libXpm.dev}" 261 - "--with-zlib-dir=${zlib.dev}" 262 - "--enable-gd-jis-conv" 263 - ]; 264 - doCheck = false; 265 - enable = lib.versionOlder php.version "7.4"; } 266 - { name = "gettext"; 267 - buildInputs = [ gettext ]; 268 - patches = lib.optionals (lib.versionOlder php.version "7.4") [ 269 - (fetchpatch { 270 - url = "https://github.com/php/php-src/commit/632b6e7aac207194adc3d0b41615bfb610757f41.patch"; 271 - sha256 = "0xn3ivhc4p070vbk5yx0mzj2n7p04drz3f98i77amr51w0vzv046"; 272 - }) 273 - ]; 274 - postPhpize = ''substituteInPlace configure --replace 'as_fn_error $? "Cannot locate header file libintl.h" "$LINENO" 5' ':' ''; 275 - configureFlags = [ "--with-gettext=${gettext}" ]; } 276 - { name = "gmp"; 277 - buildInputs = [ gmp ]; 278 - configureFlags = [ "--with-gmp=${gmp.dev}" ]; } 279 - { name = "hash"; enable = lib.versionOlder php.version "7.4"; } 280 - { name = "iconv"; 281 - configureFlags = [ 282 - "--with-iconv${lib.optionalString stdenv.isDarwin "=${libiconv}"}" 283 - ]; 284 - patches = lib.optionals (lib.versionOlder php.version "8.0") [ 285 - # Header path defaults to FHS location, preventing the configure script from detecting errno support. 286 - (fetchpatch { 287 - url = "https://github.com/fossar/nix-phps/raw/263861a8c9bdafd7abe44db6db4ef0179643680c/pkgs/iconv-header-path.patch"; 288 - sha256 = "7GHnEUu+hcsQ4h3itDwk6p46ZKfib9JZ2XpWlXrdn6E="; 289 - }) 290 - ]; 291 - doCheck = false; } 292 - { name = "imap"; 293 - buildInputs = [ uwimap openssl pam pcre2 ]; 294 - configureFlags = [ "--with-imap=${uwimap}" "--with-imap-ssl" ]; 295 - # uwimap doesn't build on darwin. 296 - enable = (!stdenv.isDarwin); } 297 - { name = "intl"; 298 - buildInputs = [ icu64 ]; 299 - patches = lib.optionals (lib.versionOlder php.version "7.4") [ 300 - (fetchpatch { 301 - url = "https://github.com/php/php-src/commit/93a9b56c90c334896e977721bfb3f38b1721cec6.patch"; 302 - sha256 = "055l40lpyhb0rbjn6y23qkzdhvpp7inbnn6x13cpn4inmhjqfpg4"; 303 - }) 304 - ]; 305 - } 306 - { name = "json"; enable = lib.versionOlder php.version "8.0"; } 307 - { name = "ldap"; 308 - buildInputs = [ openldap cyrus_sasl ]; 309 - configureFlags = [ 310 - "--with-ldap" 311 - "LDAP_DIR=${openldap.dev}" 312 - "LDAP_INCDIR=${openldap.dev}/include" 313 - "LDAP_LIBDIR=${openldap.out}/lib" 314 - ] ++ lib.optionals stdenv.isLinux [ 315 - "--with-ldap-sasl=${cyrus_sasl.dev}" 316 - ]; 317 - doCheck = false; } 318 - { name = "mbstring"; buildInputs = [ oniguruma ] ++ lib.optionals (lib.versionAtLeast php.version "8.0") [ 319 - pcre2 320 - ]; doCheck = false; } 321 - { name = "mysqli"; 322 - internalDeps = [ php.extensions.mysqlnd ]; 323 - configureFlags = [ "--with-mysqli=mysqlnd" "--with-mysql-sock=/run/mysqld/mysqld.sock" ]; 324 - doCheck = false; } 325 - { name = "mysqlnd"; 326 - buildInputs = [ zlib openssl ]; 327 - # The configure script doesn't correctly add library link 328 - # flags, so we add them to the variable used by the Makefile 329 - # when linking. 330 - MYSQLND_SHARED_LIBADD = "-lssl -lcrypto"; 331 - # The configure script builds a config.h which is never 332 - # included. Let's include it in the main header file 333 - # included by all .c-files. 334 - patches = [ 335 - (pkgs.writeText "mysqlnd_config.patch" '' 336 - --- a/ext/mysqlnd/mysqlnd.h 337 - +++ b/ext/mysqlnd/mysqlnd.h 338 - @@ -1,3 +1,6 @@ 339 - +#ifdef HAVE_CONFIG_H 340 - +#include "config.h" 341 - +#endif 342 - /* 343 - +----------------------------------------------------------------------+ 344 - | Copyright (c) The PHP Group | 345 - '') 346 - ] ++ lib.optionals (lib.versionOlder php.version "7.4.8") [ 347 - (pkgs.writeText "mysqlnd_fix_compression.patch" '' 348 - --- a/ext/mysqlnd/mysqlnd.h 349 - +++ b/ext/mysqlnd/mysqlnd.h 350 - @@ -48,7 +48,7 @@ 351 - #define MYSQLND_DBG_ENABLED 0 352 - #endif 240 + # This list contains build instructions for different modules that one may 241 + # want to build. 242 + # 243 + # These will be passed as arguments to mkExtension above. 244 + extensionData = [ 245 + { name = "bcmath"; } 246 + { name = "bz2"; buildInputs = [ bzip2 ]; configureFlags = [ "--with-bz2=${bzip2.dev}" ]; } 247 + { name = "calendar"; } 248 + { name = "ctype"; } 249 + { 250 + name = "curl"; 251 + buildInputs = [ curl ]; 252 + configureFlags = [ "--with-curl=${curl.dev}" ]; 253 + doCheck = false; 254 + } 255 + { name = "dba"; } 256 + { 257 + name = "dom"; 258 + buildInputs = [ libxml2 ]; 259 + patches = [ 260 + # https://github.com/php/php-src/pull/7030 261 + (fetchpatch { 262 + url = "https://github.com/php/php-src/commit/4cc261aa6afca2190b1b74de39c3caa462ec6f0b.patch"; 263 + sha256 = "11qsdiwj1zmpfc2pgh6nr0sn7qa1nyjg4jwf69cgwnd57qfjcy4k"; 264 + excludes = [ "ext/dom/tests/bug43364.phpt" "ext/dom/tests/bug80268.phpt" ]; 265 + }) 266 + ]; 267 + # For some reason `patch` fails to remove these files correctly. 268 + # Since `postPatch` is already used in `mkExtension`, we have to make it here. 269 + preCheck = '' 270 + rm tests/bug43364.phpt 271 + rm tests/bug80268.phpt 272 + ''; 273 + configureFlags = [ "--enable-dom" ] 274 + # Required to build on darwin. 275 + ++ lib.optionals (lib.versionOlder php.version "7.4") [ "--with-libxml-dir=${libxml2.dev}" ]; 276 + } 277 + { 278 + name = "enchant"; 279 + buildInputs = [ enchant1 ]; 280 + configureFlags = [ "--with-enchant=${enchant1}" ]; 281 + # enchant1 doesn't build on darwin. 282 + enable = (!stdenv.isDarwin); 283 + doCheck = false; 284 + } 285 + { name = "exif"; doCheck = false; } 286 + { name = "ffi"; buildInputs = [ libffi ]; enable = lib.versionAtLeast php.version "7.4"; } 287 + { name = "fileinfo"; buildInputs = [ pcre2 ]; } 288 + { name = "filter"; buildInputs = [ pcre2 ]; } 289 + { name = "ftp"; buildInputs = [ openssl ]; } 290 + { 291 + name = "gd"; 292 + buildInputs = [ zlib gd ]; 293 + configureFlags = [ 294 + "--enable-gd" 295 + "--with-external-gd=${gd.dev}" 296 + "--enable-gd-jis-conv" 297 + ]; 298 + doCheck = false; 299 + enable = lib.versionAtLeast php.version "7.4"; 300 + } 301 + { 302 + name = "gd"; 303 + buildInputs = [ zlib gd libXpm ]; 304 + configureFlags = [ 305 + "--with-gd=${gd.dev}" 306 + "--with-freetype-dir=${freetype.dev}" 307 + "--with-jpeg-dir=${libjpeg.dev}" 308 + "--with-png-dir=${libpng.dev}" 309 + "--with-webp-dir=${libwebp}" 310 + "--with-xpm-dir=${libXpm.dev}" 311 + "--with-zlib-dir=${zlib.dev}" 312 + "--enable-gd-jis-conv" 313 + ]; 314 + doCheck = false; 315 + enable = lib.versionOlder php.version "7.4"; 316 + } 317 + { 318 + name = "gettext"; 319 + buildInputs = [ gettext ]; 320 + patches = lib.optionals (lib.versionOlder php.version "7.4") [ 321 + (fetchpatch { 322 + url = "https://github.com/php/php-src/commit/632b6e7aac207194adc3d0b41615bfb610757f41.patch"; 323 + sha256 = "0xn3ivhc4p070vbk5yx0mzj2n7p04drz3f98i77amr51w0vzv046"; 324 + }) 325 + ]; 326 + postPhpize = ''substituteInPlace configure --replace 'as_fn_error $? "Cannot locate header file libintl.h" "$LINENO" 5' ':' ''; 327 + configureFlags = [ "--with-gettext=${gettext}" ]; 328 + } 329 + { 330 + name = "gmp"; 331 + buildInputs = [ gmp ]; 332 + configureFlags = [ "--with-gmp=${gmp.dev}" ]; 333 + } 334 + { name = "hash"; enable = lib.versionOlder php.version "7.4"; } 335 + { 336 + name = "iconv"; 337 + configureFlags = [ 338 + "--with-iconv${lib.optionalString stdenv.isDarwin "=${libiconv}"}" 339 + ]; 340 + patches = lib.optionals (lib.versionOlder php.version "8.0") [ 341 + # Header path defaults to FHS location, preventing the configure script from detecting errno support. 342 + (fetchpatch { 343 + url = "https://github.com/fossar/nix-phps/raw/263861a8c9bdafd7abe44db6db4ef0179643680c/pkgs/iconv-header-path.patch"; 344 + sha256 = "7GHnEUu+hcsQ4h3itDwk6p46ZKfib9JZ2XpWlXrdn6E="; 345 + }) 346 + ]; 347 + doCheck = false; 348 + } 349 + { 350 + name = "imap"; 351 + buildInputs = [ uwimap openssl pam pcre2 ]; 352 + configureFlags = [ "--with-imap=${uwimap}" "--with-imap-ssl" ]; 353 + # uwimap doesn't build on darwin. 354 + enable = (!stdenv.isDarwin); 355 + } 356 + { 357 + name = "intl"; 358 + buildInputs = [ icu64 ]; 359 + patches = lib.optionals (lib.versionOlder php.version "7.4") [ 360 + (fetchpatch { 361 + url = "https://github.com/php/php-src/commit/93a9b56c90c334896e977721bfb3f38b1721cec6.patch"; 362 + sha256 = "055l40lpyhb0rbjn6y23qkzdhvpp7inbnn6x13cpn4inmhjqfpg4"; 363 + }) 364 + ]; 365 + } 366 + { name = "json"; enable = lib.versionOlder php.version "8.0"; } 367 + { 368 + name = "ldap"; 369 + buildInputs = [ openldap cyrus_sasl ]; 370 + configureFlags = [ 371 + "--with-ldap" 372 + "LDAP_DIR=${openldap.dev}" 373 + "LDAP_INCDIR=${openldap.dev}/include" 374 + "LDAP_LIBDIR=${openldap.out}/lib" 375 + ] ++ lib.optionals stdenv.isLinux [ 376 + "--with-ldap-sasl=${cyrus_sasl.dev}" 377 + ]; 378 + doCheck = false; 379 + } 380 + { 381 + name = "mbstring"; 382 + buildInputs = [ oniguruma ] ++ lib.optionals (lib.versionAtLeast php.version "8.0") [ 383 + pcre2 384 + ]; 385 + doCheck = false; 386 + } 387 + { 388 + name = "mysqli"; 389 + internalDeps = [ php.extensions.mysqlnd ]; 390 + configureFlags = [ "--with-mysqli=mysqlnd" "--with-mysql-sock=/run/mysqld/mysqld.sock" ]; 391 + doCheck = false; 392 + } 393 + { 394 + name = "mysqlnd"; 395 + buildInputs = [ zlib openssl ]; 396 + # The configure script doesn't correctly add library link 397 + # flags, so we add them to the variable used by the Makefile 398 + # when linking. 399 + MYSQLND_SHARED_LIBADD = "-lssl -lcrypto"; 400 + # The configure script builds a config.h which is never 401 + # included. Let's include it in the main header file 402 + # included by all .c-files. 403 + patches = [ 404 + (pkgs.writeText "mysqlnd_config.patch" '' 405 + --- a/ext/mysqlnd/mysqlnd.h 406 + +++ b/ext/mysqlnd/mysqlnd.h 407 + @@ -1,3 +1,6 @@ 408 + +#ifdef HAVE_CONFIG_H 409 + +#include "config.h" 410 + +#endif 411 + /* 412 + +----------------------------------------------------------------------+ 413 + | Copyright (c) The PHP Group | 414 + '') 415 + ] ++ lib.optionals (lib.versionOlder php.version "7.4.8") [ 416 + (pkgs.writeText "mysqlnd_fix_compression.patch" '' 417 + --- a/ext/mysqlnd/mysqlnd.h 418 + +++ b/ext/mysqlnd/mysqlnd.h 419 + @@ -48,7 +48,7 @@ 420 + #define MYSQLND_DBG_ENABLED 0 421 + #endif 353 422 354 - -#if defined(MYSQLND_COMPRESSION_WANTED) && defined(HAVE_ZLIB) 355 - +#if defined(MYSQLND_COMPRESSION_WANTED) 356 - #define MYSQLND_COMPRESSION_ENABLED 1 357 - #endif 358 - '') 359 - ]; 360 - postPhpize = lib.optionalString (lib.versionOlder php.version "7.4") '' 361 - substituteInPlace configure --replace '$OPENSSL_LIBDIR' '${openssl}/lib' \ 362 - --replace '$OPENSSL_INCDIR' '${openssl.dev}/include' 363 - ''; } 364 - # oci8 (7.4, 7.3, 7.2) 365 - # odbc (7.4, 7.3, 7.2) 366 - { name = "opcache"; 367 - buildInputs = [ pcre2 ] ++ lib.optionals (lib.versionAtLeast php.version "8.0" && !stdenv.isDarwin && lib.meta.availableOn stdenv.hostPlatform valgrind) [ 368 - valgrind.dev 369 - ]; 370 - patches = lib.optionals (lib.versionOlder php.version "7.4") [ 371 - (pkgs.writeText "zend_file_cache_config.patch" '' 372 - --- a/ext/opcache/zend_file_cache.c 373 - +++ b/ext/opcache/zend_file_cache.c 374 - @@ -27,9 +27,9 @@ 375 - #include "ext/standard/md5.h" 376 - #endif 423 + -#if defined(MYSQLND_COMPRESSION_WANTED) && defined(HAVE_ZLIB) 424 + +#if defined(MYSQLND_COMPRESSION_WANTED) 425 + #define MYSQLND_COMPRESSION_ENABLED 1 426 + #endif 427 + '') 428 + ]; 429 + postPhpize = lib.optionalString (lib.versionOlder php.version "7.4") '' 430 + substituteInPlace configure --replace '$OPENSSL_LIBDIR' '${openssl}/lib' \ 431 + --replace '$OPENSSL_INCDIR' '${openssl.dev}/include' 432 + ''; 433 + } 434 + # oci8 (7.4, 7.3, 7.2) 435 + # odbc (7.4, 7.3, 7.2) 436 + { 437 + name = "opcache"; 438 + buildInputs = [ pcre2 ] ++ lib.optionals (!stdenv.isDarwin && lib.versionAtLeast php.version "8.0") [ 439 + valgrind.dev 440 + ]; 441 + patches = lib.optionals (lib.versionOlder php.version "7.4") [ 442 + (pkgs.writeText "zend_file_cache_config.patch" '' 443 + --- a/ext/opcache/zend_file_cache.c 444 + +++ b/ext/opcache/zend_file_cache.c 445 + @@ -27,9 +27,9 @@ 446 + #include "ext/standard/md5.h" 447 + #endif 377 448 378 - +#include "ZendAccelerator.h" 379 - #ifdef HAVE_OPCACHE_FILE_CACHE 449 + +#include "ZendAccelerator.h" 450 + #ifdef HAVE_OPCACHE_FILE_CACHE 380 451 381 - -#include "ZendAccelerator.h" 382 - #include "zend_file_cache.h" 383 - #include "zend_shared_alloc.h" 384 - #include "zend_accelerator_util_funcs.h" 385 - '') ]; 386 - zendExtension = true; 387 - doCheck = !(lib.versionOlder php.version "7.4"); 388 - # Tests launch the builtin webserver. 389 - __darwinAllowLocalNetworking = true; } 390 - { name = "openssl"; 391 - buildInputs = [ openssl ]; 392 - configureFlags = [ "--with-openssl" ]; 393 - doCheck = false; } 394 - { name = "pcntl"; } 395 - { name = "pdo"; doCheck = false; } 396 - { name = "pdo_dblib"; 397 - internalDeps = [ php.extensions.pdo ]; 398 - configureFlags = [ "--with-pdo-dblib=${freetds}" ]; 399 - # Doesn't seem to work on darwin. 400 - enable = (!stdenv.isDarwin); 401 - doCheck = false; } 402 - # pdo_firebird (7.4, 7.3, 7.2) 403 - { name = "pdo_mysql"; 404 - internalDeps = with php.extensions; [ pdo mysqlnd ]; 405 - configureFlags = [ "--with-pdo-mysql=mysqlnd" "PHP_MYSQL_SOCK=/run/mysqld/mysqld.sock" ]; 406 - doCheck = false; } 407 - # pdo_oci (7.4, 7.3, 7.2) 408 - { name = "pdo_odbc"; 409 - internalDeps = [ php.extensions.pdo ]; 410 - configureFlags = [ "--with-pdo-odbc=unixODBC,${unixODBC}" ]; 411 - doCheck = false; } 412 - { name = "pdo_pgsql"; 413 - internalDeps = [ php.extensions.pdo ]; 414 - configureFlags = [ "--with-pdo-pgsql=${postgresql}" ]; 415 - doCheck = false; } 416 - { name = "pdo_sqlite"; 417 - internalDeps = [ php.extensions.pdo ]; 418 - buildInputs = [ sqlite ]; 419 - configureFlags = [ "--with-pdo-sqlite=${sqlite.dev}" ]; 420 - doCheck = false; } 421 - { name = "pgsql"; 422 - buildInputs = [ pcre2 ]; 423 - configureFlags = [ "--with-pgsql=${postgresql}" ]; 424 - doCheck = false; } 425 - { name = "posix"; doCheck = false; } 426 - { name = "pspell"; configureFlags = [ "--with-pspell=${aspell}" ]; } 427 - { name = "readline"; 428 - buildInputs = [ libedit readline ]; 429 - configureFlags = [ "--with-readline=${readline.dev}" ]; 430 - postPhpize = lib.optionalString (lib.versionOlder php.version "7.4") '' 431 - substituteInPlace configure --replace 'as_fn_error $? "Please reinstall libedit - I cannot find readline.h" "$LINENO" 5' ':' 432 - ''; 433 - doCheck = false; 434 - } 435 - { name = "session"; doCheck = !(lib.versionAtLeast php.version "8.0"); } 436 - { name = "shmop"; } 437 - { name = "simplexml"; 438 - buildInputs = [ libxml2 pcre2 ]; 439 - configureFlags = [ "--enable-simplexml" ] 440 - # Required to build on darwin. 441 - ++ lib.optionals (lib.versionOlder php.version "7.4") [ "--with-libxml-dir=${libxml2.dev}" ]; } 442 - { name = "snmp"; 443 - buildInputs = [ net-snmp openssl ]; 444 - configureFlags = [ "--with-snmp" ]; 445 - # net-snmp doesn't build on darwin. 446 - enable = (!stdenv.isDarwin); 447 - doCheck = false; } 448 - { name = "soap"; 449 - buildInputs = [ libxml2 ]; 450 - configureFlags = [ "--enable-soap" ] 451 - # Required to build on darwin. 452 - ++ lib.optionals (lib.versionOlder php.version "7.4") [ "--with-libxml-dir=${libxml2.dev}" ]; 453 - doCheck = false; } 454 - { name = "sockets"; doCheck = false; } 455 - { name = "sodium"; buildInputs = [ libsodium ]; } 456 - { name = "sqlite3"; buildInputs = [ sqlite ]; } 457 - { name = "sysvmsg"; } 458 - { name = "sysvsem"; } 459 - { name = "sysvshm"; } 460 - { name = "tidy"; configureFlags = [ "--with-tidy=${html-tidy}" ]; doCheck = false; } 461 - { name = "tokenizer"; } 462 - { name = "wddx"; 463 - buildInputs = [ libxml2 ]; 464 - internalDeps = [ php.extensions.session ]; 465 - configureFlags = [ "--enable-wddx" "--with-libxml-dir=${libxml2.dev}" ]; 466 - # Removed in php 7.4. 467 - enable = lib.versionOlder php.version "7.4"; } 468 - { name = "xml"; 469 - buildInputs = [ libxml2 ]; 470 - configureFlags = [ "--enable-xml" ] 471 - # Required to build on darwin. 472 - ++ lib.optionals (lib.versionOlder php.version "7.4") [ "--with-libxml-dir=${libxml2.dev}" ]; 473 - doCheck = false; } 474 - { name = "xmlreader"; 475 - buildInputs = [ libxml2 ]; 476 - internalDeps = [ php.extensions.dom ]; 477 - NIX_CFLAGS_COMPILE = [ "-I../.." "-DHAVE_DOM" ]; 478 - configureFlags = [ "--enable-xmlreader" ] 479 - # Required to build on darwin. 480 - ++ lib.optionals (lib.versionOlder php.version "7.4") [ "--with-libxml-dir=${libxml2.dev}" ]; } 481 - { name = "xmlrpc"; 482 - buildInputs = [ libxml2 libiconv ]; 483 - # xmlrpc was unbundled in 8.0 https://php.watch/versions/8.0/xmlrpc 484 - enable = lib.versionOlder php.version "8.0"; 485 - configureFlags = [ "--with-xmlrpc" ] 486 - # Required to build on darwin. 487 - ++ lib.optionals (lib.versionOlder php.version "7.4") [ "--with-libxml-dir=${libxml2.dev}" ]; } 488 - { name = "xmlwriter"; 489 - buildInputs = [ libxml2 ]; 490 - configureFlags = [ "--enable-xmlwriter" ] 491 - # Required to build on darwin. 492 - ++ lib.optionals (lib.versionOlder php.version "7.4") [ "--with-libxml-dir=${libxml2.dev}" ]; } 493 - { name = "xsl"; 494 - buildInputs = [ libxslt libxml2 ]; 495 - doCheck = lib.versionOlder php.version "8.0"; 496 - configureFlags = [ "--with-xsl=${libxslt.dev}" ]; } 497 - { name = "zend_test"; } 498 - { name = "zip"; 499 - buildInputs = [ libzip pcre2 ]; 500 - configureFlags = [ "--with-zip" ] 501 - ++ lib.optionals (lib.versionOlder php.version "7.4") [ "--with-zlib-dir=${zlib.dev}" ] 502 - ++ lib.optionals (lib.versionOlder php.version "7.3") [ "--with-libzip" ]; 503 - doCheck = false; } 504 - { name = "zlib"; 505 - buildInputs = [ zlib ]; 506 - patches = lib.optionals (lib.versionOlder php.version "7.4") [ 507 - # Derived from https://github.com/php/php-src/commit/f16b012116d6c015632741a3caada5b30ef8a699 508 - ../development/interpreters/php/zlib-darwin-tests.patch 509 - ]; 510 - configureFlags = [ "--with-zlib" ] 511 - ++ lib.optionals (lib.versionOlder php.version "7.4") [ "--with-zlib-dir=${zlib.dev}" ]; } 512 - ]; 452 + -#include "ZendAccelerator.h" 453 + #include "zend_file_cache.h" 454 + #include "zend_shared_alloc.h" 455 + #include "zend_accelerator_util_funcs.h" 456 + '') 457 + ]; 458 + zendExtension = true; 459 + doCheck = !(lib.versionOlder php.version "7.4"); 460 + # Tests launch the builtin webserver. 461 + __darwinAllowLocalNetworking = true; 462 + } 463 + { 464 + name = "openssl"; 465 + buildInputs = [ openssl ]; 466 + configureFlags = [ "--with-openssl" ]; 467 + doCheck = false; 468 + } 469 + { name = "pcntl"; } 470 + { name = "pdo"; doCheck = false; } 471 + { 472 + name = "pdo_dblib"; 473 + internalDeps = [ php.extensions.pdo ]; 474 + configureFlags = [ "--with-pdo-dblib=${freetds}" ]; 475 + # Doesn't seem to work on darwin. 476 + enable = (!stdenv.isDarwin); 477 + doCheck = false; 478 + } 479 + # pdo_firebird (7.4, 7.3, 7.2) 480 + { 481 + name = "pdo_mysql"; 482 + internalDeps = with php.extensions; [ pdo mysqlnd ]; 483 + configureFlags = [ "--with-pdo-mysql=mysqlnd" "PHP_MYSQL_SOCK=/run/mysqld/mysqld.sock" ]; 484 + doCheck = false; 485 + } 486 + # pdo_oci (7.4, 7.3, 7.2) 487 + { 488 + name = "pdo_odbc"; 489 + internalDeps = [ php.extensions.pdo ]; 490 + configureFlags = [ "--with-pdo-odbc=unixODBC,${unixODBC}" ]; 491 + doCheck = false; 492 + } 493 + { 494 + name = "pdo_pgsql"; 495 + internalDeps = [ php.extensions.pdo ]; 496 + configureFlags = [ "--with-pdo-pgsql=${postgresql}" ]; 497 + doCheck = false; 498 + } 499 + { 500 + name = "pdo_sqlite"; 501 + internalDeps = [ php.extensions.pdo ]; 502 + buildInputs = [ sqlite ]; 503 + configureFlags = [ "--with-pdo-sqlite=${sqlite.dev}" ]; 504 + doCheck = false; 505 + } 506 + { 507 + name = "pgsql"; 508 + buildInputs = [ pcre2 ]; 509 + configureFlags = [ "--with-pgsql=${postgresql}" ]; 510 + doCheck = false; 511 + } 512 + { name = "posix"; doCheck = false; } 513 + { name = "pspell"; configureFlags = [ "--with-pspell=${aspell}" ]; } 514 + { 515 + name = "readline"; 516 + buildInputs = [ libedit readline ]; 517 + configureFlags = [ "--with-readline=${readline.dev}" ]; 518 + postPhpize = lib.optionalString (lib.versionOlder php.version "7.4") '' 519 + substituteInPlace configure --replace 'as_fn_error $? "Please reinstall libedit - I cannot find readline.h" "$LINENO" 5' ':' 520 + ''; 521 + doCheck = false; 522 + } 523 + { name = "session"; doCheck = !(lib.versionAtLeast php.version "8.0"); } 524 + { name = "shmop"; } 525 + { 526 + name = "simplexml"; 527 + buildInputs = [ libxml2 pcre2 ]; 528 + configureFlags = [ "--enable-simplexml" ] 529 + # Required to build on darwin. 530 + ++ lib.optionals (lib.versionOlder php.version "7.4") [ "--with-libxml-dir=${libxml2.dev}" ]; 531 + } 532 + { 533 + name = "snmp"; 534 + buildInputs = [ net-snmp openssl ]; 535 + configureFlags = [ "--with-snmp" ]; 536 + # net-snmp doesn't build on darwin. 537 + enable = (!stdenv.isDarwin); 538 + doCheck = false; 539 + } 540 + { 541 + name = "soap"; 542 + buildInputs = [ libxml2 ]; 543 + configureFlags = [ "--enable-soap" ] 544 + # Required to build on darwin. 545 + ++ lib.optionals (lib.versionOlder php.version "7.4") [ "--with-libxml-dir=${libxml2.dev}" ]; 546 + doCheck = false; 547 + } 548 + { name = "sockets"; doCheck = false; } 549 + { name = "sodium"; buildInputs = [ libsodium ]; } 550 + { name = "sqlite3"; buildInputs = [ sqlite ]; } 551 + { name = "sysvmsg"; } 552 + { name = "sysvsem"; } 553 + { name = "sysvshm"; } 554 + { name = "tidy"; configureFlags = [ "--with-tidy=${html-tidy}" ]; doCheck = false; } 555 + { name = "tokenizer"; } 556 + { 557 + name = "wddx"; 558 + buildInputs = [ libxml2 ]; 559 + internalDeps = [ php.extensions.session ]; 560 + configureFlags = [ "--enable-wddx" "--with-libxml-dir=${libxml2.dev}" ]; 561 + # Removed in php 7.4. 562 + enable = lib.versionOlder php.version "7.4"; 563 + } 564 + { 565 + name = "xml"; 566 + buildInputs = [ libxml2 ]; 567 + configureFlags = [ "--enable-xml" ] 568 + # Required to build on darwin. 569 + ++ lib.optionals (lib.versionOlder php.version "7.4") [ "--with-libxml-dir=${libxml2.dev}" ]; 570 + doCheck = false; 571 + } 572 + { 573 + name = "xmlreader"; 574 + buildInputs = [ libxml2 ]; 575 + internalDeps = [ php.extensions.dom ]; 576 + NIX_CFLAGS_COMPILE = [ "-I../.." "-DHAVE_DOM" ]; 577 + configureFlags = [ "--enable-xmlreader" ] 578 + # Required to build on darwin. 579 + ++ lib.optionals (lib.versionOlder php.version "7.4") [ "--with-libxml-dir=${libxml2.dev}" ]; 580 + } 581 + { 582 + name = "xmlrpc"; 583 + buildInputs = [ libxml2 libiconv ]; 584 + # xmlrpc was unbundled in 8.0 https://php.watch/versions/8.0/xmlrpc 585 + enable = lib.versionOlder php.version "8.0"; 586 + configureFlags = [ "--with-xmlrpc" ] 587 + # Required to build on darwin. 588 + ++ lib.optionals (lib.versionOlder php.version "7.4") [ "--with-libxml-dir=${libxml2.dev}" ]; 589 + } 590 + { 591 + name = "xmlwriter"; 592 + buildInputs = [ libxml2 ]; 593 + configureFlags = [ "--enable-xmlwriter" ] 594 + # Required to build on darwin. 595 + ++ lib.optionals (lib.versionOlder php.version "7.4") [ "--with-libxml-dir=${libxml2.dev}" ]; 596 + } 597 + { 598 + name = "xsl"; 599 + buildInputs = [ libxslt libxml2 ]; 600 + doCheck = lib.versionOlder php.version "8.0"; 601 + configureFlags = [ "--with-xsl=${libxslt.dev}" ]; 602 + } 603 + { name = "zend_test"; } 604 + { 605 + name = "zip"; 606 + buildInputs = [ libzip pcre2 ]; 607 + configureFlags = [ "--with-zip" ] 608 + ++ lib.optionals (lib.versionOlder php.version "7.4") [ "--with-zlib-dir=${zlib.dev}" ] 609 + ++ lib.optionals (lib.versionOlder php.version "7.3") [ "--with-libzip" ]; 610 + doCheck = false; 611 + } 612 + { 613 + name = "zlib"; 614 + buildInputs = [ zlib ]; 615 + patches = lib.optionals (lib.versionOlder php.version "7.4") [ 616 + # Derived from https://github.com/php/php-src/commit/f16b012116d6c015632741a3caada5b30ef8a699 617 + ../development/interpreters/php/zlib-darwin-tests.patch 618 + ]; 619 + configureFlags = [ "--with-zlib" ] 620 + ++ lib.optionals (lib.versionOlder php.version "7.4") [ "--with-zlib-dir=${zlib.dev}" ]; 621 + } 622 + ]; 513 623 514 - # Convert the list of attrs: 515 - # [ { name = <name>; ... } ... ] 516 - # to a list of 517 - # [ { name = <name>; value = <extension drv>; } ... ] 518 - # 519 - # which we later use listToAttrs to make all attrs available by name. 520 - # 521 - # Also filter out extensions based on the enable property. 522 - namedExtensions = builtins.map (drv: { 523 - name = drv.name; 524 - value = mkExtension drv; 525 - }) (builtins.filter (i: i.enable or true) extensionData); 624 + # Convert the list of attrs: 625 + # [ { name = <name>; ... } ... ] 626 + # to a list of 627 + # [ { name = <name>; value = <extension drv>; } ... ] 628 + # 629 + # which we later use listToAttrs to make all attrs available by name. 630 + # 631 + # Also filter out extensions based on the enable property. 632 + namedExtensions = builtins.map 633 + (drv: { 634 + name = drv.name; 635 + value = mkExtension drv; 636 + }) 637 + (builtins.filter (i: i.enable or true) extensionData); 526 638 527 - # Produce the final attribute set of all extensions defined. 528 - in builtins.listToAttrs namedExtensions); 639 + # Produce the final attribute set of all extensions defined. 640 + in 641 + builtins.listToAttrs namedExtensions 642 + ); 529 643 })
+12
pkgs/top-level/python-packages.nix
··· 397 397 398 398 alot = callPackage ../development/python-modules/alot { }; 399 399 400 + alpha-vantage = callPackage ../development/python-modules/alpha-vantage { }; 401 + 400 402 altair = callPackage ../development/python-modules/altair { }; 401 403 402 404 amazon_kclpy = callPackage ../development/python-modules/amazon_kclpy { }; ··· 1096 1098 bitstruct = callPackage ../development/python-modules/bitstruct { }; 1097 1099 1098 1100 bitvavo-aio = callPackage ../development/python-modules/bitvavo-aio { }; 1101 + 1102 + bizkaibus = callPackage ../development/python-modules/bizkaibus { }; 1099 1103 1100 1104 bjoern = callPackage ../development/python-modules/bjoern { }; 1101 1105 ··· 2185 2189 ds4drv = callPackage ../development/python-modules/ds4drv { }; 2186 2190 2187 2191 dsmr-parser = callPackage ../development/python-modules/dsmr-parser { }; 2192 + 2193 + dtlssocket = callPackage ../development/python-modules/dtlssocket { }; 2188 2194 2189 2195 duckdb = callPackage ../development/python-modules/duckdb { 2190 2196 inherit (pkgs) duckdb; ··· 2676 2682 2677 2683 forbiddenfruit = callPackage ../development/python-modules/forbiddenfruit { }; 2678 2684 2685 + fordpass = callPackage ../development/python-modules/fordpass { }; 2686 + 2679 2687 fortiosapi = callPackage ../development/python-modules/fortiosapi { }; 2680 2688 2681 2689 FormEncode = callPackage ../development/python-modules/FormEncode { }; ··· 5992 6000 5993 6001 pyhomematic = callPackage ../development/python-modules/pyhomematic { }; 5994 6002 6003 + pyhomepilot = callPackage ../development/python-modules/pyhomepilot { }; 6004 + 5995 6005 pyhs100 = callPackage ../development/python-modules/pyhs100 { }; 5996 6006 5997 6007 pyi2cflash = callPackage ../development/python-modules/pyi2cflash { }; ··· 7129 7139 pytorchWithoutCuda = self.pytorch.override { 7130 7140 cudaSupport = false; 7131 7141 }; 7142 + 7143 + pytradfri = callPackage ../development/python-modules/pytradfri { }; 7132 7144 7133 7145 pytrafikverket = callPackage ../development/python-modules/pytrafikverket { }; 7134 7146