Merge staging-next into staging

authored by github-actions[bot] and committed by GitHub ef1a40da eaf5f448

+495 -417
+2 -2
doc/languages-frameworks/php.section.md
··· 9 9 10 10 The different versions of PHP that nixpkgs provides are located under 11 11 attributes named based on major and minor version number; e.g., 12 - `php74` is PHP 7.4. 12 + `php81` is PHP 8.1. 13 13 14 14 Only versions of PHP that are supported by upstream for the entirety 15 15 of a given NixOS release will be included in that release of ··· 23 23 All available PHP attributes are wrappers around their respective 24 24 binary PHP package and provide commonly used extensions this way. The 25 25 real PHP 7.4 package, i.e. the unwrapped one, is available as 26 - `php74.unwrapped`; see the next section for more details. 26 + `php81.unwrapped`; see the next section for more details. 27 27 28 28 Interactive tools built on PHP are put in `php.packages`; composer is 29 29 for example available at `php.packages.composer`.
+17 -6
lib/types.nix
··· 570 570 { modules 571 571 , specialArgs ? {} 572 572 , shorthandOnlyDefinesConfig ? false 573 + , description ? null 573 574 574 575 # Internal variable to avoid `_key` collisions regardless 575 576 # of `extendModules`. Wired through by `evalModules`. ··· 618 619 619 620 freeformType = base._module.freeformType; 620 621 622 + name = "submodule"; 623 + 621 624 in 622 - mkOptionType rec { 623 - name = "submodule"; 624 - description = freeformType.description or name; 625 + mkOptionType { 626 + inherit name; 627 + description = 628 + if description != null then description 629 + else freeformType.description or name; 625 630 check = x: isAttrs x || isFunction x || path.check x; 626 631 merge = loc: defs: 627 632 (base.extendModules { ··· 647 652 functor = defaultFunctor name // { 648 653 type = types.submoduleWith; 649 654 payload = { 650 - modules = modules; 651 - specialArgs = specialArgs; 652 - shorthandOnlyDefinesConfig = shorthandOnlyDefinesConfig; 655 + inherit modules specialArgs shorthandOnlyDefinesConfig description; 653 656 }; 654 657 binOp = lhs: rhs: { 655 658 modules = lhs.modules ++ rhs.modules; ··· 666 669 else if lhs.shorthandOnlyDefinesConfig == rhs.shorthandOnlyDefinesConfig 667 670 then lhs.shorthandOnlyDefinesConfig 668 671 else throw "A submoduleWith option is declared multiple times with conflicting shorthandOnlyDefinesConfig values"; 672 + description = 673 + if lhs.description == null 674 + then rhs.description 675 + else if rhs.description == null 676 + then lhs.description 677 + else if lhs.description == rhs.description 678 + then lhs.description 679 + else throw "A submoduleWith option is declared multiple times with conflicting descriptions"; 669 680 }; 670 681 }; 671 682 };
+6
nixos/doc/manual/from_md/release-notes/rl-2211.section.xml
··· 108 108 <literal>(with foo; isPower &amp;&amp; is32bit &amp;&amp; isBigEndian)</literal>. 109 109 </para> 110 110 </listitem> 111 + <listitem> 112 + <para> 113 + PHP 7.4 is no longer supported due to upstream not supporting 114 + this version for the entire lifecycle of the 22.11 release. 115 + </para> 116 + </listitem> 111 117 </itemizedlist> 112 118 </section> 113 119 <section xml:id="sec-release-22.11-notable-changes">
+2
nixos/doc/manual/release-notes/rl-2211.section.md
··· 45 45 46 46 - The `isPowerPC` predicate, found on `platform` attrsets (`hostPlatform`, `buildPlatform`, `targetPlatform`, etc) has been removed in order to reduce confusion. The predicate was was defined such that it matches only the 32-bit big-endian members of the POWER/PowerPC family, despite having a name which would imply a broader set of systems. If you were using this predicate, you can replace `foo.isPowerPC` with `(with foo; isPower && is32bit && isBigEndian)`. 47 47 48 + - PHP 7.4 is no longer supported due to upstream not supporting this 49 + version for the entire lifecycle of the 22.11 release. 48 50 49 51 <!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. --> 50 52
+7 -7
nixos/modules/module-list.nix
··· 516 516 ./services/mail/roundcube.nix 517 517 ./services/mail/sympa.nix 518 518 ./services/mail/nullmailer.nix 519 - ./services/matrix/matrix-synapse.nix 519 + ./services/matrix/appservice-discord.nix 520 + ./services/matrix/appservice-irc.nix 521 + ./services/matrix/conduit.nix 522 + ./services/matrix/dendrite.nix 523 + ./services/matrix/mautrix-facebook.nix 524 + ./services/matrix/mautrix-telegram.nix 520 525 ./services/matrix/mjolnir.nix 521 526 ./services/matrix/pantalaimon.nix 527 + ./services/matrix/synapse.nix 522 528 ./services/misc/ananicy.nix 523 529 ./services/misc/airsonic.nix 524 530 ./services/misc/ankisyncd.nix ··· 537 543 ./services/misc/cpuminer-cryptonight.nix 538 544 ./services/misc/cgminer.nix 539 545 ./services/misc/confd.nix 540 - ./services/misc/dendrite.nix 541 546 ./services/misc/devmon.nix 542 547 ./services/misc/dictd.nix 543 548 ./services/misc/duckling.nix ··· 580 585 ./services/misc/libreddit.nix 581 586 ./services/misc/lifecycled.nix 582 587 ./services/misc/mame.nix 583 - ./services/misc/matrix-appservice-discord.nix 584 - ./services/misc/matrix-appservice-irc.nix 585 - ./services/misc/matrix-conduit.nix 586 - ./services/misc/mautrix-facebook.nix 587 - ./services/misc/mautrix-telegram.nix 588 588 ./services/misc/mbpfan.nix 589 589 ./services/misc/mediatomb.nix 590 590 ./services/misc/metabase.nix
+2
nixos/modules/services/desktops/pipewire/pipewire.nix
··· 251 251 ] ++ lib.optional config.security.rtkit.enable "rtkit"; 252 252 description = "Pipewire system service user"; 253 253 isSystemUser = true; 254 + home = "/var/lib/pipewire"; 255 + createHome = true; 254 256 }; 255 257 groups.pipewire.gid = config.ids.gids.pipewire; 256 258 };
+1 -1
nixos/modules/services/mail/postfixadmin.nix
··· 177 177 178 178 services.phpfpm.pools.postfixadmin = { 179 179 user = user; 180 - phpPackage = pkgs.php74; 180 + phpPackage = pkgs.php81; 181 181 phpOptions = '' 182 182 error_log = 'stderr' 183 183 log_errors = on
nixos/modules/services/matrix/matrix-synapse-log_config.yaml nixos/modules/services/matrix/synapse-log_config.yaml
+2 -2
nixos/modules/services/matrix/matrix-synapse.nix nixos/modules/services/matrix/synapse.nix
··· 285 285 286 286 log_config = mkOption { 287 287 type = types.path; 288 - default = ./matrix-synapse-log_config.yaml; 288 + default = ./synapse-log_config.yaml; 289 289 description = '' 290 290 The file that holds the logging configuration. 291 291 ''; ··· 767 767 768 768 meta = { 769 769 buildDocsInSandbox = false; 770 - doc = ./matrix-synapse.xml; 770 + doc = ./synapse.xml; 771 771 maintainers = teams.matrix.members; 772 772 }; 773 773
nixos/modules/services/matrix/matrix-synapse.xml nixos/modules/services/matrix/synapse.xml
nixos/modules/services/misc/dendrite.nix nixos/modules/services/matrix/dendrite.nix
nixos/modules/services/misc/matrix-appservice-discord.nix nixos/modules/services/matrix/appservice-discord.nix
nixos/modules/services/misc/matrix-appservice-irc.nix nixos/modules/services/matrix/appservice-irc.nix
nixos/modules/services/misc/matrix-conduit.nix nixos/modules/services/matrix/conduit.nix
nixos/modules/services/misc/mautrix-facebook.nix nixos/modules/services/matrix/mautrix-facebook.nix
nixos/modules/services/misc/mautrix-telegram.nix nixos/modules/services/matrix/mautrix-telegram.nix
+1 -3
nixos/modules/services/web-apps/dokuwiki.nix
··· 293 293 inherit user; 294 294 group = webserver.group; 295 295 296 - # Not yet compatible with php 8 https://www.dokuwiki.org/requirements 297 - # https://github.com/splitbrain/dokuwiki/issues/3545 298 - phpPackage = pkgs.php74; 296 + phpPackage = pkgs.php81; 299 297 phpEnv = { 300 298 DOKUWIKI_LOCAL_CONFIG = "${dokuwikiLocalConfig hostName cfg}"; 301 299 DOKUWIKI_PLUGINS_LOCAL_CONFIG = "${dokuwikiPluginsLocalConfig hostName cfg}";
+3 -3
nixos/modules/services/web-apps/grocy.nix
··· 115 115 user = "grocy"; 116 116 group = "nginx"; 117 117 118 - # PHP 7.4 is the only version which is supported/tested by upstream: 119 - # https://github.com/grocy/grocy/blob/v3.0.0/README.md#how-to-install 120 - phpPackage = pkgs.php74; 118 + # PHP 8.0 is the only version which is supported/tested by upstream: 119 + # https://github.com/grocy/grocy/blob/v3.3.0/README.md#how-to-install 120 + phpPackage = pkgs.php80; 121 121 122 122 inherit (cfg.phpfpm) settings; 123 123
+1 -2
nixos/modules/services/web-apps/invoiceplane.nix
··· 236 236 }; 237 237 238 238 services.phpfpm = { 239 - phpPackage = pkgs.php74; 239 + phpPackage = pkgs.php81; 240 240 pools = mapAttrs' (hostName: cfg: ( 241 241 nameValuePair "invoiceplane-${hostName}" { 242 242 inherit user; ··· 302 302 303 303 ]); 304 304 } 305 -
+1 -1
nixos/modules/services/web-apps/moodle.nix
··· 56 56 mysqlLocal = cfg.database.createLocally && cfg.database.type == "mysql"; 57 57 pgsqlLocal = cfg.database.createLocally && cfg.database.type == "pgsql"; 58 58 59 - phpExt = pkgs.php74.withExtensions 59 + phpExt = pkgs.php81.withExtensions 60 60 ({ enabled, all }: with all; [ iconv mbstring curl openssl tokenizer xmlrpc soap ctype zip gd simplexml dom intl json sqlite3 pgsql pdo_sqlite pdo_pgsql pdo_odbc pdo_mysql pdo mysqli session zlib xmlreader fileinfo filter opcache ]); 61 61 in 62 62 {
+2 -2
nixos/modules/services/web-apps/nextcloud.nix
··· 157 157 }; 158 158 phpPackage = mkOption { 159 159 type = types.package; 160 - relatedPackages = [ "php74" "php80" "php81" ]; 160 + relatedPackages = [ "php80" "php81" ]; 161 161 defaultText = "pkgs.php"; 162 162 description = '' 163 163 PHP package to use for Nextcloud. ··· 632 632 services.nextcloud.datadir = mkOptionDefault config.services.nextcloud.home; 633 633 634 634 services.nextcloud.phpPackage = 635 - if versionOlder cfg.package.version "21" then pkgs.php74 635 + if versionOlder cfg.package.version "24" then pkgs.php80 636 636 # FIXME: Use PHP 8.1 with Nextcloud 24 and higher, once issues like this one are fixed: 637 637 # 638 638 # https://github.com/nextcloud/twofactor_totp/issues/1192
+1 -1
nixos/modules/services/web-apps/snipe-it.nix
··· 344 344 345 345 services.phpfpm.pools.snipe-it = { 346 346 inherit user group; 347 - phpPackage = pkgs.php74; 347 + phpPackage = pkgs.php81; 348 348 phpOptions = '' 349 349 post_max_size = ${cfg.maxUploadSize} 350 350 upload_max_filesize = ${cfg.maxUploadSize}
+4 -5
nixos/tests/all-tests.nix
··· 112 112 croc = handleTest ./croc.nix {}; 113 113 cryptpad = handleTest ./cryptpad.nix {}; 114 114 deluge = handleTest ./deluge.nix {}; 115 - dendrite = handleTest ./dendrite.nix {}; 115 + dendrite = handleTest ./matrix/dendrite.nix {}; 116 116 dex-oidc = handleTest ./dex-oidc.nix {}; 117 117 dhparams = handleTest ./dhparams.nix {}; 118 118 disable-installer-tools = handleTest ./disable-installer-tools.nix {}; ··· 301 301 mariadb-galera = handleTest ./mysql/mariadb-galera.nix {}; 302 302 mastodon = handleTestOn ["x86_64-linux" "i686-linux" "aarch64-linux"] ./web-apps/mastodon.nix {}; 303 303 matomo = handleTest ./matomo.nix {}; 304 - matrix-appservice-irc = handleTest ./matrix-appservice-irc.nix {}; 305 - matrix-conduit = handleTest ./matrix-conduit.nix {}; 306 - matrix-synapse = handleTest ./matrix-synapse.nix {}; 304 + matrix-appservice-irc = handleTest ./matrix/appservice-irc.nix {}; 305 + matrix-conduit = handleTest ./matrix/conduit.nix {}; 306 + matrix-synapse = handleTest ./matrix/synapse.nix {}; 307 307 mattermost = handleTest ./mattermost.nix {}; 308 308 mediatomb = handleTest ./mediatomb.nix {}; 309 309 mediawiki = handleTest ./mediawiki.nix {}; ··· 422 422 pgjwt = handleTest ./pgjwt.nix {}; 423 423 pgmanage = handleTest ./pgmanage.nix {}; 424 424 php = handleTest ./php {}; 425 - php74 = handleTest ./php { php = pkgs.php74; }; 426 425 php80 = handleTest ./php { php = pkgs.php80; }; 427 426 php81 = handleTest ./php { php = pkgs.php81; }; 428 427 pict-rs = handleTest ./pict-rs.nix {};
+1 -1
nixos/tests/dendrite.nix nixos/tests/matrix/dendrite.nix
··· 1 - import ./make-test-python.nix ( 1 + import ../make-test-python.nix ( 2 2 { pkgs, ... }: 3 3 let 4 4 homeserverUrl = "http://homeserver:8008";
+1 -1
nixos/tests/matrix-appservice-irc.nix nixos/tests/matrix/appservice-irc.nix
··· 1 - import ./make-test-python.nix ({ pkgs, ... }: 1 + import ../make-test-python.nix ({ pkgs, ... }: 2 2 let 3 3 homeserverUrl = "http://homeserver:8008"; 4 4 in
+1 -1
nixos/tests/matrix-conduit.nix nixos/tests/matrix/conduit.nix
··· 1 - import ./make-test-python.nix ({ pkgs, ... }: 1 + import ../make-test-python.nix ({ pkgs, ... }: 2 2 let 3 3 name = "conduit"; 4 4 in
+2 -2
nixos/tests/matrix-synapse.nix nixos/tests/matrix/synapse.nix
··· 1 - import ./make-test-python.nix ({ pkgs, ... } : let 1 + import ../make-test-python.nix ({ pkgs, ... } : let 2 2 3 3 4 4 runWithOpenSSL = file: cmd: pkgs.runCommand file { ··· 27 27 ''; 28 28 29 29 30 - mailerCerts = import ./common/acme/server/snakeoil-certs.nix; 30 + mailerCerts = import ../common/acme/server/snakeoil-certs.nix; 31 31 mailerDomain = mailerCerts.domain; 32 32 registrationSharedSecret = "unsecure123"; 33 33 testUser = "alice";
+3 -3
pkgs/applications/audio/industrializer/default.nix
··· 14 14 15 15 stdenv.mkDerivation rec { 16 16 pname = "industrializer"; 17 - version = "0.2.6"; 17 + version = "0.2.7"; 18 18 src = fetchurl { 19 - url = "mirror://sourceforge/project/${pname}/ps${pname}-${version}.tar.bz2"; 20 - sha256 = "0vls94hqpkk8h17da6fddgqbl5dgm6250av3raimhhzwvm5r1gfi"; 19 + url = "mirror://sourceforge/project/${pname}/ps${pname}-${version}.tar.xz"; 20 + sha256 = "0k688k2wppam351by7cp9m7an09yligzd89padr8viqy63gkdk6v"; 21 21 }; 22 22 23 23 nativeBuildInputs = [ pkg-config autoconf automake ];
+6 -1
pkgs/applications/emulators/retroarch/default.nix
··· 126 126 127 127 # Workaround for the following error affecting newer versions of Clang: 128 128 # ./config.def.h:xxx:x: error: 'TARGET_OS_TV' is not defined, evaluates to 0 [-Werror,-Wundef-prefix=TARGET_OS_] 129 - NIX_CFLAGS_COMPILE = lib.optional stdenv.cc.isClang [ "-Wno-undef-prefix" ]; 129 + NIX_CFLAGS_COMPILE = lib.optionals stdenv.cc.isClang [ "-Wno-undef-prefix" ] 130 + # Workaround build failure on -fno-common toolchains: 131 + # duplicate symbol '_apple_platform' in:ui_cocoa.o cocoa_common.o 132 + # TODO: drop when upstream gets a fix for it: 133 + # https://github.com/libretro/RetroArch/issues/14025 134 + ++ lib.optionals stdenv.isDarwin [ "-fcommon" ]; 130 135 131 136 meta = with lib; { 132 137 homepage = "https://libretro.com";
+32 -29
pkgs/applications/gis/openorienteering-mapper/default.nix
··· 1 - { lib, stdenv 1 + { lib 2 + , stdenv 2 3 , mkDerivation 3 4 , fetchFromGitHub 4 5 , fetchpatch 5 - , substituteAll 6 - , gdal 6 + , clipper 7 7 , cmake 8 + , cups 9 + , doxygen 10 + , gdal 8 11 , ninja 9 12 , proj 10 - , clipper 11 - , zlib 12 - , qttools 13 + , qtimageformats 13 14 , qtlocation 14 15 , qtsensors 16 + , qttools 15 17 , qttranslations 16 - , doxygen 17 - , cups 18 - , qtimageformats 18 + , substituteAll 19 + , zlib 19 20 }: 20 21 21 22 mkDerivation rec { 22 23 pname = "OpenOrienteering-Mapper"; 23 24 version = "0.9.5"; 24 25 25 - buildInputs = [ 26 - gdal 27 - qtlocation 28 - qtimageformats 29 - qtsensors 30 - clipper 31 - zlib 32 - proj 33 - cups 34 - ]; 35 - 36 - nativeBuildInputs = [ cmake doxygen ninja qttools ]; 37 - 38 26 src = fetchFromGitHub { 39 27 owner = "OpenOrienteering"; 40 28 repo = "mapper"; 41 29 rev = "v${version}"; 42 - sha256 = "1w8ikqpgi0ksrzjal5ihfaik4grc5v3gdnnv79j20xkr2p4yn1h5"; 30 + hash = "sha256-BQbryRV5diBkOtva9sYuLD8yo3IwFqrkz3qC+C6eEfE="; 43 31 }; 44 32 45 33 patches = [ ··· 55 43 }) 56 44 ]; 57 45 46 + nativeBuildInputs = [ 47 + cmake 48 + doxygen 49 + ninja 50 + qttools 51 + ]; 52 + 53 + buildInputs = [ 54 + clipper 55 + cups 56 + gdal 57 + proj 58 + qtimageformats 59 + qtlocation 60 + qtsensors 61 + zlib 62 + ]; 63 + 58 64 cmakeFlags = [ 59 65 # Building the manual and bundling licenses fails 60 66 # See https://github.com/NixOS/nixpkgs/issues/85306 ··· 81 87 ''; 82 88 83 89 meta = with lib; { 84 - broken = stdenv.isDarwin; 85 - description = '' 86 - OpenOrienteering Mapper is an orienteering mapmaking program 87 - and provides a free alternative to the existing proprietary solution. 88 - ''; 89 90 homepage = "https://www.openorienteering.org/apps/mapper/"; 91 + description = "An orienteering mapmaking program"; 90 92 changelog = "https://github.com/OpenOrienteering/mapper/releases/tag/v${version}"; 91 93 license = licenses.gpl3Plus; 92 - platforms = with platforms; linux ++ darwin; 93 94 maintainers = with maintainers; [ mpickering sikmir ]; 95 + platforms = with platforms; unix; 96 + broken = stdenv.isDarwin; 94 97 }; 95 98 }
+2 -2
pkgs/applications/gis/udig/default.nix
··· 6 6 srcs = { 7 7 x86_64-linux = fetchurl { 8 8 url = "http://udig.refractions.net/files/downloads/udig-${version}.linux.gtk.x86_64.zip"; 9 - sha256 = "03hj1mdd6sq0gbpa838wkccibp3l2hvnwxxf5dyc0jk3mmd94fwa"; 9 + hash = "sha256-ijuSWq1jSsB8K653bjcUdNwVGZscDaTuegBr01oNEg4="; 10 10 }; 11 11 x86_64-darwin = fetchurl { 12 12 url = "http://udig.refractions.net/files/downloads/udig-${version}.macosx.cocoa.x86_64.zip"; 13 - sha256 = "16rcyp1zy3lr1hwjhzh6vwcgck52w66dm1qsc52gppy1f4i3f692"; 13 + hash = "sha256-Ihk3InHB3/tEYRqH2ozhokz2GN8Gfig5DJkO/8P1LJs="; 14 14 }; 15 15 }; 16 16 src = srcs.${stdenv.hostPlatform.system};
+14 -6
pkgs/applications/gis/whitebox-tools/default.nix
··· 1 - { lib, stdenv, rustPlatform, fetchFromGitHub, Security }: 1 + { lib 2 + , stdenv 3 + , rustPlatform 4 + , fetchFromGitHub 5 + , Security 6 + }: 7 + 2 8 rustPlatform.buildRustPackage rec { 3 9 pname = "whitebox_tools"; 4 10 version = "2.0.0"; ··· 7 13 owner = "jblindsay"; 8 14 repo = "whitebox-tools"; 9 15 rev = "7551aa70e8d9cbd8b3744fde48e82aa40393ebf8"; 10 - sha256 = "0mngw99aj60bf02y3piimxc1z1zbw1dhwyixndxh3b3m9xqhk51h"; 16 + hash = "sha256-MJQJcU91rAF7sz16Dlvg64cfWK8x3uEFcAsYqVLiz1Y="; 11 17 }; 12 18 13 - cargoPatches = [./update-cargo-lock.patch]; 19 + cargoSha256 = "sha256-+IFLv/mIgqyDKNC5aZgQeW6Ymu6+desOD8dDvEdwsSM="; 14 20 15 - buildInputs = lib.optional stdenv.isDarwin Security; 21 + cargoPatches = [ 22 + ./update-cargo-lock.patch 23 + ]; 16 24 17 - cargoSha256 = "08xif13vqhy71w7fnxdyxsd9hvkr22c6kffh521sr0l8z6zlp0gq"; 25 + buildInputs = lib.optional stdenv.isDarwin Security; 18 26 19 27 doCheck = false; 20 28 21 29 meta = with lib; { 22 - description = "An advanced geospatial data analysis platform"; 23 30 homepage = "https://jblindsay.github.io/ghrg/WhiteboxTools/index.html"; 31 + description = "An advanced geospatial data analysis platform"; 24 32 license = licenses.mit; 25 33 maintainers = [ maintainers.mpickering ]; 26 34 };
+25 -9
pkgs/applications/misc/xdgmenumaker/default.nix
··· 1 - { lib, fetchFromGitHub, txt2tags, python3Packages, glib, gobject-introspection, wrapGAppsHook }: 1 + { lib 2 + , fetchFromGitHub 3 + , atk 4 + , gdk-pixbuf 5 + , gobject-introspection 6 + , pango 7 + , python3Packages 8 + , txt2tags 9 + , wrapGAppsHook 10 + , gitUpdater 11 + }: 2 12 3 13 python3Packages.buildPythonApplication rec { 4 14 pname = "xdgmenumaker"; 5 - version = "1.5"; 15 + version = "1.6"; 6 16 7 17 src = fetchFromGitHub { 8 18 owner = "gapan"; 9 19 repo = pname; 10 20 rev = version; 11 - sha256 = "1vrsp5c1ah7p4dpwd6aqvinpwzd8crdimvyyr3lbm3c6cwpyjmif"; 21 + sha256 = "Q38m8YrvkkTCY2dByvPj+Ee1DMSUbWvwSDI0kW182bU="; 12 22 }; 13 23 14 24 format = "other"; 15 25 16 26 strictDeps = false; 17 27 28 + dontWrapGApps = true; 29 + 18 30 nativeBuildInputs = [ 19 31 gobject-introspection 20 32 txt2tags ··· 22 34 ]; 23 35 24 36 buildInputs = [ 25 - glib 37 + atk 38 + gdk-pixbuf 39 + pango 26 40 ]; 27 41 28 42 pythonPath = with python3Packages; [ 29 - pyxdg 30 43 pygobject3 44 + pyxdg 31 45 ]; 32 46 33 47 makeFlags = [ 34 48 "PREFIX=${placeholder "out"}" 35 49 ]; 36 50 37 - installFlags = [ 38 - "DESTDIR=" 39 - ]; 51 + preFixup = '' 52 + makeWrapperArgs+=("''${gappsWrapperArgs[@]}") 53 + ''; 54 + 55 + passthru.updateScript = gitUpdater {inherit pname version; }; 40 56 41 57 meta = with lib; { 42 58 description = "Command line tool that generates XDG menus for several window managers"; 43 59 homepage = "https://github.com/gapan/xdgmenumaker"; 44 - license = licenses.gpl2Plus; 60 + license = licenses.gpl3Plus; 45 61 # NOTE: exclude darwin from platforms because Travis reports hash mismatch 46 62 platforms = with platforms; filter (x: !(elem x darwin)) unix; 47 63 maintainers = [ maintainers.romildo ];
+1 -1
pkgs/desktops/gnome/apps/gnome-todo/default.nix
··· 41 41 # fix build race bug https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257667 42 42 (fetchpatch { 43 43 url = "https://cgit.freebsd.org/ports/plain/deskutils/gnome-todo/files/patch-src_meson.build?id=a4faaf6cf7835014b5f69a337b544ea4ee7f9655"; 44 - sha256 = "sha256:0ihixyq72yhx6njij7bldsqb80x3y217yh6livknlf5r1wr3hakn"; 44 + sha256 = "sha256-dio4Mg+5OGrnjtRAf4LwowO0sG50HRmlNR16cbDvEUY="; 45 45 extraPrefix = ""; 46 46 name = "gnome-todo_meson-build.patch"; 47 47 })
+2 -4
pkgs/desktops/pantheon/apps/elementary-videos/default.nix
··· 7 7 , ninja 8 8 , vala 9 9 , python3 10 - , desktop-file-utils 11 10 , gtk3 12 11 , granite 13 12 , libgee ··· 20 19 21 20 stdenv.mkDerivation rec { 22 21 pname = "elementary-videos"; 23 - version = "2.8.3"; 22 + version = "2.8.4"; 24 23 25 24 src = fetchFromGitHub { 26 25 owner = "elementary"; 27 26 repo = "videos"; 28 27 rev = version; 29 - sha256 = "sha256-3V8iDy68ngdFTJxAGimuGi4vPru32pHYevThA0RwNpE="; 28 + sha256 = "sha256-IUIY/WgGPVRYk9O+ZocopoBF7TlLnTtScNwO6gDCALw="; 30 29 }; 31 30 32 31 nativeBuildInputs = [ 33 - desktop-file-utils 34 32 meson 35 33 ninja 36 34 pkg-config
+2 -2
pkgs/desktops/pantheon/services/elementary-notifications/default.nix
··· 17 17 18 18 stdenv.mkDerivation rec { 19 19 pname = "elementary-notifications"; 20 - version = "6.0.1"; 20 + version = "6.0.2"; 21 21 22 22 src = fetchFromGitHub { 23 23 owner = "elementary"; 24 24 repo = "notifications"; 25 25 rev = version; 26 - sha256 = "sha256-AEcZVQPAQLa202/Yvq0GihY8BfMEH46iXeQ5u3QvuXg="; 26 + sha256 = "sha256-kM//T3P8gMGnCMDJ1caQQGgD6HBOQo0wp2wZGMUUPuU="; 27 27 }; 28 28 29 29 nativeBuildInputs = [
+2 -2
pkgs/development/interpreters/clojure/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "clojure"; 5 - version = "1.11.1.1113"; 5 + version = "1.11.1.1119"; 6 6 7 7 src = fetchurl { 8 8 # https://clojure.org/releases/tools 9 9 url = "https://download.clojure.org/install/clojure-tools-${version}.tar.gz"; 10 - sha256 = "sha256-DJVKVqBx8zueA5+KuQX4NypaYBoNFKMuDM8jDqdgaiI="; 10 + sha256 = "sha256-DPFLExCMWheI5IIa8aNz/ZggftJpxgOUIOYZZKBdvIc="; 11 11 }; 12 12 13 13 nativeBuildInputs = [
-52
pkgs/development/interpreters/php/7.4.nix
··· 1 - { callPackage, lib, stdenv, ... }@_args: 2 - 3 - let 4 - base = callPackage ./generic.nix (_args // { 5 - version = "7.4.29"; 6 - sha256 = "sha256-fd5YoCsiXCUTDG4q4su6clS7A0D3/hcpFHgXbYZvlII="; 7 - }); 8 - 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 52 - ] ++ lib.optionals (!stdenv.isDarwin) [ imap ]))
-24
pkgs/development/php-packages/apcu_bc/default.nix
··· 1 - { buildPecl, lib, pcre2, php }: 2 - 3 - buildPecl { 4 - pname = "apcu_bc"; 5 - 6 - version = "1.0.5"; 7 - sha256 = "0ma00syhk2ps9k9p02jz7rii6x3i2p986il23703zz5npd6y9n20"; 8 - 9 - peclDeps = [ php.extensions.apcu ]; 10 - 11 - buildInputs = [ pcre2 ]; 12 - 13 - postInstall = '' 14 - mv $out/lib/php/extensions/apc.so $out/lib/php/extensions/apcu_bc.so 15 - ''; 16 - 17 - meta = with lib; { 18 - description = "APCu Backwards Compatibility Module"; 19 - license = licenses.php301; 20 - homepage = "https://pecl.php.net/package/apcu_bc"; 21 - maintainers = teams.php.members; 22 - broken = versionAtLeast php.version "8"; 23 - }; 24 - }
-1
pkgs/development/php-packages/couchbase/default.nix
··· 16 16 configureFlags = [ "--with-couchbase" ]; 17 17 18 18 buildInputs = [ libcouchbase zlib ]; 19 - internalDeps = lib.optionals (lib.versionOlder php.version "8.0") [ php.extensions.json ]; 20 19 21 20 patches = [ 22 21 (substituteAll {
-2
pkgs/development/php-packages/ds/default.nix
··· 8 8 9 9 buildInputs = [ pcre2 ]; 10 10 11 - internalDeps = lib.optionals (lib.versionOlder php.version "8.0") [ php.extensions.json ]; 12 - 13 11 meta = with lib; { 14 12 description = "An extension providing efficient data structures for PHP"; 15 13 license = licenses.mit;
-1
pkgs/development/php-packages/grumphp/default.nix
··· 22 22 ''; 23 23 24 24 meta = with lib; { 25 - broken = versionOlder php.version "8.0"; 26 25 description = "A PHP code-quality tool"; 27 26 homepage = "https://github.com/phpro/grumphp"; 28 27 license = licenses.mit;
+5 -1
pkgs/development/php-packages/oci8/default.nix
··· 1 - { buildPecl, lib, version, sha256, oracle-instantclient }: 1 + { buildPecl, lib, oracle-instantclient }: 2 + let 3 + version = "3.0.1"; 4 + sha256 = "108ds92620dih5768z19hi0jxfa7wfg5hdvyyvpapir87c0ap914"; 5 + in 2 6 buildPecl { 3 7 pname = "oci8"; 4 8
-30
pkgs/development/php-packages/php_excel/default.nix
··· 1 - { buildPecl, fetchurl, lib, libxl, php }: 2 - let 3 - pname = "php_excel"; 4 - phpVersion = "php7"; 5 - version = "1.0.2"; 6 - in 7 - buildPecl { 8 - inherit pname version; 9 - 10 - src = fetchurl { 11 - url = "https://github.com/iliaal/php_excel/releases/download/Excel-1.0.2-PHP7/excel-${version}-${phpVersion}.tgz"; 12 - sha256 = "0dpvih9gpiyh1ml22zi7hi6kslkilzby00z1p8x248idylldzs2n"; 13 - }; 14 - 15 - buildInputs = [ libxl ]; 16 - 17 - configureFlags = [ 18 - "--with-excel" 19 - "--with-libxl-incdir=${libxl}/include_c" 20 - "--with-libxl-libdir=${libxl}/lib" 21 - ]; 22 - 23 - meta = with lib; { 24 - description = "PHP Extension interface to the Excel writing/reading library"; 25 - license = licenses.php301; 26 - homepage = "https://github.com/iliaal/php_excel"; 27 - maintainers = lib.teams.php.members; 28 - broken = lib.versionAtLeast php.version "8.0"; 29 - }; 30 - }
-1
pkgs/development/php-packages/phpmd/default.nix
··· 29 29 license = licenses.bsd3; 30 30 homepage = "https://phpmd.org/"; 31 31 maintainers = teams.php.members; 32 - broken = versionOlder php.version "7.4"; 33 32 }; 34 33 }
-2
pkgs/development/php-packages/redis/default.nix
··· 8 8 9 9 internalDeps = with php.extensions; [ 10 10 session 11 - ] ++ lib.optionals (lib.versionOlder php.version "8.0") [ 12 - json 13 11 ]; 14 12 15 13 meta = with lib; {
+2 -2
pkgs/development/python-modules/bc-python-hcl2/default.nix
··· 8 8 9 9 buildPythonPackage rec { 10 10 pname = "bc-python-hcl2"; 11 - version = "0.3.42"; 11 + version = "0.3.43"; 12 12 format = "setuptools"; 13 13 14 14 disabled = pythonOlder "3.6"; 15 15 16 16 src = fetchPypi { 17 17 inherit pname version; 18 - hash = "sha256-s4O2xoNafYHFBToxkKzgJ5NjQH4M5D7PcpsmiAZqR/8="; 18 + hash = "sha256-rUmvhmqvVtblmqzbYJcHUdFSw2PsPGbZFPJRi3Xtjv0="; 19 19 }; 20 20 21 21 # Nose is required during build process, so can not use `checkInputs`.
+2 -2
pkgs/development/python-modules/peaqevcore/default.nix
··· 6 6 7 7 buildPythonPackage rec { 8 8 pname = "peaqevcore"; 9 - version = "0.3.4"; 9 + version = "0.3.14"; 10 10 format = "setuptools"; 11 11 12 12 disabled = pythonOlder "3.7"; 13 13 14 14 src = fetchPypi { 15 15 inherit pname version; 16 - hash = "sha256-s2OPHA3uBoWFnEz51itif3icErYkXhayvQ3+0b6jyjE="; 16 + hash = "sha256-cIm4ADZSVbE+Hb23AjKs6vADnIQNFPJjFj3Ex7INnwo="; 17 17 }; 18 18 19 19 postPatch = ''
+19 -16
pkgs/development/python-modules/pulumi-aws/default.nix
··· 1 - { stdenv 2 - , lib 1 + { lib 2 + , stdenv 3 3 , buildPythonPackage 4 4 , fetchFromGitHub 5 5 , fetchpatch 6 + , parver 6 7 , pulumi 7 - , parver 8 + , pythonOlder 8 9 , semver 9 - , isPy27 10 10 }: 11 11 12 12 buildPythonPackage rec { 13 13 pname = "pulumi-aws"; 14 - # version is independant of pulumi's. 15 - version = "5.3.0"; 16 - disabled = isPy27; 14 + # Version is independant of pulumi's. 15 + version = "5.7.2"; 16 + format = "setuptools"; 17 + 18 + disabled = pythonOlder "3.7"; 17 19 18 20 src = fetchFromGitHub { 19 21 owner = "pulumi"; 20 22 repo = "pulumi-aws"; 21 - rev = "v${version}"; 22 - sha256 = "sha256-LrWiNYJeQQvXJDOxklRO86VSiaadvkOepQVPhh2BBkk="; 23 + rev = "refs/tags/v${version}"; 24 + hash = "sha256-oy2TBxE9zDbRc6cSml4nwibAAEq3anWngoxj6h4sYbU="; 23 25 }; 24 26 27 + sourceRoot = "${src.name}/sdk/python"; 28 + 25 29 propagatedBuildInputs = [ 30 + parver 26 31 pulumi 27 - parver 28 32 semver 29 33 ]; 30 34 31 - postPatch = '' 32 - cd sdk/python 33 - ''; 35 + # Checks require cloud resources 36 + doCheck = false; 34 37 35 - # checks require cloud resources 36 - doCheck = false; 37 - pythonImportsCheck = ["pulumi_aws"]; 38 + pythonImportsCheck = [ 39 + "pulumi_aws" 40 + ]; 38 41 39 42 meta = with lib; { 40 43 broken = (stdenv.isLinux && stdenv.isAarch64) || stdenv.isDarwin;
+2 -2
pkgs/development/python-modules/pynetgear/default.nix
··· 7 7 8 8 buildPythonPackage rec { 9 9 pname = "pynetgear"; 10 - version = "0.10.4"; 10 + version = "0.10.5"; 11 11 format = "setuptools"; 12 12 13 13 disabled = pythonOlder "3.7"; ··· 16 16 owner = "MatMaul"; 17 17 repo = pname; 18 18 rev = "refs/tags/${version}"; 19 - sha256 = "sha256-+Tv7i3iUr8HySTHPR4iNO6ycUnpNazKJkp3mXSflu54="; 19 + sha256 = "sha256-eYcMS8gxJO5JXvgIcZEEei5THb+gDdmoad+/Vokis/Q="; 20 20 }; 21 21 22 22 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/pywizlight/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "pywizlight"; 13 - version = "0.5.13"; 13 + version = "0.5.14"; 14 14 format = "setuptools"; 15 15 16 16 disabled = pythonOlder "3.7"; ··· 19 19 owner = "sbidy"; 20 20 repo = pname; 21 21 rev = "v${version}"; 22 - sha256 = "sha256-UePrG49Q2tJq3f2QaW4BjbWHHif6cTFGdiO/DZfpMFA="; 22 + sha256 = "sha256-IkuAYEg5nuUT6zxmuJe6afp4MVWf0+HAnEoAdOrdTvQ="; 23 23 }; 24 24 25 25 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/sunpy/default.nix
··· 31 31 32 32 buildPythonPackage rec { 33 33 pname = "sunpy"; 34 - version = "4.0.0"; 34 + version = "4.0.1"; 35 35 format = "setuptools"; 36 36 37 37 disabled = pythonOlder "3.8"; 38 38 39 39 src = fetchPypi { 40 40 inherit pname version; 41 - hash = "sha256-01eGYls8eE2e3vzDYXz5D1xQs7pxpmHt89aBKCvVdLg="; 41 + hash = "sha256-TKOJcEg5A3zjuJbH/tugoX7A7vxSwcE20jJ5QuvWTu8="; 42 42 }; 43 43 44 44 nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/svg-path/default.nix
··· 8 8 9 9 buildPythonPackage rec { 10 10 pname = "svg.path"; 11 - version = "6.0"; 11 + version = "6.1"; 12 12 format = "setuptools"; 13 13 14 14 disabled = pythonOlder "3.7"; 15 15 16 16 src = fetchPypi { 17 17 inherit pname version; 18 - hash = "sha256-X78HaJFzywl3aA4Sl58wHQu2r1NVyjlsww0+ESx5TdU="; 18 + hash = "sha256-i0Rx37c2GwibZstC2pZBWO0A6aXKEVuKaaxPXcJHSj8="; 19 19 }; 20 20 21 21 checkInputs = [
+2 -2
pkgs/development/python-modules/transformers/default.nix
··· 24 24 25 25 buildPythonPackage rec { 26 26 pname = "transformers"; 27 - version = "4.19.2"; 27 + version = "4.19.3"; 28 28 format = "setuptools"; 29 29 30 30 disabled = pythonOlder "3.7"; ··· 33 33 owner = "huggingface"; 34 34 repo = pname; 35 35 rev = "refs/tags/v${version}"; 36 - hash = "sha256-9r/1vW7Rhv9+Swxdzu5PTnlQlT8ofJeZamHf5X4ql8w="; 36 + hash = "sha256-kXgxIjU5L4YYCqHGvhqjX4YZ3VKNLYIxIKqT1Nmv/GU="; 37 37 }; 38 38 39 39 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/trimesh/default.nix
··· 6 6 7 7 buildPythonPackage rec { 8 8 pname = "trimesh"; 9 - version = "3.12.5"; 9 + version = "3.12.6"; 10 10 11 11 src = fetchPypi { 12 12 inherit pname version; 13 - sha256 = "sha256-CTWxN7boesxRFxMy+k1BOejuvoSFg/JDYYCC0Aud+Es="; 13 + sha256 = "sha256-p7YE1qVhjizVNuJLXZF0lw28WbzvnOwfguvMr0b8ifc="; 14 14 }; 15 15 16 16 propagatedBuildInputs = [ numpy ];
+2 -2
pkgs/development/python-modules/twitchapi/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "twitchapi"; 14 - version = "2.5.4"; 14 + version = "2.5.5"; 15 15 16 16 disabled = pythonOlder "3.7"; 17 17 ··· 20 20 src = fetchPypi { 21 21 pname = "twitchAPI"; 22 22 inherit version; 23 - hash = "sha256-uNXET3V3r3f6c72IF3DEdXfQlrgkn2w5f4ksKBOsihg="; 23 + hash = "sha256-NOLuooJNGpuHnKa9eAEEDzKJnXdJ6/Yx2/9KZqY9SDk="; 24 24 }; 25 25 26 26 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/types-freezegun/default.nix
··· 5 5 6 6 buildPythonPackage rec { 7 7 pname = "types-freezegun"; 8 - version = "1.1.9"; 8 + version = "1.1.10"; 9 9 format = "setuptools"; 10 10 11 11 src = fetchPypi { 12 12 inherit pname version; 13 - hash = "sha256-bwUQjUaLrsrfmZhzvTfleyXOs1010/g+enQvJdb+iw4="; 13 + hash = "sha256-yzotLu6VDqy6rAZzq1BJmCM2XOuMZVursVRKQURkCew="; 14 14 }; 15 15 16 16 # Module doesn't have tests
+2 -2
pkgs/development/tools/analysis/checkov/default.nix
··· 32 32 33 33 buildPythonApplication rec { 34 34 pname = "checkov"; 35 - version = "2.0.1206"; 35 + version = "2.0.1209"; 36 36 format = "setuptools"; 37 37 38 38 src = fetchFromGitHub { 39 39 owner = "bridgecrewio"; 40 40 repo = pname; 41 41 rev = version; 42 - hash = "sha256-5pnT9JcE1BY4kgqycfNLm3PiTqZdw2V9ksz2E+jfFkY="; 42 + hash = "sha256-q2TwkmP16SvhMJkBcvYMfjbXP6GKZpzEQh7H9N+H20U="; 43 43 }; 44 44 45 45 nativeBuildInputs = with py.pkgs; [
+31
pkgs/development/tools/continuous-integration/buildkite-test-collector-rust/default.nix
··· 1 + { lib 2 + , fetchFromGitHub 3 + , rustPlatform 4 + , stdenv 5 + , Security 6 + }: 7 + 8 + rustPlatform.buildRustPackage rec { 9 + pname = "buildkite-test-collector-rust"; 10 + version = "0.1.0"; 11 + 12 + src = fetchFromGitHub { 13 + owner = "buildkite"; 14 + repo = "test-collector-rust"; 15 + rev = "v${version}"; 16 + sha256 = "sha256-rY/+AwxO0+xcnRj0A8TRhCUJQ0ecosybI6It1mDOdQM="; 17 + }; 18 + 19 + buildInputs = lib.optionals stdenv.isDarwin [ 20 + Security 21 + ]; 22 + 23 + cargoSha256 = "sha256-qfJ0ROi0S0mmPl6kKrW3dp3VLjYqK+sBVj+iKDNTjyM="; 24 + 25 + meta = with lib; { 26 + description = "Rust adapter for Buildkite Test Analytics"; 27 + homepage = "https://buildkite.com/test-analytics"; 28 + license = with licenses; [ mit ]; 29 + maintainers = with maintainers; [ jfroche ]; 30 + }; 31 + }
+1 -1
pkgs/games/bugdom/default.nix
··· 8 8 owner = "jorio"; 9 9 repo = pname; 10 10 rev = version; 11 - sha256 = "sha256:1371inw11rzfrxmc3v4gv5axp56bxjbcr0mhqm4x839401bfq5mf"; 11 + sha256 = "sha256-rhbsVgAkDdRJxbCCzJbsy5TbVdmP7MFqz+7nELiN4Yw="; 12 12 fetchSubmodules = true; 13 13 }; 14 14
+24 -14
pkgs/games/fairymax/default.nix
··· 1 - {lib, stdenv, fetchurl}: 1 + { lib 2 + , stdenv 3 + , fetchurl 4 + }: 5 + 2 6 stdenv.mkDerivation rec { 3 7 pname = "fairymax"; 4 8 version = "4.8"; 9 + 5 10 src = fetchurl { 6 11 url = "http://home.hccnet.nl/h.g.muller/fmax4_8w.c"; 7 - sha256 = "01vxhpa4z0613mkgkzmsln293wxmyp5kdzil93cd1ik51q4gwjca"; 12 + hash = "sha256-ikn+CA5lxtDYSDT+Nsv1tfORhKW6/vlmHcGAT9SFfQc="; 8 13 }; 14 + 9 15 ini = fetchurl { 10 16 url = "http://home.hccnet.nl/h.g.muller/fmax.ini"; 11 - sha256 = "1zwx70g3gspbqx1zf9gm1may8jrli9idalvskxbdg33qgjys47cn"; 17 + hash = "sha256-lh2ivXx4jNdWn3pT1WKKNEvkVQ31JfdDx+vqNx44nf8="; 12 18 }; 19 + 13 20 unpackPhase = '' 14 21 cp ${src} fairymax.c 15 22 cp ${ini} fmax.ini 16 23 ''; 24 + 17 25 buildPhase = '' 18 - $CC *.c -Wno-return-type -o fairymax -DINI_FILE='"'"$out/share/fairymax/fmax.ini"'"' 26 + cc *.c -Wno-return-type \ 27 + -o fairymax \ 28 + -DINI_FILE='"'"$out/share/fairymax/fmax.ini"'"' 19 29 ''; 30 + 20 31 installPhase = '' 21 32 mkdir -p "$out"/{bin,share/fairymax} 22 33 cp fairymax "$out/bin" 23 34 cp fmax.ini "$out/share/fairymax" 24 35 ''; 25 - meta = { 36 + 37 + meta = with lib; { 38 + homepage = "http://home.hccnet.nl/h.g.muller/dwnldpage.html"; 26 39 description = "A small chess engine supporting fairy pieces"; 27 40 longDescription = '' 28 - A version of micro-Max that reads the piece description 29 - from a file fmax.ini, so that arbitrary fairy pieces can be 30 - implemented. This version (4.8J) supports up to 15 piece types, 31 - and board sizes up to 12x8. A Linux port exists in the 32 - format of a debian package. 41 + A version of micro-Max that reads the piece description from a file 42 + fmax.ini, so that arbitrary fairy pieces can be implemented. This version 43 + (4.8J) supports up to 15 piece types, and board sizes up to 12x8. 33 44 ''; 34 - license = lib.licenses.free ; 35 - maintainers = [lib.maintainers.raskin]; 36 - platforms = lib.platforms.all; 37 - homepage = "http://home.hccnet.nl/h.g.muller/dwnldpage.html"; 45 + license = licenses.free; 46 + maintainers = [ maintainers.raskin ]; 47 + platforms = platforms.all; 38 48 }; 39 49 }
+12 -8
pkgs/games/gshogi/default.nix
··· 1 - { lib, buildPythonApplication, fetchFromGitHub 2 - , gtk3, gobject-introspection 3 - , wrapGAppsHook, python3Packages }: 1 + { lib 2 + , fetchFromGitHub 3 + , gobject-introspection 4 + , gtk3 5 + , python3 6 + , wrapGAppsHook 7 + }: 4 8 5 - buildPythonApplication rec { 9 + python3.pkgs.buildPythonApplication rec { 6 10 pname = "gshogi"; 7 11 version = "0.5.1"; 8 12 ··· 10 14 owner = "johncheetham"; 11 15 repo = "gshogi"; 12 16 rev = "v${version}"; 13 - sha256 = "06vgndfgwyfi50wg3cw92zspc9z0k7xn2pp6qsjih0l5yih8iwqh"; 17 + hash = "sha256-EPOIYPSFAhilxuZeYfuZ4Cd29ReJs/E4KNF5/lyzbxs="; 14 18 }; 15 19 16 20 doCheck = false; # no tests available ··· 22 26 23 27 nativeBuildInputs = [ wrapGAppsHook ]; 24 28 25 - propagatedBuildInputs = with python3Packages; [ 29 + propagatedBuildInputs = with python3.pkgs; [ 26 30 pygobject3 27 31 pycairo 28 32 ]; 29 33 30 34 meta = with lib; { 31 - description = "A graphical implementation of the Shogi board game, also known as Japanese Chess"; 32 35 homepage = "http://johncheetham.com/projects/gshogi/"; 33 - license = licenses.gpl3; 36 + description = "A graphical implementation of the Shogi board game, also known as Japanese Chess"; 37 + license = licenses.gpl3Plus; 34 38 platforms = platforms.linux; 35 39 maintainers = [ maintainers.ciil ]; 36 40 };
+11 -4
pkgs/games/julius/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, cmake, SDL2, SDL2_mixer, libpng }: 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , SDL2 5 + , SDL2_mixer 6 + , cmake 7 + , libpng 8 + }: 2 9 3 10 stdenv.mkDerivation rec { 4 11 pname = "julius"; ··· 8 15 owner = "bvschaik"; 9 16 repo = "julius"; 10 17 rev = "v${version}"; 11 - sha256 = "0w7kmgz9ya0ck9cxhsyralarg7y6ydx4plmh33r4mkxkamlr7493"; 18 + hash = "sha256-I5GTaVWzz0ryGLDSS3rzxp+XFVXZa9hZmgwon/6r83A="; 12 19 }; 13 20 14 21 nativeBuildInputs = [ cmake ]; 15 22 buildInputs = [ SDL2 SDL2_mixer libpng ]; 16 23 17 24 meta = with lib; { 25 + homepage = "https://github.com/bvschaik/julius"; 18 26 description = "An open source re-implementation of Caesar III"; 19 - homepage = "https://github.com/bvschaik/julius"; 20 27 license = licenses.agpl3; 28 + maintainers = with maintainers; [ Thra11 ]; 21 29 platforms = platforms.all; 22 30 broken = stdenv.isDarwin; 23 - maintainers = with maintainers; [ Thra11 ]; 24 31 }; 25 32 }
+17 -16
pkgs/games/koules/default.nix
··· 2 2 , lib 3 3 , fetchurl 4 4 , fetchzip 5 - , makeDesktopItem 6 5 , copyDesktopItems 6 + , gccmakedep 7 7 , imake 8 - , gccmakedep 8 + , installShellFiles 9 9 , libX11 10 10 , libXext 11 - , installShellFiles 11 + , makeDesktopItem 12 12 }: 13 13 14 14 let 15 15 debian-extras = fetchzip { 16 16 url = "mirror://debian/pool/main/k/koules/koules_1.4-27.debian.tar.xz"; 17 - sha256 = "0bq1rr6vxqmx2k0dhyrqnwwfiw4h2ycbj576v66vwr0jaq5plil3"; 17 + hash = "sha256-g0Z6C1YSZL6N2eYUuZgXkPDoOLc4e9jAFL3ivk3OAS8="; 18 18 }; 19 19 in 20 - 21 20 stdenv.mkDerivation rec { 22 21 pname = "koules"; 23 22 version = "1.4"; 24 23 25 24 src = fetchurl { 26 25 url = "https://www.ucw.cz/~hubicka/koules/packages/${pname}${version}-src.tar.gz"; 27 - sha256 = "06x2wkpns14kii9fxmxbmj5lma371qj00hgl7fc5kggfmzz96vy3"; 26 + hash = "sha256-w2+T/q/uvVmYO/RBACQOZ6hKi6yr1+5SjJMEbe/kohs="; 28 27 }; 29 28 30 29 nativeBuildInputs = [ imake gccmakedep installShellFiles copyDesktopItems ]; ··· 57 56 runHook postInstall 58 57 ''; 59 58 60 - desktopItems = [ (makeDesktopItem { 61 - desktopName = "Koules"; 62 - name = "koules"; 63 - exec = "xkoules"; 64 - icon = "koules"; 65 - comment = "Push your enemies away, but stay away from obstacles"; 66 - categories = [ "Game" "ArcadeGame" ]; 67 - }) ]; 59 + desktopItems = [ 60 + (makeDesktopItem { 61 + desktopName = "Koules"; 62 + name = "koules"; 63 + exec = "xkoules"; 64 + icon = "koules"; 65 + comment = "Push your enemies away, but stay away from obstacles"; 66 + categories = [ "Game" "ArcadeGame" ]; 67 + }) 68 + ]; 68 69 69 70 meta = with lib; { 70 - description = "Fast arcade game based on the fundamental law of body attraction"; 71 71 homepage = "https://www.ucw.cz/~hubicka/koules/English/"; 72 + description = "Fast arcade game based on the fundamental law of body attraction"; 72 73 license = licenses.gpl2Plus; 73 - platforms = platforms.linux; 74 74 maintainers = [ maintainers.iblech ]; 75 + platforms = platforms.linux; 75 76 }; 76 77 }
+14 -6
pkgs/games/leela-zero/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, cmake, boost 2 - , opencl-headers, ocl-icd, qtbase , zlib }: 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , cmake 5 + , boost 6 + , opencl-headers 7 + , ocl-icd 8 + , qtbase 9 + , zlib 10 + }: 3 11 4 12 stdenv.mkDerivation rec { 5 13 pname = "leela-zero"; ··· 9 17 owner = "gcp"; 10 18 repo = "leela-zero"; 11 19 rev = "v${version}"; 12 - sha256 = "1k04ld1ysabxb8ivci3ji5by9vb3yvnflkf2fscs1x0bp7d6j101"; 20 + sha256 = "sha256-AQRp2rkL9KCZdsJN6uz2Y+3kV4lyRLYjWn0p7UOjBMw="; 13 21 fetchSubmodules = true; 14 22 }; 15 23 ··· 21 29 22 30 meta = with lib; { 23 31 description = "Go engine modeled after AlphaGo Zero"; 24 - homepage = "https://github.com/gcp/leela-zero"; 25 - license = licenses.gpl3; 32 + homepage = "https://github.com/gcp/leela-zero"; 33 + license = licenses.gpl3Plus; 26 34 maintainers = [ maintainers.averelld maintainers.omnipotententity ]; 27 - platforms = platforms.linux; 35 + platforms = platforms.linux; 28 36 }; 29 37 }
+13 -6
pkgs/games/openttd/nml.nix
··· 1 - { stdenv, lib, fetchFromGitHub, python3Packages }: 1 + { stdenv 2 + , lib 3 + , fetchFromGitHub 4 + , python3 5 + }: 2 6 3 - python3Packages.buildPythonApplication rec { 7 + python3.pkgs.buildPythonApplication rec { 4 8 pname = "openttd-nml"; 5 9 version = "0.6.1"; 6 10 ··· 8 12 owner = "OpenTTD"; 9 13 repo = "nml"; 10 14 rev = version; 11 - sha256 = "0z0n4lqvnqigfjjhmmz7mvis7iivd4a8d287ya2yscfg5hznnqh2"; 15 + hash = "sha256-AmJrPyzPMe2F8geJhhRpO8aj467n1wqldC9iuzElFnw="; 12 16 }; 13 17 14 - propagatedBuildInputs = with python3Packages; [ply pillow]; 18 + propagatedBuildInputs = with python3.pkgs; [ 19 + pillow 20 + ply 21 + ]; 15 22 16 23 meta = with lib; { 24 + homepage = "http://openttdcoop.org/"; 17 25 description = "Compiler for OpenTTD NML files"; 18 - homepage = "http://openttdcoop.org/"; 19 - license = licenses.gpl2; 26 + license = licenses.gpl2; 20 27 maintainers = with maintainers; [ ToxicFrog ]; 21 28 }; 22 29 }
+1 -1
pkgs/games/otto-matic/default.nix
··· 8 8 owner = "jorio"; 9 9 repo = pname; 10 10 rev = version; 11 - sha256 = "sha256:1yd4clks7kr2hn69c4q1ykc92sw6axbspambm03viapr834bjz3q"; 11 + sha256 = "sha256-eHy5yED5qrgHqKuqq1dXhmuR2PQBE5aMhSLPoydlpPk="; 12 12 fetchSubmodules = true; 13 13 }; 14 14
+39 -14
pkgs/games/performous/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, cmake, pkg-config, gettext 2 - , glibmm, libxmlxx, pango, librsvg 3 - , SDL2, glew, boost, ffmpeg, portaudio, libepoxy 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , SDL2 5 + , boost 6 + , cmake 7 + , ffmpeg 8 + , gettext 9 + , glew 10 + , glibmm 11 + , libepoxy 12 + , librsvg 13 + , libxmlxx 14 + , pango 15 + , pkg-config 16 + , portaudio 4 17 }: 5 18 6 19 stdenv.mkDerivation rec { 7 20 pname = "performous"; 8 21 version = "1.1"; 9 22 10 - meta = with lib; { 11 - description = "Karaoke, band and dancing game"; 12 - homepage = "http://performous.org/"; 13 - license = licenses.gpl2Plus; 14 - platforms = platforms.linux; 15 - }; 16 - 17 23 src = fetchFromGitHub { 18 24 owner = "performous"; 19 25 repo = "performous"; 20 26 rev = version; 21 - sha256 = "08j0qhr65l7qnd5vxl4l07523qpvdwi31h4vzl3lfiinx1zcgr4x"; 27 + hash = "sha256-neTHfug2RkcH/ZvAMCJv++IhygGU0L5Ls/jQYjLEQCI="; 22 28 }; 23 29 24 30 patches = [ ./performous-cmake.patch ]; 25 31 26 - nativeBuildInputs = [ cmake pkg-config gettext ]; 32 + nativeBuildInputs = [ 33 + cmake 34 + gettext 35 + pkg-config 36 + ]; 27 37 28 38 buildInputs = [ 29 - glibmm libxmlxx pango librsvg 30 - SDL2 glew boost ffmpeg portaudio libepoxy 39 + SDL2 40 + boost 41 + ffmpeg 42 + glew 43 + glibmm 44 + libepoxy 45 + librsvg 46 + libxmlxx 47 + pango 48 + portaudio 31 49 ]; 50 + 51 + meta = with lib; { 52 + homepage = "http://performous.org/"; 53 + description = "Karaoke, band and dancing game"; 54 + license = licenses.gpl2Plus; 55 + platforms = platforms.linux; 56 + }; 32 57 }
+6 -5
pkgs/games/tworld2/default.nix
··· 1 1 { stdenv 2 2 , lib 3 3 , fetchurl 4 - , qt4 5 4 , SDL 5 + , qt4 6 6 }: 7 7 8 8 stdenv.mkDerivation rec { ··· 11 11 12 12 src = fetchurl { 13 13 url = "https://tw2.bitbusters.club/downloads/tworld-${version}-src.tar.gz"; 14 - sha256 = "sha256:1y55v2shk2xxcds7bdwdjaq9lka31sgdp2469zqnvldchwbvcb2i"; 14 + hash = "sha256-USy2F4es0W3xT4aI254OQ02asJKNt3V0Y72LCbXYpfg="; 15 15 }; 16 16 17 - buildInputs = [ qt4 SDL ]; 17 + buildInputs = [ SDL qt4 ]; 18 + 18 19 enableParallelBuilding = true; 19 20 20 21 postConfigure = '' ··· 36 37 ''; 37 38 38 39 meta = with lib; { 39 - description = "Tile World 2: Tile World is a reimplementation of the game Chip's Challenge"; 40 40 homepage = "https://tw2.bitbusters.club/"; 41 + description = "Tile World 2: Tile World is a reimplementation of the game Chip's Challenge"; 41 42 license = licenses.gpl2Plus; 42 - platforms = platforms.linux; 43 43 maintainers = with maintainers; [ drperceptron ]; 44 + platforms = platforms.linux; 44 45 }; 45 46 }
+61 -14
pkgs/games/unvanquished/default.nix
··· 1 - { lib, stdenv, fetchzip, fetchFromGitHub, buildFHSUserEnv, makeDesktopItem 2 - , copyDesktopItems, gcc, cmake, gmp , libGL, zlib, ncurses, geoip, lua5 3 - , nettle, curl, SDL2, freetype, glew , openal, libopus, opusfile, libogg 4 - , libvorbis, libjpeg, libwebp, libpng 5 - , cacert, aria2 # to download assets 1 + { lib 2 + , stdenv 3 + , fetchzip 4 + , fetchFromGitHub 5 + , SDL2 6 + , buildFHSUserEnv 7 + , cmake 8 + , copyDesktopItems 9 + , curl 10 + , freetype 11 + , gcc 12 + , geoip 13 + , glew 14 + , gmp 15 + , libGL 16 + , libjpeg 17 + , libogg 18 + , libopus 19 + , libpng 20 + , libvorbis 21 + , libwebp 22 + , lua5 23 + , makeDesktopItem 24 + , ncurses 25 + , nettle 26 + , openal 27 + , opusfile 28 + , zlib 29 + # to download assets 30 + , aria2 31 + , cacert 6 32 }: 7 33 8 34 let ··· 14 40 repo = "Unvanquished"; 15 41 rev = "v${version}"; 16 42 fetchSubmodules = true; 17 - sha256 = "1fiqn9f6nsh4cfjy7gfsv950hphwi9ca0ddgsjvn77g7yc0arp6c"; 43 + sha256 = "sha256-zNysAPPnnWO31K81oFiKHF4IStraveOlYwRqa1yyOLo="; 18 44 }; 19 45 20 46 unvanquished-binary-deps = stdenv.mkDerivation rec { 21 47 # DISCLAIMER: this is selected binary crap from the NaCl SDK 22 48 name = "unvanquished-binary-deps"; 23 49 version = binary-deps-version; 50 + 24 51 src = fetchzip { 25 52 url = "https://dl.unvanquished.net/deps/linux64-${version}.tar.bz2"; 26 - sha256 = "08bpyavbh5lmyprvqqi59gnm8s1fjmlk9f1785wlv7f52d9f9z1p"; 53 + sha256 = "sha256-N/zkUhPFnU15QSe4NGmVLmhU7UslYrzz9ZUWuLbydyE="; 27 54 }; 55 + 28 56 dontPatchELF = true; 57 + 29 58 preFixup = '' 30 59 # We are not using the autoPatchelfHook, because it would make 31 60 # nacl_bootstrap_helper unable to load nacl_loader: ··· 38 67 fi 39 68 done 40 69 ''; 41 - preCheck = "pnacl/bin/clang -v"; # check it links correctly 70 + 71 + preCheck = '' 72 + # check it links correctly 73 + pnacl/bin/clang -v 74 + ''; 75 + 42 76 installPhase = '' 43 77 runHook preInstall 44 78 ··· 51 85 52 86 libstdcpp-preload-for-unvanquished-nacl = stdenv.mkDerivation { 53 87 name = "libstdcpp-preload-for-unvanquished-nacl"; 88 + 89 + propagatedBuildInputs = [ gcc.cc.lib ]; 90 + 54 91 buildCommand = '' 55 92 mkdir $out/etc -p 56 93 echo ${gcc.cc.lib}/lib/libstdc++.so.6 > $out/etc/ld-nix.so.preload 57 94 ''; 58 - propagatedBuildInputs = [ gcc.cc.lib ]; 59 95 }; 60 96 61 97 fhsEnv = buildFHSUserEnv { 62 98 name = "unvanquished-fhs-wrapper"; 99 + 63 100 targetPkgs = pkgs: [ libstdcpp-preload-for-unvanquished-nacl ]; 64 101 }; 65 102 ··· 81 118 pname = "unvanquished-assets"; 82 119 inherit version src; 83 120 84 - outputHash = "sha256:084jdisb48xyk9agjifn0nlnsdnjgg32si8zd1khsywd0kffplzx"; 121 + outputHash = "sha256-/dPr3ASNew1naB9FLcZ70jZtqQXWRflUmr4jsnRskiA="; 85 122 outputHashMode = "recursive"; 123 + 86 124 nativeBuildInputs = [ aria2 cacert ]; 87 - buildCommand = "bash $src/download-paks --cache=$(pwd) --version=${version} $out"; 125 + 126 + buildCommand = '' 127 + bash $src/download-paks --cache=$(pwd) --version=${version} $out 128 + ''; 88 129 }; 89 130 90 131 # this really is the daemon game engine, the game itself is in the assets ··· 98 139 chmod +w -R daemon/external_deps/linux64-${binary-deps-version}/ 99 140 ''; 100 141 101 - nativeBuildInputs = [ cmake unvanquished-binary-deps copyDesktopItems ]; 142 + nativeBuildInputs = [ 143 + cmake 144 + unvanquished-binary-deps 145 + copyDesktopItems 146 + ]; 147 + 102 148 buildInputs = [ 103 149 gmp 104 150 libGL ··· 168 214 169 215 runHook postInstall 170 216 ''; 217 + 171 218 meta = { 172 - platforms = [ "x86_64-linux" ]; 173 219 homepage = "https://unvanquished.net/"; 174 220 downloadPage = "https://unvanquished.net/download/"; 175 221 description = "A fast paced, first person strategy game"; 176 - maintainers = with lib.maintainers; [ afontain ]; 177 222 # don't replace the following lib.licenses.zlib with just "zlib", 178 223 # or you would end up with the package instead 179 224 license = with lib.licenses; [ 180 225 mit gpl3Plus lib.licenses.zlib bsd3 # engine 181 226 cc-by-sa-25 cc-by-sa-30 cc-by-30 cc-by-sa-40 cc0 # assets 182 227 ]; 228 + maintainers = with lib.maintainers; [ afontain ]; 229 + platforms = [ "x86_64-linux" ]; 183 230 }; 184 231 }
+13 -2
pkgs/games/vectoroids/default.nix
··· 1 - {lib, stdenv, fetchurl, SDL, SDL_image, SDL_mixer}: 1 + { lib 2 + , stdenv 3 + , fetchurl 4 + , SDL 5 + , SDL_image 6 + , SDL_mixer 7 + }: 2 8 3 9 stdenv.mkDerivation rec { 4 10 pname = "vectoroids"; 5 11 version = "1.1.0"; 12 + 6 13 src = fetchurl { 7 14 url = "ftp://ftp.tuxpaint.org/unix/x/vectoroids/src/vectoroids-${version}.tar.gz"; 8 15 sha256 = "0bkvd4a1v496w0vlvqyi1a6p25ssgpkchxxxi8899sb72wlds54d"; 9 16 }; 10 17 11 - buildInputs = [ SDL SDL_image SDL_mixer]; 18 + buildInputs = [ 19 + SDL 20 + SDL_image 21 + SDL_mixer 22 + ]; 12 23 13 24 preConfigure = '' 14 25 sed -i s,/usr/local,$out, Makefile
+5 -2
pkgs/games/zandronum/sqlite.nix
··· 1 - { lib, stdenv, fetchurl }: 1 + { lib 2 + , stdenv 3 + , fetchurl 4 + }: 2 5 3 6 stdenv.mkDerivation { 4 7 pname = "sqlite-zandronum"; ··· 6 9 7 10 src = fetchurl { 8 11 url = "https://www.sqlite.org/2017/sqlite-autoconf-3180000.tar.gz"; 9 - sha256 = "0p5cx7nbjxk7glcm277ypi5w4gv144qazw79ql47svlpccj62mrp"; 12 + hash = "sha256-N1dhJGOXbn0IxenwrzAhYT/CS7z+HFEZfWd2uezprFw="; 10 13 }; 11 14 12 15 buildPhase = ''
+8 -3
pkgs/games/zdoom/zdbsp.nix
··· 1 - { lib, stdenv, fetchzip, cmake, zlib }: 1 + { lib 2 + , stdenv 3 + , fetchzip 4 + , cmake 5 + , zlib 6 + }: 2 7 3 8 stdenv.mkDerivation rec { 4 9 pname = "zdbsp"; ··· 6 11 7 12 src = fetchzip { 8 13 url = "https://zdoom.org/files/utils/zdbsp/zdbsp-${version}-src.zip"; 9 - sha256 = "1j6k0appgjjj3ffbll9hy9nnbqr17szd1s66q08zrbkfqf6g8f0d"; 14 + sha256 = "sha256-DTj0jMNurvwRwMbo0L4+IeNlbfIwUbqcG1LKd68C08g="; 10 15 stripRoot = false; 11 16 }; 12 17 ··· 23 28 ''; 24 29 25 30 meta = with lib; { 26 - description = "ZDoom's internal node builder for DOOM maps"; 27 31 homepage = "https://zdoom.org/wiki/ZDBSP"; 32 + description = "ZDoom's internal node builder for DOOM maps"; 28 33 license = licenses.gpl2Plus; 29 34 maintainers = with maintainers; [ lassulus siraben ]; 30 35 platforms = platforms.unix;
+10 -2
pkgs/games/zoom/default.nix
··· 1 - { lib, stdenv, fetchurl, perl, expat, xlibsWrapper, freetype }: 1 + { lib 2 + , stdenv 3 + , fetchurl 4 + , perl 5 + , expat 6 + , xlibsWrapper 7 + , freetype 8 + }: 2 9 3 10 # !!! assert freetype == xorg.freetype 4 11 ··· 8 15 9 16 src = fetchurl { 10 17 url = "https://www.logicalshift.co.uk/unix/zoom/zoom-${version}.tar.gz"; 11 - sha256 = "1g6van7f7sg3zfcz80mncnnbccyg2hnm0hq4x558vpsm0lf7z5pj"; 18 + hash = "sha256-8pZ/HAVV341K6QRDUC0UzzO2rGW2AvSZ++Pp445V27w="; 12 19 }; 13 20 14 21 buildInputs = [ perl expat xlibsWrapper freetype ]; ··· 16 23 NIX_CFLAGS_COMPILE = "-I${freetype}/include/freetype2 -fgnu89-inline"; 17 24 18 25 meta = with lib; { 26 + homepage = "https://www.logicalshift.co.uk/unix/zoom/"; 19 27 description = "Player for Z-Code, TADS and HUGO stories or games"; 20 28 longDescription = '' 21 29 Zoom is a player for Z-Code, TADS and HUGO stories or games. These are
+3
pkgs/os-specific/linux/kernel/common-config.nix
··· 289 289 # Intel GVT-g graphics virtualization supports 64-bit only 290 290 DRM_I915_GVT = whenAtLeast "4.16" yes; 291 291 DRM_I915_GVT_KVMGT = whenAtLeast "4.16" module; 292 + } // optionalAttrs (stdenv.hostPlatform.system == "aarch64-linux") { 293 + # enable HDMI-CEC on RPi boards 294 + DRM_VC4_HDMI_CEC = whenAtLeast "4.14" yes; 292 295 }; 293 296 294 297 sound = {
+16 -11
pkgs/os-specific/linux/mmc-utils/default.nix
··· 1 - { lib, stdenv, fetchgit }: 1 + { lib, stdenv, fetchzip, unstableGitUpdater }: 2 2 3 3 stdenv.mkDerivation { 4 4 pname = "mmc-utils"; 5 - version = "2021-05-11"; 5 + version = "unstable-2022-04-26"; 6 6 7 - src = fetchgit { 8 - url = "git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git"; 9 - rev = "43282e80e174cc73b09b81a4d17cb3a7b4dc5cfc"; 10 - sha256 = "0l06ahmprqshh75pkdpagb8fgnp2bwn8q8hwp1yl3laww2ghm8i5"; 7 + src = fetchzip rec { 8 + url = "https://git.kernel.org/pub/scm/utils/mmc/mmc-utils.git/snapshot/mmc-utils-${passthru.rev}.tar.gz"; 9 + passthru.rev = "b7e4d5a6ae9942d26a11de9b05ae7d52c0802802"; 10 + sha256 = "D2QgntRsa6Y39nCkXQupXFbJR++JfBpMeEZE0Gv0btc="; 11 11 }; 12 12 13 - makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ]; 13 + makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" "prefix=$(out)" ]; 14 14 15 - installPhase = '' 16 - make install prefix=$out 15 + postInstall = '' 17 16 mkdir -p $out/share/man/man1 18 17 cp man/mmc.1 $out/share/man/man1/ 19 18 ''; 20 19 20 + enableParallelBuilding = true; 21 + 22 + passthru.updateScript = unstableGitUpdater { 23 + url = "https://git.kernel.org/pub/scm/utils/mmc/mmc-utils.git"; 24 + }; 25 + 21 26 meta = with lib; { 22 27 description = "Configure MMC storage devices from userspace"; 23 - homepage = "http://git.kernel.org/cgit/linux/kernel/git/cjb/mmc-utils.git/"; 24 - license = licenses.gpl2; 28 + homepage = "https://git.kernel.org/pub/scm/utils/mmc/mmc-utils.git/"; 29 + license = licenses.gpl2Only; 25 30 maintainers = [ maintainers.dezgeg ]; 26 31 platforms = platforms.linux; 27 32 };
-5
pkgs/servers/http/unit/default.nix
··· 1 1 { lib, stdenv, fetchFromGitHub, nixosTests, which 2 2 , pcre2 3 3 , withPython3 ? true, python3, ncurses 4 - , withPHP74 ? false, php74 5 4 , withPHP80 ? true, php80 6 5 , withPerl532 ? false, perl532 7 6 , withPerl534 ? true, perl534 ··· 24 23 fpmSupport = false; 25 24 }; 26 25 27 - php74-unit = php74.override phpConfig; 28 26 php80-unit = php80.override phpConfig; 29 27 30 28 in stdenv.mkDerivation rec { ··· 42 40 43 41 buildInputs = [ pcre2.dev ] 44 42 ++ optionals withPython3 [ python3 ncurses ] 45 - ++ optional withPHP74 php74-unit 46 43 ++ optional withPHP80 php80-unit 47 44 ++ optional withPerl532 perl532 48 45 ++ optional withPerl534 perl534 ··· 60 57 ++ optional withDebug "--debug"; 61 58 62 59 # Optionally add the PHP derivations used so they can be addressed in the configs 63 - usedPhp74 = optionals withPHP74 php74-unit; 64 60 usedPhp80 = optionals withPHP80 php80-unit; 65 61 66 62 postConfigure = '' 67 63 ${optionalString withPython3 "./configure python --module=python3 --config=python3-config --lib-path=${python3}/lib"} 68 - ${optionalString withPHP74 "./configure php --module=php74 --config=${php74-unit.unwrapped.dev}/bin/php-config --lib-path=${php74-unit}/lib"} 69 64 ${optionalString withPHP80 "./configure php --module=php80 --config=${php80-unit.unwrapped.dev}/bin/php-config --lib-path=${php80-unit}/lib"} 70 65 ${optionalString withPerl532 "./configure perl --module=perl532 --perl=${perl532}/bin/perl"} 71 66 ${optionalString withPerl534 "./configure perl --module=perl534 --perl=${perl534}/bin/perl"}
+1 -3
pkgs/servers/uwsgi/default.nix
··· 97 97 substituteInPlace "$f" \ 98 98 --replace pkg-config "$PKG_CONFIG" 99 99 done 100 - ${lib.optionalString (lib.versionAtLeast php.version "8") '' 101 - sed -e "s/ + php_version//" -i plugins/php/uwsgiplugin.py 102 - ''} 100 + sed -e "s/ + php_version//" -i plugins/php/uwsgiplugin.py 103 101 ''; 104 102 105 103 configurePhase = ''
+1 -1
pkgs/servers/web-apps/engelsystem/default.nix
··· 2 2 3 3 let 4 4 phpExt = php.withExtensions 5 - ({ enabled, all }: with all; [ json filter mysqlnd mysqli pdo pdo_mysql ]); 5 + ({ enabled, all }: with all; [ filter mysqlnd mysqli pdo pdo_mysql ]); 6 6 in stdenv.mkDerivation rec { 7 7 pname = "engelsystem"; 8 8 version = "3.1.0";
+4
pkgs/top-level/aliases.nix
··· 1013 1013 phwmon = throw "phwmon has been removed: abandoned by upstream"; # Added 2022-04-24 1014 1014 1015 1015 # Obsolete PHP version aliases 1016 + php74 = throw "php74 has been dropped due to the lack of maintanence from upstream for future releases"; # Added 2022-05-24 1017 + php74Packages = php74; # Added 2022-05-24 1018 + php74Extensions = php74; # Added 2022-05-24 1019 + 1016 1020 php73 = throw "php73 has been dropped due to the lack of maintanence from upstream for future releases"; # Added 2021-06-03 1017 1021 php73Packages = php73; # Added 2021-06-03 1018 1022 php73Extensions = php73; # Added 2021-06-03
+7 -10
pkgs/top-level/all-packages.nix
··· 1782 1782 }) arangodb_3_3 arangodb_3_4 arangodb_3_5; 1783 1783 arangodb = arangodb_3_4; 1784 1784 1785 - arcanist = callPackage ../development/tools/misc/arcanist { php = php74; }; 1785 + arcanist = callPackage ../development/tools/misc/arcanist { php = php81; }; 1786 1786 1787 1787 arduino = arduino-core.override { withGui = true; }; 1788 1788 ··· 14407 14407 }; 14408 14408 php80Extensions = recurseIntoAttrs php80.extensions; 14409 14409 php80Packages = recurseIntoAttrs php80.packages; 14410 - 14411 - # Import PHP74 interpreter, extensions and packages 14412 - php74 = callPackage ../development/interpreters/php/7.4.nix { 14413 - stdenv = if stdenv.cc.isClang then llvmPackages.stdenv else stdenv; 14414 - }; 14415 - php74Extensions = recurseIntoAttrs php74.extensions; 14416 - php74Packages = recurseIntoAttrs php74.packages; 14417 14410 14418 14411 14419 14412 picoc = callPackage ../development/interpreters/picoc {}; ··· 15100 15093 15101 15094 buildkite-cli = callPackage ../development/tools/continuous-integration/buildkite-cli { }; 15102 15095 15096 + buildkite-test-collector-rust = callPackage ../development/tools/continuous-integration/buildkite-test-collector-rust { 15097 + inherit (darwin.apple_sdk.frameworks) Security; 15098 + }; 15099 + 15103 15100 bump = callPackage ../development/tools/github/bump { }; 15104 15101 15105 15102 libbpf = callPackage ../os-specific/linux/libbpf { }; ··· 21724 21721 21725 21722 dspam = callPackage ../servers/mail/dspam { }; 21726 21723 21727 - engelsystem = callPackage ../servers/web-apps/engelsystem { php = php74; }; 21724 + engelsystem = callPackage ../servers/web-apps/engelsystem { php = php81; }; 21728 21725 21729 21726 envoy = callPackage ../servers/http/envoy { 21730 21727 jdk = openjdk11_headless; ··· 27908 27905 27909 27906 lrzsz = callPackage ../tools/misc/lrzsz { }; 27910 27907 27911 - lsp-plugins = callPackage ../applications/audio/lsp-plugins { php = php74; }; 27908 + lsp-plugins = callPackage ../applications/audio/lsp-plugins { php = php81; }; 27912 27909 27913 27910 ltex-ls = callPackage ../tools/text/ltex-ls { }; 27914 27911
+5 -38
pkgs/top-level/php-packages.nix
··· 196 196 197 197 apcu = callPackage ../development/php-packages/apcu { }; 198 198 199 - apcu_bc = callPackage ../development/php-packages/apcu_bc { }; 200 - 201 199 ast = callPackage ../development/php-packages/ast { }; 202 200 203 201 blackfire = pkgs.callPackage ../development/tools/misc/blackfire/php-probe.nix { inherit php; }; ··· 226 224 227 225 mongodb = callPackage ../development/php-packages/mongodb { }; 228 226 229 - oci8 = callPackage ../development/php-packages/oci8 ({ 230 - version = "2.2.0"; 231 - sha256 = "0jhivxj1nkkza4h23z33y7xhffii60d7dr51h1czjk10qywl7pyd"; 232 - } // lib.optionalAttrs (lib.versionAtLeast php.version "8.0") { 233 - version = "3.0.1"; 234 - sha256 = "108ds92620dih5768z19hi0jxfa7wfg5hdvyyvpapir87c0ap914"; 235 - }); 227 + oci8 = callPackage ../development/php-packages/oci8 { }; 236 228 237 229 openswoole = callPackage ../development/php-packages/openswoole { }; 238 230 ··· 260 252 261 253 pdo_sqlsrv = callPackage ../development/php-packages/pdo_sqlsrv { }; 262 254 263 - php_excel = callPackage ../development/php-packages/php_excel { }; 264 - 265 255 pinba = callPackage ../development/php-packages/pinba { }; 266 256 267 257 protobuf = callPackage ../development/php-packages/protobuf { }; ··· 345 335 configureFlags = [ 346 336 "--with-iconv${lib.optionalString stdenv.isDarwin "=${libiconv}"}" 347 337 ]; 348 - patches = lib.optionals (lib.versionOlder php.version "8.0") [ 349 - # Header path defaults to FHS location, preventing the configure script from detecting errno support. 350 - (fetchpatch { 351 - url = "https://github.com/fossar/nix-phps/raw/263861a8c9bdafd7abe44db6db4ef0179643680c/pkgs/iconv-header-path.patch"; 352 - sha256 = "7GHnEUu+hcsQ4h3itDwk6p46ZKfib9JZ2XpWlXrdn6E="; 353 - }) 354 - ]; 355 338 doCheck = false; 356 339 } 357 340 { ··· 365 348 name = "intl"; 366 349 buildInputs = [ icu64 ]; 367 350 } 368 - { name = "json"; enable = lib.versionOlder php.version "8.0"; } 369 351 { 370 352 name = "ldap"; 371 353 buildInputs = [ openldap cyrus_sasl ]; ··· 381 363 } 382 364 { 383 365 name = "mbstring"; 384 - buildInputs = [ oniguruma ] ++ lib.optionals (lib.versionAtLeast php.version "8.0") [ 385 - pcre2 386 - ]; 366 + buildInputs = [ oniguruma pcre2 ]; 387 367 doCheck = false; 388 368 } 389 369 { ··· 416 396 '') 417 397 ]; 418 398 } 419 - # oci8 (7.4, 7.3, 7.2) 420 - # odbc (7.4, 7.3, 7.2) 421 399 { 422 400 name = "opcache"; 423 - buildInputs = [ pcre2 ] ++ lib.optionals (!stdenv.isDarwin && lib.versionAtLeast php.version "8.0") [ 401 + buildInputs = [ pcre2 ] ++ lib.optionals (!stdenv.isDarwin) [ 424 402 valgrind.dev 425 403 ]; 426 404 zendExtension = true; ··· 443 421 enable = (!stdenv.isDarwin); 444 422 doCheck = false; 445 423 } 446 - # pdo_firebird (7.4, 7.3, 7.2) 447 424 { 448 425 name = "pdo_mysql"; 449 426 internalDeps = with php.extensions; [ pdo mysqlnd ]; 450 427 configureFlags = [ "--with-pdo-mysql=mysqlnd" "PHP_MYSQL_SOCK=/run/mysqld/mysqld.sock" ]; 451 428 doCheck = false; 452 429 } 453 - # pdo_oci (7.4, 7.3, 7.2) 454 430 { 455 431 name = "pdo_odbc"; 456 432 internalDeps = [ php.extensions.pdo ]; ··· 500 476 ''; 501 477 doCheck = false; 502 478 } 503 - { name = "session"; doCheck = lib.versionOlder php.version "8.0"; } 479 + { name = "session"; doCheck = false; } 504 480 { name = "shmop"; } 505 481 { 506 482 name = "simplexml"; ··· 559 535 ]; 560 536 } 561 537 { 562 - name = "xmlrpc"; 563 - buildInputs = [ libxml2 libiconv ]; 564 - # xmlrpc was unbundled in 8.0 https://php.watch/versions/8.0/xmlrpc 565 - enable = lib.versionOlder php.version "8.0"; 566 - configureFlags = [ 567 - "--with-xmlrpc" 568 - ]; 569 - } 570 - { 571 538 name = "xmlwriter"; 572 539 buildInputs = [ libxml2 ]; 573 540 configureFlags = [ ··· 577 544 { 578 545 name = "xsl"; 579 546 buildInputs = [ libxslt libxml2 ]; 580 - doCheck = lib.versionOlder php.version "8.0"; 547 + doCheck = false; 581 548 configureFlags = [ "--with-xsl=${libxslt.dev}" ]; 582 549 } 583 550 { name = "zend_test"; }