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