Merge staging-next into staging

authored by github-actions[bot] and committed by GitHub cc3ebacb 5e938f3f

+1544 -3778
+10
maintainers/maintainer-list.nix
··· 6276 6276 githubId = 541748; 6277 6277 name = "Felipe Espinoza"; 6278 6278 }; 6279 + federicoschonborn = { 6280 + name = "Federico Damián Schonborn"; 6281 + email = "federicoschonborn@disroot.org"; 6282 + github = "FedericoSchonborn"; 6283 + githubId = 62166915; 6284 + matrix = "@FedericoDSchonborn:matrix.org"; 6285 + keys = [ 6286 + { fingerprint = "C43F 4052 D289 3B73 33F8 0259 E4F6 F544 DE9E 29E8"; } 6287 + ]; 6288 + }; 6279 6289 fedx-sudo = { 6280 6290 email = "fedx-sudo@pm.me"; 6281 6291 github = "FedX-sudo";
+1
maintainers/team-list.nix
··· 99 99 budgie = { 100 100 members = [ 101 101 bobby285271 102 + federicoschonborn 102 103 ]; 103 104 scope = "Maintain Budgie desktop environment"; 104 105 shortName = "Budgie";
+9 -2
nixos/modules/services/misc/gitlab.nix
··· 1439 1439 nodejs 1440 1440 gnupg 1441 1441 1442 + "${cfg.packages.gitlab}/share/gitlab/vendor/gems/sidekiq-${cfg.packages.gitlab.rubyEnv.gems.sidekiq.version}" 1443 + 1442 1444 # Needed for GitLab project imports 1443 1445 gnutar 1444 1446 gzip ··· 1452 1454 TimeoutSec = "infinity"; 1453 1455 Restart = "always"; 1454 1456 WorkingDirectory = "${cfg.packages.gitlab}/share/gitlab"; 1455 - ExecStart="${cfg.packages.gitlab.rubyEnv}/bin/sidekiq -C \"${cfg.packages.gitlab}/share/gitlab/config/sidekiq_queues.yml\" -e production"; 1457 + ExecStart = utils.escapeSystemdExecArgs [ 1458 + "${cfg.packages.gitlab}/share/gitlab/bin/sidekiq-cluster" 1459 + "-e" "production" 1460 + "-r" "." 1461 + "*" # all queue groups 1462 + ]; 1456 1463 }; 1457 1464 }; 1458 1465 ··· 1550 1557 gnutar 1551 1558 gzip 1552 1559 openssh 1553 - gitlab-workhorse 1560 + cfg.packages.gitlab-workhorse 1554 1561 ]; 1555 1562 serviceConfig = { 1556 1563 Type = "simple";
+4 -4
nixos/modules/services/web-apps/hedgedoc.nix
··· 236 236 }; 237 237 238 238 services.hedgedoc.settings = { 239 - defaultNotePath = lib.mkDefault "${cfg.package}/public/default.md"; 240 - docsPath = lib.mkDefault "${cfg.package}/public/docs"; 241 - viewPath = lib.mkDefault "${cfg.package}/public/views"; 239 + defaultNotePath = lib.mkDefault "${cfg.package}/share/hedgedoc/public/default.md"; 240 + docsPath = lib.mkDefault "${cfg.package}/share/hedgedoc/public/docs"; 241 + viewPath = lib.mkDefault "${cfg.package}/share/hedgedoc/public/views"; 242 242 }; 243 243 244 244 systemd.services.hedgedoc = { ··· 263 263 Group = name; 264 264 265 265 Restart = "always"; 266 - ExecStart = "${cfg.package}/bin/hedgedoc"; 266 + ExecStart = lib.getExe cfg.package; 267 267 RuntimeDirectory = [ name ]; 268 268 StateDirectory = [ name ]; 269 269 WorkingDirectory = "/run/${name}";
+2
nixos/modules/services/x11/desktop-managers/budgie.nix
··· 44 44 enableSshSocket = config.services.openssh.startWhenNeeded; 45 45 }; 46 46 in { 47 + meta.maintainers = lib.teams.budgie.members; 48 + 47 49 options = { 48 50 services.xserver.desktopManager.budgie = { 49 51 enable = mkEnableOption (mdDoc "the Budgie desktop");
+3 -1
nixos/modules/system/boot/kernel.nix
··· 233 233 symlinks because modprobe only supports one directory. 234 234 ''; 235 235 # Convert the list of path to only one path. 236 - apply = pkgs.aggregateModules; 236 + apply = let 237 + kernel-name = config.boot.kernelPackages.kernel.name or "kernel"; 238 + in modules: (pkgs.aggregateModules modules).override { name = kernel-name + "-modules"; }; 237 239 }; 238 240 239 241 system.requiredKernelConfig = mkOption {
+2 -6
nixos/modules/system/boot/stage-1.nix
··· 13 13 14 14 kernel-name = config.boot.kernelPackages.kernel.name or "kernel"; 15 15 16 - modulesTree = config.system.modulesTree.override { name = kernel-name + "-modules"; }; 17 - firmware = config.hardware.firmware; 18 - 19 - 20 16 # Determine the set of modules that we need to mount the root FS. 21 17 modulesClosure = pkgs.makeModulesClosure { 22 18 rootModules = config.boot.initrd.availableKernelModules ++ config.boot.initrd.kernelModules; 23 - kernel = modulesTree; 24 - firmware = firmware; 19 + kernel = config.system.modulesTree; 20 + firmware = config.hardware.firmware; 25 21 allowMissing = false; 26 22 }; 27 23
+2 -4
nixos/modules/system/boot/systemd/initrd.nix
··· 91 91 }; 92 92 93 93 kernel-name = config.boot.kernelPackages.kernel.name or "kernel"; 94 - modulesTree = config.system.modulesTree.override { name = kernel-name + "-modules"; }; 95 - firmware = config.hardware.firmware; 96 94 # Determine the set of modules that we need to mount the root FS. 97 95 modulesClosure = pkgs.makeModulesClosure { 98 96 rootModules = config.boot.initrd.availableKernelModules ++ config.boot.initrd.kernelModules; 99 - kernel = modulesTree; 100 - firmware = firmware; 97 + kernel = config.system.modulesTree; 98 + firmware = config.hardware.firmware; 101 99 allowMissing = false; 102 100 }; 103 101
+7 -6
nixos/tests/budgie.nix
··· 61 61 machine.succeed(f"{cmd} | grep 'XDG_CURRENT_DESKTOP' | grep 'Budgie:GNOME'") 62 62 machine.succeed(f"{cmd} | grep 'BUDGIE_PLUGIN_DATADIR' | grep '${pkgs.budgie.budgie-desktop-with-plugins.pname}'") 63 63 64 - with subtest("Open Budgie Control Center"): 64 + with subtest("Open run dialog"): 65 65 machine.send_key("alt-f2") 66 - machine.wait_until_succeeds("pgrep -f budgie-run-dialog") 67 66 machine.wait_for_window("budgie-run-dialog") 68 - machine.sleep(3) 69 - machine.send_chars("Budgie Control Center", delay=0.5) 70 - machine.screenshot("quick_search") 71 - machine.send_chars("\n") 67 + machine.sleep(2) 68 + machine.screenshot("run_dialog") 69 + machine.send_key("esc") 70 + 71 + with subtest("Open Budgie Control Center"): 72 + machine.succeed("${su "budgie-control-center >&2 &"}") 72 73 machine.wait_for_window("Budgie Control Center") 73 74 74 75 with subtest("Lock the screen"):
+2 -2
pkgs/applications/audio/pt2-clone/default.nix
··· 8 8 9 9 stdenv.mkDerivation (finalAttrs: { 10 10 pname = "pt2-clone"; 11 - version = "1.66.1"; 11 + version = "1.67"; 12 12 13 13 src = fetchFromGitHub { 14 14 owner = "8bitbubsy"; 15 15 repo = "pt2-clone"; 16 16 rev = "v${finalAttrs.version}"; 17 - sha256 = "sha256-j7VPC1sj1Q+wL2TBgv06uYLPqym8F57HG1SRvj0Ggeo="; 17 + sha256 = "sha256-fTUTXwS6A72zhKkANlSljQVvPeN5rOTyuyb8vLxYfdk="; 18 18 }; 19 19 20 20 nativeBuildInputs = [ cmake ];
+1 -5
pkgs/applications/audio/surge-XT/default.nix
··· 2 2 , lib 3 3 , fetchFromGitHub 4 4 , cmake 5 - , gitMinimal 6 5 , pkg-config 7 6 , alsa-lib 8 7 , freetype ··· 23 22 owner = "surge-synthesizer"; 24 23 repo = "surge"; 25 24 rev = "release_xt_${version}"; 26 - branchName = "release-xt/${version}"; 27 25 fetchSubmodules = true; 28 - leaveDotGit = true; 29 - sha256 = "sha256-q6qs/OhIakF+Gc8Da3pnfkUGYDUoJbvee0o8dfrRI2U="; 26 + sha256 = "sha256-xcbZ5TC2W2PVzAkpoKPFIgW1oRGaC+ynQYot3cb5NAQ="; 30 27 }; 31 28 32 29 nativeBuildInputs = [ 33 30 cmake 34 - gitMinimal 35 31 pkg-config 36 32 ]; 37 33
+7
pkgs/applications/blockchains/dcrwallet/default.nix
··· 15 15 16 16 subPackages = [ "." ]; 17 17 18 + checkFlags = [ 19 + # Test fails with: 20 + # 'x509_test.go:201: server did not report bad certificate error; 21 + # instead errored with [...] tls: unknown certificate authority (*url.Error)' 22 + "-skip=^TestUntrustedClientCert$" 23 + ]; 24 + 18 25 meta = { 19 26 homepage = "https://decred.org"; 20 27 description = "A secure Decred wallet daemon written in Go (golang)";
+430 -303
pkgs/applications/blockchains/polkadot/Cargo.lock
··· 324 324 325 325 [[package]] 326 326 name = "aquamarine" 327 + version = "0.3.3" 328 + source = "registry+https://github.com/rust-lang/crates.io-index" 329 + checksum = "d1da02abba9f9063d786eab1509833ebb2fac0f966862ca59439c76b9c566760" 330 + dependencies = [ 331 + "include_dir", 332 + "itertools 0.10.5", 333 + "proc-macro-error", 334 + "proc-macro2", 335 + "quote", 336 + "syn 1.0.109", 337 + ] 338 + 339 + [[package]] 340 + name = "aquamarine" 327 341 version = "0.5.0" 328 342 source = "registry+https://github.com/rust-lang/crates.io-index" 329 343 checksum = "21cc1548309245035eb18aa7f0967da6bc65587005170c56e6ef2788a4cf3f4e" ··· 729 743 dependencies = [ 730 744 "nodrop", 731 745 ] 732 - 733 - [[package]] 734 - name = "arrayvec" 735 - version = "0.5.2" 736 - source = "registry+https://github.com/rust-lang/crates.io-index" 737 - checksum = "23b62fc65de8e4e7f52534fb52b0f3ed04746ae267519eef2a83941e8085068b" 738 746 739 747 [[package]] 740 748 name = "arrayvec" ··· 1320 1328 "ark-std 0.4.0", 1321 1329 "dleq_vrf", 1322 1330 "fflonk", 1323 - "merlin 3.0.0", 1331 + "merlin", 1324 1332 "rand_chacha 0.3.1", 1325 1333 "rand_core 0.6.4", 1326 1334 "ring 0.1.0", ··· 1426 1434 source = "registry+https://github.com/rust-lang/crates.io-index" 1427 1435 checksum = "93f2635620bf0b9d4576eb7bb9a38a55df78bd1205d26fa994b25911a69f212f" 1428 1436 dependencies = [ 1429 - "bitcoin_hashes", 1430 - "rand", 1431 - "rand_core 0.6.4", 1437 + "bitcoin_hashes 0.11.0", 1432 1438 "serde", 1433 1439 "unicode-normalization", 1434 1440 ] ··· 1449 1455 checksum = "349f9b6a179ed607305526ca489b34ad0a41aed5f7980fa90eb03160b69598fb" 1450 1456 1451 1457 [[package]] 1458 + name = "bitcoin-internals" 1459 + version = "0.2.0" 1460 + source = "registry+https://github.com/rust-lang/crates.io-index" 1461 + checksum = "9425c3bf7089c983facbae04de54513cce73b41c7f9ff8c845b54e7bc64ebbfb" 1462 + 1463 + [[package]] 1452 1464 name = "bitcoin_hashes" 1453 1465 version = "0.11.0" 1454 1466 source = "registry+https://github.com/rust-lang/crates.io-index" 1455 1467 checksum = "90064b8dee6815a6470d60bad07bbbaee885c0e12d04177138fa3291a01b7bc4" 1468 + 1469 + [[package]] 1470 + name = "bitcoin_hashes" 1471 + version = "0.13.0" 1472 + source = "registry+https://github.com/rust-lang/crates.io-index" 1473 + checksum = "1930a4dabfebb8d7d9992db18ebe3ae2876f0a305fab206fd168df931ede293b" 1474 + dependencies = [ 1475 + "bitcoin-internals", 1476 + "hex-conservative", 1477 + ] 1456 1478 1457 1479 [[package]] 1458 1480 name = "bitflags" ··· 1547 1569 1548 1570 [[package]] 1549 1571 name = "block-buffer" 1550 - version = "0.7.3" 1551 - source = "registry+https://github.com/rust-lang/crates.io-index" 1552 - checksum = "c0940dc441f31689269e10ac70eb1002a3a1d3ad1390e030043662eb7fe4688b" 1553 - dependencies = [ 1554 - "block-padding", 1555 - "byte-tools", 1556 - "byteorder", 1557 - "generic-array 0.12.4", 1558 - ] 1559 - 1560 - [[package]] 1561 - name = "block-buffer" 1562 1572 version = "0.9.0" 1563 1573 source = "registry+https://github.com/rust-lang/crates.io-index" 1564 1574 checksum = "4152116fd6e9dadb291ae18fc1ec3575ed6d84c29642d97890f4b4a3417297e4" ··· 1573 1583 checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" 1574 1584 dependencies = [ 1575 1585 "generic-array 0.14.7", 1576 - ] 1577 - 1578 - [[package]] 1579 - name = "block-padding" 1580 - version = "0.1.5" 1581 - source = "registry+https://github.com/rust-lang/crates.io-index" 1582 - checksum = "fa79dedbb091f449f1f39e53edf88d5dbe95f895dae6135a8d7b881fb5af73f5" 1583 - dependencies = [ 1584 - "byte-tools", 1585 1586 ] 1586 1587 1587 1588 [[package]] ··· 2620 2621 2621 2622 [[package]] 2622 2623 name = "clap-num" 2623 - version = "1.0.2" 2624 + version = "1.1.1" 2624 2625 source = "registry+https://github.com/rust-lang/crates.io-index" 2625 - checksum = "488557e97528174edaa2ee268b23a809e0c598213a4bbcb4f34575a46fda147e" 2626 + checksum = "0e063d263364859dc54fb064cedb7c122740cd4733644b14b176c097f51e8ab7" 2626 2627 dependencies = [ 2627 2628 "num-traits", 2628 2629 ] ··· 2840 2841 2841 2842 [[package]] 2842 2843 name = "colored" 2843 - version = "2.0.4" 2844 + version = "2.1.0" 2844 2845 source = "registry+https://github.com/rust-lang/crates.io-index" 2845 - checksum = "2674ec482fbc38012cf31e6c42ba0177b431a0cb6f15fe40efa5aab1bda516f6" 2846 + checksum = "cbf2150cce219b664a8a70df7a1f933836724b503f8a413af9365b4dcc4d90b8" 2846 2847 dependencies = [ 2847 - "is-terminal", 2848 2848 "lazy_static", 2849 2849 "windows-sys 0.48.0", 2850 2850 ] ··· 2872 2872 "ark-std 0.4.0", 2873 2873 "fflonk", 2874 2874 "getrandom_or_panic", 2875 - "merlin 3.0.0", 2875 + "merlin", 2876 2876 "rand_chacha 0.3.1", 2877 2877 ] 2878 2878 ··· 3513 3513 ] 3514 3514 3515 3515 [[package]] 3516 - name = "crypto-mac" 3517 - version = "0.11.0" 3518 - source = "registry+https://github.com/rust-lang/crates.io-index" 3519 - checksum = "25fab6889090c8133f3deb8f73ba3c65a7f456f66436fc012a1b1e272b1e103e" 3520 - dependencies = [ 3521 - "generic-array 0.14.7", 3522 - "subtle 2.5.0", 3523 - ] 3524 - 3525 - [[package]] 3526 3516 name = "ctr" 3527 3517 version = "0.7.0" 3528 3518 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 3874 3864 "pallet-message-queue", 3875 3865 "parity-scale-codec", 3876 3866 "polkadot-parachain-primitives", 3867 + "polkadot-runtime-common", 3877 3868 "polkadot-runtime-parachains", 3878 3869 "rand", 3879 3870 "sc-client-api", ··· 4048 4039 ] 4049 4040 4050 4041 [[package]] 4042 + name = "cumulus-primitives-storage-weight-reclaim" 4043 + version = "1.0.0" 4044 + dependencies = [ 4045 + "cumulus-primitives-core", 4046 + "cumulus-primitives-proof-size-hostfunction", 4047 + "cumulus-test-runtime", 4048 + "docify 0.2.7", 4049 + "frame-support", 4050 + "frame-system", 4051 + "log", 4052 + "parity-scale-codec", 4053 + "scale-info", 4054 + "sp-io", 4055 + "sp-runtime", 4056 + "sp-std 14.0.0", 4057 + "sp-trie", 4058 + ] 4059 + 4060 + [[package]] 4051 4061 name = "cumulus-primitives-timestamp" 4052 4062 version = "0.7.0" 4053 4063 dependencies = [ ··· 4067 4077 "frame-support", 4068 4078 "log", 4069 4079 "pallet-asset-conversion", 4070 - "pallet-xcm-benchmarks", 4071 4080 "parity-scale-codec", 4072 4081 "polkadot-runtime-common", 4073 4082 "polkadot-runtime-parachains", ··· 4147 4156 "polkadot-node-subsystem-util", 4148 4157 "polkadot-overseer", 4149 4158 "polkadot-primitives", 4159 + "polkadot-service", 4150 4160 "sc-authority-discovery", 4151 4161 "sc-client-api", 4152 4162 "sc-network", ··· 4209 4219 "cumulus-primitives-core", 4210 4220 "cumulus-primitives-parachain-inherent", 4211 4221 "cumulus-primitives-proof-size-hostfunction", 4222 + "cumulus-primitives-storage-weight-reclaim", 4212 4223 "cumulus-test-relay-sproof-builder", 4213 4224 "cumulus-test-runtime", 4214 4225 "cumulus-test-service", ··· 4253 4264 dependencies = [ 4254 4265 "cumulus-pallet-parachain-system", 4255 4266 "cumulus-primitives-core", 4267 + "cumulus-primitives-storage-weight-reclaim", 4256 4268 "frame-executive", 4257 4269 "frame-support", 4258 4270 "frame-system", ··· 4295 4307 "cumulus-client-service", 4296 4308 "cumulus-pallet-parachain-system", 4297 4309 "cumulus-primitives-core", 4310 + "cumulus-primitives-storage-weight-reclaim", 4298 4311 "cumulus-relay-chain-inprocess-interface", 4299 4312 "cumulus-relay-chain-interface", 4300 4313 "cumulus-relay-chain-minimal-node", ··· 4355 4368 "tokio", 4356 4369 "tracing", 4357 4370 "url", 4358 - ] 4359 - 4360 - [[package]] 4361 - name = "curve25519-dalek" 4362 - version = "2.1.3" 4363 - source = "registry+https://github.com/rust-lang/crates.io-index" 4364 - checksum = "4a9b85542f99a2dfa2a1b8e192662741c9859a846b296bef1c92ef9b58b5a216" 4365 - dependencies = [ 4366 - "byteorder", 4367 - "digest 0.8.1", 4368 - "rand_core 0.5.1", 4369 - "subtle 2.5.0", 4370 - "zeroize", 4371 4371 ] 4372 4372 4373 4373 [[package]] ··· 4715 4715 4716 4716 [[package]] 4717 4717 name = "docify" 4718 + version = "0.1.16" 4719 + source = "registry+https://github.com/rust-lang/crates.io-index" 4720 + checksum = "af1b04e6ef3d21119d3eb7b032bca17f99fe041e9c072f30f32cc0e1a2b1f3c4" 4721 + dependencies = [ 4722 + "docify_macros 0.1.16", 4723 + ] 4724 + 4725 + [[package]] 4726 + name = "docify" 4718 4727 version = "0.2.7" 4719 4728 source = "registry+https://github.com/rust-lang/crates.io-index" 4720 4729 checksum = "7cc4fd38aaa9fb98ac70794c82a00360d1e165a87fbf96a8a91f9dfc602aaee2" 4721 4730 dependencies = [ 4722 - "docify_macros", 4731 + "docify_macros 0.2.7", 4732 + ] 4733 + 4734 + [[package]] 4735 + name = "docify_macros" 4736 + version = "0.1.16" 4737 + source = "registry+https://github.com/rust-lang/crates.io-index" 4738 + checksum = "8b5610df7f2acf89a1bb5d1a66ae56b1c7fcdcfe3948856fb3ace3f644d70eb7" 4739 + dependencies = [ 4740 + "common-path", 4741 + "derive-syn-parse", 4742 + "lazy_static", 4743 + "proc-macro2", 4744 + "quote", 4745 + "regex", 4746 + "syn 2.0.50", 4747 + "termcolor", 4748 + "walkdir", 4723 4749 ] 4724 4750 4725 4751 [[package]] ··· 4801 4827 "digest 0.10.7", 4802 4828 "elliptic-curve", 4803 4829 "rfc6979", 4830 + "serdect", 4804 4831 "signature", 4805 4832 "spki", 4806 4833 ] ··· 4867 4894 4868 4895 [[package]] 4869 4896 name = "elliptic-curve" 4870 - version = "0.13.5" 4897 + version = "0.13.8" 4871 4898 source = "registry+https://github.com/rust-lang/crates.io-index" 4872 - checksum = "968405c8fdc9b3bf4df0a6638858cc0b52462836ab6b1c87377785dd09cf1c0b" 4899 + checksum = "b5e6043086bf7973472e0c7dff2142ea0b680d30e18d9cc40f267efbf222bd47" 4873 4900 dependencies = [ 4874 4901 "base16ct", 4875 4902 "crypto-bigint", ··· 4880 4907 "pkcs8", 4881 4908 "rand_core 0.6.4", 4882 4909 "sec1", 4910 + "serdect", 4883 4911 "subtle 2.5.0", 4884 4912 "zeroize", 4885 4913 ] ··· 5174 5202 ] 5175 5203 5176 5204 [[package]] 5177 - name = "fake-simd" 5178 - version = "0.1.2" 5179 - source = "registry+https://github.com/rust-lang/crates.io-index" 5180 - checksum = "e88a8acf291dafb59c2d96e8f59828f3838bb1a70398823ade51a84de6a6deed" 5181 - 5182 - [[package]] 5183 5205 name = "fallible-iterator" 5184 5206 version = "0.2.0" 5185 5207 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 5288 5310 "ark-poly", 5289 5311 "ark-serialize 0.4.2", 5290 5312 "ark-std 0.4.0", 5291 - "merlin 3.0.0", 5313 + "merlin", 5292 5314 ] 5293 5315 5294 5316 [[package]] ··· 5428 5450 name = "frame" 5429 5451 version = "0.0.1-dev" 5430 5452 dependencies = [ 5431 - "docify", 5453 + "docify 0.2.7", 5432 5454 "frame-executive", 5433 5455 "frame-support", 5434 5456 "frame-system", ··· 5596 5618 name = "frame-executive" 5597 5619 version = "28.0.0" 5598 5620 dependencies = [ 5621 + "aquamarine 0.3.3", 5599 5622 "array-bytes 6.1.0", 5600 5623 "frame-support", 5601 5624 "frame-system", ··· 5652 5675 name = "frame-support" 5653 5676 version = "28.0.0" 5654 5677 dependencies = [ 5655 - "aquamarine", 5678 + "aquamarine 0.5.0", 5656 5679 "array-bytes 6.1.0", 5657 5680 "assert_matches", 5658 5681 "bitflags 1.3.2", 5659 - "docify", 5682 + "docify 0.2.7", 5660 5683 "environmental", 5661 5684 "frame-metadata", 5662 5685 "frame-support-procedural", ··· 5686 5709 "sp-staking", 5687 5710 "sp-state-machine", 5688 5711 "sp-std 14.0.0", 5712 + "sp-timestamp", 5689 5713 "sp-tracing 16.0.0", 5690 5714 "sp-weights", 5691 5715 "static_assertions", ··· 5799 5823 dependencies = [ 5800 5824 "cfg-if", 5801 5825 "criterion 0.4.0", 5802 - "docify", 5826 + "docify 0.2.7", 5803 5827 "frame-support", 5804 5828 "log", 5805 5829 "parity-scale-codec", ··· 6244 6268 6245 6269 [[package]] 6246 6270 name = "handlebars" 6247 - version = "4.3.7" 6271 + version = "5.1.0" 6248 6272 source = "registry+https://github.com/rust-lang/crates.io-index" 6249 - checksum = "83c3372087601b532857d332f5957cbae686da52bb7810bf038c3e3c3cc2fa0d" 6273 + checksum = "ab283476b99e66691dee3f1640fea91487a8d81f50fb5ecc75538f8f8879a1e4" 6250 6274 dependencies = [ 6251 6275 "log", 6252 6276 "pest", ··· 6335 6359 version = "0.4.3" 6336 6360 source = "registry+https://github.com/rust-lang/crates.io-index" 6337 6361 checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" 6362 + 6363 + [[package]] 6364 + name = "hex-conservative" 6365 + version = "0.1.1" 6366 + source = "registry+https://github.com/rust-lang/crates.io-index" 6367 + checksum = "30ed443af458ccb6d81c1e7e661545f94d3176752fb1df2f543b902a1e0f51e2" 6338 6368 6339 6369 [[package]] 6340 6370 name = "hex-literal" ··· 6363 6393 6364 6394 [[package]] 6365 6395 name = "hmac" 6366 - version = "0.11.0" 6367 - source = "registry+https://github.com/rust-lang/crates.io-index" 6368 - checksum = "2a2a2320eb7ec0ebe8da8f744d7812d9fc4cb4d09344ac01898dbcb6a20ae69b" 6369 - dependencies = [ 6370 - "crypto-mac 0.11.0", 6371 - "digest 0.9.0", 6372 - ] 6373 - 6374 - [[package]] 6375 - name = "hmac" 6376 6396 version = "0.12.1" 6377 6397 source = "registry+https://github.com/rust-lang/crates.io-index" 6378 6398 checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e" ··· 6971 6991 6972 6992 [[package]] 6973 6993 name = "k256" 6974 - version = "0.13.1" 6994 + version = "0.13.3" 6975 6995 source = "registry+https://github.com/rust-lang/crates.io-index" 6976 - checksum = "cadb76004ed8e97623117f3df85b17aaa6626ab0b0831e6573f104df16cd1bcc" 6996 + checksum = "956ff9b67e26e1a6a866cb758f12c6f8746208489e3e4a4b5580802f2f0a587b" 6977 6997 dependencies = [ 6978 6998 "cfg-if", 6979 6999 "ecdsa", 6980 7000 "elliptic-curve", 6981 7001 "once_cell", 7002 + "serdect", 6982 7003 "sha2 0.10.7", 6983 7004 ] 6984 7005 ··· 7058 7079 "pallet-lottery", 7059 7080 "pallet-membership", 7060 7081 "pallet-message-queue", 7082 + "pallet-migrations", 7061 7083 "pallet-mixnet", 7062 7084 "pallet-mmr", 7063 7085 "pallet-multisig", ··· 8058 8080 8059 8081 [[package]] 8060 8082 name = "merlin" 8061 - version = "2.0.1" 8062 - source = "registry+https://github.com/rust-lang/crates.io-index" 8063 - checksum = "4e261cf0f8b3c42ded9f7d2bb59dea03aa52bc8a1cbc7482f9fc3fd1229d3b42" 8064 - dependencies = [ 8065 - "byteorder", 8066 - "keccak", 8067 - "rand_core 0.5.1", 8068 - "zeroize", 8069 - ] 8070 - 8071 - [[package]] 8072 - name = "merlin" 8073 8083 version = "3.0.0" 8074 8084 source = "registry+https://github.com/rust-lang/crates.io-index" 8075 8085 checksum = "58c38e2799fc0978b65dfff8023ec7843e2330bb462f19198840b34b6582397d" ··· 8104 8114 checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" 8105 8115 8106 8116 [[package]] 8107 - name = "minimal-node" 8108 - version = "4.0.0-dev" 8117 + name = "minimal-template-node" 8118 + version = "0.0.0" 8109 8119 dependencies = [ 8110 8120 "clap 4.5.1", 8111 8121 "frame", 8112 8122 "futures", 8113 8123 "futures-timer", 8114 8124 "jsonrpsee", 8115 - "minimal-runtime", 8125 + "minimal-template-runtime", 8116 8126 "sc-basic-authorship", 8117 8127 "sc-cli", 8118 8128 "sc-client-api", ··· 8139 8149 ] 8140 8150 8141 8151 [[package]] 8142 - name = "minimal-runtime" 8143 - version = "0.1.0" 8152 + name = "minimal-template-runtime" 8153 + version = "0.0.0" 8144 8154 dependencies = [ 8145 8155 "frame", 8146 - "frame-support", 8147 8156 "pallet-balances", 8157 + "pallet-minimal-template", 8148 8158 "pallet-sudo", 8149 8159 "pallet-timestamp", 8150 8160 "pallet-transaction-payment", ··· 8166 8176 8167 8177 [[package]] 8168 8178 name = "mio" 8169 - version = "0.8.8" 8179 + version = "0.8.11" 8170 8180 source = "registry+https://github.com/rust-lang/crates.io-index" 8171 - checksum = "927a765cd3fc26206e66b296465fa9d3e5ab003e651c1b3c060e7956d96b19d2" 8181 + checksum = "a4a650543ca06a924e8b371db273b2756685faae30f8487da1b56505a8f78b0c" 8172 8182 dependencies = [ 8173 8183 "libc", 8174 8184 "wasi 0.11.0+wasi-snapshot-preview1", ··· 8659 8669 ] 8660 8670 8661 8671 [[package]] 8662 - name = "node-template" 8663 - version = "4.0.0-dev" 8664 - dependencies = [ 8665 - "clap 4.5.1", 8666 - "frame-benchmarking", 8667 - "frame-benchmarking-cli", 8668 - "frame-system", 8669 - "futures", 8670 - "jsonrpsee", 8671 - "node-template-runtime", 8672 - "pallet-transaction-payment", 8673 - "pallet-transaction-payment-rpc", 8674 - "sc-basic-authorship", 8675 - "sc-cli", 8676 - "sc-client-api", 8677 - "sc-consensus", 8678 - "sc-consensus-aura", 8679 - "sc-consensus-grandpa", 8680 - "sc-executor", 8681 - "sc-network", 8682 - "sc-offchain", 8683 - "sc-rpc-api", 8684 - "sc-service", 8685 - "sc-telemetry", 8686 - "sc-transaction-pool", 8687 - "sc-transaction-pool-api", 8688 - "serde_json", 8689 - "sp-api", 8690 - "sp-block-builder", 8691 - "sp-blockchain", 8692 - "sp-consensus-aura", 8693 - "sp-consensus-grandpa", 8694 - "sp-core", 8695 - "sp-inherents", 8696 - "sp-io", 8697 - "sp-keyring", 8698 - "sp-runtime", 8699 - "sp-timestamp", 8700 - "substrate-build-script-utils", 8701 - "substrate-frame-rpc-system", 8702 - "try-runtime-cli", 8703 - ] 8704 - 8705 - [[package]] 8706 8672 name = "node-template-release" 8707 8673 version = "3.0.0" 8708 8674 dependencies = [ ··· 8717 8683 ] 8718 8684 8719 8685 [[package]] 8720 - name = "node-template-runtime" 8721 - version = "4.0.0-dev" 8722 - dependencies = [ 8723 - "frame-benchmarking", 8724 - "frame-executive", 8725 - "frame-support", 8726 - "frame-system", 8727 - "frame-system-benchmarking", 8728 - "frame-system-rpc-runtime-api", 8729 - "frame-try-runtime", 8730 - "pallet-aura", 8731 - "pallet-balances", 8732 - "pallet-grandpa", 8733 - "pallet-sudo", 8734 - "pallet-template", 8735 - "pallet-timestamp", 8736 - "pallet-transaction-payment", 8737 - "pallet-transaction-payment-rpc-runtime-api", 8738 - "parity-scale-codec", 8739 - "scale-info", 8740 - "serde_json", 8741 - "sp-api", 8742 - "sp-block-builder", 8743 - "sp-consensus-aura", 8744 - "sp-consensus-grandpa", 8745 - "sp-core", 8746 - "sp-genesis-builder", 8747 - "sp-inherents", 8748 - "sp-offchain", 8749 - "sp-runtime", 8750 - "sp-session", 8751 - "sp-std 14.0.0", 8752 - "sp-storage 19.0.0", 8753 - "sp-transaction-pool", 8754 - "sp-version", 8755 - "substrate-wasm-builder", 8756 - ] 8757 - 8758 - [[package]] 8759 8686 name = "node-testing" 8760 8687 version = "3.0.0-dev" 8761 8688 dependencies = [ ··· 9278 9205 name = "pallet-bags-list" 9279 9206 version = "27.0.0" 9280 9207 dependencies = [ 9281 - "aquamarine", 9282 - "docify", 9208 + "aquamarine 0.5.0", 9209 + "docify 0.2.7", 9283 9210 "frame-benchmarking", 9284 9211 "frame-election-provider-support", 9285 9212 "frame-support", ··· 9327 9254 name = "pallet-balances" 9328 9255 version = "28.0.0" 9329 9256 dependencies = [ 9330 - "docify", 9257 + "docify 0.2.7", 9331 9258 "frame-benchmarking", 9332 9259 "frame-support", 9333 9260 "frame-system", ··· 9648 9575 "tempfile", 9649 9576 "toml 0.8.8", 9650 9577 "twox-hash", 9651 - "wat", 9652 9578 ] 9653 9579 9654 9580 [[package]] ··· 9943 9869 ] 9944 9870 9945 9871 [[package]] 9872 + name = "pallet-example-single-block-migrations" 9873 + version = "0.0.1" 9874 + dependencies = [ 9875 + "docify 0.2.7", 9876 + "frame-executive", 9877 + "frame-support", 9878 + "frame-system", 9879 + "frame-try-runtime", 9880 + "log", 9881 + "pallet-balances", 9882 + "parity-scale-codec", 9883 + "scale-info", 9884 + "sp-core", 9885 + "sp-io", 9886 + "sp-runtime", 9887 + "sp-std 14.0.0", 9888 + "sp-version", 9889 + ] 9890 + 9891 + [[package]] 9946 9892 name = "pallet-example-split" 9947 9893 version = "10.0.0" 9948 9894 dependencies = [ ··· 9983 9929 "pallet-example-frame-crate", 9984 9930 "pallet-example-kitchensink", 9985 9931 "pallet-example-offchain-worker", 9932 + "pallet-example-single-block-migrations", 9986 9933 "pallet-example-split", 9987 9934 "pallet-example-tasks", 9988 9935 ] ··· 9991 9938 name = "pallet-fast-unstake" 9992 9939 version = "27.0.0" 9993 9940 dependencies = [ 9994 - "docify", 9941 + "docify 0.2.7", 9995 9942 "frame-benchmarking", 9996 9943 "frame-election-provider-support", 9997 9944 "frame-support", ··· 10189 10136 ] 10190 10137 10191 10138 [[package]] 10139 + name = "pallet-migrations" 10140 + version = "1.0.0" 10141 + dependencies = [ 10142 + "docify 0.1.16", 10143 + "frame-benchmarking", 10144 + "frame-executive", 10145 + "frame-support", 10146 + "frame-system", 10147 + "impl-trait-for-tuples", 10148 + "log", 10149 + "parity-scale-codec", 10150 + "pretty_assertions", 10151 + "scale-info", 10152 + "sp-api", 10153 + "sp-block-builder", 10154 + "sp-core", 10155 + "sp-io", 10156 + "sp-runtime", 10157 + "sp-std 14.0.0", 10158 + "sp-tracing 16.0.0", 10159 + "sp-version", 10160 + ] 10161 + 10162 + [[package]] 10163 + name = "pallet-minimal-template" 10164 + version = "0.0.0" 10165 + dependencies = [ 10166 + "frame", 10167 + "parity-scale-codec", 10168 + "scale-info", 10169 + ] 10170 + 10171 + [[package]] 10192 10172 name = "pallet-mixnet" 10193 10173 version = "0.4.0" 10194 10174 dependencies = [ ··· 10463 10443 name = "pallet-paged-list" 10464 10444 version = "0.6.0" 10465 10445 dependencies = [ 10466 - "docify", 10446 + "docify 0.2.7", 10467 10447 "frame-benchmarking", 10468 10448 "frame-support", 10469 10449 "frame-system", ··· 10489 10469 10490 10470 [[package]] 10491 10471 name = "pallet-parachain-template" 10492 - version = "0.7.0" 10472 + version = "0.0.0" 10493 10473 dependencies = [ 10494 10474 "frame-benchmarking", 10495 10475 "frame-support", 10496 10476 "frame-system", 10497 10477 "parity-scale-codec", 10498 10478 "scale-info", 10499 - "serde", 10500 10479 "sp-core", 10501 10480 "sp-io", 10502 10481 "sp-runtime", ··· 10506 10485 name = "pallet-parameters" 10507 10486 version = "0.0.1" 10508 10487 dependencies = [ 10509 - "docify", 10488 + "docify 0.2.7", 10510 10489 "frame-benchmarking", 10511 10490 "frame-support", 10512 10491 "frame-system", ··· 10667 10646 name = "pallet-safe-mode" 10668 10647 version = "9.0.0" 10669 10648 dependencies = [ 10670 - "docify", 10649 + "docify 0.2.7", 10671 10650 "frame-benchmarking", 10672 10651 "frame-support", 10673 10652 "frame-system", ··· 10724 10703 name = "pallet-scheduler" 10725 10704 version = "29.0.0" 10726 10705 dependencies = [ 10727 - "docify", 10706 + "docify 0.2.7", 10728 10707 "frame-benchmarking", 10729 10708 "frame-support", 10730 10709 "frame-system", ··· 10937 10916 name = "pallet-sudo" 10938 10917 version = "28.0.0" 10939 10918 dependencies = [ 10940 - "docify", 10919 + "docify 0.2.7", 10941 10920 "frame-benchmarking", 10942 10921 "frame-support", 10943 10922 "frame-system", ··· 10951 10930 10952 10931 [[package]] 10953 10932 name = "pallet-template" 10954 - version = "4.0.0-dev" 10933 + version = "0.0.0" 10955 10934 dependencies = [ 10956 10935 "frame-benchmarking", 10957 10936 "frame-support", ··· 10961 10940 "sp-core", 10962 10941 "sp-io", 10963 10942 "sp-runtime", 10964 - "sp-std 14.0.0", 10965 10943 ] 10966 10944 10967 10945 [[package]] 10968 10946 name = "pallet-timestamp" 10969 10947 version = "27.0.0" 10970 10948 dependencies = [ 10971 - "docify", 10949 + "docify 0.2.7", 10972 10950 "frame-benchmarking", 10973 10951 "frame-support", 10974 10952 "frame-system", ··· 11072 11050 name = "pallet-treasury" 11073 11051 version = "27.0.0" 11074 11052 dependencies = [ 11075 - "docify", 11053 + "docify 0.2.7", 11076 11054 "frame-benchmarking", 11077 11055 "frame-support", 11078 11056 "frame-system", ··· 11092 11070 name = "pallet-tx-pause" 11093 11071 version = "9.0.0" 11094 11072 dependencies = [ 11095 - "docify", 11073 + "docify 0.2.7", 11096 11074 "frame-benchmarking", 11097 11075 "frame-support", 11098 11076 "frame-system", ··· 11274 11252 11275 11253 [[package]] 11276 11254 name = "parachain-template-node" 11277 - version = "0.1.0" 11255 + version = "0.0.0" 11278 11256 dependencies = [ 11279 11257 "clap 4.5.1", 11280 11258 "color-print", ··· 11332 11310 11333 11311 [[package]] 11334 11312 name = "parachain-template-runtime" 11335 - version = "0.7.0" 11313 + version = "0.0.0" 11336 11314 dependencies = [ 11337 11315 "cumulus-pallet-aura-ext", 11338 11316 "cumulus-pallet-parachain-system", ··· 11340 11318 "cumulus-pallet-xcm", 11341 11319 "cumulus-pallet-xcmp-queue", 11342 11320 "cumulus-primitives-core", 11321 + "cumulus-primitives-storage-weight-reclaim", 11343 11322 "cumulus-primitives-utility", 11344 11323 "frame-benchmarking", 11345 11324 "frame-executive", ··· 11449 11428 ] 11450 11429 11451 11430 [[package]] 11431 + name = "parity-bip39" 11432 + version = "2.0.1" 11433 + source = "registry+https://github.com/rust-lang/crates.io-index" 11434 + checksum = "4e69bf016dc406eff7d53a7d3f7cf1c2e72c82b9088aac1118591e36dd2cd3e9" 11435 + dependencies = [ 11436 + "bitcoin_hashes 0.13.0", 11437 + "rand", 11438 + "rand_core 0.6.4", 11439 + "serde", 11440 + "unicode-normalization", 11441 + ] 11442 + 11443 + [[package]] 11452 11444 name = "parity-bytes" 11453 11445 version = "0.1.2" 11454 11446 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 11603 11595 checksum = "7924d1d0ad836f665c9065e26d016c673ece3993f30d340068b16f282afc1156" 11604 11596 11605 11597 [[package]] 11598 + name = "password-hash" 11599 + version = "0.5.0" 11600 + source = "registry+https://github.com/rust-lang/crates.io-index" 11601 + checksum = "346f04948ba92c43e8469c1ee6736c7563d71012b17d40745260fe106aac2166" 11602 + dependencies = [ 11603 + "base64ct", 11604 + "rand_core 0.6.4", 11605 + "subtle 2.5.0", 11606 + ] 11607 + 11608 + [[package]] 11606 11609 name = "paste" 11607 11610 version = "1.0.14" 11608 11611 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 11610 11613 11611 11614 [[package]] 11612 11615 name = "pbkdf2" 11613 - version = "0.8.0" 11614 - source = "registry+https://github.com/rust-lang/crates.io-index" 11615 - checksum = "d95f5254224e617595d2cc3cc73ff0a5eaf2637519e25f03388154e9378b6ffa" 11616 - dependencies = [ 11617 - "crypto-mac 0.11.0", 11618 - ] 11619 - 11620 - [[package]] 11621 - name = "pbkdf2" 11622 11616 version = "0.12.2" 11623 11617 source = "registry+https://github.com/rust-lang/crates.io-index" 11624 11618 checksum = "f8ed6a7761f76e3b9f92dfb0a60a6a6477c61024b775147ff0973a02653abaf2" 11625 11619 dependencies = [ 11626 11620 "digest 0.10.7", 11621 + "password-hash", 11627 11622 ] 11628 11623 11629 11624 [[package]] ··· 11714 11709 "staging-xcm-builder", 11715 11710 "staging-xcm-executor", 11716 11711 "substrate-wasm-builder", 11717 - "testnet-parachains-constants", 11718 11712 ] 11719 11713 11720 11714 [[package]] ··· 12158 12152 "polkadot-node-subsystem-util", 12159 12153 "polkadot-primitives", 12160 12154 "polkadot-primitives-test-helpers", 12155 + "polkadot-subsystem-bench", 12161 12156 "rand", 12162 12157 "sc-network", 12163 12158 "schnellru", ··· 12189 12184 "polkadot-node-subsystem-util", 12190 12185 "polkadot-primitives", 12191 12186 "polkadot-primitives-test-helpers", 12187 + "polkadot-subsystem-bench", 12192 12188 "rand", 12193 12189 "sc-network", 12194 12190 "schnellru", ··· 12414 12410 "kvdb", 12415 12411 "kvdb-memorydb", 12416 12412 "log", 12417 - "merlin 3.0.0", 12413 + "merlin", 12418 12414 "parity-scale-codec", 12419 12415 "parking_lot 0.12.1", 12420 12416 "polkadot-node-jaeger", ··· 12643 12639 "polkadot-node-subsystem-util", 12644 12640 "polkadot-primitives", 12645 12641 "polkadot-primitives-test-helpers", 12642 + "rstest", 12646 12643 "sc-keystore", 12647 12644 "sp-application-crypto", 12648 12645 "sp-core", ··· 12666 12663 "polkadot-node-subsystem-util", 12667 12664 "polkadot-primitives", 12668 12665 "polkadot-primitives-test-helpers", 12666 + "rstest", 12667 + "schnellru", 12669 12668 "sp-application-crypto", 12670 12669 "sp-keystore", 12671 12670 "thiserror", ··· 13044 13043 13045 13044 [[package]] 13046 13045 name = "polkadot-parachain-bin" 13047 - version = "4.0.0" 13046 + version = "1.9.0" 13048 13047 dependencies = [ 13049 13048 "assert_cmd", 13050 13049 "asset-hub-rococo-runtime", ··· 13254 13253 "pallet-transaction-payment", 13255 13254 "pallet-treasury", 13256 13255 "pallet-vesting", 13257 - "pallet-xcm-benchmarks", 13258 13256 "parity-scale-codec", 13259 13257 "polkadot-primitives", 13260 13258 "polkadot-primitives-test-helpers", ··· 13360 13358 dependencies = [ 13361 13359 "cumulus-pallet-aura-ext", 13362 13360 "cumulus-pallet-parachain-system", 13363 - "docify", 13361 + "docify 0.2.7", 13364 13362 "frame", 13363 + "frame-executive", 13364 + "frame-support", 13365 + "frame-system", 13365 13366 "kitchensink-runtime", 13367 + "pallet-assets", 13366 13368 "pallet-aura", 13369 + "pallet-authorship", 13370 + "pallet-balances", 13371 + "pallet-collective", 13367 13372 "pallet-default-config-example", 13373 + "pallet-democracy", 13374 + "pallet-example-offchain-worker", 13375 + "pallet-example-single-block-migrations", 13368 13376 "pallet-examples", 13377 + "pallet-multisig", 13378 + "pallet-proxy", 13379 + "pallet-scheduler", 13369 13380 "pallet-timestamp", 13381 + "pallet-transaction-payment", 13382 + "pallet-utility", 13370 13383 "parity-scale-codec", 13371 13384 "sc-cli", 13372 13385 "sc-client-db", ··· 13385 13398 "sp-core", 13386 13399 "sp-io", 13387 13400 "sp-keyring", 13401 + "sp-offchain", 13388 13402 "sp-runtime", 13403 + "sp-version", 13389 13404 "staging-chain-spec-builder", 13390 13405 "staging-node-cli", 13391 13406 "staging-parachain-info", ··· 13400 13415 dependencies = [ 13401 13416 "assert_matches", 13402 13417 "async-trait", 13418 + "bitvec", 13403 13419 "env_logger 0.9.3", 13404 13420 "frame-benchmarking", 13405 13421 "frame-benchmarking-cli", ··· 13613 13629 "sc-keystore", 13614 13630 "sc-network", 13615 13631 "sc-service", 13616 - "schnorrkel 0.9.1", 13632 + "schnorrkel 0.11.4", 13617 13633 "serde", 13618 13634 "serde_yaml", 13619 13635 "sha1", ··· 13819 13835 ] 13820 13836 13821 13837 [[package]] 13838 + name = "polkavm" 13839 + version = "0.9.3" 13840 + source = "registry+https://github.com/rust-lang/crates.io-index" 13841 + checksum = "8a3693e5efdb2bf74e449cd25fd777a28bd7ed87e41f5d5da75eb31b4de48b94" 13842 + dependencies = [ 13843 + "libc", 13844 + "log", 13845 + "polkavm-assembler", 13846 + "polkavm-common 0.9.0", 13847 + "polkavm-linux-raw", 13848 + ] 13849 + 13850 + [[package]] 13851 + name = "polkavm-assembler" 13852 + version = "0.9.0" 13853 + source = "registry+https://github.com/rust-lang/crates.io-index" 13854 + checksum = "1fa96d6d868243acc12de813dd48e756cbadcc8e13964c70d272753266deadc1" 13855 + dependencies = [ 13856 + "log", 13857 + ] 13858 + 13859 + [[package]] 13822 13860 name = "polkavm-common" 13823 13861 version = "0.5.0" 13824 13862 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 13826 13864 13827 13865 [[package]] 13828 13866 name = "polkavm-common" 13829 - version = "0.8.0" 13867 + version = "0.9.0" 13830 13868 source = "registry+https://github.com/rust-lang/crates.io-index" 13831 - checksum = "92c99f7eee94e7be43ba37eef65ad0ee8cbaf89b7c00001c3f6d2be985cb1817" 13869 + checksum = "1d9428a5cfcc85c5d7b9fc4b6a18c4b802d0173d768182a51cc7751640f08b92" 13870 + dependencies = [ 13871 + "log", 13872 + ] 13832 13873 13833 13874 [[package]] 13834 13875 name = "polkavm-derive" ··· 13842 13883 13843 13884 [[package]] 13844 13885 name = "polkavm-derive" 13845 - version = "0.8.0" 13886 + version = "0.9.1" 13846 13887 source = "registry+https://github.com/rust-lang/crates.io-index" 13847 - checksum = "79fa916f7962348bd1bb1a65a83401675e6fc86c51a0fdbcf92a3108e58e6125" 13888 + checksum = "ae8c4bea6f3e11cd89bb18bcdddac10bd9a24015399bd1c485ad68a985a19606" 13848 13889 dependencies = [ 13849 13890 "polkavm-derive-impl-macro", 13850 13891 ] ··· 13863 13904 13864 13905 [[package]] 13865 13906 name = "polkavm-derive-impl" 13866 - version = "0.8.0" 13907 + version = "0.9.0" 13867 13908 source = "registry+https://github.com/rust-lang/crates.io-index" 13868 - checksum = "c10b2654a8a10a83c260bfb93e97b262cf0017494ab94a65d389e0eda6de6c9c" 13909 + checksum = "5c4fdfc49717fb9a196e74a5d28e0bc764eb394a2c803eb11133a31ac996c60c" 13869 13910 dependencies = [ 13870 - "polkavm-common 0.8.0", 13911 + "polkavm-common 0.9.0", 13871 13912 "proc-macro2", 13872 13913 "quote", 13873 13914 "syn 2.0.50", ··· 13875 13916 13876 13917 [[package]] 13877 13918 name = "polkavm-derive-impl-macro" 13878 - version = "0.8.0" 13919 + version = "0.9.0" 13879 13920 source = "registry+https://github.com/rust-lang/crates.io-index" 13880 - checksum = "15e85319a0d5129dc9f021c62607e0804f5fb777a05cdda44d750ac0732def66" 13921 + checksum = "8ba81f7b5faac81e528eb6158a6f3c9e0bb1008e0ffa19653bc8dea925ecb429" 13881 13922 dependencies = [ 13882 - "polkavm-derive-impl 0.8.0", 13923 + "polkavm-derive-impl 0.9.0", 13883 13924 "syn 2.0.50", 13884 13925 ] 13885 13926 ··· 13900 13941 13901 13942 [[package]] 13902 13943 name = "polkavm-linker" 13903 - version = "0.8.2" 13944 + version = "0.9.2" 13904 13945 source = "registry+https://github.com/rust-lang/crates.io-index" 13905 - checksum = "fdec1451cb18261d5d01de82acc15305e417fb59588cdcb3127d3dcc9672b925" 13946 + checksum = "9c7be503e60cf56c0eb785f90aaba4b583b36bff00e93997d93fef97f9553c39" 13906 13947 dependencies = [ 13907 13948 "gimli 0.28.0", 13908 13949 "hashbrown 0.14.3", 13909 13950 "log", 13910 13951 "object 0.32.2", 13911 - "polkavm-common 0.8.0", 13952 + "polkavm-common 0.9.0", 13912 13953 "regalloc2 0.9.3", 13913 13954 "rustc-demangle", 13914 13955 ] 13956 + 13957 + [[package]] 13958 + name = "polkavm-linux-raw" 13959 + version = "0.9.0" 13960 + source = "registry+https://github.com/rust-lang/crates.io-index" 13961 + checksum = "26e85d3456948e650dff0cfc85603915847faf893ed1e66b020bb82ef4557120" 13915 13962 13916 13963 [[package]] 13917 13964 name = "polling" ··· 14862 14909 "blake2 0.10.6", 14863 14910 "common", 14864 14911 "fflonk", 14865 - "merlin 3.0.0", 14912 + "merlin", 14866 14913 ] 14867 14914 14868 14915 [[package]] ··· 15605 15652 version = "27.0.0" 15606 15653 dependencies = [ 15607 15654 "array-bytes 6.1.0", 15608 - "docify", 15655 + "docify 0.2.7", 15609 15656 "log", 15610 15657 "memmap2 0.9.3", 15611 15658 "parity-scale-codec", ··· 15644 15691 version = "0.36.0" 15645 15692 dependencies = [ 15646 15693 "array-bytes 6.1.0", 15647 - "bip39", 15648 15694 "chrono", 15649 15695 "clap 4.5.1", 15650 15696 "fdlimit", ··· 15654 15700 "libp2p-identity", 15655 15701 "log", 15656 15702 "names", 15703 + "parity-bip39", 15657 15704 "parity-scale-codec", 15658 15705 "rand", 15659 15706 "regex", ··· 16125 16172 "paste", 16126 16173 "regex", 16127 16174 "sc-executor-common", 16175 + "sc-executor-polkavm", 16128 16176 "sc-executor-wasmtime", 16129 16177 "sc-runtime-test", 16130 16178 "sc-tracing", ··· 16154 16202 name = "sc-executor-common" 16155 16203 version = "0.29.0" 16156 16204 dependencies = [ 16205 + "polkavm", 16157 16206 "sc-allocator", 16158 16207 "sp-maybe-compressed-blob", 16159 16208 "sp-wasm-interface 20.0.0", ··· 16162 16211 ] 16163 16212 16164 16213 [[package]] 16214 + name = "sc-executor-polkavm" 16215 + version = "0.29.0" 16216 + dependencies = [ 16217 + "log", 16218 + "polkavm", 16219 + "sc-executor-common", 16220 + "sp-wasm-interface 20.0.0", 16221 + ] 16222 + 16223 + [[package]] 16165 16224 name = "sc-executor-wasmtime" 16166 16225 version = "0.29.0" 16167 16226 dependencies = [ ··· 16608 16667 "hyper", 16609 16668 "jsonrpsee", 16610 16669 "log", 16611 - "pin-project", 16612 16670 "serde_json", 16613 16671 "substrate-prometheus-endpoint", 16614 16672 "tokio", ··· 16707 16765 "sc-transaction-pool", 16708 16766 "sc-transaction-pool-api", 16709 16767 "sc-utils", 16768 + "schnellru", 16710 16769 "serde", 16711 16770 "serde_json", 16712 16771 "sp-api", ··· 17046 17105 17047 17106 [[package]] 17048 17107 name = "schnorrkel" 17049 - version = "0.9.1" 17050 - source = "registry+https://github.com/rust-lang/crates.io-index" 17051 - checksum = "021b403afe70d81eea68f6ea12f6b3c9588e5d536a94c3bf80f15e7faa267862" 17052 - dependencies = [ 17053 - "arrayref", 17054 - "arrayvec 0.5.2", 17055 - "curve25519-dalek 2.1.3", 17056 - "merlin 2.0.1", 17057 - "rand_core 0.5.1", 17058 - "sha2 0.8.2", 17059 - "subtle 2.5.0", 17060 - "zeroize", 17061 - ] 17062 - 17063 - [[package]] 17064 - name = "schnorrkel" 17065 17108 version = "0.10.2" 17066 17109 source = "registry+https://github.com/rust-lang/crates.io-index" 17067 17110 checksum = "844b7645371e6ecdf61ff246ba1958c29e802881a749ae3fb1993675d210d28d" ··· 17069 17112 "arrayref", 17070 17113 "arrayvec 0.7.4", 17071 17114 "curve25519-dalek-ng", 17072 - "merlin 3.0.0", 17115 + "merlin", 17073 17116 "rand_core 0.6.4", 17074 17117 "sha2 0.9.9", 17075 17118 "subtle-ng", ··· 17087 17130 "arrayvec 0.7.4", 17088 17131 "curve25519-dalek 4.1.2", 17089 17132 "getrandom_or_panic", 17090 - "merlin 3.0.0", 17133 + "merlin", 17091 17134 "rand_core 0.6.4", 17092 17135 "serde_bytes", 17093 17136 "sha2 0.10.7", ··· 17133 17176 "der", 17134 17177 "generic-array 0.14.7", 17135 17178 "pkcs8", 17179 + "serdect", 17136 17180 "subtle 2.5.0", 17137 17181 "zeroize", 17138 17182 ] ··· 17392 17436 ] 17393 17437 17394 17438 [[package]] 17439 + name = "serdect" 17440 + version = "0.2.0" 17441 + source = "registry+https://github.com/rust-lang/crates.io-index" 17442 + checksum = "a84f14a19e9a014bb9f4512488d9829a68e04ecabffb0f9904cd1ace94598177" 17443 + dependencies = [ 17444 + "base16ct", 17445 + "serde", 17446 + ] 17447 + 17448 + [[package]] 17395 17449 name = "serial_test" 17396 17450 version = "2.0.0" 17397 17451 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 17449 17503 "cfg-if", 17450 17504 "cpufeatures", 17451 17505 "digest 0.10.7", 17452 - ] 17453 - 17454 - [[package]] 17455 - name = "sha2" 17456 - version = "0.8.2" 17457 - source = "registry+https://github.com/rust-lang/crates.io-index" 17458 - checksum = "a256f46ea78a0c0d9ff00077504903ac881a1dafdc20da66545699e7776b3e69" 17459 - dependencies = [ 17460 - "block-buffer 0.7.3", 17461 - "digest 0.8.1", 17462 - "fake-simd", 17463 - "opaque-debug 0.2.3", 17464 17506 ] 17465 17507 17466 17508 [[package]] ··· 17697 17739 "hmac 0.12.1", 17698 17740 "itertools 0.11.0", 17699 17741 "libsecp256k1", 17700 - "merlin 3.0.0", 17742 + "merlin", 17701 17743 "no-std-net", 17702 17744 "nom", 17703 17745 "num-bigint", 17704 17746 "num-rational", 17705 17747 "num-traits", 17706 - "pbkdf2 0.12.2", 17748 + "pbkdf2", 17707 17749 "pin-project", 17708 17750 "poly1305 0.8.0", 17709 17751 "rand", ··· 17795 17837 17796 17838 [[package]] 17797 17839 name = "snowbridge-beacon-primitives" 17798 - version = "0.0.0" 17840 + version = "0.2.0" 17799 17841 dependencies = [ 17800 17842 "byte-slice-cast", 17801 17843 "frame-support", ··· 17819 17861 17820 17862 [[package]] 17821 17863 name = "snowbridge-core" 17822 - version = "0.0.0" 17864 + version = "0.2.0" 17823 17865 dependencies = [ 17824 17866 "ethabi-decode", 17825 17867 "frame-support", ··· 17842 17884 17843 17885 [[package]] 17844 17886 name = "snowbridge-ethereum" 17845 - version = "0.1.0" 17887 + version = "0.3.0" 17846 17888 dependencies = [ 17847 17889 "ethabi-decode", 17848 17890 "ethbloom", ··· 17881 17923 17882 17924 [[package]] 17883 17925 name = "snowbridge-outbound-queue-merkle-tree" 17884 - version = "0.1.1" 17926 + version = "0.3.0" 17885 17927 dependencies = [ 17886 17928 "array-bytes 4.2.0", 17887 17929 "env_logger 0.9.3", ··· 17896 17938 17897 17939 [[package]] 17898 17940 name = "snowbridge-outbound-queue-runtime-api" 17899 - version = "0.0.0" 17941 + version = "0.2.0" 17900 17942 dependencies = [ 17901 17943 "frame-support", 17902 17944 "parity-scale-codec", ··· 17910 17952 17911 17953 [[package]] 17912 17954 name = "snowbridge-pallet-ethereum-client" 17913 - version = "0.0.0" 17955 + version = "0.2.0" 17914 17956 dependencies = [ 17915 17957 "bp-runtime", 17916 17958 "byte-slice-cast", ··· 17956 17998 17957 17999 [[package]] 17958 18000 name = "snowbridge-pallet-inbound-queue" 17959 - version = "0.0.0" 18001 + version = "0.2.0" 17960 18002 dependencies = [ 17961 18003 "alloy-primitives", 17962 18004 "alloy-rlp", ··· 17989 18031 17990 18032 [[package]] 17991 18033 name = "snowbridge-pallet-inbound-queue-fixtures" 17992 - version = "0.9.0" 18034 + version = "0.10.0" 17993 18035 dependencies = [ 17994 18036 "frame-benchmarking", 17995 18037 "frame-support", ··· 18003 18045 18004 18046 [[package]] 18005 18047 name = "snowbridge-pallet-outbound-queue" 18006 - version = "0.0.0" 18048 + version = "0.2.0" 18007 18049 dependencies = [ 18008 18050 "bridge-hub-common", 18009 18051 "ethabi-decode", ··· 18028 18070 18029 18071 [[package]] 18030 18072 name = "snowbridge-pallet-system" 18031 - version = "0.0.0" 18073 + version = "0.2.0" 18032 18074 dependencies = [ 18033 18075 "ethabi-decode", 18034 18076 "frame-benchmarking", ··· 18056 18098 18057 18099 [[package]] 18058 18100 name = "snowbridge-router-primitives" 18059 - version = "0.0.0" 18101 + version = "0.9.0" 18060 18102 dependencies = [ 18061 18103 "ethabi-decode", 18062 18104 "frame-support", ··· 18079 18121 18080 18122 [[package]] 18081 18123 name = "snowbridge-runtime-common" 18082 - version = "0.0.0" 18124 + version = "0.2.0" 18083 18125 dependencies = [ 18084 18126 "frame-support", 18085 18127 "frame-system", ··· 18095 18137 18096 18138 [[package]] 18097 18139 name = "snowbridge-runtime-test-common" 18098 - version = "0.0.0" 18140 + version = "0.2.0" 18099 18141 dependencies = [ 18100 18142 "assets-common", 18101 18143 "bridge-hub-test-utils", ··· 18172 18214 18173 18215 [[package]] 18174 18216 name = "snowbridge-system-runtime-api" 18175 - version = "0.0.0" 18217 + version = "0.2.0" 18176 18218 dependencies = [ 18177 18219 "parity-scale-codec", 18178 18220 "snowbridge-core", ··· 18220 18262 ] 18221 18263 18222 18264 [[package]] 18265 + name = "solochain-template-node" 18266 + version = "0.0.0" 18267 + dependencies = [ 18268 + "clap 4.5.1", 18269 + "frame-benchmarking-cli", 18270 + "frame-system", 18271 + "futures", 18272 + "jsonrpsee", 18273 + "pallet-transaction-payment", 18274 + "pallet-transaction-payment-rpc", 18275 + "sc-basic-authorship", 18276 + "sc-cli", 18277 + "sc-client-api", 18278 + "sc-consensus", 18279 + "sc-consensus-aura", 18280 + "sc-consensus-grandpa", 18281 + "sc-executor", 18282 + "sc-network", 18283 + "sc-offchain", 18284 + "sc-rpc-api", 18285 + "sc-service", 18286 + "sc-telemetry", 18287 + "sc-transaction-pool", 18288 + "sc-transaction-pool-api", 18289 + "serde_json", 18290 + "solochain-template-runtime", 18291 + "sp-api", 18292 + "sp-block-builder", 18293 + "sp-blockchain", 18294 + "sp-consensus-aura", 18295 + "sp-consensus-grandpa", 18296 + "sp-core", 18297 + "sp-inherents", 18298 + "sp-io", 18299 + "sp-keyring", 18300 + "sp-runtime", 18301 + "sp-timestamp", 18302 + "substrate-build-script-utils", 18303 + "substrate-frame-rpc-system", 18304 + "try-runtime-cli", 18305 + ] 18306 + 18307 + [[package]] 18308 + name = "solochain-template-runtime" 18309 + version = "0.0.0" 18310 + dependencies = [ 18311 + "frame-benchmarking", 18312 + "frame-executive", 18313 + "frame-support", 18314 + "frame-system", 18315 + "frame-system-benchmarking", 18316 + "frame-system-rpc-runtime-api", 18317 + "frame-try-runtime", 18318 + "pallet-aura", 18319 + "pallet-balances", 18320 + "pallet-grandpa", 18321 + "pallet-sudo", 18322 + "pallet-template", 18323 + "pallet-timestamp", 18324 + "pallet-transaction-payment", 18325 + "pallet-transaction-payment-rpc-runtime-api", 18326 + "parity-scale-codec", 18327 + "scale-info", 18328 + "sp-api", 18329 + "sp-block-builder", 18330 + "sp-consensus-aura", 18331 + "sp-consensus-grandpa", 18332 + "sp-core", 18333 + "sp-genesis-builder", 18334 + "sp-inherents", 18335 + "sp-offchain", 18336 + "sp-runtime", 18337 + "sp-session", 18338 + "sp-std 14.0.0", 18339 + "sp-storage 19.0.0", 18340 + "sp-transaction-pool", 18341 + "sp-version", 18342 + "substrate-wasm-builder", 18343 + ] 18344 + 18345 + [[package]] 18223 18346 name = "sp-api" 18224 18347 version = "26.0.0" 18225 18348 dependencies = [ ··· 18517 18640 dependencies = [ 18518 18641 "array-bytes 6.1.0", 18519 18642 "bandersnatch_vrfs", 18520 - "bip39", 18521 18643 "bitflags 1.3.2", 18522 18644 "blake2 0.10.6", 18523 18645 "bounded-collections", ··· 18530 18652 "hash256-std-hasher", 18531 18653 "impl-serde", 18532 18654 "itertools 0.10.5", 18655 + "k256", 18533 18656 "lazy_static", 18534 18657 "libsecp256k1", 18535 18658 "log", 18536 - "merlin 3.0.0", 18659 + "merlin", 18660 + "parity-bip39", 18537 18661 "parity-scale-codec", 18538 18662 "parking_lot 0.12.1", 18539 18663 "paste", ··· 18729 18853 "libsecp256k1", 18730 18854 "log", 18731 18855 "parity-scale-codec", 18856 + "polkavm-derive 0.9.1", 18732 18857 "rustversion", 18733 18858 "secp256k1", 18734 18859 "sp-core", ··· 18870 18995 name = "sp-runtime" 18871 18996 version = "31.0.1" 18872 18997 dependencies = [ 18873 - "docify", 18998 + "docify 0.2.7", 18874 18999 "either", 18875 19000 "hash256-std-hasher", 18876 19001 "impl-trait-for-tuples", ··· 18920 19045 "bytes", 18921 19046 "impl-trait-for-tuples", 18922 19047 "parity-scale-codec", 18923 - "polkavm-derive 0.8.0", 19048 + "polkavm-derive 0.9.1", 18924 19049 "primitive-types", 18925 19050 "rustversion", 18926 19051 "sp-core", ··· 19688 19813 19689 19814 [[package]] 19690 19815 name = "substrate-bip39" 19691 - version = "0.4.5" 19692 - source = "registry+https://github.com/rust-lang/crates.io-index" 19693 - checksum = "e620c7098893ba667438b47169c00aacdd9e7c10e042250ce2b60b087ec97328" 19816 + version = "0.4.7" 19694 19817 dependencies = [ 19695 - "hmac 0.11.0", 19696 - "pbkdf2 0.8.0", 19697 - "schnorrkel 0.9.1", 19698 - "sha2 0.9.9", 19818 + "bip39", 19819 + "hmac 0.12.1", 19820 + "pbkdf2", 19821 + "rustc-hex", 19822 + "schnorrkel 0.11.4", 19823 + "sha2 0.10.7", 19699 19824 "zeroize", 19700 19825 ] 19701 19826 ··· 19942 20067 "console", 19943 20068 "filetime", 19944 20069 "parity-wasm", 19945 - "polkavm-linker 0.8.2", 20070 + "polkavm-linker 0.9.2", 19946 20071 "sp-maybe-compressed-blob", 19947 20072 "strum 0.24.1", 19948 20073 "tempfile", ··· 22360 22485 "pallet-transaction-payment", 22361 22486 "pallet-xcm", 22362 22487 "parity-scale-codec", 22488 + "polkadot-service", 22363 22489 "polkadot-test-client", 22364 22490 "polkadot-test-runtime", 22365 22491 "polkadot-test-service", 22366 22492 "sp-consensus", 22493 + "sp-core", 22367 22494 "sp-keyring", 22368 22495 "sp-runtime", 22369 22496 "sp-state-machine", ··· 22507 22634 22508 22635 [[package]] 22509 22636 name = "zeroize" 22510 - version = "1.6.0" 22637 + version = "1.7.0" 22511 22638 source = "registry+https://github.com/rust-lang/crates.io-index" 22512 - checksum = "2a0956f1ba7c7909bfb66c2e9e4124ab6f6482560f6628b5aaeba39207c9aad9" 22639 + checksum = "525b4ec142c6b68a2d10f01f7bbf6755599ca3f81ea53b8431b7dd348f5fdb2d" 22513 22640 dependencies = [ 22514 22641 "zeroize_derive", 22515 22642 ]
+2 -2
pkgs/applications/blockchains/polkadot/default.nix
··· 11 11 }: 12 12 rustPlatform.buildRustPackage rec { 13 13 pname = "polkadot"; 14 - version = "1.8.0"; 14 + version = "1.9.0"; 15 15 16 16 src = fetchFromGitHub { 17 17 owner = "paritytech"; 18 18 repo = "polkadot-sdk"; 19 19 rev = "polkadot-v${version}"; 20 - hash = "sha256-GyiipeXe4Ny7UAwKMEelTqiaWZH1r/VhmbdMaUH6fjQ="; 20 + hash = "sha256-YLd1XKluL8QBbZPTb1FCvBDVD0YWjZfZTvl4p9jx28Y="; 21 21 22 22 # the build process of polkadot requires a .git folder in order to determine 23 23 # the git commit hash that is being built and add it to the version string.
+4 -4
pkgs/applications/misc/valent/default.nix
··· 60 60 "-Dvapi=false" 61 61 ]; 62 62 63 - meta = with lib; { 63 + meta = { 64 64 description = "An implementation of the KDE Connect protocol, built on GNOME platform libraries"; 65 65 mainProgram = "valent"; 66 66 longDescription = '' ··· 82 82 ''; 83 83 homepage = "https://valent.andyholmes.ca"; 84 84 changelog = "https://github.com/andyholmes/valent/blob/${src.rev}/CHANGELOG.md"; 85 - license = with licenses; [ gpl3Plus cc0 cc-by-sa-30 ]; 86 - maintainers = with maintainers; [ aleksana ]; 87 - platforms = platforms.linux; 85 + license = with lib.licenses; [ gpl3Plus cc0 cc-by-sa-30 ]; 86 + maintainers = with lib.maintainers; [ aleksana federicoschonborn ]; 87 + platforms = lib.platforms.linux; 88 88 }; 89 89 }
+13 -1
pkgs/applications/misc/waybar/default.nix
··· 2 2 , stdenv 3 3 , bash 4 4 , fetchFromGitHub 5 + , fetchFromGitLab 5 6 , SDL2 6 7 , alsa-lib 7 8 , catch2_3 ··· 72 73 rev = "0.10.1"; 73 74 hash = "sha256-iIYKvpOWafPJB5XhDOSIW9Mb4I3A4pcgIIPQdQYEqUw="; 74 75 }; 76 + 77 + wireplumber_0_4 = wireplumber.overrideAttrs (attrs: rec { 78 + version = "0.4.17"; 79 + src = fetchFromGitLab { 80 + domain = "gitlab.freedesktop.org"; 81 + owner = "pipewire"; 82 + repo = "wireplumber"; 83 + rev = version; 84 + hash = "sha256-vhpQT67+849WV1SFthQdUeFnYe/okudTQJoL3y+wXwI="; 85 + }; 86 + }); 75 87 in 76 88 stdenv.mkDerivation (finalAttrs: { 77 89 pname = "waybar"; ··· 138 150 ++ lib.optional traySupport libdbusmenu-gtk3 139 151 ++ lib.optional udevSupport udev 140 152 ++ lib.optional upowerSupport upower 141 - ++ lib.optional wireplumberSupport wireplumber 153 + ++ lib.optional wireplumberSupport wireplumber_0_4 142 154 ++ lib.optional (cavaSupport || pipewireSupport) pipewire 143 155 ++ lib.optional (!stdenv.isLinux) libinotify-kqueue; 144 156
+3 -3
pkgs/applications/networking/cluster/helm/plugins/helm-unittest.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "helm-unittest"; 5 - version = "0.4.2"; 5 + version = "0.4.3"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = pname; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - hash = "sha256-51Cx8V0cvuyBLFVmOWpA8X/kpDR67Q5EYZct44ED/ys="; 11 + hash = "sha256-2ymsh+GWCjpiTVRIuf0i9+wz6WnwpG0QP6tErabSEFk="; 12 12 }; 13 13 14 - vendorHash = "sha256-6tXQ2fbn1ZzImx8luxetXHNj3gIUt217rjXJPxMpjTw="; 14 + vendorHash = "sha256-ftD913mz9ziO3XWCdsbONrgMlBIc0uX4gq3NQmkXbs0="; 15 15 16 16 # NOTE: Remove the install and upgrade hooks. 17 17 postPatch = ''
+3 -3
pkgs/applications/networking/cluster/terragrunt/default.nix
··· 5 5 6 6 buildGoModule rec { 7 7 pname = "terragrunt"; 8 - version = "0.55.15"; 8 + version = "0.55.18"; 9 9 10 10 src = fetchFromGitHub { 11 11 owner = "gruntwork-io"; 12 12 repo = pname; 13 13 rev = "refs/tags/v${version}"; 14 - hash = "sha256-luVYnuvsLHfkSZVCjzGB34ffbNzuKjEFmxQfgdY+YpQ="; 14 + hash = "sha256-66yNRBh4WzArHL/yPn6IuLXt2YEthnufkcR2sw7LJYQ="; 15 15 }; 16 16 17 - vendorHash = "sha256-KXAN8WNKFfGbV7YQRhwgFBM0g+rbHe+MIuaR5/7khAs="; 17 + vendorHash = "sha256-ijAg0Y/dfNxDS/Jov7QYjlTZ4N4/jDMH/zCV0jdVXRc="; 18 18 19 19 doCheck = false; 20 20
+7 -6
pkgs/applications/networking/cluster/vcluster/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "vcluster"; 5 - version = "0.19.1"; 5 + version = "0.19.4"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "loft-sh"; 9 - repo = pname; 9 + repo = "vcluster"; 10 10 rev = "v${version}"; 11 - hash = "sha256-W9BSLGUrW8Us+yYQLIz3oY8JKJSo43cL+oWQQf3xWJE="; 11 + hash = "sha256-fzHaB+EeS8Gr1EVlxAZzKDYgv3Jij4LwmYaXN4tjYBg="; 12 12 }; 13 13 14 14 vendorHash = null; ··· 45 45 command = "vcluster --version"; 46 46 }; 47 47 48 - meta = with lib; { 48 + meta = { 49 + changelog = "https://github.com/loft-sh/vcluster/releases/tag/v${version}"; 49 50 description = "Create fully functional virtual Kubernetes clusters"; 50 51 mainProgram = "vcluster"; 51 52 downloadPage = "https://github.com/loft-sh/vcluster"; 52 53 homepage = "https://www.vcluster.com/"; 53 - license = licenses.asl20; 54 - maintainers = with maintainers; [ peterromfeldhk berryp qjoly ]; 54 + license = lib.licenses.asl20; 55 + maintainers = with lib.maintainers; [ berryp peterromfeldhk qjoly superherointj ]; 55 56 }; 56 57 }
+3 -1
pkgs/applications/networking/p2p/magnetico/default.nix
··· 36 36 passthru.tests = { inherit (nixosTests) magnetico; }; 37 37 38 38 meta = with lib; { 39 + # Build fails with Go >=1.21, couldn't be fixed by updating module dependencies. 40 + broken = true; 39 41 description = "Autonomous (self-hosted) BitTorrent DHT search engine suite"; 40 - homepage = "https://github.com/boramalper/magnetico"; 42 + homepage = "https://github.com/ireun/magnetico"; 41 43 license = licenses.agpl3; 42 44 badPlatforms = platforms.darwin; 43 45 maintainers = with maintainers; [ rnhmjoj ];
+2 -2
pkgs/applications/networking/sync/storj-uplink/default.nix
··· 5 5 6 6 buildGoModule rec { 7 7 pname = "storj-uplink"; 8 - version = "1.100.2"; 8 + version = "1.100.3"; 9 9 10 10 src = fetchFromGitHub { 11 11 owner = "storj"; 12 12 repo = "storj"; 13 13 rev = "v${version}"; 14 - hash = "sha256-wc6oK1zn04/1nwis9ndpkQc8dwY/J85zZbhkwmNFLek="; 14 + hash = "sha256-/aR6M/zL7xL+ujmGgu9J8Toiy7/0ou76nYJ0vwd5RVM="; 15 15 }; 16 16 17 17 subPackages = [ "cmd/uplink" ];
+8 -8
pkgs/applications/version-management/gitlab/data.json
··· 1 1 { 2 - "version": "16.8.1", 3 - "repo_hash": "sha256-95YdEAUYoFDFX4COI6NnI6tDB+NLnihlJdUDM8NixXA=", 4 - "yarn_hash": "1yhl4l2dln9ck4nbjjrlyjx17nxk4h12gb5hqjh4dq3rz3az3jvx", 2 + "version": "16.9.2", 3 + "repo_hash": "sha256-pvmbxCySSc+Ug4W3cpXA6L7E3/I6J2A0BpcjFbR3YEI=", 4 + "yarn_hash": "02vchjx17h6kk268pwrjqmrri0wa6vrljm7y5s23hwzir4v86slq", 5 5 "owner": "gitlab-org", 6 6 "repo": "gitlab", 7 - "rev": "v16.8.1-ee", 7 + "rev": "v16.9.2-ee", 8 8 "passthru": { 9 - "GITALY_SERVER_VERSION": "16.8.1", 10 - "GITLAB_PAGES_VERSION": "16.8.1", 9 + "GITALY_SERVER_VERSION": "16.9.2", 10 + "GITLAB_PAGES_VERSION": "16.9.2", 11 11 "GITLAB_SHELL_VERSION": "14.33.0", 12 - "GITLAB_ELASTICSEARCH_INDEXER_VERSION": "4.6.0", 13 - "GITLAB_WORKHORSE_VERSION": "16.8.1" 12 + "GITLAB_ELASTICSEARCH_INDEXER_VERSION": "4.7.0", 13 + "GITLAB_WORKHORSE_VERSION": "16.9.2" 14 14 } 15 15 }
+1 -1
pkgs/applications/version-management/gitlab/default.nix
··· 49 49 cp Cargo.lock $out 50 50 ''; 51 51 }; 52 - hash = "sha256-I5w/roDgnRe5eyXo0wiRcoWPpXEtpL3kOl9eDg99t/w="; 52 + hash = "sha256-csasA2RH1vwRdF/9/BpFmh0AKsP3xtGmrhCx6mbVf6k="; 53 53 }; 54 54 55 55 dontBuild = false;
+3 -3
pkgs/applications/version-management/gitlab/gitaly/default.nix
··· 6 6 }: 7 7 8 8 let 9 - version = "16.8.1"; 9 + version = "16.9.2"; 10 10 package_version = "v${lib.versions.major version}"; 11 11 gitaly_package = "gitlab.com/gitlab-org/gitaly/${package_version}"; 12 12 ··· 18 18 owner = "gitlab-org"; 19 19 repo = "gitaly"; 20 20 rev = "v${version}"; 21 - hash = "sha256-yR8O9F6THymKKHbnfh67NhEcNNBz7XHja/fpeTmVoe0="; 21 + hash = "sha256-YlSZq7+YtV9mhZDoNZ7QStbZLQ/Vtt8H2ZW84ONvCq8="; 22 22 }; 23 23 24 - vendorHash = "sha256-AkL/BbCrqgXyvfiMxzMIXeZwh5aFL2a2+myk/4YXMNc="; 24 + vendorHash = "sha256-aqwdeBjR8IGa1DsAXY1h7vq7OkuTgoDim5m40YKlcmo="; 25 25 26 26 ldflags = [ "-X ${gitaly_package}/internal/version.version=${version}" "-X ${gitaly_package}/internal/version.moduleVersion=${version}" ]; 27 27
+3 -3
pkgs/applications/version-management/gitlab/gitlab-container-registry/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "gitlab-container-registry"; 5 - version = "3.88.0"; 5 + version = "3.90.0"; 6 6 rev = "v${version}-gitlab"; 7 7 8 8 # nixpkgs-update: no auto update ··· 10 10 owner = "gitlab-org"; 11 11 repo = "container-registry"; 12 12 inherit rev; 13 - hash = "sha256-egslb+8+RsDjpL5xQpdCU3QwFH59grRCkODQnAkZe/0="; 13 + hash = "sha256-bHRvvmVQFsdgYmVVucu1warn+SvCoIVh+C/U2uwi12E="; 14 14 }; 15 15 16 - vendorHash = "sha256-IFXIr0xYJCKM5VUHQV+4S/+FEAhFEjbMaU+9JWIh8cA="; 16 + vendorHash = "sha256-Zv5Xz1T/ZUM/kyEgZJKbDuIN2nufoHVAn4kD3SuvJCg="; 17 17 18 18 patches = [ 19 19 ./Disable-inmemory-storage-driver-test.patch
+3 -3
pkgs/applications/version-management/gitlab/gitlab-elasticsearch-indexer/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "gitlab-elasticsearch-indexer"; 5 - version = "4.6.0"; 5 + version = "4.7.0"; 6 6 7 7 # nixpkgs-update: no auto update 8 8 src = fetchFromGitLab { 9 9 owner = "gitlab-org"; 10 10 repo = "gitlab-elasticsearch-indexer"; 11 11 rev = "v${version}"; 12 - sha256 = "sha256-HlT3Uj/DWbyK4xGq7SjKjZ90sww6oMiMDo05mtv6rTA="; 12 + sha256 = "sha256-xkCG8PyOXQl2xqsq3INqYWGdcJpJgRsi/hB9creGTSM="; 13 13 }; 14 14 15 - vendorHash = "sha256-YUH/agSy/shHmHRXlfDtgumbka6BjX5NTxgvlNJS4hQ="; 15 + vendorHash = "sha256-1eyIRlrgEQ6iiM2tom5S92BlsyaPVKZzSU3+Mmdxi+4="; 16 16 17 17 buildInputs = [ icu ]; 18 18 nativeBuildInputs = [ pkg-config ];
+3 -3
pkgs/applications/version-management/gitlab/gitlab-pages/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "gitlab-pages"; 5 - version = "16.8.1"; 5 + version = "16.9.2"; 6 6 7 7 # nixpkgs-update: no auto update 8 8 src = fetchFromGitLab { 9 9 owner = "gitlab-org"; 10 10 repo = "gitlab-pages"; 11 11 rev = "v${version}"; 12 - hash = "sha256-Wj15GHm+5Xd5wq4C3dH+i94jh7pecHM6KCDugLm5YAA="; 12 + hash = "sha256-1ygIMatPcqvhjN5Zkuk0WXd9iW6fv3bLK9EZsIII/WM="; 13 13 }; 14 14 15 - vendorHash = "sha256-9yogTSdEij/YwWGm3gz7jMn2AZcI+o7aEnjBvJ8E3vA="; 15 + vendorHash = "sha256-ZjIjGZaZhxa3OvdaA4qD+Qza604mxe1u+zAUtIAKouo="; 16 16 subPackages = [ "." ]; 17 17 18 18 meta = with lib; {
+2 -2
pkgs/applications/version-management/gitlab/gitlab-workhorse/default.nix
··· 5 5 buildGoModule rec { 6 6 pname = "gitlab-workhorse"; 7 7 8 - version = "16.8.1"; 8 + version = "16.9.2"; 9 9 10 10 # nixpkgs-update: no auto update 11 11 src = fetchFromGitLab { ··· 17 17 18 18 sourceRoot = "${src.name}/workhorse"; 19 19 20 - vendorHash = "sha256-OcdfanSlH1ZUmKlhzMOD3oNySx1o92Is7EDf1Z3953A="; 20 + vendorHash = "sha256-RJ/CT8p1DpxmZcJLBeMDG77Zsn0Q6MiXsDcMK/LM2DA="; 21 21 buildInputs = [ git ]; 22 22 ldflags = [ "-X main.Version=${version}" ]; 23 23 doCheck = false;
+32 -27
pkgs/applications/version-management/gitlab/rubyEnv/Gemfile
··· 28 28 29 29 gem 'activerecord-gitlab', path: 'gems/activerecord-gitlab' # rubocop:todo Gemfile/MissingFeatureCategory 30 30 31 - gem 'bootsnap', '~> 1.17.1', require: false # rubocop:todo Gemfile/MissingFeatureCategory 31 + gem 'bootsnap', '~> 1.18.3', require: false # rubocop:todo Gemfile/MissingFeatureCategory 32 32 33 33 gem 'openssl', '~> 3.0' # rubocop:todo Gemfile/MissingFeatureCategory 34 34 gem 'ipaddr', '~> 1.2.5' # rubocop:todo Gemfile/MissingFeatureCategory ··· 141 141 gem 'rack-cors', '~> 2.0.1', require: 'rack/cors' # rubocop:todo Gemfile/MissingFeatureCategory 142 142 143 143 # GraphQL API 144 - gem 'graphql', '~> 2.0.27', feature_category: :api 144 + gem 'graphql', '~> 2.2.5', feature_category: :api 145 145 gem 'graphql-docs', '~> 4.0.0', group: [:development, :test], feature_category: :api 146 146 gem 'graphiql-rails', '~> 1.8.0', feature_category: :api 147 147 gem 'apollo_upload_server', '~> 2.1.5', feature_category: :api 148 - gem 'graphlient', '~> 0.5.0', feature_category: :importers # Used by BulkImport feature (group::import) 148 + gem 'graphlient', '~> 0.6.0', feature_category: :importers # Used by BulkImport feature (group::import) 149 149 150 150 # Generate Fake data 151 151 gem 'ffaker', '~> 2.10' # rubocop:todo Gemfile/MissingFeatureCategory ··· 196 196 gem 'google-apis-sqladmin_v1beta4', '~> 0.41.0' # rubocop:todo Gemfile/MissingFeatureCategory 197 197 gem 'google-apis-androidpublisher_v3', '~> 0.34.0' # rubocop:todo Gemfile/MissingFeatureCategory 198 198 199 + gem 'googleauth', '~> 1.8.1', feature_category: :shared 200 + gem 'google-cloud-artifact_registry-v1', '~> 0.11.0', feature_category: :shared 201 + gem 'google-cloud-compute-v1', '~> 2.6.0', feature_category: :shared 202 + 199 203 # Seed data 200 204 gem 'seed-fu', '~> 2.3.7' # rubocop:todo Gemfile/MissingFeatureCategory 201 205 ··· 203 207 gem 'elasticsearch-model', '~> 7.2' # rubocop:todo Gemfile/MissingFeatureCategory 204 208 gem 'elasticsearch-rails', '~> 7.2', require: 'elasticsearch/rails/instrumentation' # rubocop:todo Gemfile/MissingFeatureCategory 205 209 gem 'elasticsearch-api', '7.13.3' # rubocop:todo Gemfile/MissingFeatureCategory 206 - gem 'aws-sdk-core', '~> 3.190.2' # rubocop:todo Gemfile/MissingFeatureCategory 210 + gem 'aws-sdk-core', '~> 3.191.1' # rubocop:todo Gemfile/MissingFeatureCategory 207 211 gem 'aws-sdk-cloudformation', '~> 1' # rubocop:todo Gemfile/MissingFeatureCategory 208 - gem 'aws-sdk-s3', '~> 1.142.0' # rubocop:todo Gemfile/MissingFeatureCategory 212 + gem 'aws-sdk-s3', '~> 1.143.0' # rubocop:todo Gemfile/MissingFeatureCategory 209 213 gem 'faraday_middleware-aws-sigv4', '~>0.3.0' # rubocop:todo Gemfile/MissingFeatureCategory 210 214 gem 'typhoeus', '~> 1.4.0' # Used with Elasticsearch to support http keep-alive connections # rubocop:todo Gemfile/MissingFeatureCategory 211 215 ··· 226 230 gem 'rouge', '~> 4.2.0' # rubocop:todo Gemfile/MissingFeatureCategory 227 231 gem 'truncato', '~> 0.7.12' # rubocop:todo Gemfile/MissingFeatureCategory 228 232 gem 'nokogiri', '~> 1.16' # rubocop:todo Gemfile/MissingFeatureCategory 229 - gem 'gitlab-glfm-markdown', '~> 0.0.11', feature_category: :team_planning 233 + gem 'gitlab-glfm-markdown', '~> 0.0.12', feature_category: :team_planning 230 234 231 235 # Calendar rendering 232 236 gem 'icalendar' # rubocop:todo Gemfile/MissingFeatureCategory ··· 252 256 gem 'acts-as-taggable-on', '~> 10.0' # rubocop:todo Gemfile/MissingFeatureCategory 253 257 254 258 # Background jobs 255 - gem 'sidekiq', '~> 7.1.6' # rubocop:todo Gemfile/MissingFeatureCategory 259 + gem 'sidekiq', path: 'vendor/gems/sidekiq-7.1.6', require: 'sidekiq' # rubocop:todo Gemfile/MissingFeatureCategory 256 260 gem 'sidekiq-cron', '~> 1.12.0', feature_category: :shared 257 261 gem 'gitlab-sidekiq-fetcher', path: 'vendor/gems/sidekiq-reliable-fetch', require: 'sidekiq-reliable-fetch' # rubocop:todo Gemfile/MissingFeatureCategory 258 262 ··· 269 273 gem 'ruby-progressbar', '~> 1.10' # rubocop:todo Gemfile/MissingFeatureCategory 270 274 271 275 # Linear-time regex library for untrusted regular expressions 272 - gem 're2', '2.6.0' # rubocop:todo Gemfile/MissingFeatureCategory 276 + gem 're2', '2.7.0' # rubocop:todo Gemfile/MissingFeatureCategory 273 277 274 278 # Misc 275 279 276 - gem 'semver_dialects', '~> 1.5', feature_category: :static_application_security_testing 280 + gem 'semver_dialects', '~> 1.6.1', feature_category: :static_application_security_testing 277 281 gem 'version_sorter', '~> 2.3' # rubocop:todo Gemfile/MissingFeatureCategory 278 282 gem 'csv_builder', path: 'gems/csv_builder' # rubocop:todo Gemfile/MissingFeatureCategory 279 283 ··· 336 340 337 341 gem 'rack-proxy', '~> 0.7.7' # rubocop:todo Gemfile/MissingFeatureCategory 338 342 339 - gem 'sassc-rails', '~> 2.1.0' # rubocop:todo Gemfile/MissingFeatureCategory 343 + gem 'sassc-rails', '~> 2.1.0', feature_category: :shared, require: false 344 + gem 'cssbundling-rails', '1.3.3', feature_category: :shared, require: false 340 345 gem 'autoprefixer-rails', '10.2.5.1' # rubocop:todo Gemfile/MissingFeatureCategory 341 346 gem 'terser', '1.0.2' # rubocop:todo Gemfile/MissingFeatureCategory 342 347 ··· 347 352 gem 'request_store', '~> 1.5.1' # rubocop:todo Gemfile/MissingFeatureCategory 348 353 gem 'base32', '~> 0.3.0' # rubocop:todo Gemfile/MissingFeatureCategory 349 354 350 - gem 'gitlab-license', '~> 2.3' # rubocop:todo Gemfile/MissingFeatureCategory 355 + gem 'gitlab-license', '~> 2.4', feature_category: :shared 351 356 352 357 # Protect against bruteforcing 353 358 gem 'rack-attack', '~> 6.7.0' # rubocop:todo Gemfile/MissingFeatureCategory ··· 360 365 361 366 # PostgreSQL query parsing 362 367 # 363 - gem 'pg_query', '~> 4.2.3' # rubocop:todo Gemfile/MissingFeatureCategory 368 + gem 'pg_query', '~> 5.1.0', feature_category: :database 364 369 365 370 gem 'gitlab-schema-validation', path: 'gems/gitlab-schema-validation' # rubocop:todo Gemfile/MissingFeatureCategory 366 371 gem 'gitlab-http', path: 'gems/gitlab-http' # rubocop:todo Gemfile/MissingFeatureCategory 367 372 368 373 gem 'premailer-rails', '~> 1.10.3' # rubocop:todo Gemfile/MissingFeatureCategory 369 374 370 - gem 'gitlab-labkit', '~> 0.35.0' # rubocop:todo Gemfile/MissingFeatureCategory 375 + gem 'gitlab-labkit', '~> 0.35.1' # rubocop:todo Gemfile/MissingFeatureCategory 371 376 gem 'thrift', '>= 0.16.0' # rubocop:todo Gemfile/MissingFeatureCategory 372 377 373 378 # I18n ··· 388 393 389 394 # Metrics 390 395 gem 'webrick', '~> 1.8.1', require: false # rubocop:todo Gemfile/MissingFeatureCategory 391 - gem 'prometheus-client-mmap', '~> 1.1', require: 'prometheus/client' # rubocop:todo Gemfile/MissingFeatureCategory 396 + gem 'prometheus-client-mmap', '~> 1.1', '>= 1.1.1', require: 'prometheus/client' # rubocop:todo Gemfile/MissingFeatureCategory 392 397 393 398 gem 'warning', '~> 1.3.0' # rubocop:todo Gemfile/MissingFeatureCategory 394 399 395 400 group :development do 396 - gem 'lefthook', '~> 1.5.5', require: false, feature_category: :tooling 401 + gem 'lefthook', '~> 1.5.6', require: false, feature_category: :tooling 397 402 gem 'rubocop', feature_category: :tooling 398 403 gem 'solargraph', '~> 0.47.2', require: false # rubocop:todo Gemfile/MissingFeatureCategory 399 404 ··· 407 412 408 413 gem 'listen', '~> 3.7' # rubocop:todo Gemfile/MissingFeatureCategory 409 414 410 - gem 'ruby-lsp', "~> 0.13.2", require: false, feature_category: :tooling 415 + gem 'ruby-lsp', "~> 0.13.3", require: false, feature_category: :tooling 411 416 412 417 gem 'ruby-lsp-rails', "~> 0.2.8", feature_category: :tooling 413 418 ··· 498 503 gem 'rspec-parameterized', '~> 1.0', require: false, feature_category: :tooling 499 504 gem 'os', '~> 1.1', feature_category: :tooling 500 505 501 - gem 'capybara', '~> 3.39', '>= 3.39.2' # rubocop:todo Gemfile/MissingFeatureCategory 506 + gem 'capybara', '~> 3.40' # rubocop:todo Gemfile/MissingFeatureCategory 502 507 gem 'capybara-screenshot', '~> 1.0.26' # rubocop:todo Gemfile/MissingFeatureCategory 503 - gem 'selenium-webdriver', '~> 4.16' # rubocop:todo Gemfile/MissingFeatureCategory 508 + gem 'selenium-webdriver', '~> 4.17' # rubocop:todo Gemfile/MissingFeatureCategory 504 509 505 510 gem 'graphlyte', '~> 1.0.0' # rubocop:todo Gemfile/MissingFeatureCategory 506 511 507 512 gem 'shoulda-matchers', '~> 5.1.0', require: false # rubocop:todo Gemfile/MissingFeatureCategory 508 513 gem 'email_spec', '~> 2.2.0' # rubocop:todo Gemfile/MissingFeatureCategory 509 - gem 'webmock', '~> 3.19.1' # rubocop:todo Gemfile/MissingFeatureCategory 514 + gem 'webmock', '~> 3.20.0' # rubocop:todo Gemfile/MissingFeatureCategory 510 515 gem 'rails-controller-testing' # rubocop:todo Gemfile/MissingFeatureCategory 511 516 gem 'concurrent-ruby', '~> 1.1' # rubocop:todo Gemfile/MissingFeatureCategory 512 517 gem 'test-prof', '~> 1.3.1' # rubocop:todo Gemfile/MissingFeatureCategory ··· 517 522 # Moved in `test` because https://gitlab.com/gitlab-org/gitlab/-/issues/217527 518 523 gem 'derailed_benchmarks', require: false # rubocop:todo Gemfile/MissingFeatureCategory 519 524 520 - gem 'gitlab_quality-test_tooling', '~> 1.11.0', require: false, feature_category: :tooling 525 + gem 'gitlab_quality-test_tooling', '~> 1.14.2', require: false, feature_category: :tooling 521 526 end 522 527 523 - gem 'octokit', '~> 6.0' # rubocop:todo Gemfile/MissingFeatureCategory 528 + gem 'octokit', '~> 8.0', feature_category: :importers 524 529 525 530 gem 'gitlab-mail_room', '~> 0.0.24', require: 'mail_room', feature_category: :shared 526 531 ··· 552 557 gem 'spamcheck', '~> 1.3.0' # rubocop:todo Gemfile/MissingFeatureCategory 553 558 554 559 # Gitaly GRPC protocol definitions 555 - gem 'gitaly', '~> 16.7.0-rc1', feature_category: :gitaly 560 + gem 'gitaly', '~> 16.9.0-rc3', feature_category: :gitaly 556 561 557 562 # KAS GRPC protocol definitions 558 - gem 'kas-grpc', '~> 0.3.0', feature_category: :deployment_management 563 + gem 'kas-grpc', '~> 0.4.0', feature_category: :deployment_management 559 564 560 - gem 'grpc', '~> 1.58.0' # rubocop:todo Gemfile/MissingFeatureCategory 565 + gem 'grpc', '~> 1.60.0' # rubocop:todo Gemfile/MissingFeatureCategory 561 566 562 - gem 'google-protobuf', '~> 3.25', '>= 3.25.2' # rubocop:todo Gemfile/MissingFeatureCategory 567 + gem 'google-protobuf', '~> 3.25', '>= 3.25.1' # rubocop:todo Gemfile/MissingFeatureCategory 563 568 564 569 gem 'toml-rb', '~> 2.2.0' # rubocop:todo Gemfile/MissingFeatureCategory 565 570 ··· 634 639 gem 'arr-pm', '~> 0.0.12' # rubocop:todo Gemfile/MissingFeatureCategory 635 640 636 641 # Remote Development 637 - gem 'devfile', '~> 0.0.24.pre.alpha1', feature_category: :remote_development 642 + gem 'devfile', '~> 0.0.25.pre.alpha1', feature_category: :remote_development 638 643 639 644 # Apple plist parsing 640 645 gem 'CFPropertyList', '~> 3.0.0' # rubocop:todo Gemfile/MissingFeatureCategory ··· 652 657 653 658 gem 'duo_api', '~> 1.3' # rubocop:todo Gemfile/MissingFeatureCategory 654 659 655 - gem 'gitlab-sdk', feature_category: :application_instrumentation 660 + gem 'gitlab-sdk', '~> 0.3.0', feature_category: :application_instrumentation
+107 -80
pkgs/applications/version-management/gitlab/rubyEnv/Gemfile.lock
··· 34 34 specs: 35 35 gitlab-housekeeper (0.1.0) 36 36 activesupport 37 + awesome_print 37 38 httparty 38 39 rubocop 39 40 ··· 178 179 omniauth (~> 2.0) 179 180 180 181 PATH 182 + remote: vendor/gems/sidekiq-7.1.6 183 + specs: 184 + sidekiq (7.1.6) 185 + concurrent-ruby (< 2) 186 + connection_pool (>= 2.3.0) 187 + rack (>= 2.2.4) 188 + redis-client (>= 0.14.0) 189 + 190 + PATH 181 191 remote: vendor/gems/sidekiq-reliable-fetch 182 192 specs: 183 193 gitlab-sidekiq-fetcher (0.11.0) ··· 301 311 aws-sdk-cloudformation (1.41.0) 302 312 aws-sdk-core (~> 3, >= 3.99.0) 303 313 aws-sigv4 (~> 1.1) 304 - aws-sdk-core (3.190.2) 314 + aws-sdk-core (3.191.1) 305 315 aws-eventstream (~> 1, >= 1.3.0) 306 316 aws-partitions (~> 1, >= 1.651.0) 307 317 aws-sigv4 (~> 1.8) ··· 309 319 aws-sdk-kms (1.76.0) 310 320 aws-sdk-core (~> 3, >= 3.188.0) 311 321 aws-sigv4 (~> 1.1) 312 - aws-sdk-s3 (1.142.0) 313 - aws-sdk-core (~> 3, >= 3.189.0) 322 + aws-sdk-s3 (1.143.0) 323 + aws-sdk-core (~> 3, >= 3.191.0) 314 324 aws-sdk-kms (~> 1) 315 325 aws-sigv4 (~> 1.8) 316 326 aws-sigv4 (1.8.0) ··· 337 347 babosa (2.0.0) 338 348 backport (1.2.0) 339 349 base32 (0.3.2) 350 + base64 (0.2.0) 340 351 batch-loader (2.0.1) 341 352 bcrypt (3.1.18) 342 353 benchmark (0.2.0) ··· 353 364 bindata (2.4.11) 354 365 binding_of_caller (1.0.0) 355 366 debug_inspector (>= 0.0.1) 356 - bootsnap (1.17.1) 367 + bootsnap (1.18.3) 357 368 msgpack (~> 1.2) 358 369 browser (5.3.1) 359 370 builder (3.2.4) ··· 364 375 bundler (>= 1.2.0, < 3) 365 376 thor (~> 1.0) 366 377 byebug (11.1.3) 367 - capybara (3.39.2) 378 + capybara (3.40.0) 368 379 addressable 369 380 matrix 370 381 mini_mime (>= 0.1.3) 371 - nokogiri (~> 1.8) 382 + nokogiri (~> 1.11) 372 383 rack (>= 1.6.0) 373 384 rack-test (>= 0.6.3) 374 385 regexp_parser (>= 1.5, < 3.0) ··· 382 393 mime-types (>= 1.16) 383 394 ssrf_filter (~> 1.0, < 1.1.0) 384 395 cbor (0.5.9.6) 385 - character_set (1.4.1) 386 - sorted_set (~> 1.0) 396 + character_set (1.8.0) 387 397 charlock_holmes (0.7.7) 388 398 chef-config (18.3.0) 389 399 addressable ··· 425 435 git 426 436 css_parser (1.14.0) 427 437 addressable 438 + cssbundling-rails (1.3.3) 439 + railties (>= 6.0.0) 428 440 cvss-suite (3.0.1) 429 - danger (9.3.1) 441 + danger (9.4.2) 430 442 claide (~> 1.0) 431 443 claide-plugins (>= 0.9.2) 432 444 colored2 (~> 3.1) ··· 437 449 kramdown (~> 2.3) 438 450 kramdown-parser-gfm (~> 1.0) 439 451 no_proxy_fix 440 - octokit (~> 6.0) 452 + octokit (>= 4.0) 441 453 terminal-table (>= 1, < 4) 442 454 danger-gitlab (8.0.0) 443 455 danger ··· 471 483 thor (>= 0.19, < 2) 472 484 descendants_tracker (0.0.4) 473 485 thread_safe (~> 0.3, >= 0.3.1) 474 - devfile (0.0.24.pre.alpha1) 486 + devfile (0.0.25.pre.alpha1) 475 487 device_detector (1.0.0) 476 488 devise (4.9.3) 477 489 bcrypt (~> 3.0) ··· 651 663 rspec-core (~> 3.0) 652 664 ruby-progressbar (~> 1.4) 653 665 fuzzyurl (0.9.0) 654 - gapic-common (0.18.0) 666 + gapic-common (0.20.0) 655 667 faraday (>= 1.9, < 3.a) 656 668 faraday-retry (>= 1.0, < 3.a) 657 669 google-protobuf (~> 3.14) ··· 673 685 git (1.18.0) 674 686 addressable (~> 2.8) 675 687 rchardet (~> 1.8) 676 - gitaly (16.7.0.pre.rc1) 688 + gitaly (16.9.0.pre.rc3) 677 689 grpc (~> 1.0) 678 690 gitlab (4.19.0) 679 691 httparty (~> 0.20) ··· 693 705 fog-core (= 2.1.0) 694 706 fog-json (~> 1.2.0) 695 707 mime-types 696 - gitlab-glfm-markdown (0.0.11) 708 + gitlab-glfm-markdown (0.0.12) 697 709 rb_sys (~> 0.9.86) 698 - gitlab-labkit (0.35.0) 710 + gitlab-labkit (0.35.1) 699 711 actionpack (>= 5.0.0, < 8.0.0) 700 712 activesupport (>= 5.0.0, < 8.0.0) 701 713 grpc (>= 1.37) ··· 703 715 opentracing (~> 0.4) 704 716 pg_query (>= 4.2.3, < 6.0) 705 717 redis (> 3.0.0, < 6.0.0) 706 - gitlab-license (2.3.0) 718 + gitlab-license (2.4.0) 707 719 gitlab-mail_room (0.0.24) 708 720 jwt (>= 2.0) 709 721 net-imap (>= 0.2.1) ··· 712 724 redis-namespace (>= 1.8.2) 713 725 gitlab-markup (1.9.0) 714 726 gitlab-net-dns (0.9.2) 715 - gitlab-sdk (0.2.3) 727 + gitlab-sdk (0.3.0) 716 728 activesupport (>= 5.2.0) 717 729 rake (~> 13.0) 718 730 snowplow-tracker (~> 0.8.0) ··· 729 741 omniauth (>= 1.3, < 3) 730 742 pyu-ruby-sasl (>= 0.0.3.3, < 0.1) 731 743 rubyntlm (~> 0.5) 732 - gitlab_quality-test_tooling (1.11.0) 733 - activesupport (>= 6.1, < 7.2) 744 + gitlab_quality-test_tooling (1.14.2) 745 + activesupport (>= 6.1, < 7.1) 734 746 amatch (~> 0.4.1) 735 747 gitlab (~> 4.19) 736 748 http (~> 5.0) 737 749 nokogiri (~> 1.10) 738 750 parallel (>= 1, < 2) 739 751 rainbow (>= 3, < 4) 752 + rspec-parameterized (~> 1.0.0) 740 753 table_print (= 1.5.7) 741 754 zeitwerk (>= 2, < 3) 742 755 globalid (1.1.0) ··· 783 796 google-apis-core (>= 0.9.1, < 2.a) 784 797 google-apis-storage_v1 (0.29.0) 785 798 google-apis-core (>= 0.11.0, < 2.a) 799 + google-cloud-artifact_registry-v1 (0.11.0) 800 + gapic-common (>= 0.20.0, < 2.a) 801 + google-cloud-errors (~> 1.0) 802 + google-cloud-location (>= 0.4, < 2.a) 803 + grpc-google-iam-v1 (~> 1.1) 804 + google-cloud-common (1.1.0) 805 + google-protobuf (~> 3.14) 806 + googleapis-common-protos-types (~> 1.2) 807 + google-cloud-compute-v1 (2.6.0) 808 + gapic-common (>= 0.20.0, < 2.a) 809 + google-cloud-common (~> 1.0) 810 + google-cloud-errors (~> 1.0) 786 811 google-cloud-core (1.6.0) 787 812 google-cloud-env (~> 1.0) 788 813 google-cloud-errors (~> 1.0) 789 814 google-cloud-env (1.6.0) 790 815 faraday (>= 0.17.3, < 3.0) 791 816 google-cloud-errors (1.3.0) 817 + google-cloud-location (0.6.0) 818 + gapic-common (>= 0.20.0, < 2.a) 819 + google-cloud-errors (~> 1.0) 792 820 google-cloud-profiler-v2 (0.4.0) 793 821 gapic-common (>= 0.18.0, < 2.a) 794 822 google-cloud-errors (~> 1.0) ··· 807 835 grpc (~> 1.27) 808 836 googleapis-common-protos-types (1.5.0) 809 837 google-protobuf (~> 3.14) 810 - googleauth (1.3.0) 838 + googleauth (1.8.1) 811 839 faraday (>= 0.17.3, < 3.a) 812 840 jwt (>= 1.4, < 3.0) 813 - memoist (~> 0.16) 814 841 multi_json (~> 1.11) 815 842 os (>= 0.9, < 2.0) 816 843 signet (>= 0.16, < 2.a) ··· 843 870 graphiql-rails (1.8.0) 844 871 railties 845 872 sprockets-rails 846 - graphlient (0.5.0) 873 + graphlient (0.6.0) 847 874 faraday (>= 1.0) 848 875 faraday_middleware 849 876 graphql-client 850 877 graphlyte (1.0.0) 851 - graphql (2.0.27) 852 - graphql-client (0.18.0) 878 + graphql (2.2.5) 879 + racc (~> 1.4) 880 + graphql-client (0.19.0) 853 881 activesupport (>= 3.0) 854 882 graphql 855 883 graphql-docs (4.0.0) ··· 860 888 gemoji (~> 3.0) 861 889 graphql (~> 2.0) 862 890 html-pipeline (~> 2.14, >= 2.14.3) 863 - grpc (1.58.0) 864 - google-protobuf (~> 3.23) 891 + grpc (1.60.0) 892 + google-protobuf (~> 3.25) 865 893 googleapis-common-protos-types (~> 1.0) 894 + grpc-google-iam-v1 (1.5.0) 895 + google-protobuf (~> 3.18) 896 + googleapis-common-protos (~> 1.4) 897 + grpc (~> 1.41) 866 898 gssapi (1.3.1) 867 899 ffi (>= 1.0.1) 868 900 guard (2.16.2) ··· 977 1009 activerecord 978 1010 kaminari-core (= 1.2.2) 979 1011 kaminari-core (1.2.2) 980 - kas-grpc (0.3.0) 1012 + kas-grpc (0.4.0) 981 1013 grpc (~> 1.0) 982 1014 knapsack (1.21.1) 983 1015 rake ··· 993 1025 language_server-protocol (3.17.0.3) 994 1026 launchy (2.5.0) 995 1027 addressable (~> 2.7) 996 - lefthook (1.5.5) 1028 + lefthook (1.5.6) 997 1029 letter_opener (1.7.0) 998 1030 launchy (~> 2.2) 999 1031 letter_opener_web (2.0.0) ··· 1009 1041 tomlrb (>= 1.3, < 2.1) 1010 1042 with_env (= 1.1.0) 1011 1043 xml-simple (~> 1.1.9) 1012 - licensee (9.16.0) 1044 + licensee (9.16.1) 1013 1045 dotenv (~> 2.0) 1014 - octokit (>= 4.20, < 7.0) 1046 + octokit (>= 4.20, < 9.0) 1015 1047 reverse_markdown (>= 1, < 3) 1016 1048 rugged (>= 0.24, < 2.0) 1017 1049 thor (>= 0.19, < 2.0) ··· 1055 1087 actionpack (>= 5.2) 1056 1088 activerecord (>= 5.2) 1057 1089 matrix (0.4.2) 1058 - memoist (0.16.2) 1059 1090 memory_profiler (1.0.1) 1060 1091 method_source (1.0.0) 1061 1092 mime-types (3.5.1) ··· 1124 1155 rack (>= 1.2, < 4) 1125 1156 snaky_hash (~> 2.0) 1126 1157 version_gem (~> 1.1) 1127 - octokit (6.1.1) 1158 + octokit (8.0.0) 1128 1159 faraday (>= 1, < 3) 1129 1160 sawyer (~> 0.9) 1130 1161 ohai (18.1.3) ··· 1240 1271 peek (1.1.0) 1241 1272 railties (>= 4.0.0) 1242 1273 pg (1.5.4) 1243 - pg_query (4.2.3) 1274 + pg_query (5.1.0) 1244 1275 google-protobuf (>= 3.22.3) 1245 1276 plist (3.7.0) 1246 1277 png_quantizator (0.2.1) ··· 1259 1290 coderay 1260 1291 parser 1261 1292 unparser 1262 - prometheus-client-mmap (1.1.0) 1293 + prometheus-client-mmap (1.1.1) 1263 1294 rb_sys (~> 0.9.86) 1264 1295 protocol (2.0.0) 1265 1296 ruby_parser (~> 3.0) ··· 1347 1378 ffi (>= 1.0.6) 1348 1379 msgpack (>= 0.4.3) 1349 1380 optimist (>= 3.0.0) 1350 - rbtree (0.4.6) 1351 1381 rchardet (1.8.0) 1352 - re2 (2.6.0) 1382 + re2 (2.7.0) 1353 1383 mini_portile2 (~> 2.8.5) 1354 1384 recaptcha (5.12.3) 1355 1385 json ··· 1475 1505 ruby-fogbugz (0.3.0) 1476 1506 crack (~> 0.4) 1477 1507 multipart-post (~> 2.0) 1478 - ruby-lsp (0.13.2) 1508 + ruby-lsp (0.13.3) 1479 1509 language_server-protocol (~> 3.17.0) 1480 1510 prism (>= 0.19.0, < 0.20) 1481 1511 sorbet-runtime (>= 0.5.5685) ··· 1497 1527 rexml 1498 1528 ruby-statistics (3.0.0) 1499 1529 ruby2_keywords (0.0.5) 1500 - ruby_parser (3.20.3) 1530 + ruby_parser (3.21.0) 1531 + racc (~> 1.5) 1501 1532 sexp_processor (~> 4.16) 1502 1533 rubyntlm (0.6.3) 1503 1534 rubypants (0.2.0) ··· 1511 1542 nokogiri (>= 1.12.0) 1512 1543 sassc (2.4.0) 1513 1544 ffi (~> 1.9) 1514 - sassc-rails (2.1.0) 1545 + sassc-rails (2.1.2) 1515 1546 railties (>= 4.0.0) 1516 1547 sassc (>= 2.0) 1517 1548 sprockets (> 3.0) ··· 1524 1555 seed-fu (2.3.7) 1525 1556 activerecord (>= 3.1) 1526 1557 activesupport (>= 3.1) 1527 - selenium-webdriver (4.16.0) 1558 + selenium-webdriver (4.17.0) 1559 + base64 (~> 0.2) 1528 1560 rexml (~> 3.2, >= 3.2.5) 1529 1561 rubyzip (>= 1.2.2, < 3.0) 1530 1562 websocket (~> 1.0) 1531 - semver_dialects (1.5.0) 1563 + semver_dialects (1.6.1) 1532 1564 deb_version (~> 1.0.1) 1533 1565 pastel (~> 0.8.0) 1534 1566 thor (~> 1.3) ··· 1543 1575 sentry-sidekiq (5.10.0) 1544 1576 sentry-ruby (~> 5.10.0) 1545 1577 sidekiq (>= 3.0) 1546 - set (1.0.2) 1547 - sexp_processor (4.17.0) 1578 + sexp_processor (4.17.1) 1548 1579 shellany (0.0.1) 1549 1580 shoulda-matchers (5.1.0) 1550 1581 activesupport (>= 5.2.0) 1551 - sidekiq (7.1.6) 1552 - concurrent-ruby (< 2) 1553 - connection_pool (>= 2.3.0) 1554 - rack (>= 2.2.4) 1555 - redis-client (>= 0.14.0) 1556 1582 sidekiq-cron (1.12.0) 1557 1583 fugit (~> 1.8) 1558 1584 globalid (>= 1.0.1) 1559 1585 sidekiq (>= 6) 1560 1586 sigdump (0.2.4) 1561 - signet (0.17.0) 1587 + signet (0.18.0) 1562 1588 addressable (~> 2.8) 1563 1589 faraday (>= 0.17.5, < 3.a) 1564 1590 jwt (>= 1.5, < 3.0) ··· 1597 1623 tilt (~> 2.0) 1598 1624 yard (~> 0.9, >= 0.9.24) 1599 1625 sorbet-runtime (0.5.11144) 1600 - sorted_set (1.0.3) 1601 - rbtree 1602 - set (~> 1.0) 1603 1626 spamcheck (1.3.0) 1604 1627 grpc (~> 1.0) 1605 1628 spring (4.1.0) ··· 1767 1790 webfinger (1.2.0) 1768 1791 activesupport 1769 1792 httpclient (>= 2.4) 1770 - webmock (3.19.1) 1793 + webmock (3.20.0) 1771 1794 addressable (>= 2.8.0) 1772 1795 crack (>= 0.3.2) 1773 1796 hashdiff (>= 0.4.0, < 2.0.0) ··· 1815 1838 autoprefixer-rails (= 10.2.5.1) 1816 1839 awesome_print 1817 1840 aws-sdk-cloudformation (~> 1) 1818 - aws-sdk-core (~> 3.190.2) 1819 - aws-sdk-s3 (~> 1.142.0) 1841 + aws-sdk-core (~> 3.191.1) 1842 + aws-sdk-s3 (~> 1.143.0) 1820 1843 axe-core-rspec (~> 4.8.0) 1821 1844 babosa (~> 2.0) 1822 1845 base32 (~> 0.3.0) ··· 1825 1848 benchmark-ips (~> 2.11.0) 1826 1849 benchmark-memory (~> 0.1) 1827 1850 better_errors (~> 2.10.1) 1828 - bootsnap (~> 1.17.1) 1851 + bootsnap (~> 1.18.3) 1829 1852 browser (~> 5.3.1) 1830 1853 bullet (~> 7.1.2) 1831 1854 bundler-audit (~> 0.9.1) 1832 1855 bundler-checksum (~> 0.1.0)! 1833 - capybara (~> 3.39, >= 3.39.2) 1856 + capybara (~> 3.40) 1834 1857 capybara-screenshot (~> 1.0.26) 1835 1858 carrierwave (~> 1.3) 1836 1859 charlock_holmes (~> 0.7.7) ··· 1843 1866 countries (~> 4.0.0) 1844 1867 creole (~> 0.5.0) 1845 1868 crystalball (~> 0.7.0) 1869 + cssbundling-rails (= 1.3.3) 1846 1870 csv_builder! 1847 1871 cvss-suite (~> 3.0.1) 1848 1872 database_cleaner-active_record (~> 2.1.0) ··· 1850 1874 declarative_policy (~> 1.1.0) 1851 1875 deprecation_toolkit (~> 1.5.1) 1852 1876 derailed_benchmarks 1853 - devfile (~> 0.0.24.pre.alpha1) 1877 + devfile (~> 0.0.25.pre.alpha1) 1854 1878 device_detector 1855 1879 devise (~> 4.9.3) 1856 1880 devise-pbkdf2-encryptable (~> 0.0.0)! ··· 1885 1909 fuubar (~> 2.2.0) 1886 1910 gettext (~> 3.3) 1887 1911 gettext_i18n_rails (~> 1.11.0) 1888 - gitaly (~> 16.7.0.pre.rc1) 1912 + gitaly (~> 16.9.0.pre.rc3) 1889 1913 gitlab-backup-cli! 1890 1914 gitlab-chronic (~> 0.10.5) 1891 1915 gitlab-dangerfiles (~> 4.6.0) 1892 1916 gitlab-experiment (~> 0.9.1) 1893 1917 gitlab-fog-azure-rm (~> 1.8.0) 1894 - gitlab-glfm-markdown (~> 0.0.11) 1918 + gitlab-glfm-markdown (~> 0.0.12) 1895 1919 gitlab-housekeeper! 1896 1920 gitlab-http! 1897 - gitlab-labkit (~> 0.35.0) 1898 - gitlab-license (~> 2.3) 1921 + gitlab-labkit (~> 0.35.1) 1922 + gitlab-license (~> 2.4) 1899 1923 gitlab-mail_room (~> 0.0.24) 1900 1924 gitlab-markup (~> 1.9.0) 1901 1925 gitlab-net-dns (~> 0.9.2) ··· 1903 1927 gitlab-rspec_flaky! 1904 1928 gitlab-safe_request_store! 1905 1929 gitlab-schema-validation! 1906 - gitlab-sdk 1930 + gitlab-sdk (~> 0.3.0) 1907 1931 gitlab-secret_detection! 1908 1932 gitlab-sidekiq-fetcher! 1909 1933 gitlab-styles (~> 11.0.0) 1910 1934 gitlab-utils! 1911 1935 gitlab_chronic_duration (~> 0.12) 1912 1936 gitlab_omniauth-ldap (~> 2.2.0) 1913 - gitlab_quality-test_tooling (~> 1.11.0) 1937 + gitlab_quality-test_tooling (~> 1.14.2) 1914 1938 gon (~> 6.4.0) 1915 1939 google-apis-androidpublisher_v3 (~> 0.34.0) 1916 1940 google-apis-cloudbilling_v1 (~> 0.21.0) ··· 1923 1947 google-apis-serviceusage_v1 (~> 0.28.0) 1924 1948 google-apis-sqladmin_v1beta4 (~> 0.41.0) 1925 1949 google-apis-storage_v1 (~> 0.29) 1950 + google-cloud-artifact_registry-v1 (~> 0.11.0) 1951 + google-cloud-compute-v1 (~> 2.6.0) 1926 1952 google-cloud-storage (~> 1.45.0) 1927 - google-protobuf (~> 3.25, >= 3.25.2) 1953 + google-protobuf (~> 3.25, >= 3.25.1) 1954 + googleauth (~> 1.8.1) 1928 1955 gpgme (~> 2.0.23) 1929 1956 grape (~> 2.0.0) 1930 1957 grape-entity (~> 0.10.0) ··· 1933 1960 grape-swagger-entity (~> 0.5.1) 1934 1961 grape_logging (~> 1.8) 1935 1962 graphiql-rails (~> 1.8.0) 1936 - graphlient (~> 0.5.0) 1963 + graphlient (~> 0.6.0) 1937 1964 graphlyte (~> 1.0.0) 1938 - graphql (~> 2.0.27) 1965 + graphql (~> 2.2.5) 1939 1966 graphql-docs (~> 4.0.0) 1940 - grpc (~> 1.58.0) 1967 + grpc (~> 1.60.0) 1941 1968 gssapi (~> 1.3.1) 1942 1969 guard-rspec 1943 1970 haml_lint (~> 0.53) ··· 1960 1987 jsonb_accessor (~> 1.3.10) 1961 1988 jwt (~> 2.5) 1962 1989 kaminari (~> 1.2.2) 1963 - kas-grpc (~> 0.3.0) 1990 + kas-grpc (~> 0.4.0) 1964 1991 knapsack (~> 1.21.1) 1965 1992 kramdown (~> 2.3.1) 1966 1993 kubeclient (~> 4.11.0) 1967 - lefthook (~> 1.5.5) 1994 + lefthook (~> 1.5.6) 1968 1995 letter_opener_web (~> 2.0.0) 1969 1996 license_finder (~> 7.0) 1970 1997 licensee (~> 9.16) ··· 1989 2016 net-protocol (~> 0.1.3) 1990 2017 nokogiri (~> 1.16) 1991 2018 oauth2 (~> 2.0) 1992 - octokit (~> 6.0) 2019 + octokit (~> 8.0) 1993 2020 ohai (~> 18.1) 1994 2021 oj (~> 3.13.21) 1995 2022 oj-introspect (~> 0.7) ··· 2021 2048 parslet (~> 1.8) 2022 2049 peek (~> 1.1) 2023 2050 pg (~> 1.5.4) 2024 - pg_query (~> 4.2.3) 2051 + pg_query (~> 5.1.0) 2025 2052 png_quantizator (~> 0.2.1) 2026 2053 premailer-rails (~> 1.10.3) 2027 - prometheus-client-mmap (~> 1.1) 2054 + prometheus-client-mmap (~> 1.1, >= 1.1.1) 2028 2055 pry-byebug 2029 2056 pry-rails (~> 0.3.9) 2030 2057 pry-shell (~> 0.6.4) ··· 2040 2067 rails-i18n (~> 7.0) 2041 2068 rainbow (~> 3.0) 2042 2069 rbtrace (~> 0.4) 2043 - re2 (= 2.6.0) 2070 + re2 (= 2.7.0) 2044 2071 recaptcha (~> 5.12) 2045 2072 redis (~> 4.8.0) 2046 2073 redis-actionpack (~> 5.4.0) ··· 2059 2086 rspec_profiling (~> 0.0.6) 2060 2087 rubocop 2061 2088 ruby-fogbugz (~> 0.3.0) 2062 - ruby-lsp (~> 0.13.2) 2089 + ruby-lsp (~> 0.13.3) 2063 2090 ruby-lsp-rails (~> 0.2.8) 2064 2091 ruby-lsp-rspec (~> 0.1.8) 2065 2092 ruby-magic (~> 0.6) ··· 2072 2099 sassc-rails (~> 2.1.0) 2073 2100 sd_notify (~> 0.1.0) 2074 2101 seed-fu (~> 2.3.7) 2075 - selenium-webdriver (~> 4.16) 2076 - semver_dialects (~> 1.5) 2102 + selenium-webdriver (~> 4.17) 2103 + semver_dialects (~> 1.6.1) 2077 2104 sentry-rails (~> 5.10.0) 2078 2105 sentry-raven (~> 3.1) 2079 2106 sentry-ruby (~> 5.10.0) 2080 2107 sentry-sidekiq (~> 5.10.0) 2081 2108 shoulda-matchers (~> 5.1.0) 2082 - sidekiq (~> 7.1.6) 2109 + sidekiq! 2083 2110 sidekiq-cron (~> 1.12.0) 2084 2111 sigdump (~> 0.2.4) 2085 2112 simple_po_parser (~> 1.1.6) ··· 2119 2146 vmstat (~> 2.3.0) 2120 2147 warning (~> 1.3.0) 2121 2148 webauthn (~> 3.0) 2122 - webmock (~> 3.19.1) 2149 + webmock (~> 3.20.0) 2123 2150 webrick (~> 1.8.1) 2124 2151 wikicloth (= 0.8.1) 2125 2152 yajl-ruby (~> 1.4.3) 2126 2153 2127 2154 BUNDLED WITH 2128 - 2.5.4 2155 + 2.5.5
+152 -118
pkgs/applications/version-management/gitlab/rubyEnv/gemset.nix
··· 411 411 platforms = []; 412 412 source = { 413 413 remotes = ["https://rubygems.org"]; 414 - sha256 = "0z9f8ypvpwj3sfqh3nlnhrq7ryhrv7isqzg370fba27zpy7bv5sx"; 414 + sha256 = "0fy80878z21j8py03ddf1ycsndzmnmw4jkbzw1mlrglwav08yq7q"; 415 415 type = "gem"; 416 416 }; 417 - version = "3.190.2"; 417 + version = "3.191.1"; 418 418 }; 419 419 aws-sdk-kms = { 420 420 dependencies = ["aws-sdk-core" "aws-sigv4"]; ··· 433 433 platforms = []; 434 434 source = { 435 435 remotes = ["https://rubygems.org"]; 436 - sha256 = "1sfpipfdmixpc0madfx1yvpwpv52fdhxfx4bmvrjxzb6ra78ikbr"; 436 + sha256 = "1safbxycz517m2v981z8kbmdiqx9jypl093ia0mcrskkgh4fyb3s"; 437 437 type = "gem"; 438 438 }; 439 - version = "1.142.0"; 439 + version = "1.143.0"; 440 440 }; 441 441 aws-sigv4 = { 442 442 dependencies = ["aws-eventstream"]; ··· 534 534 }; 535 535 version = "0.3.2"; 536 536 }; 537 + base64 = { 538 + groups = ["default" "test"]; 539 + platforms = []; 540 + source = { 541 + remotes = ["https://rubygems.org"]; 542 + sha256 = "01qml0yilb9basf7is2614skjp8384h2pycfx86cr8023arfj98g"; 543 + type = "gem"; 544 + }; 545 + version = "0.2.0"; 546 + }; 537 547 batch-loader = { 538 548 groups = ["default"]; 539 549 platforms = []; ··· 653 663 platforms = []; 654 664 source = { 655 665 remotes = ["https://rubygems.org"]; 656 - sha256 = "028qif22isxa5sg5gf1322d0qjhir5rr0jpkaiwcic4lspacdcnv"; 666 + sha256 = "1srlq3gqirzdkhv12ljpnp5cb0f8jfrl3n8xs9iivyz2c7khvdyp"; 657 667 type = "gem"; 658 668 }; 659 - version = "1.17.1"; 669 + version = "1.18.3"; 660 670 }; 661 671 browser = { 662 672 groups = ["default"]; ··· 730 740 platforms = []; 731 741 source = { 732 742 remotes = ["https://rubygems.org"]; 733 - sha256 = "114qm5f5vhwaaw9rj1h2lcamh46zl13v1m18jiw68zl961gwmw6n"; 743 + sha256 = "1vxfah83j6zpw3v5hic0j70h519nvmix2hbszmjwm8cfawhagns2"; 734 744 type = "gem"; 735 745 }; 736 - version = "3.39.2"; 746 + version = "3.40.0"; 737 747 }; 738 748 capybara-screenshot = { 739 749 dependencies = ["capybara" "launchy"]; ··· 779 789 version = "3.0.5"; 780 790 }; 781 791 character_set = { 782 - dependencies = ["sorted_set"]; 783 792 groups = ["default"]; 784 793 platforms = []; 785 794 source = { 786 795 remotes = ["https://rubygems.org"]; 787 - sha256 = "0ql0kxnpbblggyn8hx511pghpqf8xv3ng2kbybwwdi11bg1il6zp"; 796 + sha256 = "0l9z2pihzc11f0jpq2sx789zwpmwf5nyhsjps45zzvfs5931fwrb"; 788 797 type = "gem"; 789 798 }; 790 - version = "1.4.1"; 799 + version = "1.8.0"; 791 800 }; 792 801 charlock_holmes = { 793 802 groups = ["default"]; ··· 1043 1052 }; 1044 1053 version = "1.14.0"; 1045 1054 }; 1055 + cssbundling-rails = { 1056 + dependencies = ["railties"]; 1057 + groups = ["default"]; 1058 + platforms = []; 1059 + source = { 1060 + remotes = ["https://rubygems.org"]; 1061 + sha256 = "0m8qgrh70982xfdcylrm4zgh7pxq9ps539icnc7bqh1awl8k78aa"; 1062 + type = "gem"; 1063 + }; 1064 + version = "1.3.3"; 1065 + }; 1046 1066 csv_builder = { 1047 1067 groups = ["default"]; 1048 1068 platforms = []; ··· 1068 1088 platforms = []; 1069 1089 source = { 1070 1090 remotes = ["https://rubygems.org"]; 1071 - sha256 = "1x8xwn2l7avc6h08vgrkxyb6ga7slip5x8lynswmzd0y32ngnw4h"; 1091 + sha256 = "104x4p9rmk8frf4l858p171vjaif7mqgxspx61d26c0hfg355ra3"; 1072 1092 type = "gem"; 1073 1093 }; 1074 - version = "9.3.1"; 1094 + version = "9.4.2"; 1075 1095 }; 1076 1096 danger-gitlab = { 1077 1097 dependencies = ["danger" "gitlab"]; ··· 1224 1244 platforms = []; 1225 1245 source = { 1226 1246 remotes = ["https://rubygems.org"]; 1227 - sha256 = "0036nfmz7dz5jwagm4k3hshrkmm3w2473q38bhnr06dmxlkgrfvj"; 1247 + sha256 = "1p11hv0a2s4m29vvyr7z22wjr9f4cfmdjnqidrv62rfcg9r73w0g"; 1228 1248 type = "gem"; 1229 1249 }; 1230 - version = "0.0.24.pre.alpha1"; 1250 + version = "0.0.25.pre.alpha1"; 1231 1251 }; 1232 1252 device_detector = { 1233 1253 groups = ["default"]; ··· 2075 2095 platforms = []; 2076 2096 source = { 2077 2097 remotes = ["https://rubygems.org"]; 2078 - sha256 = "1awn2k5b2sji74vr0xhg0v68h1y0msqpkwq5z8k31mp2ii9mmmbg"; 2098 + sha256 = "0rlka373b2iva4dz2diz2zx7jyx617hwqvnfx2hs5xs0nh24fc5g"; 2079 2099 type = "gem"; 2080 2100 }; 2081 - version = "0.18.0"; 2101 + version = "0.20.0"; 2082 2102 }; 2083 2103 gemoji = { 2084 2104 groups = ["default" "development" "test"]; ··· 2140 2160 platforms = []; 2141 2161 source = { 2142 2162 remotes = ["https://rubygems.org"]; 2143 - sha256 = "1xqi0f0pf7cj110b981nx95wql3i4knzvc6417ym3yvbvsxjyand"; 2163 + sha256 = "07q9fmk4mddfn12vl3jvj80rxmhixkl99hxff7zi385rwphki8an"; 2144 2164 type = "gem"; 2145 2165 }; 2146 - version = "16.7.0.pre.rc1"; 2166 + version = "16.9.0.pre.rc3"; 2147 2167 }; 2148 2168 gitlab = { 2149 2169 dependencies = ["httparty" "terminal-table"]; ··· 2216 2236 platforms = []; 2217 2237 source = { 2218 2238 remotes = ["https://rubygems.org"]; 2219 - sha256 = "0z0h4bvfvlwyfx8ia03lr9dlpy38n75v2wxh424v6fhy4z08ycab"; 2239 + sha256 = "0mqwz2a4k9894d160k5a3mqm5g6p9rncgi4kx8w8dymbnz34bcli"; 2220 2240 type = "gem"; 2221 2241 }; 2222 - version = "0.0.11"; 2242 + version = "0.0.12"; 2223 2243 }; 2224 2244 gitlab-housekeeper = { 2225 - dependencies = ["activesupport" "httparty" "rubocop"]; 2245 + dependencies = ["activesupport" "awesome_print" "httparty" "rubocop"]; 2226 2246 groups = ["development" "test"]; 2227 2247 platforms = []; 2228 2248 source = { ··· 2247 2267 platforms = []; 2248 2268 source = { 2249 2269 remotes = ["https://rubygems.org"]; 2250 - sha256 = "0ya6r3ij0fzz6p50h157bn224n7405nwak6lx80ppvil9sm0dzr6"; 2270 + sha256 = "1m41by1hly50yq9vsz5pbrb51yryf46n9pm7wnrinaisccrinl79"; 2251 2271 type = "gem"; 2252 2272 }; 2253 - version = "0.35.0"; 2273 + version = "0.35.1"; 2254 2274 }; 2255 2275 gitlab-license = { 2256 2276 groups = ["default"]; 2257 2277 platforms = []; 2258 2278 source = { 2259 2279 remotes = ["https://rubygems.org"]; 2260 - sha256 = "0ms1kf5nmclsnmd2xa9k273asmb73ivaykwrb3g7sq263j3y7jk0"; 2280 + sha256 = "082ycgvq7j0kyqrbx8shipqk3lgz6i279caf1ljvk9h5wsqqy8zx"; 2261 2281 type = "gem"; 2262 2282 }; 2263 - version = "2.3.0"; 2283 + version = "2.4.0"; 2264 2284 }; 2265 2285 gitlab-mail_room = { 2266 2286 dependencies = ["jwt" "net-imap" "oauth2" "redis" "redis-namespace"]; ··· 2339 2359 platforms = []; 2340 2360 source = { 2341 2361 remotes = ["https://rubygems.org"]; 2342 - sha256 = "1mnhl888n4zfwhmfy3f1pj0k1rzjwpf16a1ic7wb22l64252g4g8"; 2362 + sha256 = "00w9p1h3awari07vh33h65y1l1jh7sgym8fzgcp5q5aihha0y9i2"; 2343 2363 type = "gem"; 2344 2364 }; 2345 - version = "0.2.3"; 2365 + version = "0.3.0"; 2346 2366 }; 2347 2367 gitlab-secret_detection = { 2348 2368 dependencies = ["parallel" "re2" "toml-rb"]; ··· 2408 2428 version = "2.2.0"; 2409 2429 }; 2410 2430 gitlab_quality-test_tooling = { 2411 - dependencies = ["activesupport" "amatch" "gitlab" "http" "nokogiri" "parallel" "rainbow" "table_print" "zeitwerk"]; 2431 + dependencies = ["activesupport" "amatch" "gitlab" "http" "nokogiri" "parallel" "rainbow" "rspec-parameterized" "table_print" "zeitwerk"]; 2412 2432 groups = ["test"]; 2413 2433 platforms = []; 2414 2434 source = { 2415 2435 remotes = ["https://rubygems.org"]; 2416 - sha256 = "0anhwfn9dnd8zkjwkq3qycjswfxqksfnwvl7dr6azz2zvjnxnii1"; 2436 + sha256 = "0n7ndhxkjkz7pfdqvcp90lxxias3lz2ssabpv5a5nxayilr47qwy"; 2417 2437 type = "gem"; 2418 2438 }; 2419 - version = "1.11.0"; 2439 + version = "1.14.2"; 2420 2440 }; 2421 2441 globalid = { 2422 2442 dependencies = ["activesupport"]; ··· 2605 2625 }; 2606 2626 version = "0.29.0"; 2607 2627 }; 2628 + google-cloud-artifact_registry-v1 = { 2629 + dependencies = ["gapic-common" "google-cloud-errors" "google-cloud-location" "grpc-google-iam-v1"]; 2630 + groups = ["default"]; 2631 + platforms = []; 2632 + source = { 2633 + remotes = ["https://rubygems.org"]; 2634 + sha256 = "0gkq82lsjz3yw9w819ifdqx9ixcbgydr5myy64wnczknx7fd505s"; 2635 + type = "gem"; 2636 + }; 2637 + version = "0.11.0"; 2638 + }; 2639 + google-cloud-common = { 2640 + dependencies = ["google-protobuf" "googleapis-common-protos-types"]; 2641 + groups = ["default"]; 2642 + platforms = []; 2643 + source = { 2644 + remotes = ["https://rubygems.org"]; 2645 + sha256 = "1yxmdxx933q48397jsczsmpshr4b61izv3spnhvzxd24s67v13bk"; 2646 + type = "gem"; 2647 + }; 2648 + version = "1.1.0"; 2649 + }; 2650 + google-cloud-compute-v1 = { 2651 + dependencies = ["gapic-common" "google-cloud-common" "google-cloud-errors"]; 2652 + groups = ["default"]; 2653 + platforms = []; 2654 + source = { 2655 + remotes = ["https://rubygems.org"]; 2656 + sha256 = "07hly5qbdy0qddw48biw0ybi2cx13861l5i09mj2abzw7yrmjq5r"; 2657 + type = "gem"; 2658 + }; 2659 + version = "2.6.0"; 2660 + }; 2608 2661 google-cloud-core = { 2609 2662 dependencies = ["google-cloud-env" "google-cloud-errors"]; 2610 2663 groups = ["default"]; ··· 2637 2690 }; 2638 2691 version = "1.3.0"; 2639 2692 }; 2693 + google-cloud-location = { 2694 + dependencies = ["gapic-common" "google-cloud-errors"]; 2695 + groups = ["default"]; 2696 + platforms = []; 2697 + source = { 2698 + remotes = ["https://rubygems.org"]; 2699 + sha256 = "1l6j0i8flfdzl9c7db990632jmn5v7bmbh1i6x0sqp3f2p59jv1q"; 2700 + type = "gem"; 2701 + }; 2702 + version = "0.6.0"; 2703 + }; 2640 2704 google-cloud-profiler-v2 = { 2641 2705 dependencies = ["gapic-common" "google-cloud-errors"]; 2642 2706 groups = ["default"]; ··· 2692 2756 version = "1.5.0"; 2693 2757 }; 2694 2758 googleauth = { 2695 - dependencies = ["faraday" "jwt" "memoist" "multi_json" "os" "signet"]; 2759 + dependencies = ["faraday" "jwt" "multi_json" "os" "signet"]; 2696 2760 groups = ["default"]; 2697 2761 platforms = []; 2698 2762 source = { 2699 2763 remotes = ["https://rubygems.org"]; 2700 - sha256 = "1hpwgwhk0lmnknkw8kbdfxn95qqs6aagpq815l5fkw9w6mi77pai"; 2764 + sha256 = "1ry9v23kndgx2pxq9v31l68k9lnnrcz1w4v75bkxq88jmbddljl1"; 2701 2765 type = "gem"; 2702 2766 }; 2703 - version = "1.3.0"; 2767 + version = "1.8.1"; 2704 2768 }; 2705 2769 gpgme = { 2706 2770 dependencies = ["mini_portile2"]; ··· 2796 2860 platforms = []; 2797 2861 source = { 2798 2862 remotes = ["https://rubygems.org"]; 2799 - sha256 = "14pjw0hd9rmfc687yj1cfd8jjy8gh7k6zn6w9syvcl1f2hb98b0g"; 2863 + sha256 = "1h652p91zdbdigb155vhdlh0lnq4ia8wlg5y5h0ibhlf9i5ndn5q"; 2800 2864 type = "gem"; 2801 2865 }; 2802 - version = "0.5.0"; 2866 + version = "0.6.0"; 2803 2867 }; 2804 2868 graphlyte = { 2805 2869 groups = ["test"]; ··· 2812 2876 version = "1.0.0"; 2813 2877 }; 2814 2878 graphql = { 2879 + dependencies = ["racc"]; 2815 2880 groups = ["default" "development" "test"]; 2816 2881 platforms = []; 2817 2882 source = { 2818 2883 remotes = ["https://rubygems.org"]; 2819 - sha256 = "0dlb8hbgs7yas59pwf4k7qrczbgkvrpcjqd2f5cmjj02fxdbwn8z"; 2884 + sha256 = "0zmw8gslwqaydxvmvan0m2rpbgxplm77kwp64bg051cvnasb9vhm"; 2820 2885 type = "gem"; 2821 2886 }; 2822 - version = "2.0.27"; 2887 + version = "2.2.5"; 2823 2888 }; 2824 2889 graphql-client = { 2825 2890 dependencies = ["activesupport" "graphql"]; ··· 2827 2892 platforms = []; 2828 2893 source = { 2829 2894 remotes = ["https://rubygems.org"]; 2830 - sha256 = "02r5qvfr176n051mp1c79xbpjhjqm92kk4118r0fbp131y0xralq"; 2895 + sha256 = "1iv9d6l14h05vnhrzmm5fn2cnjb469an28c9z7c6p4bgjy0rssgy"; 2831 2896 type = "gem"; 2832 2897 }; 2833 - version = "0.18.0"; 2898 + version = "0.19.0"; 2834 2899 }; 2835 2900 graphql-docs = { 2836 2901 dependencies = ["commonmarker" "dartsass" "escape_utils" "extended-markdown-filter" "gemoji" "graphql" "html-pipeline"]; ··· 2849 2914 platforms = []; 2850 2915 source = { 2851 2916 remotes = ["https://rubygems.org"]; 2852 - sha256 = "00lx7sql179ak7rx5vg76z45y558d5wj0gldql4qjcaxjnzcryqc"; 2917 + sha256 = "1bzkhy5yy4a8nlp89wwfw9bv4h358gsa9rvzn6i2y0z2ha5vmgqn"; 2918 + type = "gem"; 2919 + }; 2920 + version = "1.60.0"; 2921 + }; 2922 + grpc-google-iam-v1 = { 2923 + dependencies = ["google-protobuf" "googleapis-common-protos" "grpc"]; 2924 + groups = ["default"]; 2925 + platforms = []; 2926 + source = { 2927 + remotes = ["https://rubygems.org"]; 2928 + sha256 = "0kip34n9604j2cc9rkplv5ljq0n8f4aizix4yr8rginsa38md8yf"; 2853 2929 type = "gem"; 2854 2930 }; 2855 - version = "1.58.0"; 2931 + version = "1.5.0"; 2856 2932 }; 2857 2933 gssapi = { 2858 2934 dependencies = ["ffi"]; ··· 3367 3443 platforms = []; 3368 3444 source = { 3369 3445 remotes = ["https://rubygems.org"]; 3370 - sha256 = "12md9pbh0m2yfx0vy81dyn40ibdnhzm6b7kfwra66pkjwrac9pvq"; 3446 + sha256 = "13bkqrdz1rdn23nn0zni7vdvwnm34apgi3xy42djhhxl698888dv"; 3371 3447 type = "gem"; 3372 3448 }; 3373 - version = "0.3.0"; 3449 + version = "0.4.0"; 3374 3450 }; 3375 3451 knapsack = { 3376 3452 dependencies = ["rake"]; ··· 3442 3518 platforms = []; 3443 3519 source = { 3444 3520 remotes = ["https://rubygems.org"]; 3445 - sha256 = "1ac5r000h6rp7gdwyxr1n8hsg5b88gwbdkq87pbcjzps9li6n6nz"; 3521 + sha256 = "1rc7fzg4rjchyv7rd6vlz35hg5n8k5625s78hj12zji0xhg1jznc"; 3446 3522 type = "gem"; 3447 3523 }; 3448 - version = "1.5.5"; 3524 + version = "1.5.6"; 3449 3525 }; 3450 3526 letter_opener = { 3451 3527 dependencies = ["launchy"]; ··· 3496 3572 platforms = []; 3497 3573 source = { 3498 3574 remotes = ["https://rubygems.org"]; 3499 - sha256 = "0i4hs0vbgp0w3pdddr37zhydm16af122rmr0w39v3nqrj1ir65kv"; 3575 + sha256 = "05g5w9c4jlfhwn0hfz117s1c7hfdm5yn7cywr4mah7xr41yvbh04"; 3500 3576 type = "gem"; 3501 3577 }; 3502 - version = "9.16.0"; 3578 + version = "9.16.1"; 3503 3579 }; 3504 3580 listen = { 3505 3581 dependencies = ["rb-fsevent" "rb-inotify"]; ··· 3647 3723 type = "gem"; 3648 3724 }; 3649 3725 version = "0.4.2"; 3650 - }; 3651 - memoist = { 3652 - groups = ["default"]; 3653 - platforms = []; 3654 - source = { 3655 - remotes = ["https://rubygems.org"]; 3656 - sha256 = "0i9wpzix3sjhf6d9zw60dm4371iq8kyz7ckh2qapan2vyaim6b55"; 3657 - type = "gem"; 3658 - }; 3659 - version = "0.16.2"; 3660 3726 }; 3661 3727 memory_profiler = { 3662 3728 groups = ["default" "development" "test"]; ··· 4115 4181 platforms = []; 4116 4182 source = { 4117 4183 remotes = ["https://rubygems.org"]; 4118 - sha256 = "1gxh0x910qvah2sm9fbxn8jjy3pgwskyd3gm703zf182hafll3lj"; 4184 + sha256 = "11fhv1a43c51jkgmqf62aypf9yw74lc6ph4qmzsh2bydwwzbwqn3"; 4119 4185 type = "gem"; 4120 4186 }; 4121 - version = "6.1.1"; 4187 + version = "8.0.0"; 4122 4188 }; 4123 4189 ohai = { 4124 4190 dependencies = ["chef-config" "chef-utils" "ffi" "ffi-yajl" "ipaddress" "mixlib-cli" "mixlib-config" "mixlib-log" "mixlib-shellout" "plist" "train-core" "wmi-lite"]; ··· 4563 4629 platforms = []; 4564 4630 source = { 4565 4631 remotes = ["https://rubygems.org"]; 4566 - sha256 = "15ynrzqsmmbmxib8ri8n9k6z3l6rwd91j7y1mghm33nfgdf9bj8w"; 4632 + sha256 = "0p8ljf694qvrf5875ljg6kp7gvmndy8490kasjzcq22ghryg9xxp"; 4567 4633 type = "gem"; 4568 4634 }; 4569 - version = "4.2.3"; 4635 + version = "5.1.0"; 4570 4636 }; 4571 4637 plist = { 4572 4638 groups = ["default"]; ··· 4648 4714 platforms = []; 4649 4715 source = { 4650 4716 remotes = ["https://rubygems.org"]; 4651 - sha256 = "19mi424kwalrzdm7cvzjx2w0rw778mxqb75y9wn20nc277nxglvb"; 4717 + sha256 = "0vg47xx3wgg24snqc6ychb08mbcyrjmvxym9fg69cpa4xvj133fx"; 4652 4718 type = "gem"; 4653 4719 }; 4654 - version = "1.1.0"; 4720 + version = "1.1.1"; 4655 4721 }; 4656 4722 protocol = { 4657 4723 dependencies = ["ruby_parser"]; ··· 4995 5061 }; 4996 5062 version = "0.4.14"; 4997 5063 }; 4998 - rbtree = { 4999 - groups = ["default"]; 5000 - platforms = []; 5001 - source = { 5002 - remotes = ["https://rubygems.org"]; 5003 - sha256 = "1z0h1x7fpkzxamnvbw1nry64qd6n0nqkwprfair29z94kd3a9vhl"; 5004 - type = "gem"; 5005 - }; 5006 - version = "0.4.6"; 5007 - }; 5008 5064 rchardet = { 5009 5065 groups = ["default" "development"]; 5010 5066 platforms = []; ··· 5021 5077 platforms = []; 5022 5078 source = { 5023 5079 remotes = ["https://rubygems.org"]; 5024 - sha256 = "0sj80r3gy4sb27mrgc6pwcf2lra669p8p81axdv2p5pfm6k3mqbq"; 5080 + sha256 = "1p0kxb1gwrsv2r38jwgsg8b5k2xx966qmrc6aajfncpzm398i79i"; 5025 5081 type = "gem"; 5026 5082 }; 5027 - version = "2.6.0"; 5083 + version = "2.7.0"; 5028 5084 }; 5029 5085 recaptcha = { 5030 5086 dependencies = ["json"]; ··· 5525 5581 platforms = []; 5526 5582 source = { 5527 5583 remotes = ["https://rubygems.org"]; 5528 - sha256 = "1g1vdas991rv6lrjppjxjbfyzif4jxbncrcg9shgzrmibzilbnwr"; 5584 + sha256 = "0b9aj7d1wh4s83mkfsvjgkikx83c7afyzy6k2940fx08hfrdqgb8"; 5529 5585 type = "gem"; 5530 5586 }; 5531 - version = "0.13.2"; 5587 + version = "0.13.3"; 5532 5588 }; 5533 5589 ruby-lsp-rails = { 5534 5590 dependencies = ["actionpack" "activerecord" "railties" "ruby-lsp" "sorbet-runtime"]; ··· 5616 5672 version = "0.0.5"; 5617 5673 }; 5618 5674 ruby_parser = { 5619 - dependencies = ["sexp_processor"]; 5675 + dependencies = ["racc" "sexp_processor"]; 5620 5676 groups = ["default" "test"]; 5621 5677 platforms = []; 5622 5678 source = { 5623 5679 remotes = ["https://rubygems.org"]; 5624 - sha256 = "0j8w4mqhqaw53jd27cfhq1mq02d1r606x9fmrpfzz0fwjnk8j8ld"; 5680 + sha256 = "0sy5y7w89ii5iqym7b21glcwxqg8kizxfy8a7kcxq0j65wyqjhiq"; 5625 5681 type = "gem"; 5626 5682 }; 5627 - version = "3.20.3"; 5683 + version = "3.21.0"; 5628 5684 }; 5629 5685 rubyntlm = { 5630 5686 groups = ["default"]; ··· 5715 5771 platforms = []; 5716 5772 source = { 5717 5773 remotes = ["https://rubygems.org"]; 5718 - sha256 = "18mgdjxdzpbw92zrllynxw7jn7yihi85j3dg7i4f6c39w1scqkbn"; 5774 + sha256 = "1d9djmwn36a5m8a83bpycs48g8kh1n2xkyvghn7dr6zwh4wdyksz"; 5719 5775 type = "gem"; 5720 5776 }; 5721 - version = "2.1.0"; 5777 + version = "2.1.2"; 5722 5778 }; 5723 5779 sawyer = { 5724 5780 dependencies = ["addressable" "faraday"]; ··· 5753 5809 version = "2.3.7"; 5754 5810 }; 5755 5811 selenium-webdriver = { 5756 - dependencies = ["rexml" "rubyzip" "websocket"]; 5812 + dependencies = ["base64" "rexml" "rubyzip" "websocket"]; 5757 5813 groups = ["test"]; 5758 5814 platforms = []; 5759 5815 source = { 5760 5816 remotes = ["https://rubygems.org"]; 5761 - sha256 = "1qy3whgdg6q5bi6mzbq5gc94rxnkasdhdx3c73z3a955krj16w13"; 5817 + sha256 = "0g3l3invk95w1f72mpp0r4hc3vsc3070c1xd1wg76kfg2r182xnq"; 5762 5818 type = "gem"; 5763 5819 }; 5764 - version = "4.16.0"; 5820 + version = "4.17.0"; 5765 5821 }; 5766 5822 semver_dialects = { 5767 5823 dependencies = ["deb_version" "pastel" "thor" "tty-command"]; ··· 5769 5825 platforms = []; 5770 5826 source = { 5771 5827 remotes = ["https://rubygems.org"]; 5772 - sha256 = "1bj9r98ilpgg0w0h80wydfssr7kv65y0v2afsf1azhf9mymz3000"; 5828 + sha256 = "13jmbqzswvkq0xds2s1r6wnh78gfy2zbn35qvalhwj2qi4nmjpvf"; 5773 5829 type = "gem"; 5774 5830 }; 5775 - version = "1.5.0"; 5831 + version = "1.6.1"; 5776 5832 }; 5777 5833 sentry-rails = { 5778 5834 dependencies = ["railties" "sentry-ruby"]; ··· 5818 5874 }; 5819 5875 version = "5.10.0"; 5820 5876 }; 5821 - set = { 5822 - groups = ["default"]; 5823 - platforms = []; 5824 - source = { 5825 - remotes = ["https://rubygems.org"]; 5826 - sha256 = "00ick64s6066idlylbxhpjmxf56h1l22c8xp0mg4j8963zga9zq2"; 5827 - type = "gem"; 5828 - }; 5829 - version = "1.0.2"; 5830 - }; 5831 5877 sexp_processor = { 5832 5878 groups = ["default" "test"]; 5833 5879 platforms = []; 5834 5880 source = { 5835 5881 remotes = ["https://rubygems.org"]; 5836 - sha256 = "0vzz9mhg4kkdqf179pm30i204h7iskanxrk53j0csf0qrrs4iajd"; 5882 + sha256 = "182x05kpdjlckh31qizws50fz7sjk86yjjfmy45z61q3f930j4ci"; 5837 5883 type = "gem"; 5838 5884 }; 5839 - version = "4.17.0"; 5885 + version = "4.17.1"; 5840 5886 }; 5841 5887 shellany = { 5842 5888 groups = ["default" "test"]; ··· 5864 5910 groups = ["default"]; 5865 5911 platforms = []; 5866 5912 source = { 5867 - remotes = ["https://rubygems.org"]; 5868 - sha256 = "18j3g31ps6ga9nzza0z0d00qjrn810fhkhx2pqi3rvxwsmkdlnbq"; 5869 - type = "gem"; 5913 + path = "${src}/vendor/gems/sidekiq-7.1.6"; 5914 + type = "path"; 5870 5915 }; 5871 5916 version = "7.1.6"; 5872 5917 }; ··· 5897 5942 platforms = []; 5898 5943 source = { 5899 5944 remotes = ["https://rubygems.org"]; 5900 - sha256 = "0100rclkhagf032rg3r0gf3f4znrvvvqrimy6hpa73f21n9k2a0x"; 5945 + sha256 = "0fzakk5y7zzii76zlkynpp1c764mzkkfg4mpj18f5pf2xp1aikb6"; 5901 5946 type = "gem"; 5902 5947 }; 5903 - version = "0.17.0"; 5948 + version = "0.18.0"; 5904 5949 }; 5905 5950 simple_po_parser = { 5906 5951 groups = ["development" "test"]; ··· 6035 6080 type = "gem"; 6036 6081 }; 6037 6082 version = "0.5.11144"; 6038 - }; 6039 - sorted_set = { 6040 - dependencies = ["rbtree" "set"]; 6041 - groups = ["default"]; 6042 - platforms = []; 6043 - source = { 6044 - remotes = ["https://rubygems.org"]; 6045 - sha256 = "0brpwv68d7m9qbf5js4bg8bmg4v7h4ghz312jv9cnnccdvp8nasg"; 6046 - type = "gem"; 6047 - }; 6048 - version = "1.0.3"; 6049 6083 }; 6050 6084 spamcheck = { 6051 6085 dependencies = ["grpc"]; ··· 6875 6909 platforms = []; 6876 6910 source = { 6877 6911 remotes = ["https://rubygems.org"]; 6878 - sha256 = "0vfispr7wd2p1fs9ckn1qnby1yyp4i1dl7qz8n482iw977iyxrza"; 6912 + sha256 = "0rc3g9hhxi6v2l1cp9q3kcjd92bhmdbrb517l4v5pyzwq2nflcyc"; 6879 6913 type = "gem"; 6880 6914 }; 6881 - version = "3.19.1"; 6915 + version = "3.20.0"; 6882 6916 }; 6883 6917 webrick = { 6884 6918 groups = ["default" "development" "test"];
+9 -1
pkgs/applications/video/youtube-tui/default.nix
··· 6 6 , xorg 7 7 , stdenv 8 8 , python3 9 + , makeBinaryWrapper 9 10 , libsixel 10 11 , mpv 11 12 , CoreFoundation ··· 19 20 20 21 src = fetchFromGitHub { 21 22 owner = "Siriusmart"; 22 - repo = pname; 23 + repo = "youtube-tui"; 23 24 rev = "v${version}"; 24 25 hash = "sha256-FOiK3yQcQuwdCEjBtRPW4iBd+8uNsvZ6l5tclHVzL+M="; 25 26 }; ··· 34 35 nativeBuildInputs = [ 35 36 pkg-config 36 37 python3 38 + makeBinaryWrapper 37 39 ]; 38 40 39 41 buildInputs = [ ··· 46 48 Security 47 49 AppKit 48 50 ]; 51 + 52 + # sixel-sys is dynamically linked to libsixel 53 + postInstall = lib.optionalString stdenv.isDarwin '' 54 + wrapProgram $out/bin/youtube-tui \ 55 + --prefix DYLD_LIBRARY_PATH : "${lib.makeLibraryPath [libsixel]}" 56 + ''; 49 57 50 58 meta = with lib; { 51 59 description = "An aesthetically pleasing YouTube TUI written in Rust";
+6
pkgs/by-name/bu/butler/package.nix
··· 36 36 doCheck = false; 37 37 38 38 meta = with lib; { 39 + # butler cannot be build with Go >=1.21 40 + # See https://github.com/itchio/butler/issues/256 41 + # and https://github.com/itchio/dmcunrar-go/issues/1 42 + # The dependency causing the issue is marked as 'no maintainence intended'. 43 + # Last butler release is from 05/2021. 44 + broken = true; 39 45 description = "Command-line itch.io helper"; 40 46 homepage = "https://github.com/itchio/butler"; 41 47 license = licenses.mit;
+2 -2
pkgs/by-name/ei/eiwd/package.nix
··· 11 11 12 12 stdenv.mkDerivation (finalAttrs: { 13 13 pname = "eiwd"; 14 - version = "2.14-1"; 14 + version = "2.16-1"; 15 15 16 16 src = fetchFromGitHub { 17 17 owner = "illiliti"; 18 18 repo = "eiwd"; 19 19 rev = finalAttrs.version; 20 - hash = "sha256-9d7XDA98qMA6Myeik2Tpj0x6yd5VQozt+FHl0U3da50="; 20 + hash = "sha256-TQA9aVdXGX2hje7lRQ8T9QDpSTYGpB5cIDlNYsUg/dM="; 21 21 fetchSubmodules = true; 22 22 }; 23 23
+7
pkgs/by-name/fs/fsuae/package.nix
··· 12 12 , lua 13 13 , openal 14 14 , pkg-config 15 + , strip-nondeterminism 15 16 , stdenv 16 17 , zip 17 18 , zlib ··· 31 32 nativeBuildInputs = [ 32 33 autoreconfHook 33 34 pkg-config 35 + strip-nondeterminism 34 36 zip 35 37 ]; 36 38 ··· 49 51 ]; 50 52 51 53 strictDeps = true; 54 + 55 + # Make sure that the build timestamp is not included in the archive 56 + postFixup = '' 57 + strip-nondeterminism --type zip $out/share/fs-uae/fs-uae.dat 58 + ''; 52 59 53 60 meta = { 54 61 homepage = "https://fs-uae.net";
+1 -1
pkgs/by-name/mo/mountpoint-s3/package.nix
··· 52 52 meta = with lib; { 53 53 homepage = "https://github.com/awslabs/mountpoint-s3"; 54 54 description = "A simple, high-throughput file client for mounting an Amazon S3 bucket as a local file system."; 55 - license = licenses.amazonsl; 55 + license = licenses.asl20; 56 56 maintainers = with maintainers; [ lblasc ]; 57 57 platforms = platforms.linux; 58 58 };
+2 -2
pkgs/by-name/na/namespace-cli/package.nix
··· 5 5 6 6 buildGoModule rec { 7 7 pname = "namespace-cli"; 8 - version = "0.0.350"; 8 + version = "0.0.351"; 9 9 10 10 src = fetchFromGitHub { 11 11 owner = "namespacelabs"; 12 12 repo = "foundation"; 13 13 rev = "v${version}"; 14 - hash = "sha256-qMtmB/KMMkMfU2AyE2pcjiy3wUwyQUpcP6rMkZk3SMI="; 14 + hash = "sha256-DN/YHPb2/bPzE/EgkuCN0hat8UnwV+6fpay7t4Utlv8="; 15 15 }; 16 16 17 17 vendorHash = "sha256-a/e+xPOD9BDSlKknmfcX2tTMyIUrzKxqtUpFXcFIDSE=";
+2 -2
pkgs/by-name/oe/oelint-adv/package.nix
··· 6 6 7 7 python3.pkgs.buildPythonApplication rec { 8 8 pname = "oelint-adv"; 9 - version = "4.4.1"; 9 + version = "4.4.4"; 10 10 format = "setuptools"; 11 11 12 12 src = fetchPypi { 13 13 inherit version; 14 14 pname = "oelint_adv"; 15 - hash = "sha256-Yv0GCz0vZTVrnFjHFIl4XF/jbVD4DJ4J6V6+X5IllJ8="; 15 + hash = "sha256-ELWVQzlC56EYy0op42jKmRsuVnSZfz2fQATWOlhxWbk="; 16 16 }; 17 17 18 18 propagatedBuildInputs = with python3.pkgs; [
+37
pkgs/by-name/op/opshin/package.nix
··· 1 + { lib 2 + , fetchFromGitHub 3 + , python3 4 + }: 5 + 6 + python3.pkgs.buildPythonApplication rec { 7 + pname = "opshin"; 8 + version = "0.20.0"; 9 + 10 + format = "pyproject"; 11 + 12 + src = fetchFromGitHub { 13 + owner = "OpShin"; 14 + repo = "opshin"; 15 + rev = version; 16 + hash = "sha256-fJlPeVAuEf80FVxdXnaKASLmjMEgz6ysXenUY72+sos="; 17 + }; 18 + 19 + propagatedBuildInputs = with python3.pkgs; [ 20 + setuptools 21 + poetry-core 22 + uplc 23 + pluthon 24 + pycardano 25 + frozenlist2 26 + astunparse 27 + ordered-set 28 + ]; 29 + 30 + meta = with lib; { 31 + description = "A simple pythonic programming language for Smart Contracts on Cardano"; 32 + homepage = "https://opshin.dev"; 33 + license = licenses.mit; 34 + maintainers = with maintainers; [ t4ccer ]; 35 + mainProgram = "opshin"; 36 + }; 37 + }
+2 -2
pkgs/by-name/tx/txr/package.nix
··· 7 7 8 8 stdenv.mkDerivation (finalAttrs: { 9 9 pname = "txr"; 10 - version = "293"; 10 + version = "294"; 11 11 12 12 src = fetchurl { 13 13 url = "https://www.kylheku.com/cgit/txr/snapshot/txr-${finalAttrs.version}.tar.bz2"; 14 - hash = "sha256-b8Ia5zMvmPl681rTyhgI0AQ8TIU4TE5768/Oln42+lw="; 14 + hash = "sha256-QdkN4FwobGRPQNQGcHC62Wi5hwQqsgyLo9etYYEfqDc="; 15 15 }; 16 16 17 17 buildInputs = [ libffi ];
+4 -4
pkgs/by-name/wa/waycheck/package.nix
··· 47 47 --replace "update-desktop-database -q" "update-desktop-database $out/share/applications" 48 48 ''; 49 49 50 - meta = with lib; { 50 + meta = { 51 51 description = "Simple GUI that displays the protocols implemented by a Wayland compositor"; 52 52 homepage = "https://gitlab.freedesktop.org/serebit/waycheck"; 53 - license = licenses.asl20; 54 - maintainers = with maintainers; [ julienmalka ]; 53 + license = lib.licenses.asl20; 54 + maintainers = with lib.maintainers; [ julienmalka federicoschonborn ]; 55 55 mainProgram = "waycheck"; 56 - platforms = platforms.linux; 56 + platforms = lib.platforms.linux; 57 57 }; 58 58 })
+3 -3
pkgs/by-name/xp/xplr/package.nix
··· 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "xplr"; 5 - version = "0.21.5"; 5 + version = "0.21.7"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "sayanarijit"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-Ofr9xJH/wVlBJ1n1MMecSP8SltYwjdhb7tmkTsOMoX8="; 11 + sha256 = "sha256-ZitwO/XfNrlTFNepQ5Wyk1A7cwlNm6+26nPHdZ8Wh3c="; 12 12 }; 13 13 14 - cargoHash = "sha256-1wzqWGp0qPn2sQ1v0+6NAxvIxqCIVuN0WwpNddj71Xc="; 14 + cargoHash = "sha256-mfSVjm0s/tLjjygwu8TuKn92mFM3Ui6TEHkIzS0eEOA="; 15 15 16 16 # fixes `thread 'main' panicked at 'cannot find strip'` on x86_64-darwin 17 17 env = lib.optionalAttrs (stdenv.isx86_64 && stdenv.isDarwin) {
+2 -2
pkgs/by-name/ya/yamlscript/package.nix
··· 2 2 3 3 buildGraalvmNativeImage rec { 4 4 pname = "yamlscript"; 5 - version = "0.1.41"; 5 + version = "0.1.45"; 6 6 7 7 src = fetchurl { 8 8 url = "https://github.com/yaml/yamlscript/releases/download/${version}/yamlscript.cli-${version}-standalone.jar"; 9 - hash = "sha256-/Kke7MH0DsBpo8AEIr8XVDKqbSshz0Ql8S5KzrPB9jk="; 9 + hash = "sha256-Gh1O6nAJq1D55Gjp93WtpqI5YxgheC7TbEdbP/jzIn8="; 10 10 }; 11 11 12 12 executable = "ys";
+77
pkgs/data/fonts/openmoji/build.patch
··· 1 + diff --git a/helpers/generate-fonts-runner.sh b/helpers/generate-fonts-runner.sh 2 + index 21267e50f..873b5c664 100755 3 + --- a/helpers/generate-fonts-runner.sh 4 + +++ b/helpers/generate-fonts-runner.sh 5 + @@ -25,10 +25,10 @@ mkdir -p "$build_dir" 6 + 7 + # Change these to enable/disable formats 8 + # Remember to update font/README.md accordingly 9 + -methods_black=(glyf) 10 + -methods_color=(cbdt glyf_colr_0 glyf_colr_1 sbix picosvgz untouchedsvgz) 11 + +#methods_black=(glyf) 12 + +#methods_color=(cbdt glyf_colr_0 glyf_colr_1 sbix picosvgz untouchedsvgz) 13 + 14 + -saturations=(black color) 15 + +#saturations=(black color) 16 + for saturation in "${saturations[@]}"; do 17 + case "$saturation" in 18 + black) 19 + @@ -43,6 +43,7 @@ for saturation in "${saturations[@]}"; do 20 + mkdir -p "$build_dir/$saturation" 21 + 22 + for method in "${methods[@]}"; do 23 + + if [ -z "$method" ]; then continue; fi 24 + cat >"$build_dir/$saturation/OpenMoji-$saturation-$method.toml" <<-EOF 25 + output_file = "$build_dir/$saturation/OpenMoji-$saturation-$method.ttf" 26 + color_format = "$method" 27 + @@ -55,10 +56,7 @@ default = 400 28 + 29 + [master.regular] 30 + style_name = "Regular" 31 + - 32 + -# To quickly check build reverse comments below 33 + -srcs = ["/mnt/$saturation/svg/*.svg"] 34 + -# srcs = ["/mnt/$saturation/svg/1F923.svg", "/mnt/$saturation/svg/1F1E9-1F1F0.svg"] 35 + +srcs = ["$(pwd)/$saturation/svg/*.svg"] 36 + 37 + [master.regular.position] 38 + wght = 400 39 + @@ -71,7 +69,7 @@ EOF 40 + for method in "${methods[@]}"; do 41 + # Generate XML for font 42 + sed "s/Color/${saturation^}/;" \ 43 + - /mnt/data/OpenMoji-Color.ttx \ 44 + + data/OpenMoji-Color.ttx \ 45 + > "$build_dir/$saturation/OpenMoji-$saturation-$method.ttx" 46 + 47 + # Add version to XML 48 + @@ -89,25 +87,21 @@ EOF 49 + 50 + # Compress with WOFF2 51 + woff2_compress "$build_dir/fonts/OpenMoji-$saturation-$method/OpenMoji-$saturation-$method.ttf" 52 + - 53 + - # Generate font demo 54 + - /mnt/helpers/generate-font-demo.js "OpenMoji-$saturation-$method.woff2" "$build_dir/fonts/OpenMoji-$saturation-$method" 55 + done 56 + done 57 + 58 + -for colr_version in 0 1; do 59 + +for colr_version in "${maximumColorVersions[@]}"; do 60 + + if [ -z "$colr_version" ]; then continue; fi 61 + # Make TTF with both COLR and SVG font data in it 62 + mkdir -p "$build_dir/fonts/OpenMoji-color-colr${colr_version}_svg" 63 + 64 + - maximum_color \ 65 + + maximum_color --build_dir="$build_dir/color" \ 66 + "$build_dir/fonts/OpenMoji-color-glyf_colr_${colr_version}/OpenMoji-color-glyf_colr_${colr_version}.ttf"\ 67 + --output_file "$build_dir/fonts/OpenMoji-color-colr${colr_version}_svg/OpenMoji-color-colr${colr_version}_svg.ttf" 68 + 69 + woff2_compress "$build_dir/fonts/OpenMoji-color-colr${colr_version}_svg/OpenMoji-color-colr${colr_version}_svg.ttf" 70 + 71 + - /mnt/helpers/generate-font-demo.js\ 72 + - "OpenMoji-color-colr${colr_version}_svg.woff2"\ 73 + - "$build_dir/fonts/OpenMoji-color-colr${colr_version}_svg" 74 + + rm -rf "$build_dir/fonts/OpenMoji-color-glyf_colr_${colr_version}" 75 + done 76 + 77 + echo "Done building fonts!"
+50 -58
pkgs/data/fonts/openmoji/default.nix
··· 1 1 { lib 2 - , stdenv 2 + , stdenvNoCC 3 3 , fetchFromGitHub 4 - , fetchpatch 5 - , scfbuild 6 - , fontforge 7 - , node-glob 8 - , libuninameslist 9 - , nodejs 10 - , nodePackages 4 + , nanoemoji 11 5 , python3Packages 12 - , variant ? "color" # "color" or "black" 6 + , woff2 7 + , xmlstarlet 8 + # available color formats: ["cbdt" "glyf_colr_0" "glyf_colr_1" "sbix" "picosvgz" "untouchedsvgz"] 9 + # available black formats: ["glyf"] 10 + , fontFormats ? [ "glyf" "cbdt" "glyf_colr_0" "glyf_colr_1" ] 11 + # when at least one of the glyf_colr_0/1 formats is specified, whether to build maximum color fonts 12 + # "none" to not build any, "svg" to build colr+svg, "bitmap" to build cbdt+colr+svg fonts 13 + , buildMaximumColorFonts ? "bitmap" 13 14 }: 14 - 15 15 let 16 - filename = builtins.replaceStrings 17 - [ "color" "black" ] 18 - [ "OpenMoji-Color.ttf" "OpenMoji-Black.ttf" ] 19 - variant; 16 + # all available methods 17 + methods = { 18 + black = [ "glyf" ]; 19 + color = [ "cbdt" "glyf_colr_0" "glyf_colr_1" "sbix" "picosvgz" "untouchedsvgz" ]; 20 + }; 21 + in 20 22 21 - # With newer fontforge the build hangs, see 22 - # https://github.com/NixOS/nixpkgs/issues/167869 23 - # Patches etc taken from 24 - # https://github.com/NixOS/nixpkgs/commit/69da642a5a9bb433138ba1b13c8d56fb5bb6ec05 25 - fontforge-20201107 = fontforge.overrideAttrs (old: rec { 26 - version = "20201107"; 27 - src = fetchFromGitHub { 28 - owner = "fontforge"; 29 - repo = "fontforge"; 30 - rev = version; 31 - sha256 = "sha256-Rl/5lbXaPgIndANaD0IakaDus6T53FjiBb45FIuGrvc="; 32 - }; 33 - patches = [ 34 - (fetchpatch { 35 - url = "https://salsa.debian.org/fonts-team/fontforge/raw/76bffe6ccf8ab20a0c81476a80a87ad245e2fd1c/debian/patches/0001-add-extra-cmake-install-rules.patch"; 36 - sha256 = "u3D9od2xLECNEHhZ+8dkuv9818tPkdP6y/Tvd9CADJg="; 37 - }) 38 - (fetchpatch { 39 - url = "https://github.com/fontforge/fontforge/commit/69e263b2aff29ad22f97f13935cfa97a1eabf207.patch"; 40 - sha256 = "06yyf90605aq6ppfiz83mqkdmnaq5418axp9jgsjyjq78b00xb29"; 41 - }) 42 - ]; 43 - buildInputs = old.buildInputs ++ [ libuninameslist ]; 44 - }); 45 - scfbuild-with-fontforge-20201107 = scfbuild.override (old: { 46 - fontforge = fontforge-20201107; 47 - }); 23 + assert lib.asserts.assertEachOneOf "fontFormats" fontFormats (methods.black ++ methods.color); 24 + assert lib.asserts.assertOneOf "buildMaximumColorFonts" buildMaximumColorFonts [ "none" "bitmap" "svg" ]; 48 25 49 - in stdenv.mkDerivation rec { 26 + stdenvNoCC.mkDerivation rec { 50 27 pname = "openmoji"; 51 - version = "14.0.0"; 28 + version = "15.0.0"; 52 29 53 30 src = fetchFromGitHub { 54 31 owner = "hfg-gmuend"; 55 32 repo = pname; 56 33 rev = version; 57 - sha256 = "sha256-XnSRSlWXOMeSaO6dKaOloRg3+sWS4BSaro4bPqOyKmE="; 34 + hash = "sha256-659ONkHU45Z2789ay0yLero9j5nFWhslpJad++4oNN8="; 58 35 }; 59 36 37 + patches = [ 38 + # fix paths and variables for nix build and skip generating font demos 39 + ./build.patch 40 + ]; 41 + 60 42 nativeBuildInputs = [ 61 - scfbuild-with-fontforge-20201107 62 - nodejs 63 - node-glob 64 - nodePackages.lodash 43 + nanoemoji 44 + python3Packages.fonttools 45 + woff2 46 + xmlstarlet 65 47 ]; 66 48 67 - postPatch = '' 68 - # this is API change in glob >9 69 - substituteInPlace helpers/generate-font-glyphs.js \ 70 - --replace "require('glob').sync" "require('glob').globSync" 49 + methods_black = builtins.filter (m: builtins.elem m fontFormats) methods.black; 50 + methods_color = builtins.filter (m: builtins.elem m fontFormats) methods.color; 51 + saturations = lib.optional (methods_black != [ ]) "black" ++ lib.optional (methods_color != [ ]) "color"; 52 + maximumColorVersions = lib.optionals (buildMaximumColorFonts != "none") ( 53 + lib.optional (builtins.elem "glyf_colr_0" fontFormats) "0" 54 + ++ lib.optional (builtins.elem "glyf_colr_1" fontFormats) "1" 55 + ); 56 + 57 + postPatch = lib.optionalString (buildMaximumColorFonts == "bitmap") '' 58 + substituteInPlace helpers/generate-fonts-runner.sh \ 59 + --replace 'maximum_color' 'maximum_color --bitmaps' 71 60 ''; 72 61 73 62 buildPhase = '' 74 63 runHook preBuild 75 64 76 - node helpers/generate-font-glyphs.js 77 - 78 - cd font 79 - scfbuild -c scfbuild-${variant}.yml 65 + bash helpers/generate-fonts-runner.sh "$(pwd)/build" "${version}" 80 66 81 67 runHook postBuild 82 68 ''; 83 69 84 70 installPhase = '' 85 - install -Dm644 ${filename} $out/share/fonts/truetype/${filename} 71 + runHook preInstall 72 + 73 + mkdir -p $out/share/fonts/truetype $out/share/fonts/woff2 74 + cp build/fonts/*/*.ttf $out/share/fonts/truetype/ 75 + cp build/fonts/*/*.woff2 $out/share/fonts/woff2/ 76 + 77 + runHook postInstall 86 78 ''; 87 79 88 80 meta = with lib; { 89 81 license = licenses.cc-by-sa-40; 90 - maintainers = with maintainers; [ fgaz ]; 82 + maintainers = with maintainers; [ _999eagle fgaz ]; 91 83 platforms = platforms.all; 92 84 homepage = "https://openmoji.org/"; 93 85 downloadPage = "https://github.com/hfg-gmuend/openmoji/releases";
+5 -5
pkgs/data/misc/sing-geosite/default.nix
··· 1 1 { lib 2 - , buildGo120Module 2 + , buildGoModule 3 3 , fetchFromGitHub 4 4 , substituteAll 5 5 , v2ray-domain-list-community ··· 11 11 geosite_data = "${v2ray-domain-list-community}/share/v2ray/geosite.dat"; 12 12 }; 13 13 in 14 - buildGo120Module { 14 + buildGoModule { 15 15 pname = "sing-geosite"; 16 16 inherit (v2ray-domain-list-community) version; 17 17 18 18 src = fetchFromGitHub { 19 19 owner = "SagerNet"; 20 20 repo = "sing-geosite"; 21 - rev = "4a32d56c1705f77668beb5828df0b0a051efdeb9"; 22 - hash = "sha256-P/EBcwJI2G9327BNi84R+q6BABx9DEKpN6ETTp8Q4NU="; 21 + rev = "bbd9f11bb9245463bf9d5614b74014fe5803b989"; 22 + hash = "sha256-UQChYKgN5JZk+KZ2c5Ffh/rQi6/TVeFQkbH6mpLx4x8="; 23 23 }; 24 24 25 - vendorHash = "sha256-uQOmUXT2wd40DwwTCMnFFKd47eu+BPBDjiCGtUNFoKY="; 25 + vendorHash = "sha256-C6idJDUp6AFe50tQ+4mmZsxuOKH8JSeC1p7XVRZ224E="; 26 26 27 27 patchPhase = '' 28 28 sed -i -e '/func main()/,/^}/d' -e '/"io"/a "io/ioutil"' main.go
+6 -5
pkgs/data/misc/v2ray-geoip/default.nix
··· 1 1 { lib 2 2 , stdenvNoCC 3 + , fetchpatch 3 4 , fetchFromGitHub 4 5 , pkgsBuildBuild 5 6 , jq ··· 8 9 }: 9 10 10 11 let 11 - generator = pkgsBuildBuild.buildGo120Module { 12 + generator = pkgsBuildBuild.buildGoModule rec { 12 13 pname = "v2ray-geoip"; 13 - version = "unstable-2023-10-11"; 14 + version = "202403140037"; 14 15 15 16 src = fetchFromGitHub { 16 17 owner = "v2fly"; 17 18 repo = "geoip"; 18 - rev = "3182dda7b38c900f28505b91a44b09ec486e6f36"; 19 - hash = "sha256-KSRgof78jScwnUeMtryj34J0mBsM/x9hFE4H9WtZUuM="; 19 + rev = version; 20 + hash = "sha256-nqobjgeDvD5RYvCVVd14XC/tb/+SVfvdQUFZ3gfeDrI="; 20 21 }; 21 22 22 - vendorHash = "sha256-rlRazevKnWy/Ig143s8TZgV3JlQMlHID9rnncLYhQDc="; 23 + vendorHash = "sha256-cuKcrYAzjIt6Z4wYg5R6JeL413NDwTub2fZndXEKdTo="; 23 24 24 25 meta = with lib; { 25 26 description = "GeoIP for V2Ray";
+4 -4
pkgs/desktops/gnome/extensions/valent/default.nix
··· 26 26 extensionPortalSlug = "valent"; 27 27 }; 28 28 29 - meta = with lib; { 29 + meta = { 30 30 description = "GNOME Shell integration for Valent"; 31 31 homepage = "https://valent.andyholmes.ca/"; 32 32 changelog = "https://github.com/andyholmes/gnome-shell-extension-valent/blob/${src.rev}/CHANGELOG.md"; 33 - license = licenses.gpl3Plus; 34 - maintainers = [ ]; 35 - platforms = platforms.linux; 33 + license = lib.licenses.gpl3Plus; 34 + maintainers = with lib.maintainers; [ federicoschonborn ]; 35 + platforms = lib.platforms.linux; 36 36 }; 37 37 }
+1 -1
pkgs/desktops/xfce/core/libxfce4windowing/default.nix
··· 13 13 meta = { 14 14 description = "Windowing concept abstraction library for X11 and Wayland"; 15 15 license = lib.licenses.lgpl21Plus; 16 - maintainers = lib.teams.xfce.members; 16 + maintainers = lib.teams.xfce.members ++ [ lib.maintainers.federicoschonborn ]; 17 17 }; 18 18 }
-189
pkgs/development/compilers/go/1.20.nix
··· 1 - { lib 2 - , stdenv 3 - , fetchurl 4 - , tzdata 5 - , substituteAll 6 - , iana-etc 7 - , Security 8 - , Foundation 9 - , xcbuild 10 - , mailcap 11 - , buildPackages 12 - , pkgsBuildTarget 13 - , threadsCross 14 - , testers 15 - , skopeo 16 - , buildGo120Module 17 - }: 18 - 19 - let 20 - useGccGoBootstrap = stdenv.buildPlatform.isMusl || stdenv.buildPlatform.isRiscV; 21 - goBootstrap = if useGccGoBootstrap then buildPackages.gccgo12 else buildPackages.callPackage ./bootstrap117.nix { }; 22 - 23 - skopeoTest = skopeo.override { buildGoModule = buildGo120Module; }; 24 - 25 - goarch = platform: { 26 - "aarch64" = "arm64"; 27 - "arm" = "arm"; 28 - "armv5tel" = "arm"; 29 - "armv6l" = "arm"; 30 - "armv7l" = "arm"; 31 - "i686" = "386"; 32 - "mips" = "mips"; 33 - "mips64el" = "mips64le"; 34 - "mipsel" = "mipsle"; 35 - "powerpc64le" = "ppc64le"; 36 - "riscv64" = "riscv64"; 37 - "s390x" = "s390x"; 38 - "x86_64" = "amd64"; 39 - }.${platform.parsed.cpu.name} or (throw "Unsupported system: ${platform.parsed.cpu.name}"); 40 - 41 - # We need a target compiler which is still runnable at build time, 42 - # to handle the cross-building case where build != host == target 43 - targetCC = pkgsBuildTarget.targetPackages.stdenv.cc; 44 - 45 - isCross = stdenv.buildPlatform != stdenv.targetPlatform; 46 - in 47 - stdenv.mkDerivation (finalAttrs: { 48 - pname = "go"; 49 - version = "1.20.14"; 50 - 51 - src = fetchurl { 52 - url = "https://go.dev/dl/go${finalAttrs.version}.src.tar.gz"; 53 - hash = "sha256-Gu8yGg4+OLfpHS1+tkBAZmyr3Md9OD3jyVItDWm2f04="; 54 - }; 55 - 56 - strictDeps = true; 57 - buildInputs = [ ] 58 - ++ lib.optionals stdenv.isLinux [ stdenv.cc.libc.out ] 59 - ++ lib.optionals (stdenv.hostPlatform.libc == "glibc") [ stdenv.cc.libc.static ]; 60 - 61 - depsTargetTargetPropagated = lib.optionals stdenv.targetPlatform.isDarwin [ Foundation Security xcbuild ]; 62 - 63 - depsBuildTarget = lib.optional isCross targetCC; 64 - 65 - depsTargetTarget = lib.optional stdenv.targetPlatform.isWindows threadsCross.package; 66 - 67 - postPatch = '' 68 - patchShebangs . 69 - ''; 70 - 71 - patches = [ 72 - (substituteAll { 73 - src = ./iana-etc-1.17.patch; 74 - iana = iana-etc; 75 - }) 76 - # Patch the mimetype database location which is missing on NixOS. 77 - # but also allow static binaries built with NixOS to run outside nix 78 - (substituteAll { 79 - src = ./mailcap-1.17.patch; 80 - inherit mailcap; 81 - }) 82 - # prepend the nix path to the zoneinfo files but also leave the original value for static binaries 83 - # that run outside a nix server 84 - (substituteAll { 85 - src = ./tzdata-1.19.patch; 86 - inherit tzdata; 87 - }) 88 - ./remove-tools-1.11.patch 89 - ./go_no_vendor_checks-1.16.patch 90 - ]; 91 - 92 - GOOS = stdenv.targetPlatform.parsed.kernel.name; 93 - GOARCH = goarch stdenv.targetPlatform; 94 - # GOHOSTOS/GOHOSTARCH must match the building system, not the host system. 95 - # Go will nevertheless build a for host system that we will copy over in 96 - # the install phase. 97 - GOHOSTOS = stdenv.buildPlatform.parsed.kernel.name; 98 - GOHOSTARCH = goarch stdenv.buildPlatform; 99 - 100 - # {CC,CXX}_FOR_TARGET must be only set for cross compilation case as go expect those 101 - # to be different from CC/CXX 102 - CC_FOR_TARGET = 103 - if isCross then 104 - "${targetCC}/bin/${targetCC.targetPrefix}cc" 105 - else 106 - null; 107 - CXX_FOR_TARGET = 108 - if isCross then 109 - "${targetCC}/bin/${targetCC.targetPrefix}c++" 110 - else 111 - null; 112 - 113 - GOARM = toString (lib.intersectLists [ (stdenv.hostPlatform.parsed.cpu.version or "") ] [ "5" "6" "7" ]); 114 - GO386 = "softfloat"; # from Arch: don't assume sse2 on i686 115 - CGO_ENABLED = 1; 116 - 117 - GOROOT_BOOTSTRAP = if useGccGoBootstrap then goBootstrap else "${goBootstrap}/share/go"; 118 - 119 - buildPhase = '' 120 - runHook preBuild 121 - export GOCACHE=$TMPDIR/go-cache 122 - # this is compiled into the binary 123 - export GOROOT_FINAL=$out/share/go 124 - 125 - export PATH=$(pwd)/bin:$PATH 126 - 127 - ${lib.optionalString isCross '' 128 - # Independent from host/target, CC should produce code for the building system. 129 - # We only set it when cross-compiling. 130 - export CC=${buildPackages.stdenv.cc}/bin/cc 131 - ''} 132 - ulimit -a 133 - 134 - pushd src 135 - ./make.bash 136 - popd 137 - runHook postBuild 138 - ''; 139 - 140 - preInstall = '' 141 - # Contains the wrong perl shebang when cross compiling, 142 - # since it is not used for anything we can deleted as well. 143 - rm src/regexp/syntax/make_perl_groups.pl 144 - '' + (if (stdenv.buildPlatform.system != stdenv.hostPlatform.system) then '' 145 - mv bin/*_*/* bin 146 - rmdir bin/*_* 147 - ${lib.optionalString (!(finalAttrs.GOHOSTARCH == finalAttrs.GOARCH && finalAttrs.GOOS == finalAttrs.GOHOSTOS)) '' 148 - rm -rf pkg/${finalAttrs.GOHOSTOS}_${finalAttrs.GOHOSTARCH} pkg/tool/${finalAttrs.GOHOSTOS}_${finalAttrs.GOHOSTARCH} 149 - ''} 150 - '' else lib.optionalString (stdenv.hostPlatform.system != stdenv.targetPlatform.system) '' 151 - rm -rf bin/*_* 152 - ${lib.optionalString (!(finalAttrs.GOHOSTARCH == finalAttrs.GOARCH && finalAttrs.GOOS == finalAttrs.GOHOSTOS)) '' 153 - rm -rf pkg/${finalAttrs.GOOS}_${finalAttrs.GOARCH} pkg/tool/${finalAttrs.GOOS}_${finalAttrs.GOARCH} 154 - ''} 155 - ''); 156 - 157 - installPhase = '' 158 - runHook preInstall 159 - mkdir -p $GOROOT_FINAL 160 - cp -a bin pkg src lib misc api doc $GOROOT_FINAL 161 - mkdir -p $out/bin 162 - ln -s $GOROOT_FINAL/bin/* $out/bin 163 - runHook postInstall 164 - ''; 165 - 166 - disallowedReferences = [ goBootstrap ]; 167 - 168 - passthru = { 169 - inherit goBootstrap skopeoTest; 170 - tests = { 171 - skopeo = testers.testVersion { package = skopeoTest; }; 172 - version = testers.testVersion { 173 - package = finalAttrs.finalPackage; 174 - command = "go version"; 175 - version = "go${finalAttrs.version}"; 176 - }; 177 - }; 178 - }; 179 - 180 - meta = with lib; { 181 - changelog = "https://go.dev/doc/devel/release#go${lib.versions.majorMinor finalAttrs.version}"; 182 - description = "The Go Programming language"; 183 - homepage = "https://go.dev/"; 184 - license = licenses.bsd3; 185 - maintainers = teams.golang.members; 186 - platforms = platforms.darwin ++ platforms.linux; 187 - mainProgram = "go"; 188 - }; 189 - })
-138
pkgs/development/compilers/llvm/11/clang/default.nix
··· 1 - { lib, stdenv, llvm_meta, fetch, substituteAll, cmake, libxml2, libllvm, version, clang-tools-extra_src, python3 2 - , buildLlvmTools 3 - , fixDarwinDylibNames 4 - , enableManpages ? false 5 - , enablePolly ? false 6 - }: 7 - 8 - let 9 - self = stdenv.mkDerivation ({ 10 - pname = "clang"; 11 - inherit version; 12 - 13 - src = fetch "clang" "12sm91qx2m79cvj75a9aazf2x8xybjbd593dv6v7rxficpq8i0ha"; 14 - inherit clang-tools-extra_src; 15 - 16 - unpackPhase = '' 17 - unpackFile $src 18 - mv clang-* clang 19 - sourceRoot=$PWD/clang 20 - unpackFile ${clang-tools-extra_src} 21 - mv clang-tools-extra-* $sourceRoot/tools/extra 22 - ''; 23 - 24 - nativeBuildInputs = [ cmake python3 ] 25 - ++ lib.optional enableManpages python3.pkgs.sphinx 26 - ++ lib.optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames; 27 - 28 - buildInputs = [ libxml2 libllvm ]; 29 - 30 - cmakeFlags = [ 31 - "-DCLANGD_BUILD_XPC=OFF" 32 - "-DLLVM_ENABLE_RTTI=ON" 33 - ] ++ lib.optionals enableManpages [ 34 - "-DCLANG_INCLUDE_DOCS=ON" 35 - "-DLLVM_ENABLE_SPHINX=ON" 36 - "-DSPHINX_OUTPUT_MAN=ON" 37 - "-DSPHINX_OUTPUT_HTML=OFF" 38 - "-DSPHINX_WARNINGS_AS_ERRORS=OFF" 39 - ] ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ 40 - "-DLLVM_TABLEGEN_EXE=${buildLlvmTools.llvm}/bin/llvm-tblgen" 41 - "-DCLANG_TABLEGEN=${buildLlvmTools.libclang.dev}/bin/clang-tblgen" 42 - ] ++ lib.optionals enablePolly [ 43 - "-DWITH_POLLY=ON" 44 - "-DLINK_POLLY_INTO_TOOLS=ON" 45 - ]; 46 - 47 - 48 - patches = [ 49 - ./purity.patch 50 - # https://reviews.llvm.org/D51899 51 - ./gnu-install-dirs.patch 52 - (substituteAll { 53 - src = ../../common/clang/clang-11-15-LLVMgold-path.patch; 54 - libllvmLibdir = "${libllvm.lib}/lib"; 55 - }) 56 - ]; 57 - 58 - postPatch = '' 59 - sed -i -e 's/DriverArgs.hasArg(options::OPT_nostdlibinc)/true/' \ 60 - -e 's/Args.hasArg(options::OPT_nostdlibinc)/true/' \ 61 - lib/Driver/ToolChains/*.cpp 62 - '' + lib.optionalString stdenv.hostPlatform.isMusl '' 63 - sed -i -e 's/lgcc_s/lgcc_eh/' lib/Driver/ToolChains/*.cpp 64 - '' + lib.optionalString stdenv.hostPlatform.isDarwin '' 65 - substituteInPlace tools/extra/clangd/CMakeLists.txt \ 66 - --replace "NOT HAVE_CXX_ATOMICS64_WITHOUT_LIB" FALSE 67 - ''; 68 - 69 - outputs = [ "out" "lib" "dev" "python" ]; 70 - 71 - postInstall = '' 72 - ln -sv $out/bin/clang $out/bin/cpp 73 - 74 - # Move libclang to 'lib' output 75 - moveToOutput "lib/libclang.*" "$lib" 76 - moveToOutput "lib/libclang-cpp.*" "$lib" 77 - substituteInPlace $out/lib/cmake/clang/ClangTargets-release.cmake \ 78 - --replace "\''${_IMPORT_PREFIX}/lib/libclang." "$lib/lib/libclang." \ 79 - --replace "\''${_IMPORT_PREFIX}/lib/libclang-cpp." "$lib/lib/libclang-cpp." 80 - 81 - mkdir -p $python/bin $python/share/{clang,scan-view} 82 - mv $out/bin/{git-clang-format,scan-view} $python/bin 83 - if [ -e $out/bin/set-xcode-analyzer ]; then 84 - mv $out/bin/set-xcode-analyzer $python/bin 85 - fi 86 - mv $out/share/clang/*.py $python/share/clang 87 - mv $out/share/scan-view/*.py $python/share/scan-view 88 - rm $out/bin/c-index-test 89 - patchShebangs $python/bin 90 - 91 - mkdir -p $dev/bin 92 - cp bin/clang-tblgen $dev/bin 93 - ''; 94 - 95 - passthru = { 96 - inherit libllvm; 97 - isClang = true; 98 - hardeningUnsupportedFlags = [ "fortify3" "zerocallusedregs" ]; 99 - }; 100 - 101 - meta = llvm_meta // { 102 - homepage = "https://clang.llvm.org/"; 103 - description = "A C language family frontend for LLVM"; 104 - longDescription = '' 105 - The Clang project provides a language front-end and tooling 106 - infrastructure for languages in the C language family (C, C++, Objective 107 - C/C++, OpenCL, CUDA, and RenderScript) for the LLVM project. 108 - It aims to deliver amazingly fast compiles, extremely useful error and 109 - warning messages and to provide a platform for building great source 110 - level tools. The Clang Static Analyzer and clang-tidy are tools that 111 - automatically find bugs in your code, and are great examples of the sort 112 - of tools that can be built using the Clang frontend as a library to 113 - parse C/C++ code. 114 - ''; 115 - mainProgram = "clang"; 116 - }; 117 - } // lib.optionalAttrs enableManpages { 118 - pname = "clang-manpages"; 119 - 120 - buildPhase = '' 121 - make docs-clang-man 122 - ''; 123 - 124 - installPhase = '' 125 - mkdir -p $out/share/man/man1 126 - # Manually install clang manpage 127 - cp docs/man/*.1 $out/share/man/man1/ 128 - ''; 129 - 130 - outputs = [ "out" ]; 131 - 132 - doCheck = false; 133 - 134 - meta = llvm_meta // { 135 - description = "man page for Clang ${version}"; 136 - }; 137 - }); 138 - in self
-235
pkgs/development/compilers/llvm/11/clang/gnu-install-dirs.patch
··· 1 - diff --git a/CMakeLists.txt b/CMakeLists.txt 2 - index bb4b801f01c8..77a8b43b22c8 100644 3 - --- a/CMakeLists.txt 4 - +++ b/CMakeLists.txt 5 - @@ -9,6 +9,8 @@ endif() 6 - if( CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR ) 7 - project(Clang) 8 - 9 - + include(GNUInstallDirs) 10 - + 11 - set(CMAKE_CXX_STANDARD 14 CACHE STRING "C++ standard to conform to") 12 - set(CMAKE_CXX_STANDARD_REQUIRED YES) 13 - set(CMAKE_CXX_EXTENSIONS NO) 14 - @@ -447,7 +449,7 @@ include_directories(BEFORE 15 - 16 - if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY) 17 - install(DIRECTORY include/clang include/clang-c 18 - - DESTINATION include 19 - + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} 20 - COMPONENT clang-headers 21 - FILES_MATCHING 22 - PATTERN "*.def" 23 - @@ -457,7 +459,7 @@ if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY) 24 - ) 25 - 26 - install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/include/clang 27 - - DESTINATION include 28 - + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} 29 - COMPONENT clang-headers 30 - FILES_MATCHING 31 - PATTERN "CMakeFiles" EXCLUDE 32 - @@ -477,7 +479,7 @@ if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY) 33 - 34 - add_custom_target(bash-autocomplete DEPENDS utils/bash-autocomplete.sh) 35 - install(PROGRAMS utils/bash-autocomplete.sh 36 - - DESTINATION share/clang 37 - + DESTINATION ${CMAKE_INSTALL_DATADIR}/clang 38 - COMPONENT bash-autocomplete) 39 - if(NOT LLVM_ENABLE_IDE) 40 - add_llvm_install_targets(install-bash-autocomplete 41 - diff --git a/cmake/modules/AddClang.cmake b/cmake/modules/AddClang.cmake 42 - index 704278a0e93b..d25c8d325c71 100644 43 - --- a/cmake/modules/AddClang.cmake 44 - +++ b/cmake/modules/AddClang.cmake 45 - @@ -123,9 +123,9 @@ macro(add_clang_library name) 46 - install(TARGETS ${lib} 47 - COMPONENT ${lib} 48 - ${export_to_clangtargets} 49 - - LIBRARY DESTINATION lib${LLVM_LIBDIR_SUFFIX} 50 - - ARCHIVE DESTINATION lib${LLVM_LIBDIR_SUFFIX} 51 - - RUNTIME DESTINATION bin) 52 - + LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}${LLVM_LIBDIR_SUFFIX} 53 - + ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}${LLVM_LIBDIR_SUFFIX} 54 - + RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) 55 - 56 - if (NOT LLVM_ENABLE_IDE) 57 - add_llvm_install_targets(install-${lib} 58 - @@ -170,7 +170,7 @@ macro(add_clang_tool name) 59 - 60 - install(TARGETS ${name} 61 - ${export_to_clangtargets} 62 - - RUNTIME DESTINATION bin 63 - + RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} 64 - COMPONENT ${name}) 65 - 66 - if(NOT LLVM_ENABLE_IDE) 67 - @@ -185,7 +185,7 @@ endmacro() 68 - macro(add_clang_symlink name dest) 69 - add_llvm_tool_symlink(${name} ${dest} ALWAYS_GENERATE) 70 - # Always generate install targets 71 - - llvm_install_symlink(${name} ${dest} ALWAYS_GENERATE) 72 - + llvm_install_symlink(${name} ${dest} ${CMAKE_INSTALL_FULL_BINDIR} ALWAYS_GENERATE) 73 - endmacro() 74 - 75 - function(clang_target_link_libraries target type) 76 - diff --git a/lib/Headers/CMakeLists.txt b/lib/Headers/CMakeLists.txt 77 - index 0692fe75a441..6f201e7207d0 100644 78 - --- a/lib/Headers/CMakeLists.txt 79 - +++ b/lib/Headers/CMakeLists.txt 80 - @@ -208,7 +208,7 @@ set_target_properties(clang-resource-headers PROPERTIES 81 - FOLDER "Misc" 82 - RUNTIME_OUTPUT_DIRECTORY "${output_dir}") 83 - 84 - -set(header_install_dir lib${LLVM_LIBDIR_SUFFIX}/clang/${CLANG_VERSION}/include) 85 - +set(header_install_dir ${CMAKE_INSTALL_LIBDIR}${LLVM_LIBDIR_SUFFIX}/clang/${CLANG_VERSION}/include) 86 - 87 - install( 88 - FILES ${files} ${generated_files} 89 - diff --git a/tools/c-index-test/CMakeLists.txt b/tools/c-index-test/CMakeLists.txt 90 - index ceef4b08637c..8efad5520ca4 100644 91 - --- a/tools/c-index-test/CMakeLists.txt 92 - +++ b/tools/c-index-test/CMakeLists.txt 93 - @@ -54,7 +54,7 @@ if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY) 94 - set_property(TARGET c-index-test APPEND PROPERTY INSTALL_RPATH 95 - "@executable_path/../../lib") 96 - else() 97 - - set(INSTALL_DESTINATION bin) 98 - + set(INSTALL_DESTINATION ${CMAKE_INSTALL_BINDIR}) 99 - endif() 100 - 101 - install(TARGETS c-index-test 102 - diff --git a/tools/clang-format/CMakeLists.txt b/tools/clang-format/CMakeLists.txt 103 - index 35ecdb11253c..d77d75de0094 100644 104 - --- a/tools/clang-format/CMakeLists.txt 105 - +++ b/tools/clang-format/CMakeLists.txt 106 - @@ -21,20 +21,20 @@ if( LLVM_LIB_FUZZING_ENGINE OR LLVM_USE_SANITIZE_COVERAGE ) 107 - endif() 108 - 109 - install(PROGRAMS clang-format-bbedit.applescript 110 - - DESTINATION share/clang 111 - + DESTINATION ${CMAKE_INSTALL_DATADIR}/clang 112 - COMPONENT clang-format) 113 - install(PROGRAMS clang-format-diff.py 114 - - DESTINATION share/clang 115 - + DESTINATION ${CMAKE_INSTALL_DATADIR}/clang 116 - COMPONENT clang-format) 117 - install(PROGRAMS clang-format-sublime.py 118 - - DESTINATION share/clang 119 - + DESTINATION ${CMAKE_INSTALL_DATADIR}/clang 120 - COMPONENT clang-format) 121 - install(PROGRAMS clang-format.el 122 - - DESTINATION share/clang 123 - + DESTINATION ${CMAKE_INSTALL_DATADIR}/clang 124 - COMPONENT clang-format) 125 - install(PROGRAMS clang-format.py 126 - - DESTINATION share/clang 127 - + DESTINATION ${CMAKE_INSTALL_DATADIR}/clang 128 - COMPONENT clang-format) 129 - install(PROGRAMS git-clang-format 130 - - DESTINATION bin 131 - + DESTINATION ${CMAKE_INSTALL_BINDIR} 132 - COMPONENT clang-format) 133 - diff --git a/tools/clang-rename/CMakeLists.txt b/tools/clang-rename/CMakeLists.txt 134 - index cda8e29ec5b1..0134d8ccd70b 100644 135 - --- a/tools/clang-rename/CMakeLists.txt 136 - +++ b/tools/clang-rename/CMakeLists.txt 137 - @@ -19,8 +19,8 @@ clang_target_link_libraries(clang-rename 138 - ) 139 - 140 - install(PROGRAMS clang-rename.py 141 - - DESTINATION share/clang 142 - + DESTINATION ${CMAKE_INSTALL_DATADIR}/clang 143 - COMPONENT clang-rename) 144 - install(PROGRAMS clang-rename.el 145 - - DESTINATION share/clang 146 - + DESTINATION ${CMAKE_INSTALL_DATADIR}/clang 147 - COMPONENT clang-rename) 148 - diff --git a/tools/libclang/CMakeLists.txt b/tools/libclang/CMakeLists.txt 149 - index 5cd9ac5cddc1..a197676fedbd 100644 150 - --- a/tools/libclang/CMakeLists.txt 151 - +++ b/tools/libclang/CMakeLists.txt 152 - @@ -165,7 +165,7 @@ endif() 153 - if(INTERNAL_INSTALL_PREFIX) 154 - set(LIBCLANG_HEADERS_INSTALL_DESTINATION "${INTERNAL_INSTALL_PREFIX}/include") 155 - else() 156 - - set(LIBCLANG_HEADERS_INSTALL_DESTINATION include) 157 - + set(LIBCLANG_HEADERS_INSTALL_DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) 158 - endif() 159 - 160 - install(DIRECTORY ../../include/clang-c 161 - @@ -196,7 +196,7 @@ foreach(PythonVersion ${CLANG_PYTHON_BINDINGS_VERSIONS}) 162 - COMPONENT 163 - libclang-python-bindings 164 - DESTINATION 165 - - "lib${LLVM_LIBDIR_SUFFIX}/python${PythonVersion}/site-packages") 166 - + "${CMAKE_INSTALL_LIBDIR}${LLVM_LIBDIR_SUFFIX}/python${PythonVersion}/site-packages") 167 - endforeach() 168 - if(NOT LLVM_ENABLE_IDE) 169 - add_custom_target(libclang-python-bindings) 170 - diff --git a/tools/scan-build/CMakeLists.txt b/tools/scan-build/CMakeLists.txt 171 - index ec0702d76f18..d25d982f51da 100644 172 - --- a/tools/scan-build/CMakeLists.txt 173 - +++ b/tools/scan-build/CMakeLists.txt 174 - @@ -47,7 +47,7 @@ if(CLANG_INSTALL_SCANBUILD) 175 - DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/bin/${BinFile}) 176 - list(APPEND Depends ${CMAKE_BINARY_DIR}/bin/${BinFile}) 177 - install(PROGRAMS bin/${BinFile} 178 - - DESTINATION bin 179 - + DESTINATION ${CMAKE_INSTALL_BINDIR} 180 - COMPONENT scan-build) 181 - endforeach() 182 - 183 - @@ -61,7 +61,7 @@ if(CLANG_INSTALL_SCANBUILD) 184 - DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/libexec/${LibexecFile}) 185 - list(APPEND Depends ${CMAKE_BINARY_DIR}/libexec/${LibexecFile}) 186 - install(PROGRAMS libexec/${LibexecFile} 187 - - DESTINATION libexec 188 - + DESTINATION ${CMAKE_INSTALL_LIBEXECDIR} 189 - COMPONENT scan-build) 190 - endforeach() 191 - 192 - @@ -89,7 +89,7 @@ if(CLANG_INSTALL_SCANBUILD) 193 - DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/share/scan-build/${ShareFile}) 194 - list(APPEND Depends ${CMAKE_BINARY_DIR}/share/scan-build/${ShareFile}) 195 - install(FILES share/scan-build/${ShareFile} 196 - - DESTINATION share/scan-build 197 - + DESTINATION ${CMAKE_INSTALL_DATADIR}/scan-build 198 - COMPONENT scan-build) 199 - endforeach() 200 - 201 - diff --git a/tools/scan-view/CMakeLists.txt b/tools/scan-view/CMakeLists.txt 202 - index 22edb974bac7..9f140a9a4538 100644 203 - --- a/tools/scan-view/CMakeLists.txt 204 - +++ b/tools/scan-view/CMakeLists.txt 205 - @@ -22,7 +22,7 @@ if(CLANG_INSTALL_SCANVIEW) 206 - DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/bin/${BinFile}) 207 - list(APPEND Depends ${CMAKE_BINARY_DIR}/bin/${BinFile}) 208 - install(PROGRAMS bin/${BinFile} 209 - - DESTINATION bin 210 - + DESTINATION ${CMAKE_INSTALL_BINDIR} 211 - COMPONENT scan-view) 212 - endforeach() 213 - 214 - @@ -36,7 +36,7 @@ if(CLANG_INSTALL_SCANVIEW) 215 - DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/share/${ShareFile}) 216 - list(APPEND Depends ${CMAKE_BINARY_DIR}/share/scan-view/${ShareFile}) 217 - install(FILES share/${ShareFile} 218 - - DESTINATION share/scan-view 219 - + DESTINATION ${CMAKE_INSTALL_DATADIR}/scan-view 220 - COMPONENT scan-view) 221 - endforeach() 222 - 223 - diff --git a/utils/hmaptool/CMakeLists.txt b/utils/hmaptool/CMakeLists.txt 224 - index 62f2de0cb15c..6aa66825b6ec 100644 225 - --- a/utils/hmaptool/CMakeLists.txt 226 - +++ b/utils/hmaptool/CMakeLists.txt 227 - @@ -10,7 +10,7 @@ add_custom_command(OUTPUT ${CMAKE_BINARY_DIR}/${CMAKE_CFG_INTDIR}/bin/${CLANG_HM 228 - 229 - list(APPEND Depends ${CMAKE_BINARY_DIR}/${CMAKE_CFG_INTDIR}/bin/${CLANG_HMAPTOOL}) 230 - install(PROGRAMS ${CLANG_HMAPTOOL} 231 - - DESTINATION bin 232 - + DESTINATION ${CMAKE_INSTALL_BINDIR} 233 - COMPONENT hmaptool) 234 - 235 - add_custom_target(hmaptool ALL DEPENDS ${Depends})
-28
pkgs/development/compilers/llvm/11/clang/purity.patch
··· 1 - From 4add81bba40dcec62c4ea4481be8e35ac53e89d8 Mon Sep 17 00:00:00 2001 2 - From: Will Dietz <w@wdtz.org> 3 - Date: Thu, 18 May 2017 11:56:12 -0500 4 - Subject: [PATCH] "purity" patch for 5.0 5 - 6 - --- 7 - lib/Driver/ToolChains/Gnu.cpp | 7 ------- 8 - 1 file changed, 7 deletions(-) 9 - 10 - diff --git a/lib/Driver/ToolChains/Gnu.cpp b/lib/Driver/ToolChains/Gnu.cpp 11 - index fe3c0191bb..c6a482bece 100644 12 - --- a/lib/Driver/ToolChains/Gnu.cpp 13 - +++ b/lib/Driver/ToolChains/Gnu.cpp 14 - @@ -487,12 +487,6 @@ void tools::gnutools::Linker::ConstructJob(Compilation &C, const JobAction &JA, 15 - if (!IsStatic) { 16 - if (Args.hasArg(options::OPT_rdynamic)) 17 - CmdArgs.push_back("-export-dynamic"); 18 - - 19 - - if (!Args.hasArg(options::OPT_shared) && !IsStaticPIE) { 20 - - CmdArgs.push_back("-dynamic-linker"); 21 - - CmdArgs.push_back(Args.MakeArgString(Twine(D.DyldPrefix) + 22 - - ToolChain.getDynamicLinker(Args))); 23 - - } 24 - } 25 - 26 - CmdArgs.push_back("-o"); 27 - -- 28 - 2.11.0
-23
pkgs/development/compilers/llvm/11/compiler-rt/X86-support-extension.patch
··· 1 - diff --git a/lib/builtins/CMakeLists.txt b/lib/builtins/CMakeLists.txt 2 - index 3a66dd9c3fb..7efc85d9f9f 100644 3 - --- a/lib/builtins/CMakeLists.txt 4 - +++ b/lib/builtins/CMakeLists.txt 5 - @@ -301,6 +301,10 @@ if (NOT MSVC) 6 - i386/umoddi3.S 7 - ) 8 - 9 - + set(i486_SOURCES ${i386_SOURCES}) 10 - + set(i586_SOURCES ${i386_SOURCES}) 11 - + set(i686_SOURCES ${i386_SOURCES}) 12 - + 13 - if (WIN32) 14 - set(i386_SOURCES 15 - ${i386_SOURCES} 16 - @@ -608,6 +612,7 @@ else () 17 - endif() 18 - 19 - foreach (arch ${BUILTIN_SUPPORTED_ARCH}) 20 - + message("arch: ${arch}") 21 - if (CAN_TARGET_${arch}) 22 - # For ARM archs, exclude any VFP builtins if VFP is not supported 23 - if (${arch} MATCHES "^(arm|armhf|armv7|armv7s|armv7k|armv7m|armv7em)$")
-32
pkgs/development/compilers/llvm/11/compiler-rt/armv7l.patch
··· 1 - diff -ur compiler-rt-10.0.0.src/cmake/builtin-config-ix.cmake compiler-rt-10.0.0.src-patched/cmake/builtin-config-ix.cmake 2 - --- compiler-rt-10.0.0.src/cmake/builtin-config-ix.cmake 2020-03-24 00:01:02.000000000 +0900 3 - +++ compiler-rt-10.0.0.src-patched/cmake/builtin-config-ix.cmake 2020-05-10 03:42:00.883450706 +0900 4 - @@ -24,7 +24,7 @@ 5 - 6 - 7 - set(ARM64 aarch64) 8 - -set(ARM32 arm armhf armv6m armv7m armv7em armv7 armv7s armv7k) 9 - +set(ARM32 arm armhf armv6m armv7m armv7em armv7 armv7s armv7k armv7l) 10 - set(HEXAGON hexagon) 11 - set(X86 i386) 12 - set(X86_64 x86_64) 13 - diff -ur compiler-rt-10.0.0.src/lib/builtins/CMakeLists.txt compiler-rt-10.0.0.src-patched/lib/builtins/CMakeLists.txt 14 - --- compiler-rt-10.0.0.src/lib/builtins/CMakeLists.txt 2020-03-24 00:01:02.000000000 +0900 15 - +++ compiler-rt-10.0.0.src-patched/lib/builtins/CMakeLists.txt 2020-05-10 03:44:49.468579650 +0900 16 - @@ -474,6 +474,7 @@ 17 - set(armv7_SOURCES ${arm_SOURCES}) 18 - set(armv7s_SOURCES ${arm_SOURCES}) 19 - set(armv7k_SOURCES ${arm_SOURCES}) 20 - +set(armv7l_SOURCES ${arm_SOURCES}) 21 - set(arm64_SOURCES ${aarch64_SOURCES}) 22 - 23 - # macho_embedded archs 24 - @@ -595,7 +596,7 @@ 25 - foreach (arch ${BUILTIN_SUPPORTED_ARCH}) 26 - if (CAN_TARGET_${arch}) 27 - # For ARM archs, exclude any VFP builtins if VFP is not supported 28 - - if (${arch} MATCHES "^(arm|armhf|armv7|armv7s|armv7k|armv7m|armv7em)$") 29 - + if (${arch} MATCHES "^(arm|armhf|armv7|armv7s|armv7k|armv7l|armv7m|armv7em)$") 30 - string(REPLACE ";" " " _TARGET_${arch}_CFLAGS "${TARGET_${arch}_CFLAGS}") 31 - check_compile_definition(__VFP_FP__ "${CMAKE_C_FLAGS} ${_TARGET_${arch}_CFLAGS}" COMPILER_RT_HAS_${arch}_VFP) 32 - if(NOT COMPILER_RT_HAS_${arch}_VFP)
-141
pkgs/development/compilers/llvm/11/compiler-rt/default.nix
··· 1 - { lib, stdenv, llvm_meta, version, fetch, cmake, python3, xcbuild, libllvm, libcxxabi, libxcrypt 2 - , doFakeLibgcc ? stdenv.hostPlatform.isFreeBSD 3 - }: 4 - 5 - let 6 - 7 - useLLVM = stdenv.hostPlatform.useLLVM or false; 8 - isNewDarwinBootstrap = stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64; 9 - bareMetal = stdenv.hostPlatform.parsed.kernel.name == "none"; 10 - haveLibc = stdenv.cc.libc != null; 11 - inherit (stdenv.hostPlatform) isMusl; 12 - 13 - in 14 - 15 - stdenv.mkDerivation { 16 - pname = "compiler-rt" + lib.optionalString (haveLibc) "-libc"; 17 - inherit version; 18 - src = fetch "compiler-rt" "0x1j8ngf1zj63wlnns9vlibafq48qcm72p4jpaxkmkb4qw0grwfy"; 19 - 20 - nativeBuildInputs = [ cmake python3 libllvm.dev ] 21 - ++ lib.optional stdenv.isDarwin xcbuild.xcrun; 22 - 23 - env.NIX_CFLAGS_COMPILE = toString [ 24 - "-DSCUDO_DEFAULT_OPTIONS=DeleteSizeMismatch=0:DeallocationTypeMismatch=0" 25 - ]; 26 - 27 - cmakeFlags = [ 28 - "-DCOMPILER_RT_DEFAULT_TARGET_ONLY=ON" 29 - "-DCMAKE_C_COMPILER_TARGET=${stdenv.hostPlatform.config}" 30 - "-DCMAKE_ASM_COMPILER_TARGET=${stdenv.hostPlatform.config}" 31 - ] ++ lib.optionals (haveLibc && stdenv.hostPlatform.isGnu) [ 32 - "-DSANITIZER_COMMON_CFLAGS=-I${libxcrypt}/include" 33 - ] ++ lib.optionals (useLLVM || bareMetal || isMusl || isNewDarwinBootstrap) [ 34 - "-DCOMPILER_RT_BUILD_SANITIZERS=OFF" 35 - "-DCOMPILER_RT_BUILD_XRAY=OFF" 36 - "-DCOMPILER_RT_BUILD_LIBFUZZER=OFF" 37 - ] ++ lib.optionals (useLLVM || bareMetal) [ 38 - "-DCOMPILER_RT_BUILD_PROFILE=OFF" 39 - ] ++ lib.optionals (!haveLibc || bareMetal) [ 40 - "-DCMAKE_C_COMPILER_WORKS=ON" 41 - "-DCMAKE_CXX_COMPILER_WORKS=ON" 42 - "-DCOMPILER_RT_BAREMETAL_BUILD=ON" 43 - "-DCMAKE_SIZEOF_VOID_P=${toString (stdenv.hostPlatform.parsed.cpu.bits / 8)}" 44 - ] ++ lib.optionals (useLLVM || isNewDarwinBootstrap) [ 45 - "-DCOMPILER_RT_BUILD_BUILTINS=ON" 46 - #https://stackoverflow.com/questions/53633705/cmake-the-c-compiler-is-not-able-to-compile-a-simple-test-program 47 - "-DCMAKE_TRY_COMPILE_TARGET_TYPE=STATIC_LIBRARY" 48 - ] ++ lib.optionals (bareMetal) [ 49 - "-DCOMPILER_RT_OS_DIR=baremetal" 50 - ] ++ lib.optionals (stdenv.hostPlatform.isDarwin) [ 51 - "-DDARWIN_macosx_OVERRIDE_SDK_VERSION=ON" 52 - "-DDARWIN_osx_ARCHS=${stdenv.hostPlatform.darwinArch}" 53 - "-DDARWIN_osx_BUILTIN_ARCHS=${stdenv.hostPlatform.darwinArch}" 54 - ]; 55 - 56 - outputs = [ "out" "dev" ]; 57 - 58 - patches = [ 59 - ../../common/compiler-rt/7-12-codesign.patch # Revert compiler-rt commit that makes codesign mandatory 60 - ./X86-support-extension.patch # Add support for i486 i586 i686 by reusing i386 config 61 - ./gnu-install-dirs.patch 62 - # ld-wrapper dislikes `-rpath-link //nix/store`, so we normalize away the 63 - # extra `/`. 64 - ./normalize-var.patch 65 - ../../common/compiler-rt/libsanitizer-no-cyclades-11.patch 66 - ../../common/compiler-rt/darwin-plistbuddy-workaround.patch 67 - ./armv7l.patch 68 - # Fix build on armv6l 69 - ../../common/compiler-rt/armv6-mcr-dmb.patch 70 - ../../common/compiler-rt/armv6-sync-ops-no-thumb.patch 71 - ../../common/compiler-rt/armv6-no-ldrexd-strexd.patch 72 - ]; 73 - 74 - preConfigure = lib.optionalString stdenv.hostPlatform.isDarwin '' 75 - cmakeFlagsArray+=("-DCMAKE_LIPO=$(command -v ${stdenv.cc.targetPrefix}lipo)") 76 - '' + lib.optionalString (!haveLibc) '' 77 - cmakeFlagsArray+=("-DCMAKE_C_FLAGS=-nodefaultlibs -ffreestanding") 78 - ''; 79 - 80 - # TSAN requires XPC on Darwin, which we have no public/free source files for. We can depend on the Apple frameworks 81 - # to get it, but they're unfree. Since LLVM is rather central to the stdenv, we patch out TSAN support so that Hydra 82 - # can build this. If we didn't do it, basically the entire nixpkgs on Darwin would have an unfree dependency and we'd 83 - # get no binary cache for the entire platform. If you really find yourself wanting the TSAN, make this controllable by 84 - # a flag and turn the flag off during the stdenv build. 85 - postPatch = lib.optionalString (!stdenv.isDarwin) '' 86 - substituteInPlace cmake/builtin-config-ix.cmake \ 87 - --replace 'set(X86 i386)' 'set(X86 i386 i486 i586 i686)' 88 - substituteInPlace cmake/config-ix.cmake \ 89 - --replace 'set(X86 i386)' 'set(X86 i386 i486 i586 i686)' 90 - '' + lib.optionalString stdenv.isDarwin '' 91 - substituteInPlace cmake/config-ix.cmake \ 92 - --replace 'set(COMPILER_RT_HAS_TSAN TRUE)' 'set(COMPILER_RT_HAS_TSAN FALSE)' 93 - '' + lib.optionalString (useLLVM) '' 94 - substituteInPlace lib/builtins/int_util.c \ 95 - --replace "#include <stdlib.h>" "" 96 - substituteInPlace lib/builtins/clear_cache.c \ 97 - --replace "#include <assert.h>" "" 98 - substituteInPlace lib/builtins/cpu_model.c \ 99 - --replace "#include <assert.h>" "" 100 - ''; 101 - 102 - # Hack around weird upsream RPATH bug 103 - postInstall = lib.optionalString (stdenv.hostPlatform.isDarwin || stdenv.hostPlatform.isWasm) '' 104 - ln -s "$out/lib"/*/* "$out/lib" 105 - '' + lib.optionalString (useLLVM) '' 106 - ln -s $out/lib/*/clang_rt.crtbegin-*.o $out/lib/crtbegin.o 107 - ln -s $out/lib/*/clang_rt.crtend-*.o $out/lib/crtend.o 108 - ln -s $out/lib/*/clang_rt.crtbegin-*.o $out/lib/crtbeginS.o 109 - ln -s $out/lib/*/clang_rt.crtend-*.o $out/lib/crtendS.o 110 - ln -s $out/lib/*/clang_rt.crtbegin_shared-*.o $out/lib/crtbeginS.o 111 - ln -s $out/lib/*/clang_rt.crtend_shared-*.o $out/lib/crtendS.o 112 - '' 113 - # See https://reviews.llvm.org/D37278 for why android exception 114 - + lib.optionalString (stdenv.hostPlatform.isx86_32 && !stdenv.hostPlatform.isAndroid) '' 115 - for f in $out/lib/*/*builtins-i?86*; do 116 - ln -s "$f" $(echo "$f" | sed -e 's/builtins-i.86/builtins-i386/') 117 - done 118 - '' + lib.optionalString doFakeLibgcc '' 119 - ln -s $out/lib/freebsd/libclang_rt.builtins-*.a $out/lib/libgcc.a 120 - ''; 121 - 122 - meta = llvm_meta // { 123 - homepage = "https://compiler-rt.llvm.org/"; 124 - description = "Compiler runtime libraries"; 125 - mainProgram = "hwasan_symbolize"; 126 - longDescription = '' 127 - The compiler-rt project provides highly tuned implementations of the 128 - low-level code generator support routines like "__fixunsdfdi" and other 129 - calls generated when a target doesn't have a short sequence of native 130 - instructions to implement a core IR operation. It also provides 131 - implementations of run-time libraries for dynamic testing tools such as 132 - AddressSanitizer, ThreadSanitizer, MemorySanitizer, and DataFlowSanitizer. 133 - ''; 134 - # "All of the code in the compiler-rt project is dual licensed under the MIT 135 - # license and the UIUC License (a BSD-like license)": 136 - license = with lib.licenses; [ mit ncsa ]; 137 - # compiler-rt requires a Clang stdenv on 32-bit RISC-V: 138 - # https://reviews.llvm.org/D43106#1019077 139 - broken = stdenv.hostPlatform.isRiscV32 && !stdenv.cc.isClang; 140 - }; 141 - }
-129
pkgs/development/compilers/llvm/11/compiler-rt/gnu-install-dirs.patch
··· 1 - diff --git a/CMakeLists.txt b/CMakeLists.txt 2 - index fa62814b635d..6328614d829e 100644 3 - --- a/CMakeLists.txt 4 - +++ b/CMakeLists.txt 5 - @@ -12,6 +12,7 @@ endif() 6 - # Check if compiler-rt is built as a standalone project. 7 - if (CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR OR COMPILER_RT_STANDALONE_BUILD) 8 - project(CompilerRT C CXX ASM) 9 - + include(GNUInstallDirs) 10 - set(COMPILER_RT_STANDALONE_BUILD TRUE) 11 - set_property(GLOBAL PROPERTY USE_FOLDERS ON) 12 - endif() 13 - diff --git a/cmake/Modules/AddCompilerRT.cmake b/cmake/Modules/AddCompilerRT.cmake 14 - index 7c127a93dfa7..6a95a65b70a7 100644 15 - --- a/cmake/Modules/AddCompilerRT.cmake 16 - +++ b/cmake/Modules/AddCompilerRT.cmake 17 - @@ -524,7 +524,7 @@ macro(add_compiler_rt_resource_file target_name file_name component) 18 - add_custom_target(${target_name} DEPENDS ${dst_file}) 19 - # Install in Clang resource directory. 20 - install(FILES ${file_name} 21 - - DESTINATION ${COMPILER_RT_INSTALL_PATH}/share 22 - + DESTINATION ${COMPILER_RT_INSTALL_PATH}/${CMAKE_INSTALL_FULL_DATADIR} 23 - COMPONENT ${component}) 24 - add_dependencies(${component} ${target_name}) 25 - 26 - @@ -541,7 +541,7 @@ macro(add_compiler_rt_script name) 27 - add_custom_target(${name} DEPENDS ${dst}) 28 - install(FILES ${dst} 29 - PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE 30 - - DESTINATION ${COMPILER_RT_INSTALL_PATH}/bin) 31 - + DESTINATION ${COMPILER_RT_INSTALL_PATH}/${CMAKE_INSTALL_FULL_BINDIR}) 32 - endmacro(add_compiler_rt_script src name) 33 - 34 - # Builds custom version of libc++ and installs it in <prefix>. 35 - diff --git a/cmake/Modules/CompilerRTDarwinUtils.cmake b/cmake/Modules/CompilerRTDarwinUtils.cmake 36 - index be8d7e733c7a..ab256bdff26c 100644 37 - --- a/cmake/Modules/CompilerRTDarwinUtils.cmake 38 - +++ b/cmake/Modules/CompilerRTDarwinUtils.cmake 39 - @@ -498,7 +498,7 @@ macro(darwin_add_embedded_builtin_libraries) 40 - set(DARWIN_macho_embedded_LIBRARY_OUTPUT_DIR 41 - ${COMPILER_RT_OUTPUT_DIR}/lib/macho_embedded) 42 - set(DARWIN_macho_embedded_LIBRARY_INSTALL_DIR 43 - - ${COMPILER_RT_INSTALL_PATH}/lib/macho_embedded) 44 - + ${COMPILER_RT_INSTALL_PATH}/${CMAKE_INSTALL_FULL_LIBDIR}/macho_embedded) 45 - 46 - set(CFLAGS_armv7 "-target thumbv7-apple-darwin-eabi") 47 - set(CFLAGS_i386 "-march=pentium") 48 - diff --git a/cmake/Modules/CompilerRTUtils.cmake b/cmake/Modules/CompilerRTUtils.cmake 49 - index 99b9f0e4af44..c5183ffa746e 100644 50 - --- a/cmake/Modules/CompilerRTUtils.cmake 51 - +++ b/cmake/Modules/CompilerRTUtils.cmake 52 - @@ -375,7 +375,7 @@ endfunction() 53 - function(get_compiler_rt_install_dir arch install_dir) 54 - if(LLVM_ENABLE_PER_TARGET_RUNTIME_DIR AND NOT APPLE) 55 - get_compiler_rt_target(${arch} target) 56 - - set(${install_dir} ${COMPILER_RT_INSTALL_PATH}/lib/${target} PARENT_SCOPE) 57 - + set(${install_dir} ${COMPILER_RT_INSTALL_PATH}/${CMAKE_INSTALL_FULL_LIBDIR}/${target} PARENT_SCOPE) 58 - else() 59 - set(${install_dir} ${COMPILER_RT_LIBRARY_INSTALL_DIR} PARENT_SCOPE) 60 - endif() 61 - diff --git a/cmake/base-config-ix.cmake b/cmake/base-config-ix.cmake 62 - index 964dd598f102..2acaab87d349 100644 63 - --- a/cmake/base-config-ix.cmake 64 - +++ b/cmake/base-config-ix.cmake 65 - @@ -66,11 +66,11 @@ if (LLVM_TREE_AVAILABLE) 66 - else() 67 - # Take output dir and install path from the user. 68 - set(COMPILER_RT_OUTPUT_DIR ${CMAKE_CURRENT_BINARY_DIR} CACHE PATH 69 - - "Path where built compiler-rt libraries should be stored.") 70 - + "Path where built compiler-rt build artifacts should be stored.") 71 - set(COMPILER_RT_EXEC_OUTPUT_DIR ${CMAKE_CURRENT_BINARY_DIR}/bin CACHE PATH 72 - "Path where built compiler-rt executables should be stored.") 73 - - set(COMPILER_RT_INSTALL_PATH ${CMAKE_INSTALL_PREFIX} CACHE PATH 74 - - "Path where built compiler-rt libraries should be installed.") 75 - + set(COMPILER_RT_INSTALL_PATH "" CACHE PATH 76 - + "Prefix where built compiler-rt artifacts should be installed, comes before CMAKE_INSTALL_PREFIX.") 77 - option(COMPILER_RT_INCLUDE_TESTS "Generate and build compiler-rt unit tests." OFF) 78 - option(COMPILER_RT_ENABLE_WERROR "Fail and stop if warning is triggered" OFF) 79 - # Use a host compiler to compile/link tests. 80 - @@ -98,7 +98,7 @@ else(LLVM_ENABLE_PER_TARGET_RUNTIME_DIR) 81 - set(COMPILER_RT_LIBRARY_OUTPUT_DIR 82 - ${COMPILER_RT_OUTPUT_DIR}/lib/${COMPILER_RT_OS_DIR}) 83 - set(COMPILER_RT_LIBRARY_INSTALL_DIR 84 - - ${COMPILER_RT_INSTALL_PATH}/lib/${COMPILER_RT_OS_DIR}) 85 - + ${COMPILER_RT_INSTALL_PATH}/${CMAKE_INSTALL_FULL_LIBDIR}/${COMPILER_RT_OS_DIR}) 86 - endif() 87 - 88 - if(APPLE) 89 - diff --git a/include/CMakeLists.txt b/include/CMakeLists.txt 90 - index d47d7baeb118..507c8e5c713e 100644 91 - --- a/include/CMakeLists.txt 92 - +++ b/include/CMakeLists.txt 93 - @@ -62,22 +62,22 @@ set_target_properties(compiler-rt-headers PROPERTIES FOLDER "Compiler-RT Misc") 94 - install(FILES ${SANITIZER_HEADERS} 95 - COMPONENT compiler-rt-headers 96 - PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ 97 - - DESTINATION ${COMPILER_RT_INSTALL_PATH}/include/sanitizer) 98 - + DESTINATION ${COMPILER_RT_INSTALL_PATH}/${CMAKE_INSTALL_FULL_INCLUDEDIR}/sanitizer) 99 - # Install fuzzer headers. 100 - install(FILES ${FUZZER_HEADERS} 101 - COMPONENT compiler-rt-headers 102 - PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ 103 - - DESTINATION ${COMPILER_RT_INSTALL_PATH}/include/fuzzer) 104 - + DESTINATION ${COMPILER_RT_INSTALL_PATH}/${CMAKE_INSTALL_FULL_INCLUDEDIR}/fuzzer) 105 - # Install xray headers. 106 - install(FILES ${XRAY_HEADERS} 107 - COMPONENT compiler-rt-headers 108 - PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ 109 - - DESTINATION ${COMPILER_RT_INSTALL_PATH}/include/xray) 110 - + DESTINATION ${COMPILER_RT_INSTALL_PATH}/${CMAKE_INSTALL_FULL_INCLUDEDIR}/xray) 111 - # Install profile headers. 112 - install(FILES ${PROFILE_HEADERS} 113 - COMPONENT compiler-rt-headers 114 - PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ 115 - - DESTINATION ${COMPILER_RT_INSTALL_PATH}/include/profile) 116 - + DESTINATION ${COMPILER_RT_INSTALL_PATH}/${CMAKE_INSTALL_FULL_INCLUDEDIR}/profile) 117 - 118 - if (NOT CMAKE_CONFIGURATION_TYPES) # don't add this for IDEs. 119 - add_custom_target(install-compiler-rt-headers 120 - diff --git a/lib/dfsan/CMakeLists.txt b/lib/dfsan/CMakeLists.txt 121 - index 051215edbeb7..ecce1f52efb0 100644 122 - --- a/lib/dfsan/CMakeLists.txt 123 - +++ b/lib/dfsan/CMakeLists.txt 124 - @@ -56,4 +56,4 @@ add_custom_command(OUTPUT ${dfsan_abilist_filename} 125 - DEPENDS done_abilist.txt libc_ubuntu1404_abilist.txt) 126 - add_dependencies(dfsan dfsan_abilist) 127 - install(FILES ${dfsan_abilist_filename} 128 - - DESTINATION ${COMPILER_RT_INSTALL_PATH}/share) 129 - + DESTINATION ${COMPILER_RT_INSTALL_PATH}/${CMAKE_INSTALL_FULL_DATADIR})
-16
pkgs/development/compilers/llvm/11/compiler-rt/normalize-var.patch
··· 1 - diff --git a/compiler-rt/cmake/Modules/CompilerRTUtils.cmake b/compiler-rt/cmake/Modules/CompilerRTUtils.cmake 2 - index c5183ffa746e..e4e4a007335d 100644 3 - --- a/cmake/Modules/CompilerRTUtils.cmake 4 - +++ b/cmake/Modules/CompilerRTUtils.cmake 5 - @@ -299,8 +299,9 @@ macro(load_llvm_config) 6 - # Get some LLVM variables from LLVMConfig. 7 - include("${LLVM_CMAKE_PATH}/LLVMConfig.cmake") 8 - 9 - - set(LLVM_LIBRARY_OUTPUT_INTDIR 10 - - ${LLVM_BINARY_DIR}/${CMAKE_CFG_INTDIR}/lib${LLVM_LIBDIR_SUFFIX}) 11 - + get_filename_component(LLVM_LIBRARY_OUTPUT_INTDIR 12 - + ${LLVM_BINARY_DIR}/${CMAKE_CFG_INTDIR}/lib${LLVM_LIBDIR_SUFFIX} 13 - + REALPATH) 14 - endif() 15 - endmacro() 16 -
-285
pkgs/development/compilers/llvm/11/default.nix
··· 1 - { lowPrio, newScope, pkgs, lib, stdenv, cmake 2 - , preLibcCrossHeaders 3 - , libxml2, python3, isl, fetchurl, overrideCC, wrapCCWith, wrapBintoolsWith 4 - , buildLlvmTools # tools, but from the previous stage, for cross 5 - , targetLlvmLibraries # libraries, but from the next stage, for cross 6 - , targetLlvm 7 - # This is the default binutils, but with *this* version of LLD rather 8 - # than the default LLVM version's, if LLD is the choice. We use these for 9 - # the `useLLVM` bootstrapping below. 10 - , bootBintoolsNoLibc ? 11 - if stdenv.targetPlatform.linker == "lld" 12 - then null 13 - else pkgs.bintoolsNoLibc 14 - , bootBintools ? 15 - if stdenv.targetPlatform.linker == "lld" 16 - then null 17 - else pkgs.bintools 18 - }: 19 - 20 - let 21 - release_version = "11.1.0"; 22 - candidate = ""; # empty or "rcN" 23 - dash-candidate = lib.optionalString (candidate != "") "-${candidate}"; 24 - version = "${release_version}${dash-candidate}"; # differentiating these (variables) is important for RCs 25 - 26 - fetch = name: sha256: fetchurl { 27 - url = "https://github.com/llvm/llvm-project/releases/download/llvmorg-${version}/${name}-${release_version}${candidate}.src.tar.xz"; 28 - inherit sha256; 29 - }; 30 - 31 - clang-tools-extra_src = fetch "clang-tools-extra" "18n1w1hkv931xzq02b34wglbv6zd6sd0r5kb8piwvag7klj7qw3n"; 32 - 33 - inherit (import ../common/common-let.nix { inherit lib release_version; }) llvm_meta; 34 - 35 - tools = lib.makeExtensible (tools: let 36 - callPackage = newScope (tools // { inherit stdenv cmake libxml2 python3 isl release_version version fetch buildLlvmTools; }); 37 - mkExtraBuildCommands0 = cc: '' 38 - rsrc="$out/resource-root" 39 - mkdir "$rsrc" 40 - ln -s "${cc.lib}/lib/clang/${release_version}/include" "$rsrc" 41 - echo "-resource-dir=$rsrc" >> $out/nix-support/cc-cflags 42 - ''; 43 - mkExtraBuildCommands = cc: mkExtraBuildCommands0 cc + '' 44 - ln -s "${targetLlvmLibraries.compiler-rt.out}/lib" "$rsrc/lib" 45 - ln -s "${targetLlvmLibraries.compiler-rt.out}/share" "$rsrc/share" 46 - ''; 47 - 48 - bintoolsNoLibc' = 49 - if bootBintoolsNoLibc == null 50 - then tools.bintoolsNoLibc 51 - else bootBintoolsNoLibc; 52 - bintools' = 53 - if bootBintools == null 54 - then tools.bintools 55 - else bootBintools; 56 - 57 - in { 58 - 59 - libllvm = callPackage ./llvm { 60 - inherit llvm_meta; 61 - }; 62 - 63 - # `llvm` historically had the binaries. When choosing an output explicitly, 64 - # we need to reintroduce `outputSpecified` to get the expected behavior e.g. of lib.get* 65 - llvm = tools.libllvm; 66 - 67 - libllvm-polly = callPackage ./llvm { 68 - inherit llvm_meta; 69 - enablePolly = true; 70 - }; 71 - 72 - llvm-polly = tools.libllvm-polly.lib // { outputSpecified = false; }; 73 - 74 - libclang = callPackage ./clang { 75 - inherit clang-tools-extra_src llvm_meta; 76 - }; 77 - 78 - clang-unwrapped = tools.libclang; 79 - 80 - clang-polly-unwrapped = callPackage ./clang { 81 - inherit llvm_meta; 82 - inherit clang-tools-extra_src; 83 - libllvm = tools.libllvm-polly; 84 - enablePolly = true; 85 - }; 86 - 87 - llvm-manpages = lowPrio (tools.libllvm.override { 88 - enableManpages = true; 89 - python3 = pkgs.python3; # don't use python-boot 90 - }); 91 - 92 - clang-manpages = lowPrio (tools.libclang.override { 93 - enableManpages = true; 94 - python3 = pkgs.python3; # don't use python-boot 95 - }); 96 - 97 - # disabled until recommonmark supports sphinx 3 98 - # lldb-manpages = lowPrio (tools.lldb.override { 99 - # enableManpages = true; 100 - # python3 = pkgs.python3; # don't use python-boot 101 - # }); 102 - 103 - # pick clang appropriate for package set we are targeting 104 - clang = 105 - /**/ if stdenv.targetPlatform.libc == null then tools.clangNoLibc 106 - else if stdenv.targetPlatform.useLLVM or false then tools.clangUseLLVM 107 - else if (pkgs.targetPackages.stdenv or stdenv).cc.isGNU then tools.libstdcxxClang 108 - else tools.libcxxClang; 109 - 110 - libstdcxxClang = wrapCCWith rec { 111 - cc = tools.clang-unwrapped; 112 - # libstdcxx is taken from gcc in an ad-hoc way in cc-wrapper. 113 - libcxx = null; 114 - extraPackages = [ 115 - targetLlvmLibraries.compiler-rt 116 - ]; 117 - extraBuildCommands = mkExtraBuildCommands cc; 118 - }; 119 - 120 - libcxxClang = wrapCCWith rec { 121 - cc = tools.clang-unwrapped; 122 - libcxx = targetLlvmLibraries.libcxx; 123 - extraPackages = [ 124 - libcxx.cxxabi 125 - targetLlvmLibraries.compiler-rt 126 - ]; 127 - extraBuildCommands = mkExtraBuildCommands cc; 128 - }; 129 - 130 - lld = callPackage ./lld { 131 - inherit llvm_meta; 132 - }; 133 - 134 - lldb = callPackage ../common/lldb.nix { 135 - src = fetch "lldb" "1vlyg015dyng43xqb8cg2l6r9ix8klibxsajazbfnckdnh54hwxj"; 136 - patches = [ 137 - ./lldb/procfs.patch 138 - ./lldb/gnu-install-dirs.patch 139 - ]; 140 - inherit llvm_meta; 141 - }; 142 - 143 - # Below, is the LLVM bootstrapping logic. It handles building a 144 - # fully LLVM toolchain from scratch. No GCC toolchain should be 145 - # pulled in. As a consequence, it is very quick to build different 146 - # targets provided by LLVM and we can also build for what GCC 147 - # doesn’t support like LLVM. Probably we should move to some other 148 - # file. 149 - 150 - bintools-unwrapped = callPackage ../common/bintools.nix { }; 151 - 152 - bintoolsNoLibc = wrapBintoolsWith { 153 - bintools = tools.bintools-unwrapped; 154 - libc = preLibcCrossHeaders; 155 - }; 156 - 157 - bintools = wrapBintoolsWith { 158 - bintools = tools.bintools-unwrapped; 159 - }; 160 - 161 - clangUseLLVM = wrapCCWith rec { 162 - cc = tools.clang-unwrapped; 163 - libcxx = targetLlvmLibraries.libcxx; 164 - bintools = bintools'; 165 - extraPackages = [ 166 - libcxx.cxxabi 167 - targetLlvmLibraries.compiler-rt 168 - ] ++ lib.optionals (!stdenv.targetPlatform.isWasm) [ 169 - targetLlvmLibraries.libunwind 170 - ]; 171 - extraBuildCommands = '' 172 - echo "-rtlib=compiler-rt -Wno-unused-command-line-argument" >> $out/nix-support/cc-cflags 173 - echo "-B${targetLlvmLibraries.compiler-rt}/lib" >> $out/nix-support/cc-cflags 174 - '' + lib.optionalString (!stdenv.targetPlatform.isWasm) '' 175 - echo "--unwindlib=libunwind" >> $out/nix-support/cc-cflags 176 - echo "-L${targetLlvmLibraries.libunwind}/lib" >> $out/nix-support/cc-ldflags 177 - '' + lib.optionalString (!stdenv.targetPlatform.isWasm && stdenv.targetPlatform.useLLVM or false) '' 178 - echo "-lunwind" >> $out/nix-support/cc-ldflags 179 - '' + lib.optionalString stdenv.targetPlatform.isWasm '' 180 - echo "-fno-exceptions" >> $out/nix-support/cc-cflags 181 - '' + mkExtraBuildCommands cc; 182 - }; 183 - 184 - clangNoLibcxx = wrapCCWith rec { 185 - cc = tools.clang-unwrapped; 186 - libcxx = null; 187 - bintools = bintools'; 188 - extraPackages = [ 189 - targetLlvmLibraries.compiler-rt 190 - ]; 191 - extraBuildCommands = '' 192 - echo "-rtlib=compiler-rt" >> $out/nix-support/cc-cflags 193 - echo "-B${targetLlvmLibraries.compiler-rt}/lib" >> $out/nix-support/cc-cflags 194 - echo "-nostdlib++" >> $out/nix-support/cc-cflags 195 - '' + mkExtraBuildCommands cc; 196 - }; 197 - 198 - clangNoLibc = wrapCCWith rec { 199 - cc = tools.clang-unwrapped; 200 - libcxx = null; 201 - bintools = bintoolsNoLibc'; 202 - extraPackages = [ 203 - targetLlvmLibraries.compiler-rt 204 - ]; 205 - extraBuildCommands = '' 206 - echo "-rtlib=compiler-rt" >> $out/nix-support/cc-cflags 207 - echo "-B${targetLlvmLibraries.compiler-rt}/lib" >> $out/nix-support/cc-cflags 208 - '' + mkExtraBuildCommands cc; 209 - }; 210 - 211 - clangNoCompilerRt = wrapCCWith rec { 212 - cc = tools.clang-unwrapped; 213 - libcxx = null; 214 - bintools = bintoolsNoLibc'; 215 - extraPackages = [ ]; 216 - extraBuildCommands = '' 217 - echo "-nostartfiles" >> $out/nix-support/cc-cflags 218 - '' + mkExtraBuildCommands0 cc; 219 - }; 220 - 221 - clangNoCompilerRtWithLibc = wrapCCWith rec { 222 - cc = tools.clang-unwrapped; 223 - libcxx = null; 224 - bintools = bintools'; 225 - extraPackages = [ ]; 226 - extraBuildCommands = mkExtraBuildCommands0 cc; 227 - }; 228 - 229 - }); 230 - 231 - libraries = lib.makeExtensible (libraries: let 232 - callPackage = newScope (libraries // buildLlvmTools // { inherit stdenv cmake libxml2 python3 isl release_version version fetch; }); 233 - in { 234 - 235 - compiler-rt-libc = callPackage ./compiler-rt { 236 - inherit llvm_meta; 237 - stdenv = if (stdenv.hostPlatform.useLLVM or false) || (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) || (stdenv.hostPlatform.isRiscV && stdenv.hostPlatform.is32bit) 238 - then overrideCC stdenv buildLlvmTools.clangNoCompilerRtWithLibc 239 - else stdenv; 240 - }; 241 - 242 - compiler-rt-no-libc = callPackage ./compiler-rt { 243 - inherit llvm_meta; 244 - stdenv = if (stdenv.hostPlatform.useLLVM or false) || (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) 245 - then overrideCC stdenv buildLlvmTools.clangNoCompilerRt 246 - else stdenv; 247 - }; 248 - 249 - # N.B. condition is safe because without useLLVM both are the same. 250 - compiler-rt = if stdenv.hostPlatform.isAndroid || (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) || (stdenv.hostPlatform.libc == "newlib") 251 - then libraries.compiler-rt-libc 252 - else libraries.compiler-rt-no-libc; 253 - 254 - stdenv = overrideCC stdenv buildLlvmTools.clang; 255 - 256 - libcxxStdenv = overrideCC stdenv buildLlvmTools.libcxxClang; 257 - 258 - libcxx = callPackage ./libcxx { 259 - inherit llvm_meta; 260 - stdenv = if (stdenv.hostPlatform.useLLVM or false) || (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) 261 - then overrideCC stdenv buildLlvmTools.clangNoLibcxx 262 - else stdenv; 263 - }; 264 - 265 - libcxxabi = callPackage ./libcxxabi { 266 - inherit llvm_meta; 267 - stdenv = if (stdenv.hostPlatform.useLLVM or false) || (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) 268 - then overrideCC stdenv buildLlvmTools.clangNoLibcxx 269 - else stdenv; 270 - }; 271 - 272 - libunwind = callPackage ./libunwind { 273 - inherit llvm_meta; 274 - stdenv = if (stdenv.hostPlatform.useLLVM or false) || (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) 275 - then overrideCC stdenv buildLlvmTools.clangNoLibcxx 276 - else stdenv; 277 - }; 278 - 279 - openmp = callPackage ./openmp { 280 - inherit llvm_meta targetLlvm; 281 - }; 282 - }); 283 - noExtend = extensible: lib.attrsets.removeAttrs extensible [ "extend" ]; 284 - 285 - in { inherit tools libraries release_version; } // (noExtend libraries) // (noExtend tools)
-104
pkgs/development/compilers/llvm/11/libcxx/default.nix
··· 1 - { lib, stdenv, llvm_meta, fetch, fetchpatch, cmake, python3, llvm, fixDarwinDylibNames, version 2 - , cxxabi ? if stdenv.hostPlatform.isFreeBSD then libcxxrt else libcxxabi 3 - , libcxxabi, libcxxrt 4 - , enableShared ? !stdenv.hostPlatform.isStatic 5 - }: 6 - 7 - assert stdenv.isDarwin -> cxxabi.pname == "libcxxabi"; 8 - 9 - stdenv.mkDerivation { 10 - pname = "libcxx"; 11 - inherit version; 12 - 13 - src = fetch "libcxx" "1rgqsqpgi0vkga5d7hy0iyfsqgzfz7q1xy7afdfa1snp1qjks8xv"; 14 - 15 - postUnpack = '' 16 - unpackFile ${libcxxabi.src} 17 - mv libcxxabi-* libcxxabi 18 - unpackFile ${llvm.src} 19 - mv llvm-* llvm 20 - ''; 21 - 22 - outputs = [ "out" "dev" ]; 23 - 24 - patches = [ 25 - (fetchpatch { 26 - # Backported from LLVM 12, avoids clashes with commonly used "block.h" header. 27 - url = "https://github.com/llvm/llvm-project/commit/19bc9ea480b60b607a3e303f20c7a3a2ea553369.patch"; 28 - sha256 = "sha256-aWa66ogmPkG0xHzSfcpD0qZyZQcNKwLV44js4eiun78="; 29 - stripLen = 1; 30 - }) 31 - ./gnu-install-dirs.patch 32 - ] ++ lib.optionals stdenv.hostPlatform.isMusl [ 33 - ../../common/libcxx/libcxx-0001-musl-hacks.patch 34 - ]; 35 - 36 - # Prevent errors like "error: 'foo' is unavailable: introduced in macOS yy.zz" 37 - postPatch = '' 38 - substituteInPlace include/__config \ 39 - --replace "# define _LIBCPP_USE_AVAILABILITY_APPLE" "" 40 - ''; 41 - 42 - preConfigure = lib.optionalString stdenv.hostPlatform.isMusl '' 43 - patchShebangs utils/cat_files.py 44 - ''; 45 - 46 - nativeBuildInputs = [ cmake python3 ] 47 - ++ lib.optional stdenv.isDarwin fixDarwinDylibNames; 48 - 49 - buildInputs = [ cxxabi ]; 50 - 51 - cmakeFlags = [ 52 - "-DLIBCXX_CXX_ABI=${cxxabi.pname}" 53 - ] ++ lib.optional (stdenv.hostPlatform.isMusl || stdenv.hostPlatform.isWasi) "-DLIBCXX_HAS_MUSL_LIBC=1" 54 - ++ lib.optional (stdenv.hostPlatform.useLLVM or false) "-DLIBCXX_USE_COMPILER_RT=ON" 55 - ++ lib.optionals stdenv.hostPlatform.isWasm [ 56 - "-DLIBCXX_ENABLE_THREADS=OFF" 57 - "-DLIBCXX_ENABLE_FILESYSTEM=OFF" 58 - "-DLIBCXX_ENABLE_EXCEPTIONS=OFF" 59 - ] ++ lib.optional (!enableShared) "-DLIBCXX_ENABLE_SHARED=OFF" 60 - 61 - # TODO: this is a bit of a hack to cross compile to Apple Silicon. libcxx 62 - # starting with 11 enables CMAKE_BUILD_WITH_INSTALL_NAME_DIR which requires 63 - # platform setup for rpaths. In cmake, this is enabled when macos is newer 64 - # than 10.5. However CMAKE_SYSTEM_VERSION is set to empty (TODO: why?) 65 - # which prevents the conditional configuration, and configure fails. The 66 - # value here corresponds to `uname -r`. If stdenv.hostPlatform.release is 67 - # not null, then this property will be set via mkDerivation (TODO: how can 68 - # we set this?). 69 - ++ lib.optional ( 70 - stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64 && 71 - stdenv.hostPlatform != stdenv.buildPlatform 72 - ) "-DCMAKE_SYSTEM_VERSION=20.1.0"; 73 - 74 - preInstall = lib.optionalString (stdenv.isDarwin) '' 75 - for file in lib/*.dylib; do 76 - if [ -L "$file" ]; then continue; fi 77 - 78 - baseName=$(basename $(${stdenv.cc.targetPrefix}otool -D $file | tail -n 1)) 79 - installName="$out/lib/$baseName" 80 - abiName=$(echo "$baseName" | sed -e 's/libc++/libc++abi/') 81 - 82 - for other in $(${stdenv.cc.targetPrefix}otool -L $file | awk '$1 ~ "/libc\\+\\+abi" { print $1 }'); do 83 - ${stdenv.cc.targetPrefix}install_name_tool -change $other ${cxxabi}/lib/$abiName $file 84 - done 85 - done 86 - ''; 87 - 88 - passthru = { 89 - isLLVM = true; 90 - inherit cxxabi; 91 - }; 92 - 93 - meta = llvm_meta // { 94 - homepage = "https://libcxx.llvm.org/"; 95 - description = "C++ standard library"; 96 - longDescription = '' 97 - libc++ is an implementation of the C++ standard library, targeting C++11, 98 - C++14 and above. 99 - ''; 100 - # "All of the code in libc++ is dual licensed under the MIT license and the 101 - # UIUC License (a BSD-like license)": 102 - license = with lib.licenses; [ mit ncsa ]; 103 - }; 104 - }
-100
pkgs/development/compilers/llvm/11/libcxx/gnu-install-dirs.patch
··· 1 - diff --git a/CMakeLists.txt b/CMakeLists.txt 2 - index 910d04b54b6d..80ef692d83eb 100644 3 - --- a/CMakeLists.txt 4 - +++ b/CMakeLists.txt 5 - @@ -31,6 +31,8 @@ set(CMAKE_MODULE_PATH 6 - if (CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR OR LIBCXX_STANDALONE_BUILD) 7 - project(libcxx CXX C) 8 - 9 - + include(GNUInstallDirs) 10 - + 11 - set(PACKAGE_NAME libcxx) 12 - set(PACKAGE_VERSION 11.1.0) 13 - set(PACKAGE_STRING "${PACKAGE_NAME} ${PACKAGE_VERSION}") 14 - @@ -418,7 +420,7 @@ string(REGEX MATCH "[0-9]+\\.[0-9]+(\\.[0-9]+)?" CLANG_VERSION 15 - if(LLVM_ENABLE_PER_TARGET_RUNTIME_DIR AND NOT APPLE) 16 - set(LIBCXX_LIBRARY_DIR ${LLVM_LIBRARY_OUTPUT_INTDIR}/${LLVM_DEFAULT_TARGET_TRIPLE}/c++) 17 - set(LIBCXX_HEADER_DIR ${LLVM_BINARY_DIR}) 18 - - set(LIBCXX_INSTALL_LIBRARY_DIR lib${LLVM_LIBDIR_SUFFIX}/${LLVM_DEFAULT_TARGET_TRIPLE}/c++) 19 - + set(LIBCXX_INSTALL_LIBRARY_DIR ${CMAKE_INSTALL_LIBDIR}${LLVM_LIBDIR_SUFFIX}/${LLVM_DEFAULT_TARGET_TRIPLE}/c++) 20 - if(LIBCXX_LIBDIR_SUBDIR) 21 - string(APPEND LIBCXX_LIBRARY_DIR /${LIBCXX_LIBDIR_SUBDIR}) 22 - string(APPEND LIBCXX_INSTALL_LIBRARY_DIR /${LIBCXX_LIBDIR_SUBDIR}) 23 - @@ -426,11 +428,11 @@ if(LLVM_ENABLE_PER_TARGET_RUNTIME_DIR AND NOT APPLE) 24 - elseif(LLVM_LIBRARY_OUTPUT_INTDIR) 25 - set(LIBCXX_LIBRARY_DIR ${LLVM_LIBRARY_OUTPUT_INTDIR}) 26 - set(LIBCXX_HEADER_DIR ${LLVM_BINARY_DIR}) 27 - - set(LIBCXX_INSTALL_LIBRARY_DIR lib${LIBCXX_LIBDIR_SUFFIX}) 28 - + set(LIBCXX_INSTALL_LIBRARY_DIR ${CMAKE_INSTALL_LIBDIR}${LIBCXX_LIBDIR_SUFFIX}) 29 - else() 30 - set(LIBCXX_LIBRARY_DIR ${CMAKE_BINARY_DIR}/lib${LIBCXX_LIBDIR_SUFFIX}) 31 - set(LIBCXX_HEADER_DIR ${CMAKE_BINARY_DIR}) 32 - - set(LIBCXX_INSTALL_LIBRARY_DIR lib${LIBCXX_LIBDIR_SUFFIX}) 33 - + set(LIBCXX_INSTALL_LIBRARY_DIR ${CMAKE_INSTALL_LIBDIR}${LIBCXX_LIBDIR_SUFFIX}) 34 - endif() 35 - 36 - file(MAKE_DIRECTORY "${LIBCXX_BINARY_INCLUDE_DIR}") 37 - diff --git a/cmake/Modules/HandleLibCXXABI.cmake b/cmake/Modules/HandleLibCXXABI.cmake 38 - index c5aa26739e36..8841c4a5252d 100644 39 - --- a/cmake/Modules/HandleLibCXXABI.cmake 40 - +++ b/cmake/Modules/HandleLibCXXABI.cmake 41 - @@ -63,7 +63,7 @@ macro(setup_abi_lib abidefines abishared abistatic abifiles abidirs) 42 - 43 - if (LIBCXX_INSTALL_HEADERS) 44 - install(FILES "${LIBCXX_BINARY_INCLUDE_DIR}/${fpath}" 45 - - DESTINATION ${LIBCXX_INSTALL_HEADER_PREFIX}include/c++/v1/${dstdir} 46 - + DESTINATION ${LIBCXX_INSTALL_HEADER_PREFIX}${CMAKE_INSTALL_INCLUDEDIR}/c++/v1/${dstdir} 47 - COMPONENT cxx-headers 48 - PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ 49 - ) 50 - diff --git a/include/CMakeLists.txt b/include/CMakeLists.txt 51 - index be8141c98166..93847e5758cc 100644 52 - --- a/include/CMakeLists.txt 53 - +++ b/include/CMakeLists.txt 54 - @@ -257,7 +257,7 @@ if (LIBCXX_INSTALL_HEADERS) 55 - foreach(file ${files}) 56 - get_filename_component(dir ${file} DIRECTORY) 57 - install(FILES ${file} 58 - - DESTINATION ${LIBCXX_INSTALL_HEADER_PREFIX}include/c++/v1/${dir} 59 - + DESTINATION ${LIBCXX_INSTALL_HEADER_PREFIX}${CMAKE_INSTALL_INCLUDEDIR}/c++/v1/${dir} 60 - COMPONENT ${CXX_HEADER_TARGET} 61 - PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ 62 - ) 63 - @@ -265,7 +265,7 @@ if (LIBCXX_INSTALL_HEADERS) 64 - 65 - # Install the generated header as __config. 66 - install(FILES ${LIBCXX_BINARY_DIR}/__generated_config 67 - - DESTINATION ${LIBCXX_INSTALL_HEADER_PREFIX}include/c++/v1 68 - + DESTINATION ${LIBCXX_INSTALL_HEADER_PREFIX}${CMAKE_INSTALL_INCLUDEDIR}/c++/v1 69 - PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ 70 - RENAME __config 71 - COMPONENT ${CXX_HEADER_TARGET}) 72 - diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt 73 - index 2001c09761d9..5bd11ea6b400 100644 74 - --- a/src/CMakeLists.txt 75 - +++ b/src/CMakeLists.txt 76 - @@ -344,21 +344,21 @@ if (LIBCXX_INSTALL_LIBRARY) 77 - install(TARGETS cxx_shared 78 - ARCHIVE DESTINATION ${LIBCXX_INSTALL_PREFIX}${LIBCXX_INSTALL_LIBRARY_DIR} COMPONENT cxx 79 - LIBRARY DESTINATION ${LIBCXX_INSTALL_PREFIX}${LIBCXX_INSTALL_LIBRARY_DIR} COMPONENT cxx 80 - - RUNTIME DESTINATION ${LIBCXX_INSTALL_PREFIX}bin COMPONENT cxx) 81 - + RUNTIME DESTINATION ${LIBCXX_INSTALL_PREFIX}${CMAKE_INSTALL_BINDIR} COMPONENT cxx) 82 - endif() 83 - 84 - if (LIBCXX_INSTALL_STATIC_LIBRARY) 85 - install(TARGETS cxx_static 86 - ARCHIVE DESTINATION ${LIBCXX_INSTALL_PREFIX}${LIBCXX_INSTALL_LIBRARY_DIR} COMPONENT cxx 87 - LIBRARY DESTINATION ${LIBCXX_INSTALL_PREFIX}${LIBCXX_INSTALL_LIBRARY_DIR} COMPONENT cxx 88 - - RUNTIME DESTINATION ${LIBCXX_INSTALL_PREFIX}bin COMPONENT cxx) 89 - + RUNTIME DESTINATION ${LIBCXX_INSTALL_PREFIX}${CMAKE_INSTALL_BINDIR} COMPONENT cxx) 90 - endif() 91 - 92 - if(LIBCXX_INSTALL_EXPERIMENTAL_LIBRARY) 93 - install(TARGETS cxx_experimental 94 - LIBRARY DESTINATION ${LIBCXX_INSTALL_PREFIX}${LIBCXX_INSTALL_LIBRARY_DIR} COMPONENT cxx 95 - ARCHIVE DESTINATION ${LIBCXX_INSTALL_PREFIX}${LIBCXX_INSTALL_LIBRARY_DIR} COMPONENT cxx 96 - - RUNTIME DESTINATION ${LIBCXX_INSTALL_PREFIX}bin COMPONENT cxx) 97 - + RUNTIME DESTINATION ${LIBCXX_INSTALL_PREFIX}${CMAKE_INSTALL_BINDIR} COMPONENT cxx) 98 - endif() 99 - 100 - # NOTE: This install command must go after the cxx install command otherwise
-89
pkgs/development/compilers/llvm/11/libcxxabi/default.nix
··· 1 - { lib, stdenv, llvm_meta, cmake, fetch, libcxx, libunwind, llvm, version 2 - , enableShared ? !stdenv.hostPlatform.isStatic 3 - , standalone ? stdenv.hostPlatform.useLLVM or false 4 - , withLibunwind ? !stdenv.isDarwin && !stdenv.hostPlatform.isWasm 5 - }: 6 - 7 - stdenv.mkDerivation { 8 - pname = "libcxxabi"; 9 - inherit version; 10 - 11 - src = fetch "libcxxabi" "1azcf31mxw59hb1x17xncnm3dyw90ylh8rqx462lvypqh3nr6c8l"; 12 - 13 - outputs = [ "out" "dev" ]; 14 - 15 - postUnpack = '' 16 - unpackFile ${libcxx.src} 17 - mv libcxx-* libcxx 18 - unpackFile ${llvm.src} 19 - mv llvm-* llvm 20 - '' + lib.optionalString stdenv.isDarwin '' 21 - export TRIPLE=x86_64-apple-darwin 22 - '' + lib.optionalString stdenv.hostPlatform.isMusl '' 23 - patch -p1 -d libcxx -i ${../../common/libcxx/libcxx-0001-musl-hacks.patch} 24 - '' + lib.optionalString stdenv.hostPlatform.isWasm '' 25 - patch -p1 -d llvm -i ${../../common/libcxxabi/wasm.patch} 26 - ''; 27 - 28 - patches = [ 29 - ../../common/libcxxabi/no-threads.patch 30 - ./gnu-install-dirs.patch 31 - ]; 32 - 33 - nativeBuildInputs = [ cmake ]; 34 - buildInputs = lib.optional withLibunwind libunwind; 35 - 36 - cmakeFlags = lib.optionals standalone [ 37 - "-DLLVM_ENABLE_LIBCXX=ON" 38 - ] ++ lib.optionals (standalone && withLibunwind) [ 39 - "-DLIBCXXABI_USE_LLVM_UNWINDER=ON" 40 - ] ++ lib.optionals stdenv.hostPlatform.isWasm [ 41 - "-DLIBCXXABI_ENABLE_THREADS=OFF" 42 - "-DLIBCXXABI_ENABLE_EXCEPTIONS=OFF" 43 - ] ++ lib.optionals (!enableShared) [ 44 - "-DLIBCXXABI_ENABLE_SHARED=OFF" 45 - ]; 46 - 47 - preInstall = lib.optionalString stdenv.isDarwin '' 48 - for file in lib/*.dylib; do 49 - if [ -L "$file" ]; then continue; fi 50 - 51 - # Fix up the install name. Preserve the basename, just replace the path. 52 - installName="$out/lib/$(basename $(${stdenv.cc.targetPrefix}otool -D $file | tail -n 1))" 53 - 54 - # this should be done in CMake, but having trouble figuring out 55 - # the magic combination of necessary CMake variables 56 - # if you fancy a try, take a look at 57 - # https://gitlab.kitware.com/cmake/community/-/wikis/doc/cmake/RPATH-handling 58 - ${stdenv.cc.targetPrefix}install_name_tool -id $installName $file 59 - 60 - # cc-wrapper passes '-lc++abi' to all c++ link steps, but that causes 61 - # libcxxabi to sometimes link against a different version of itself. 62 - # Here we simply make that second reference point to ourselves. 63 - for other in $(${stdenv.cc.targetPrefix}otool -L $file | awk '$1 ~ "/libc\\+\\+abi" { print $1 }'); do 64 - ${stdenv.cc.targetPrefix}install_name_tool -change $other $installName $file 65 - done 66 - done 67 - ''; 68 - 69 - postInstall = '' 70 - mkdir -p "$dev/include" 71 - install -m 644 ../include/${if stdenv.isDarwin then "*" else "cxxabi.h"} "$dev/include" 72 - ''; 73 - 74 - passthru = { 75 - libName = "c++abi"; 76 - }; 77 - 78 - meta = llvm_meta // { 79 - homepage = "https://libcxxabi.llvm.org/"; 80 - description = "Provides C++ standard library support"; 81 - longDescription = '' 82 - libc++abi is a new implementation of low level support for a standard C++ library. 83 - ''; 84 - # "All of the code in libc++abi is dual licensed under the MIT license and 85 - # the UIUC License (a BSD-like license)": 86 - license = with lib.licenses; [ mit ncsa ]; 87 - maintainers = llvm_meta.maintainers ++ [ lib.maintainers.vlstill ]; 88 - }; 89 - }
-34
pkgs/development/compilers/llvm/11/libcxxabi/gnu-install-dirs.patch
··· 1 - diff --git a/CMakeLists.txt b/CMakeLists.txt 2 - index 36c6b2249e2b..a93c13ccaed9 100644 3 - --- a/CMakeLists.txt 4 - +++ b/CMakeLists.txt 5 - @@ -24,6 +24,8 @@ set(CMAKE_MODULE_PATH 6 - if (CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR OR LIBCXXABI_STANDALONE_BUILD) 7 - project(libcxxabi CXX C) 8 - 9 - + include(GNUInstallDirs) 10 - + 11 - set(PACKAGE_NAME libcxxabi) 12 - set(PACKAGE_VERSION 11.1.0) 13 - set(PACKAGE_STRING "${PACKAGE_NAME} ${PACKAGE_VERSION}") 14 - @@ -160,17 +162,17 @@ string(REGEX MATCH "[0-9]+\\.[0-9]+(\\.[0-9]+)?" CLANG_VERSION 15 - 16 - if(LLVM_ENABLE_PER_TARGET_RUNTIME_DIR AND NOT APPLE) 17 - set(LIBCXXABI_LIBRARY_DIR ${LLVM_LIBRARY_OUTPUT_INTDIR}/${LLVM_DEFAULT_TARGET_TRIPLE}/c++) 18 - - set(LIBCXXABI_INSTALL_LIBRARY_DIR lib${LLVM_LIBDIR_SUFFIX}/${LLVM_DEFAULT_TARGET_TRIPLE}/c++) 19 - + set(LIBCXXABI_INSTALL_LIBRARY_DIR ${CMAKE_INSTALL_LIBDIR}${LLVM_LIBDIR_SUFFIX}/${LLVM_DEFAULT_TARGET_TRIPLE}/c++) 20 - if(LIBCXX_LIBDIR_SUBDIR) 21 - string(APPEND LIBCXXABI_LIBRARY_DIR /${LIBCXXABI_LIBDIR_SUBDIR}) 22 - string(APPEND LIBCXXABI_INSTALL_LIBRARY_DIR /${LIBCXXABI_LIBDIR_SUBDIR}) 23 - endif() 24 - elseif(LLVM_LIBRARY_OUTPUT_INTDIR) 25 - set(LIBCXXABI_LIBRARY_DIR ${LLVM_LIBRARY_OUTPUT_INTDIR}) 26 - - set(LIBCXXABI_INSTALL_LIBRARY_DIR lib${LIBCXXABI_LIBDIR_SUFFIX}) 27 - + set(LIBCXXABI_INSTALL_LIBRARY_DIR ${CMAKE_INSTALL_LIBDIR}${LIBCXXABI_LIBDIR_SUFFIX}) 28 - else() 29 - set(LIBCXXABI_LIBRARY_DIR ${CMAKE_BINARY_DIR}/lib${LIBCXXABI_LIBDIR_SUFFIX}) 30 - - set(LIBCXXABI_INSTALL_LIBRARY_DIR lib${LIBCXXABI_LIBDIR_SUFFIX}) 31 - + set(LIBCXXABI_INSTALL_LIBRARY_DIR ${CMAKE_INSTALL_LIBDIR}${LIBCXXABI_LIBDIR_SUFFIX}) 32 - endif() 33 - 34 - set(LIBCXXABI_INSTALL_PREFIX "" CACHE STRING "Define libc++abi destination prefix.")
-31
pkgs/development/compilers/llvm/11/libunwind/default.nix
··· 1 - { lib, stdenv, llvm_meta, version, fetch, cmake, enableShared ? !stdenv.hostPlatform.isStatic 2 - }: 3 - 4 - stdenv.mkDerivation rec { 5 - pname = "libunwind"; 6 - inherit version; 7 - 8 - src = fetch pname "1vpqs2c358v8fbr1r8jmzkfqk12jllimjcfmgxga127ksq9b37nj"; 9 - 10 - patches = [ 11 - ./gnu-install-dirs.patch 12 - ]; 13 - 14 - outputs = [ "out" "dev" ]; 15 - 16 - nativeBuildInputs = [ cmake ]; 17 - 18 - cmakeFlags = lib.optional (!enableShared) "-DLIBUNWIND_ENABLE_SHARED=OFF"; 19 - 20 - meta = llvm_meta // { 21 - # Details: https://github.com/llvm/llvm-project/blob/main/libunwind/docs/index.rst 22 - homepage = "https://clang.llvm.org/docs/Toolchain.html#unwind-library"; 23 - description = "LLVM's unwinder library"; 24 - longDescription = '' 25 - The unwind library provides a family of _Unwind_* functions implementing 26 - the language-neutral stack unwinding portion of the Itanium C++ ABI (Level 27 - I). It is a dependency of the C++ ABI library, and sometimes is a 28 - dependency of other runtimes. 29 - ''; 30 - }; 31 - }
-34
pkgs/development/compilers/llvm/11/libunwind/gnu-install-dirs.patch
··· 1 - diff --git a/CMakeLists.txt b/CMakeLists.txt 2 - index e44a103648f9..aaf1f9555d7f 100644 3 - --- a/CMakeLists.txt 4 - +++ b/CMakeLists.txt 5 - @@ -18,6 +18,8 @@ set(CMAKE_MODULE_PATH 6 - if (CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR OR LIBUNWIND_STANDALONE_BUILD) 7 - project(libunwind LANGUAGES C CXX ASM) 8 - 9 - + include(GNUInstallDirs) 10 - + 11 - # Rely on llvm-config. 12 - set(CONFIG_OUTPUT) 13 - if(NOT LLVM_CONFIG_PATH) 14 - @@ -192,17 +194,17 @@ string(REGEX MATCH "[0-9]+\\.[0-9]+(\\.[0-9]+)?" CLANG_VERSION 15 - 16 - if(LLVM_ENABLE_PER_TARGET_RUNTIME_DIR AND NOT APPLE) 17 - set(LIBUNWIND_LIBRARY_DIR ${LLVM_LIBRARY_OUTPUT_INTDIR}/${LLVM_DEFAULT_TARGET_TRIPLE}/c++) 18 - - set(LIBUNWIND_INSTALL_LIBRARY_DIR lib${LLVM_LIBDIR_SUFFIX}/${LLVM_DEFAULT_TARGET_TRIPLE}/c++) 19 - + set(LIBUNWIND_INSTALL_LIBRARY_DIR ${CMAKE_INSTALL_LIBDIR}${LLVM_LIBDIR_SUFFIX}/${LLVM_DEFAULT_TARGET_TRIPLE}/c++) 20 - if(LIBCXX_LIBDIR_SUBDIR) 21 - string(APPEND LIBUNWIND_LIBRARY_DIR /${LIBUNWIND_LIBDIR_SUBDIR}) 22 - string(APPEND LIBUNWIND_INSTALL_LIBRARY_DIR /${LIBUNWIND_LIBDIR_SUBDIR}) 23 - endif() 24 - elseif(LLVM_LIBRARY_OUTPUT_INTDIR) 25 - set(LIBUNWIND_LIBRARY_DIR ${LLVM_LIBRARY_OUTPUT_INTDIR}) 26 - - set(LIBUNWIND_INSTALL_LIBRARY_DIR lib${LIBUNWIND_LIBDIR_SUFFIX}) 27 - + set(LIBUNWIND_INSTALL_LIBRARY_DIR ${CMAKE_INSTALL_LIBDIR}${LIBUNWIND_LIBDIR_SUFFIX}) 28 - else() 29 - set(LIBUNWIND_LIBRARY_DIR ${CMAKE_BINARY_DIR}/lib${LIBUNWIND_LIBDIR_SUFFIX}) 30 - - set(LIBUNWIND_INSTALL_LIBRARY_DIR lib${LIBUNWIND_LIBDIR_SUFFIX}) 31 - + set(LIBUNWIND_INSTALL_LIBRARY_DIR ${CMAKE_INSTALL_LIBDIR}${LIBUNWIND_LIBDIR_SUFFIX}) 32 - endif() 33 - 34 - set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${LIBUNWIND_LIBRARY_DIR})
-46
pkgs/development/compilers/llvm/11/lld/default.nix
··· 1 - { lib, stdenv, llvm_meta 2 - , buildLlvmTools 3 - , fetch 4 - , cmake 5 - , libxml2 6 - , libllvm 7 - , version 8 - }: 9 - 10 - stdenv.mkDerivation rec { 11 - pname = "lld"; 12 - inherit version; 13 - 14 - src = fetch pname "1kk61i7z5bi9i11rzsd2b388d42if1c7a45zkaa4mk0yps67hyh1"; 15 - 16 - patches = [ 17 - ./gnu-install-dirs.patch 18 - ]; 19 - 20 - nativeBuildInputs = [ cmake ]; 21 - buildInputs = [ libllvm libxml2 ]; 22 - 23 - cmakeFlags = [ 24 - "-DLLVM_CONFIG_PATH=${libllvm.dev}/bin/llvm-config${lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) "-native"}" 25 - ] ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ 26 - "-DLLVM_TABLEGEN_EXE=${buildLlvmTools.llvm}/bin/llvm-tblgen" 27 - ]; 28 - 29 - # Musl's default stack size is too small for lld to be able to link Firefox. 30 - LDFLAGS = lib.optionalString stdenv.hostPlatform.isMusl "-Wl,-z,stack-size=2097152"; 31 - 32 - outputs = [ "out" "lib" "dev" ]; 33 - 34 - meta = llvm_meta // { 35 - homepage = "https://lld.llvm.org/"; 36 - description = "The LLVM linker (unwrapped)"; 37 - longDescription = '' 38 - LLD is a linker from the LLVM project that is a drop-in replacement for 39 - system linkers and runs much faster than them. It also provides features 40 - that are useful for toolchain developers. 41 - The linker supports ELF (Unix), PE/COFF (Windows), Mach-O (macOS), and 42 - WebAssembly in descending order of completeness. Internally, LLD consists 43 - of several different linkers. 44 - ''; 45 - }; 46 - }
-68
pkgs/development/compilers/llvm/11/lld/gnu-install-dirs.patch
··· 1 - diff --git a/CMakeLists.txt b/CMakeLists.txt 2 - index 040bb2c8f6d7..f765f0096d97 100644 3 - --- a/CMakeLists.txt 4 - +++ b/CMakeLists.txt 5 - @@ -6,6 +6,8 @@ if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR) 6 - set(CMAKE_INCLUDE_CURRENT_DIR ON) 7 - set(LLD_BUILT_STANDALONE TRUE) 8 - 9 - + include(GNUInstallDirs) 10 - + 11 - find_program(LLVM_CONFIG_PATH "llvm-config" DOC "Path to llvm-config binary") 12 - if(NOT LLVM_CONFIG_PATH) 13 - message(FATAL_ERROR "llvm-config not found: specify LLVM_CONFIG_PATH") 14 - @@ -205,7 +207,7 @@ include_directories(BEFORE 15 - 16 - if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY) 17 - install(DIRECTORY include/ 18 - - DESTINATION include 19 - + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} 20 - FILES_MATCHING 21 - PATTERN "*.h" 22 - PATTERN ".svn" EXCLUDE 23 - diff --git a/cmake/modules/AddLLD.cmake b/cmake/modules/AddLLD.cmake 24 - index 23df41312403..d62372c88de7 100644 25 - --- a/cmake/modules/AddLLD.cmake 26 - +++ b/cmake/modules/AddLLD.cmake 27 - @@ -20,9 +20,9 @@ macro(add_lld_library name) 28 - install(TARGETS ${name} 29 - COMPONENT ${name} 30 - ${export_to_lldtargets} 31 - - LIBRARY DESTINATION lib${LLVM_LIBDIR_SUFFIX} 32 - - ARCHIVE DESTINATION lib${LLVM_LIBDIR_SUFFIX} 33 - - RUNTIME DESTINATION bin) 34 - + LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}${LLVM_LIBDIR_SUFFIX} 35 - + ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}${LLVM_LIBDIR_SUFFIX} 36 - + RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) 37 - 38 - if (${ARG_SHARED} AND NOT CMAKE_CONFIGURATION_TYPES) 39 - add_llvm_install_targets(install-${name} 40 - @@ -54,7 +54,7 @@ macro(add_lld_tool name) 41 - 42 - install(TARGETS ${name} 43 - ${export_to_lldtargets} 44 - - RUNTIME DESTINATION bin 45 - + RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} 46 - COMPONENT ${name}) 47 - 48 - if(NOT CMAKE_CONFIGURATION_TYPES) 49 - @@ -69,5 +69,5 @@ endmacro() 50 - macro(add_lld_symlink name dest) 51 - add_llvm_tool_symlink(${name} ${dest} ALWAYS_GENERATE) 52 - # Always generate install targets 53 - - llvm_install_symlink(${name} ${dest} ALWAYS_GENERATE) 54 - + llvm_install_symlink(${name} ${dest} ${CMAKE_INSTALL_FULL_BINDIR} ALWAYS_GENERATE) 55 - endmacro() 56 - diff --git a/tools/lld/CMakeLists.txt b/tools/lld/CMakeLists.txt 57 - index e6f72fcd3488..d903609e6e4f 100644 58 - --- a/tools/lld/CMakeLists.txt 59 - +++ b/tools/lld/CMakeLists.txt 60 - @@ -21,7 +21,7 @@ target_link_libraries(lld 61 - ) 62 - 63 - install(TARGETS lld 64 - - RUNTIME DESTINATION bin) 65 - + RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) 66 - 67 - if(NOT LLD_SYMLINKS_TO_CREATE) 68 - set(LLD_SYMLINKS_TO_CREATE lld-link ld.lld ld64.lld wasm-ld)
-91
pkgs/development/compilers/llvm/11/lldb/gnu-install-dirs.patch
··· 1 - diff --git a/CMakeLists.txt b/CMakeLists.txt 2 - index bf748020ea40..34103d2b5e1a 100644 3 - --- a/CMakeLists.txt 4 - +++ b/CMakeLists.txt 5 - @@ -17,6 +17,8 @@ set(CMAKE_MODULE_PATH 6 - # If we are not building as part of LLVM, build LLDB as a standalone project, 7 - # using LLVM as an external library. 8 - if (CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR) 9 - + include(GNUInstallDirs) 10 - + 11 - project(lldb) 12 - include(LLDBStandalone) 13 - 14 - diff --git a/cmake/modules/AddLLDB.cmake b/cmake/modules/AddLLDB.cmake 15 - index 4ed5c647c5d2..89f96e710d55 100644 16 - --- a/cmake/modules/AddLLDB.cmake 17 - +++ b/cmake/modules/AddLLDB.cmake 18 - @@ -107,13 +107,13 @@ function(add_lldb_library name) 19 - endif() 20 - 21 - if(PARAM_SHARED) 22 - - set(install_dest lib${LLVM_LIBDIR_SUFFIX}) 23 - + set(install_dest ${CMAKE_INSTALL_LIBDIR}${LLVM_LIBDIR_SUFFIX}) 24 - if(PARAM_INSTALL_PREFIX) 25 - set(install_dest ${PARAM_INSTALL_PREFIX}) 26 - endif() 27 - # RUNTIME is relevant for DLL platforms, FRAMEWORK for macOS 28 - install(TARGETS ${name} COMPONENT ${name} 29 - - RUNTIME DESTINATION bin 30 - + RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} 31 - LIBRARY DESTINATION ${install_dest} 32 - ARCHIVE DESTINATION ${install_dest} 33 - FRAMEWORK DESTINATION ${install_dest}) 34 - diff --git a/cmake/modules/LLDBConfig.cmake b/cmake/modules/LLDBConfig.cmake 35 - index 8465cfe3b7b7..01b7eae136e2 100644 36 - --- a/cmake/modules/LLDBConfig.cmake 37 - +++ b/cmake/modules/LLDBConfig.cmake 38 - @@ -245,7 +245,7 @@ include_directories(BEFORE 39 - if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY) 40 - install(DIRECTORY include/ 41 - COMPONENT lldb-headers 42 - - DESTINATION include 43 - + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} 44 - FILES_MATCHING 45 - PATTERN "*.h" 46 - PATTERN ".svn" EXCLUDE 47 - @@ -254,7 +254,7 @@ if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY) 48 - 49 - install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/include/ 50 - COMPONENT lldb-headers 51 - - DESTINATION include 52 - + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} 53 - FILES_MATCHING 54 - PATTERN "*.h" 55 - PATTERN ".svn" EXCLUDE 56 - diff --git a/tools/intel-features/CMakeLists.txt b/tools/intel-features/CMakeLists.txt 57 - index efba2f74904f..e08413b1dbb1 100644 58 - --- a/tools/intel-features/CMakeLists.txt 59 - +++ b/tools/intel-features/CMakeLists.txt 60 - @@ -65,4 +65,4 @@ if (LLDB_ENABLE_PYTHON AND LLDB_BUILD_INTEL_PT) 61 - endif() 62 - 63 - install(TARGETS lldbIntelFeatures 64 - - LIBRARY DESTINATION lib${LLVM_LIBDIR_SUFFIX}) 65 - + LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}${LLVM_LIBDIR_SUFFIX}) 66 - diff --git a/cmake/modules/LLDBStandalone.cmake b/cmake/modules/LLDBStandalone.cmake 67 - index 752113b..010f187 100644 68 - --- a/cmake/modules/LLDBStandalone.cmake 69 - +++ b/cmake/modules/LLDBStandalone.cmake 70 - @@ -62,7 +62,7 @@ endif() 71 - 72 - # They are used as destination of target generators. 73 - set(LLVM_RUNTIME_OUTPUT_INTDIR ${CMAKE_BINARY_DIR}/${CMAKE_CFG_INTDIR}/bin) 74 - -set(LLVM_LIBRARY_OUTPUT_INTDIR ${CMAKE_BINARY_DIR}/${CMAKE_CFG_INTDIR}/lib${LLVM_LIBDIR_SUFFIX}) 75 - +set(LLVM_LIBRARY_OUTPUT_INTDIR ${CMAKE_INSTALL_LIBDIR}${LLVM_LIBDIR_SUFFIX}) 76 - if(WIN32 OR CYGWIN) 77 - # DLL platform -- put DLLs into bin. 78 - set(LLVM_SHLIB_OUTPUT_INTDIR ${LLVM_RUNTIME_OUTPUT_INTDIR}) 79 - diff --git a/CMakeLists.txt b/CMakeLists.txt 80 - index bf74802..1c98cae 100644 81 - --- a/CMakeLists.txt 82 - +++ b/CMakeLists.txt 83 - @@ -222,7 +222,7 @@ if (LLDB_ENABLE_PYTHON) 84 - if(LLDB_BUILD_FRAMEWORK) 85 - set(LLDB_PYTHON_INSTALL_PATH ${LLDB_FRAMEWORK_INSTALL_DIR}/LLDB.framework/Resources/Python) 86 - else() 87 - - set(LLDB_PYTHON_INSTALL_PATH ${LLDB_PYTHON_RELATIVE_PATH}) 88 - + set(LLDB_PYTHON_INSTALL_PATH ${CMAKE_INSTALL_LIBDIR}/../${LLDB_PYTHON_RELATIVE_PATH}) 89 - endif() 90 - if (NOT CMAKE_CFG_INTDIR STREQUAL ".") 91 - string(REPLACE ${CMAKE_CFG_INTDIR} "\$\{CMAKE_INSTALL_CONFIG_NAME\}" LLDB_PYTHON_INSTALL_PATH ${LLDB_PYTHON_INSTALL_PATH})
-31
pkgs/development/compilers/llvm/11/lldb/procfs.patch
··· 1 - --- a/source/Plugins/Process/Linux/Procfs.h 2 - +++ b/source/Plugins/Process/Linux/Procfs.h 3 - @@ -11,21 +11,12 @@ 4 - // sys/procfs.h on Android/Linux for all supported architectures. 5 - 6 - #include <sys/ptrace.h> 7 - +#include <asm/ptrace.h> 8 - 9 - -#ifdef __ANDROID__ 10 - -#if defined(__arm64__) || defined(__aarch64__) 11 - -typedef unsigned long elf_greg_t; 12 - -typedef elf_greg_t 13 - - elf_gregset_t[(sizeof(struct user_pt_regs) / sizeof(elf_greg_t))]; 14 - -typedef struct user_fpsimd_state elf_fpregset_t; 15 - -#ifndef NT_FPREGSET 16 - -#define NT_FPREGSET NT_PRFPREG 17 - -#endif // NT_FPREGSET 18 - -#elif defined(__mips__) 19 - -#ifndef NT_FPREGSET 20 - -#define NT_FPREGSET NT_PRFPREG 21 - -#endif // NT_FPREGSET 22 - -#endif 23 - -#else // __ANDROID__ 24 - +#if !defined(__GLIBC__) && defined(__powerpc__) 25 - +#define pt_regs musl_pt_regs 26 - +#include <sys/procfs.h> 27 - +#undef pt_regs 28 - +#else 29 - #include <sys/procfs.h> 30 - -#endif // __ANDROID__ 31 - +#endif
-365
pkgs/development/compilers/llvm/11/llvm/default.nix
··· 1 - { lib, stdenv, llvm_meta 2 - , pkgsBuildBuild 3 - , fetch 4 - , fetchpatch 5 - , cmake 6 - , python3 7 - , libffi 8 - , enableGoldPlugin ? libbfd.hasPluginAPI 9 - , libbfd 10 - , libpfm 11 - , libxml2 12 - , ncurses 13 - , version 14 - , release_version 15 - , zlib 16 - , buildLlvmTools 17 - , debugVersion ? false 18 - , doCheck ? stdenv.isLinux && (!stdenv.isx86_32) && (!stdenv.hostPlatform.isMusl) && (!stdenv.hostPlatform.isRiscV) 19 - && (stdenv.hostPlatform == stdenv.buildPlatform) 20 - , enableManpages ? false 21 - , enableSharedLibraries ? !stdenv.hostPlatform.isStatic 22 - # broken for Ampere eMAG 8180 (c2.large.arm on Packet) #56245 23 - # broken for the armv7l builder 24 - , enablePFM ? stdenv.isLinux && !stdenv.hostPlatform.isAarch 25 - , enablePolly ? false # TODO should be on by default 26 - }: 27 - 28 - let 29 - inherit (lib) optional optionals optionalString; 30 - 31 - # Used when creating a version-suffixed symlink of libLLVM.dylib 32 - shortVersion = with lib; 33 - concatStringsSep "." (take 1 (splitString "." release_version)); 34 - 35 - # Ordinarily we would just the `doCheck` and `checkDeps` functionality 36 - # `mkDerivation` gives us to manage our test dependencies (instead of breaking 37 - # out `doCheck` as a package level attribute). 38 - # 39 - # Unfortunately `lit` does not forward `$PYTHONPATH` to children processes, in 40 - # particular the children it uses to do feature detection. 41 - # 42 - # This means that python deps we add to `checkDeps` (which the python 43 - # interpreter is made aware of via `$PYTHONPATH` – populated by the python 44 - # setup hook) are not picked up by `lit` which causes it to skip tests. 45 - # 46 - # Adding `python3.withPackages (ps: [ ... ])` to `checkDeps` also doesn't work 47 - # because this package is shadowed in `$PATH` by the regular `python3` 48 - # package. 49 - # 50 - # So, we "manually" assemble one python derivation for the package to depend 51 - # on, taking into account whether checks are enabled or not: 52 - python = if doCheck then 53 - let 54 - checkDeps = ps: with ps; [ psutil ]; 55 - in python3.withPackages checkDeps 56 - else python3; 57 - 58 - in stdenv.mkDerivation (rec { 59 - pname = "llvm"; 60 - inherit version; 61 - 62 - src = fetch pname "199yq3a214avcbi4kk2q0ajriifkvsr0l2dkx3a666m033ihi1ff"; 63 - polly_src = fetch "polly" "031r23ijhx7v93a5n33m2nc0x9xyqmx0d8xg80z7q971p6qd63sq"; 64 - 65 - unpackPhase = '' 66 - unpackFile $src 67 - mv llvm-${release_version}* llvm 68 - sourceRoot=$PWD/llvm 69 - '' + optionalString enablePolly '' 70 - unpackFile $polly_src 71 - mv polly-* $sourceRoot/tools/polly 72 - ''; 73 - 74 - outputs = [ "out" "lib" "dev" "python" ]; 75 - 76 - nativeBuildInputs = [ cmake python ] 77 - ++ optionals enableManpages [ python3.pkgs.sphinx python3.pkgs.recommonmark ]; 78 - 79 - buildInputs = [ libxml2 libffi ] 80 - ++ optional enablePFM libpfm; # exegesis 81 - 82 - propagatedBuildInputs = [ ncurses zlib ]; 83 - 84 - patches = [ 85 - # When cross-compiling we configure llvm-config-native with an approximation 86 - # of the flags used for the normal LLVM build. To avoid the need for building 87 - # a native libLLVM.so (which would fail) we force llvm-config to be linked 88 - # statically against the necessary LLVM components always. 89 - ../../common/llvm/llvm-config-link-static.patch 90 - 91 - ./gnu-install-dirs.patch 92 - # On older CPUs (e.g. Hydra/wendy) we'd be getting an error in this test. 93 - (fetchpatch { 94 - name = "uops-CMOV16rm-noreg.diff"; 95 - url = "https://github.com/llvm/llvm-project/commit/9e9f991ac033.diff"; 96 - sha256 = "sha256:12s8vr6ibri8b48h2z38f3afhwam10arfiqfy4yg37bmc054p5hi"; 97 - stripLen = 1; 98 - }) 99 - # gcc-11 compat upstream patch 100 - (fetchpatch { 101 - url = "https://github.com/llvm/llvm-project/commit/b498303066a63a203d24f739b2d2e0e56dca70d1.patch"; 102 - sha256 = "sha256:0nh123kld0dgz2h941lng331dkj3wbm5lfxm375k1f569gv83hlk"; 103 - stripLen = 1; 104 - }) 105 - 106 - # Fix invalid std::string(nullptr) for GCC 12 107 - (fetchpatch { 108 - name = "nvptx-gcc-12.patch"; 109 - url = "https://github.com/llvm/llvm-project/commit/99e64623ec9b31def9375753491cc6093c831809.patch"; 110 - sha256 = "0zjfjgavqzi2ypqwqnlvy6flyvdz8hi1anwv0ybwnm2zqixg7za3"; 111 - stripLen = 1; 112 - }) 113 - (fetchpatch { 114 - name = "dfaemitter-gcc-12.patch"; 115 - url = "https://github.com/llvm/llvm-project/commit/0841916e87a39e3c223c986e8da31e4a9a1432e3.patch"; 116 - sha256 = "1kckghvsngs51mqm82asy0s9vr19h8aqbw43a0w44mccqw6bzrwf"; 117 - stripLen = 1; 118 - }) 119 - 120 - # Fix musl build. 121 - (fetchpatch { 122 - url = "https://github.com/llvm/llvm-project/commit/5cd554303ead0f8891eee3cd6d25cb07f5a7bf67.patch"; 123 - relative = "llvm"; 124 - hash = "sha256-XPbvNJ45SzjMGlNUgt/IgEvM2dHQpDOe6woUJY+nUYA="; 125 - }) 126 - 127 - # Backport gcc-13 fixes with missing includes. 128 - (fetchpatch { 129 - name = "signals-gcc-13.patch"; 130 - url = "https://github.com/llvm/llvm-project/commit/ff1681ddb303223973653f7f5f3f3435b48a1983.patch"; 131 - hash = "sha256-CXwYxQezTq5vdmc8Yn88BUAEly6YZ5VEIA6X3y5NNOs="; 132 - stripLen = 1; 133 - }) 134 - (fetchpatch { 135 - name = "base64-gcc-13.patch"; 136 - url = "https://github.com/llvm/llvm-project/commit/5e9be93566f39ee6cecd579401e453eccfbe81e5.patch"; 137 - hash = "sha256-PAwrVrvffPd7tphpwCkYiz+67szPRzRB2TXBvKfzQ7U="; 138 - stripLen = 1; 139 - }) 140 - ] ++ lib.optional enablePolly ./gnu-install-dirs-polly.patch; 141 - 142 - postPatch = optionalString stdenv.isDarwin '' 143 - substituteInPlace cmake/modules/AddLLVM.cmake \ 144 - --replace 'set(_install_name_dir INSTALL_NAME_DIR "@rpath")' "set(_install_name_dir)" \ 145 - --replace 'set(_install_rpath "@loader_path/../''${CMAKE_INSTALL_LIBDIR}''${LLVM_LIBDIR_SUFFIX}" ''${extra_libdir})' "" 146 - '' + '' 147 - # FileSystem permissions tests fail with various special bits 148 - substituteInPlace unittests/Support/CMakeLists.txt \ 149 - --replace "Path.cpp" "" 150 - rm unittests/Support/Path.cpp 151 - '' + optionalString stdenv.hostPlatform.isMusl '' 152 - patch -p1 -i ${../../common/llvm/TLI-musl.patch} 153 - substituteInPlace unittests/Support/CMakeLists.txt \ 154 - --replace "add_subdirectory(DynamicLibrary)" "" 155 - rm unittests/Support/DynamicLibrary/DynamicLibraryTest.cpp 156 - # valgrind unhappy with musl or glibc, but fails w/musl only 157 - rm test/CodeGen/AArch64/wineh4.mir 158 - '' + optionalString stdenv.hostPlatform.isAarch32 '' 159 - # skip failing X86 test cases on 32-bit ARM 160 - rm test/DebugInfo/X86/convert-debugloc.ll 161 - rm test/DebugInfo/X86/convert-inlined.ll 162 - rm test/DebugInfo/X86/convert-linked.ll 163 - rm test/tools/dsymutil/X86/op-convert.test 164 - rm test/tools/gold/X86/split-dwarf.ll 165 - rm test/tools/llvm-readobj/ELF/dependent-libraries.test 166 - '' + optionalString (stdenv.hostPlatform.system == "armv6l-linux") '' 167 - # Seems to require certain floating point hardware (NEON?) 168 - rm test/ExecutionEngine/frem.ll 169 - '' + '' 170 - patchShebangs test/BugPoint/compile-custom.ll.py 171 - '' + '' 172 - # Tweak tests to ignore namespace part of type to support 173 - # gcc-12: https://gcc.gnu.org/PR103598. 174 - # The change below mangles strings like: 175 - # CHECK-NEXT: Starting llvm::Function pass manager run. 176 - # to: 177 - # CHECK-NEXT: Starting {{.*}}Function pass manager run. 178 - for f in \ 179 - test/Other/new-pass-manager.ll \ 180 - test/Other/new-pm-defaults.ll \ 181 - test/Other/new-pm-lto-defaults.ll \ 182 - test/Other/new-pm-thinlto-defaults.ll \ 183 - test/Other/pass-pipeline-parsing.ll \ 184 - test/Transforms/Inline/cgscc-incremental-invalidate.ll \ 185 - test/Transforms/Inline/clear-analyses.ll \ 186 - test/Transforms/LoopUnroll/unroll-loop-invalidation.ll \ 187 - test/Transforms/SCCP/ipsccp-preserve-analysis.ll \ 188 - test/Transforms/SCCP/preserve-analysis.ll \ 189 - test/Transforms/SROA/dead-inst.ll \ 190 - test/tools/gold/X86/new-pm.ll \ 191 - ; do 192 - echo "PATCH: $f" 193 - substituteInPlace $f \ 194 - --replace 'Starting llvm::' 'Starting {{.*}}' \ 195 - --replace 'Finished llvm::' 'Finished {{.*}}' 196 - done 197 - ''; 198 - 199 - preConfigure = '' 200 - # Workaround for configure flags that need to have spaces 201 - cmakeFlagsArray+=( 202 - -DLLVM_LIT_ARGS='-svj''${NIX_BUILD_CORES} --no-progress-bar' 203 - ) 204 - ''; 205 - 206 - # hacky fix: created binaries need to be run before installation 207 - preBuild = '' 208 - mkdir -p $out/ 209 - ln -sv $PWD/lib $out 210 - ''; 211 - 212 - # E.g. mesa.drivers use the build-id as a cache key (see #93946): 213 - LDFLAGS = optionalString (enableSharedLibraries && !stdenv.isDarwin) "-Wl,--build-id=sha1"; 214 - 215 - hardeningDisable = [ "trivialautovarinit" ]; 216 - 217 - cmakeBuildType = if debugVersion then "Debug" else "Release"; 218 - 219 - cmakeFlags = with stdenv; let 220 - # These flags influence llvm-config's BuildVariables.inc in addition to the 221 - # general build. We need to make sure these are also passed via 222 - # CROSS_TOOLCHAIN_FLAGS_NATIVE when cross-compiling or llvm-config-native 223 - # will return different results from the cross llvm-config. 224 - # 225 - # Some flags don't need to be repassed because LLVM already does so (like 226 - # CMAKE_BUILD_TYPE), others are irrelevant to the result. 227 - flagsForLlvmConfig = [ 228 - "-DLLVM_INSTALL_CMAKE_DIR=${placeholder "dev"}/lib/cmake/llvm/" 229 - "-DLLVM_ENABLE_RTTI=ON" 230 - ] ++ optionals enableSharedLibraries [ 231 - "-DLLVM_LINK_LLVM_DYLIB=ON" 232 - ]; 233 - in flagsForLlvmConfig ++ [ 234 - "-DLLVM_INSTALL_UTILS=ON" # Needed by rustc 235 - "-DLLVM_BUILD_TESTS=${if doCheck then "ON" else "OFF"}" 236 - "-DLLVM_ENABLE_FFI=ON" 237 - "-DLLVM_HOST_TRIPLE=${stdenv.hostPlatform.config}" 238 - "-DLLVM_DEFAULT_TARGET_TRIPLE=${stdenv.hostPlatform.config}" 239 - "-DLLVM_ENABLE_DUMP=ON" 240 - ] ++ optionals stdenv.hostPlatform.isStatic [ 241 - # Disables building of shared libs, -fPIC is still injected by cc-wrapper 242 - "-DLLVM_ENABLE_PIC=OFF" 243 - "-DLLVM_BUILD_STATIC=ON" 244 - # libxml2 needs to be disabled because the LLVM build system ignores its .la 245 - # file and doesn't link zlib as well. 246 - # https://github.com/ClangBuiltLinux/tc-build/issues/150#issuecomment-845418812 247 - "-DLLVM_ENABLE_LIBXML2=OFF" 248 - # This is a Shared Library not tied to LLVM_ENABLE_PIC 249 - "-DLLVM_TOOL_REMARKS_SHLIB_BUILD=OFF" 250 - ] ++ optionals enableManpages [ 251 - "-DLLVM_BUILD_DOCS=ON" 252 - "-DLLVM_ENABLE_SPHINX=ON" 253 - "-DSPHINX_OUTPUT_MAN=ON" 254 - "-DSPHINX_OUTPUT_HTML=OFF" 255 - "-DSPHINX_WARNINGS_AS_ERRORS=OFF" 256 - ] ++ optionals (enableGoldPlugin) [ 257 - "-DLLVM_BINUTILS_INCDIR=${libbfd.dev}/include" 258 - ] ++ optionals isDarwin [ 259 - "-DLLVM_ENABLE_LIBCXX=ON" 260 - "-DCAN_TARGET_i386=false" 261 - ] ++ optionals ((stdenv.hostPlatform != stdenv.buildPlatform) && !(stdenv.buildPlatform.canExecute stdenv.hostPlatform)) [ 262 - "-DCMAKE_CROSSCOMPILING=True" 263 - "-DLLVM_TABLEGEN=${buildLlvmTools.llvm}/bin/llvm-tblgen" 264 - ( 265 - let 266 - nativeCC = pkgsBuildBuild.targetPackages.stdenv.cc; 267 - nativeBintools = nativeCC.bintools.bintools; 268 - nativeToolchainFlags = [ 269 - "-DCMAKE_C_COMPILER=${nativeCC}/bin/${nativeCC.targetPrefix}cc" 270 - "-DCMAKE_CXX_COMPILER=${nativeCC}/bin/${nativeCC.targetPrefix}c++" 271 - "-DCMAKE_AR=${nativeBintools}/bin/${nativeBintools.targetPrefix}ar" 272 - "-DCMAKE_STRIP=${nativeBintools}/bin/${nativeBintools.targetPrefix}strip" 273 - "-DCMAKE_RANLIB=${nativeBintools}/bin/${nativeBintools.targetPrefix}ranlib" 274 - ]; 275 - # We need to repass the custom GNUInstallDirs values, otherwise CMake 276 - # will choose them for us, leading to wrong results in llvm-config-native 277 - nativeInstallFlags = [ 278 - "-DCMAKE_INSTALL_PREFIX=${placeholder "out"}" 279 - "-DCMAKE_INSTALL_BINDIR=${placeholder "out"}/bin" 280 - "-DCMAKE_INSTALL_INCLUDEDIR=${placeholder "dev"}/include" 281 - "-DCMAKE_INSTALL_LIBDIR=${placeholder "lib"}/lib" 282 - "-DCMAKE_INSTALL_LIBEXECDIR=${placeholder "lib"}/libexec" 283 - ]; 284 - in "-DCROSS_TOOLCHAIN_FLAGS_NATIVE:list=" 285 - + lib.concatStringsSep ";" (lib.concatLists [ 286 - flagsForLlvmConfig 287 - nativeToolchainFlags 288 - nativeInstallFlags 289 - ]) 290 - ) 291 - ]; 292 - 293 - postBuild = '' 294 - rm -fR $out 295 - ''; 296 - 297 - preCheck = '' 298 - export LD_LIBRARY_PATH=$LD_LIBRARY_PATH''${LD_LIBRARY_PATH:+:}$PWD/lib 299 - ''; 300 - 301 - postInstall = '' 302 - mkdir -p $python/share 303 - mv $out/share/opt-viewer $python/share/opt-viewer 304 - moveToOutput "bin/llvm-config*" "$dev" 305 - substituteInPlace "$dev/lib/cmake/llvm/LLVMExports-${if debugVersion then "debug" else "release"}.cmake" \ 306 - --replace "\''${_IMPORT_PREFIX}/lib/lib" "$lib/lib/lib" \ 307 - --replace "$out/bin/llvm-config" "$dev/bin/llvm-config" 308 - substituteInPlace "$dev/lib/cmake/llvm/LLVMConfig.cmake" \ 309 - --replace 'set(LLVM_BINARY_DIR "''${LLVM_INSTALL_PREFIX}")' 'set(LLVM_BINARY_DIR "''${LLVM_INSTALL_PREFIX}'"$lib"'")' 310 - '' 311 - + optionalString (stdenv.isDarwin && enableSharedLibraries) '' 312 - ln -s $lib/lib/libLLVM.dylib $lib/lib/libLLVM-${shortVersion}.dylib 313 - ln -s $lib/lib/libLLVM.dylib $lib/lib/libLLVM-${release_version}.dylib 314 - '' 315 - + optionalString (stdenv.buildPlatform != stdenv.hostPlatform) '' 316 - cp NATIVE/bin/llvm-config $dev/bin/llvm-config-native 317 - ''; 318 - 319 - inherit doCheck; 320 - 321 - checkTarget = "check-all"; 322 - 323 - requiredSystemFeatures = [ "big-parallel" ]; 324 - meta = llvm_meta // { 325 - homepage = "https://llvm.org/"; 326 - description = "A collection of modular and reusable compiler and toolchain technologies"; 327 - longDescription = '' 328 - The LLVM Project is a collection of modular and reusable compiler and 329 - toolchain technologies. Despite its name, LLVM has little to do with 330 - traditional virtual machines. The name "LLVM" itself is not an acronym; it 331 - is the full name of the project. 332 - LLVM began as a research project at the University of Illinois, with the 333 - goal of providing a modern, SSA-based compilation strategy capable of 334 - supporting both static and dynamic compilation of arbitrary programming 335 - languages. Since then, LLVM has grown to be an umbrella project consisting 336 - of a number of subprojects, many of which are being used in production by 337 - a wide variety of commercial and open source projects as well as being 338 - widely used in academic research. Code in the LLVM project is licensed 339 - under the "Apache 2.0 License with LLVM exceptions". 340 - ''; 341 - }; 342 - } // lib.optionalAttrs enableManpages { 343 - pname = "llvm-manpages"; 344 - 345 - buildPhase = '' 346 - make docs-llvm-man 347 - ''; 348 - 349 - propagatedBuildInputs = []; 350 - 351 - installPhase = '' 352 - make -C docs install 353 - ''; 354 - 355 - postPatch = null; 356 - postInstall = null; 357 - 358 - outputs = [ "out" ]; 359 - 360 - doCheck = false; 361 - 362 - meta = llvm_meta // { 363 - description = "man pages for LLVM ${version}"; 364 - }; 365 - })
-106
pkgs/development/compilers/llvm/11/llvm/gnu-install-dirs-polly.patch
··· 1 - diff --git a/tools/polly/CMakeLists.txt b/tools/polly/CMakeLists.txt 2 - index 9939097f743e..8cc538da912a 100644 3 - --- a/tools/polly/CMakeLists.txt 4 - +++ b/tools/polly/CMakeLists.txt 5 - @@ -2,7 +2,11 @@ 6 - if (NOT DEFINED LLVM_MAIN_SRC_DIR) 7 - project(Polly) 8 - cmake_minimum_required(VERSION 3.4.3) 9 - +endif() 10 - + 11 - +include(GNUInstallDirs) 12 - 13 - +if (NOT DEFINED LLVM_MAIN_SRC_DIR) 14 - # Where is LLVM installed? 15 - find_package(LLVM CONFIG REQUIRED) 16 - set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${LLVM_CMAKE_DIR}) 17 - @@ -145,14 +149,14 @@ include_directories( 18 - 19 - if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY) 20 - install(DIRECTORY include/ 21 - - DESTINATION include 22 - + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} 23 - FILES_MATCHING 24 - PATTERN "*.h" 25 - PATTERN ".svn" EXCLUDE 26 - ) 27 - 28 - install(DIRECTORY ${POLLY_BINARY_DIR}/include/ 29 - - DESTINATION include 30 - + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} 31 - FILES_MATCHING 32 - PATTERN "*.h" 33 - PATTERN "CMakeFiles" EXCLUDE 34 - diff --git a/tools/polly/cmake/CMakeLists.txt b/tools/polly/cmake/CMakeLists.txt 35 - index 211f95512717..f9e04a4844b6 100644 36 - --- a/tools/polly/cmake/CMakeLists.txt 37 - +++ b/tools/polly/cmake/CMakeLists.txt 38 - @@ -79,18 +79,18 @@ file(GENERATE 39 - 40 - # Generate PollyConfig.cmake for the install tree. 41 - unset(POLLY_EXPORTS) 42 - -set(POLLY_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") 43 - +set(POLLY_INSTALL_PREFIX "") 44 - set(POLLY_CONFIG_LLVM_CMAKE_DIR "${LLVM_BINARY_DIR}/${LLVM_INSTALL_PACKAGE_DIR}") 45 - -set(POLLY_CONFIG_CMAKE_DIR "${POLLY_INSTALL_PREFIX}/${POLLY_INSTALL_PACKAGE_DIR}") 46 - -set(POLLY_CONFIG_LIBRARY_DIRS "${POLLY_INSTALL_PREFIX}/lib${LLVM_LIBDIR_SUFFIX}") 47 - +set(POLLY_CONFIG_CMAKE_DIR "${POLLY_INSTALL_PREFIX}${CMAKE_INSTALL_PREFIX}/${POLLY_INSTALL_PACKAGE_DIR}") 48 - +set(POLLY_CONFIG_LIBRARY_DIRS "${POLLY_INSTALL_PREFIX}${CMAKE_INSTALL_FULL_LIBDIR}${LLVM_LIBDIR_SUFFIX}") 49 - if (POLLY_BUNDLED_ISL) 50 - set(POLLY_CONFIG_INCLUDE_DIRS 51 - - "${POLLY_INSTALL_PREFIX}/include" 52 - - "${POLLY_INSTALL_PREFIX}/include/polly" 53 - + "${POLLY_INSTALL_PREFIX}${CMAKE_INSTALL_FULL_LIBDIR}" 54 - + "${POLLY_INSTALL_PREFIX}${CMAKE_INSTALL_FULL_LIBDIR}/polly" 55 - ) 56 - else() 57 - set(POLLY_CONFIG_INCLUDE_DIRS 58 - - "${POLLY_INSTALL_PREFIX}/include" 59 - + "${POLLY_INSTALL_PREFIX}${CMAKE_INSTALL_FULL_INCLUDEDIR}" 60 - ${ISL_INCLUDE_DIRS} 61 - ) 62 - endif() 63 - @@ -100,12 +100,12 @@ endif() 64 - foreach(tgt IN LISTS POLLY_CONFIG_EXPORTED_TARGETS) 65 - get_target_property(tgt_type ${tgt} TYPE) 66 - if (tgt_type STREQUAL "EXECUTABLE") 67 - - set(tgt_prefix "bin/") 68 - + set(tgt_prefix "${CMAKE_INSTALL_BINDIR}/") 69 - else() 70 - - set(tgt_prefix "lib/") 71 - + set(tgt_prefix "${CMAKE_INSTALL_LIBDIR}/") 72 - endif() 73 - 74 - - set(tgt_path "${CMAKE_INSTALL_PREFIX}/${tgt_prefix}$<TARGET_FILE_NAME:${tgt}>") 75 - + set(tgt_path "${tgt_prefix}$<TARGET_FILE_NAME:${tgt}>") 76 - file(RELATIVE_PATH tgt_path ${POLLY_CONFIG_CMAKE_DIR} ${tgt_path}) 77 - 78 - if (NOT tgt_type STREQUAL "INTERFACE_LIBRARY") 79 - diff --git a/tools/polly/cmake/polly_macros.cmake b/tools/polly/cmake/polly_macros.cmake 80 - index 86de6f10686e..91f30891ccbe 100644 81 - --- a/tools/polly/cmake/polly_macros.cmake 82 - +++ b/tools/polly/cmake/polly_macros.cmake 83 - @@ -44,8 +44,8 @@ macro(add_polly_library name) 84 - if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY OR ${name} STREQUAL "LLVMPolly") 85 - install(TARGETS ${name} 86 - EXPORT LLVMExports 87 - - LIBRARY DESTINATION lib${LLVM_LIBDIR_SUFFIX} 88 - - ARCHIVE DESTINATION lib${LLVM_LIBDIR_SUFFIX}) 89 - + LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}${LLVM_LIBDIR_SUFFIX} 90 - + ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}${LLVM_LIBDIR_SUFFIX}) 91 - endif() 92 - set_property(GLOBAL APPEND PROPERTY LLVM_EXPORTS ${name}) 93 - endmacro(add_polly_library) 94 - diff --git a/tools/polly/lib/External/CMakeLists.txt b/tools/polly/lib/External/CMakeLists.txt 95 - index 1039079cb49c..28b499ae1e9e 100644 96 - --- a/tools/polly/lib/External/CMakeLists.txt 97 - +++ b/tools/polly/lib/External/CMakeLists.txt 98 - @@ -275,7 +275,7 @@ if (POLLY_BUNDLED_ISL) 99 - install(DIRECTORY 100 - ${ISL_SOURCE_DIR}/include/ 101 - ${ISL_BINARY_DIR}/include/ 102 - - DESTINATION include/polly 103 - + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/polly 104 - FILES_MATCHING 105 - PATTERN "*.h" 106 - PATTERN "CMakeFiles" EXCLUDE
-417
pkgs/development/compilers/llvm/11/llvm/gnu-install-dirs.patch
··· 1 - diff --git a/CMakeLists.txt b/CMakeLists.txt 2 - index 247ad36d3845..815e2c4ba955 100644 3 - --- a/CMakeLists.txt 4 - +++ b/CMakeLists.txt 5 - @@ -269,15 +269,21 @@ if (CMAKE_BUILD_TYPE AND 6 - message(FATAL_ERROR "Invalid value for CMAKE_BUILD_TYPE: ${CMAKE_BUILD_TYPE}") 7 - endif() 8 - 9 - +include(GNUInstallDirs) 10 - + 11 - set(LLVM_LIBDIR_SUFFIX "" CACHE STRING "Define suffix of library directory name (32/64)" ) 12 - 13 - -set(LLVM_TOOLS_INSTALL_DIR "bin" CACHE STRING "Path for binary subdirectory (defaults to 'bin')") 14 - +set(LLVM_TOOLS_INSTALL_DIR "${CMAKE_INSTALL_BINDIR}" CACHE STRING 15 - + "Path for binary subdirectory (defaults to 'bin')") 16 - mark_as_advanced(LLVM_TOOLS_INSTALL_DIR) 17 - 18 - set(LLVM_UTILS_INSTALL_DIR "${LLVM_TOOLS_INSTALL_DIR}" CACHE STRING 19 - "Path to install LLVM utilities (enabled by LLVM_INSTALL_UTILS=ON) (defaults to LLVM_TOOLS_INSTALL_DIR)") 20 - mark_as_advanced(LLVM_UTILS_INSTALL_DIR) 21 - 22 - +set(LLVM_INSTALL_CMAKE_DIR "${CMAKE_INSTALL_LIBDIR}${LLVM_LIBDIR_SUFFIX}/cmake/llvm" CACHE STRING 23 - + "Path for CMake subdirectory (defaults to lib/cmake/llvm)" ) 24 - + 25 - # They are used as destination of target generators. 26 - set(LLVM_RUNTIME_OUTPUT_INTDIR ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/bin) 27 - set(LLVM_LIBRARY_OUTPUT_INTDIR ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/lib${LLVM_LIBDIR_SUFFIX}) 28 - @@ -559,9 +565,9 @@ option (LLVM_ENABLE_SPHINX "Use Sphinx to generate llvm documentation." OFF) 29 - option (LLVM_ENABLE_OCAMLDOC "Build OCaml bindings documentation." ON) 30 - option (LLVM_ENABLE_BINDINGS "Build bindings." ON) 31 - 32 - -set(LLVM_INSTALL_DOXYGEN_HTML_DIR "share/doc/llvm/doxygen-html" 33 - +set(LLVM_INSTALL_DOXYGEN_HTML_DIR "${CMAKE_INSTALL_DOCDIR}/${project}/doxygen-html" 34 - CACHE STRING "Doxygen-generated HTML documentation install directory") 35 - -set(LLVM_INSTALL_OCAMLDOC_HTML_DIR "share/doc/llvm/ocaml-html" 36 - +set(LLVM_INSTALL_OCAMLDOC_HTML_DIR "${CMAKE_INSTALL_DOCDIR}/${project}/ocaml-html" 37 - CACHE STRING "OCamldoc-generated HTML documentation install directory") 38 - 39 - option (LLVM_BUILD_EXTERNAL_COMPILER_RT 40 - @@ -1107,7 +1113,7 @@ endif() 41 - 42 - if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY) 43 - install(DIRECTORY include/llvm include/llvm-c 44 - - DESTINATION include 45 - + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} 46 - COMPONENT llvm-headers 47 - FILES_MATCHING 48 - PATTERN "*.def" 49 - @@ -1119,7 +1125,7 @@ if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY) 50 - ) 51 - 52 - install(DIRECTORY ${LLVM_INCLUDE_DIR}/llvm ${LLVM_INCLUDE_DIR}/llvm-c 53 - - DESTINATION include 54 - + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} 55 - COMPONENT llvm-headers 56 - FILES_MATCHING 57 - PATTERN "*.def" 58 - @@ -1134,13 +1140,13 @@ if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY) 59 - 60 - if (LLVM_INSTALL_MODULEMAPS) 61 - install(DIRECTORY include/llvm include/llvm-c 62 - - DESTINATION include 63 - + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} 64 - COMPONENT llvm-headers 65 - FILES_MATCHING 66 - PATTERN "module.modulemap" 67 - ) 68 - install(FILES include/llvm/module.install.modulemap 69 - - DESTINATION include/llvm 70 - + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/llvm 71 - COMPONENT llvm-headers 72 - RENAME "module.extern.modulemap" 73 - ) 74 - diff --git a/cmake/modules/AddLLVM.cmake b/cmake/modules/AddLLVM.cmake 75 - index b74adc11ade9..a5aa258cde30 100644 76 - --- a/cmake/modules/AddLLVM.cmake 77 - +++ b/cmake/modules/AddLLVM.cmake 78 - @@ -766,9 +766,9 @@ macro(add_llvm_library name) 79 - 80 - install(TARGETS ${name} 81 - ${export_to_llvmexports} 82 - - LIBRARY DESTINATION lib${LLVM_LIBDIR_SUFFIX} COMPONENT ${name} 83 - - ARCHIVE DESTINATION lib${LLVM_LIBDIR_SUFFIX} COMPONENT ${name} 84 - - RUNTIME DESTINATION bin COMPONENT ${name}) 85 - + LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}${LLVM_LIBDIR_SUFFIX} COMPONENT ${name} 86 - + ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}${LLVM_LIBDIR_SUFFIX} COMPONENT ${name} 87 - + RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT ${name}) 88 - 89 - if (NOT LLVM_ENABLE_IDE) 90 - add_llvm_install_targets(install-${name} 91 - @@ -981,7 +981,7 @@ function(process_llvm_pass_plugins) 92 - "set(LLVM_STATIC_EXTENSIONS ${LLVM_STATIC_EXTENSIONS})") 93 - install(FILES 94 - ${llvm_cmake_builddir}/LLVMConfigExtensions.cmake 95 - - DESTINATION ${LLVM_INSTALL_PACKAGE_DIR} 96 - + DESTINATION ${LLVM_INSTALL_CMAKE_DIR} 97 - COMPONENT cmake-exports) 98 - 99 - set(ExtensionDef "${LLVM_BINARY_DIR}/include/llvm/Support/Extension.def") 100 - @@ -1201,7 +1201,7 @@ macro(add_llvm_example name) 101 - endif() 102 - add_llvm_executable(${name} ${ARGN}) 103 - if( LLVM_BUILD_EXAMPLES ) 104 - - install(TARGETS ${name} RUNTIME DESTINATION examples) 105 - + install(TARGETS ${name} RUNTIME DESTINATION ${CMAKE_INSTALL_DOCDIR}/examples) 106 - endif() 107 - set_target_properties(${name} PROPERTIES FOLDER "Examples") 108 - endmacro(add_llvm_example name) 109 - @@ -1819,7 +1819,7 @@ function(llvm_install_library_symlink name dest type) 110 - set(full_name ${CMAKE_${type}_LIBRARY_PREFIX}${name}${CMAKE_${type}_LIBRARY_SUFFIX}) 111 - set(full_dest ${CMAKE_${type}_LIBRARY_PREFIX}${dest}${CMAKE_${type}_LIBRARY_SUFFIX}) 112 - 113 - - set(output_dir lib${LLVM_LIBDIR_SUFFIX}) 114 - + set(output_dir ${CMAKE_INSTALL_FULL_LIBDIR}${LLVM_LIBDIR_SUFFIX}) 115 - if(WIN32 AND "${type}" STREQUAL "SHARED") 116 - set(output_dir bin) 117 - endif() 118 - @@ -1836,7 +1836,7 @@ function(llvm_install_library_symlink name dest type) 119 - endif() 120 - endfunction() 121 - 122 - -function(llvm_install_symlink name dest) 123 - +function(llvm_install_symlink name dest output_dir) 124 - cmake_parse_arguments(ARG "ALWAYS_GENERATE" "COMPONENT" "" ${ARGN}) 125 - foreach(path ${CMAKE_MODULE_PATH}) 126 - if(EXISTS ${path}/LLVMInstallSymlink.cmake) 127 - @@ -1859,7 +1859,7 @@ function(llvm_install_symlink name dest) 128 - set(full_dest ${dest}${CMAKE_EXECUTABLE_SUFFIX}) 129 - 130 - install(SCRIPT ${INSTALL_SYMLINK} 131 - - CODE "install_symlink(${full_name} ${full_dest} ${LLVM_TOOLS_INSTALL_DIR})" 132 - + CODE "install_symlink(${full_name} ${full_dest} ${output_dir})" 133 - COMPONENT ${component}) 134 - 135 - if (NOT LLVM_ENABLE_IDE AND NOT ARG_ALWAYS_GENERATE) 136 - @@ -1942,7 +1942,8 @@ function(add_llvm_tool_symlink link_name target) 137 - endif() 138 - 139 - if ((TOOL_IS_TOOLCHAIN OR NOT LLVM_INSTALL_TOOLCHAIN_ONLY) AND LLVM_BUILD_TOOLS) 140 - - llvm_install_symlink(${link_name} ${target}) 141 - + GNUInstallDirs_get_absolute_install_dir(output_dir LLVM_TOOLS_INSTALL_DIR) 142 - + llvm_install_symlink(${link_name} ${target} ${output_dir}) 143 - endif() 144 - endif() 145 - endfunction() 146 - @@ -2064,9 +2065,9 @@ function(llvm_setup_rpath name) 147 - 148 - if (APPLE) 149 - set(_install_name_dir INSTALL_NAME_DIR "@rpath") 150 - - set(_install_rpath "@loader_path/../lib${LLVM_LIBDIR_SUFFIX}" ${extra_libdir}) 151 - + set(_install_rpath "@loader_path/../${CMAKE_INSTALL_LIBDIR}${LLVM_LIBDIR_SUFFIX}" ${extra_libdir}) 152 - elseif(UNIX) 153 - - set(_install_rpath "\$ORIGIN/../lib${LLVM_LIBDIR_SUFFIX}" ${extra_libdir}) 154 - + set(_install_rpath "\$ORIGIN/../${CMAKE_INSTALL_LIBDIR}${LLVM_LIBDIR_SUFFIX}" ${extra_libdir}) 155 - if(${CMAKE_SYSTEM_NAME} MATCHES "(FreeBSD|DragonFly)") 156 - set_property(TARGET ${name} APPEND_STRING PROPERTY 157 - LINK_FLAGS " -Wl,-z,origin ") 158 - diff --git a/cmake/modules/AddOCaml.cmake b/cmake/modules/AddOCaml.cmake 159 - index 554046b20edf..4d1ad980641e 100644 160 - --- a/cmake/modules/AddOCaml.cmake 161 - +++ b/cmake/modules/AddOCaml.cmake 162 - @@ -144,9 +144,9 @@ function(add_ocaml_library name) 163 - endforeach() 164 - 165 - if( APPLE ) 166 - - set(ocaml_rpath "@executable_path/../../../lib${LLVM_LIBDIR_SUFFIX}") 167 - + set(ocaml_rpath "@executable_path/../../../${CMAKE_INSTALL_LIBDIR}${LLVM_LIBDIR_SUFFIX}") 168 - elseif( UNIX ) 169 - - set(ocaml_rpath "\\$ORIGIN/../../../lib${LLVM_LIBDIR_SUFFIX}") 170 - + set(ocaml_rpath "\\$ORIGIN/../../../${CMAKE_INSTALL_LIBDIR}${LLVM_LIBDIR_SUFFIX}") 171 - endif() 172 - list(APPEND ocaml_flags "-ldopt" "-Wl,-rpath,${ocaml_rpath}") 173 - 174 - diff --git a/cmake/modules/AddSphinxTarget.cmake b/cmake/modules/AddSphinxTarget.cmake 175 - index b5babb30abcf..190b1222a9f9 100644 176 - --- a/cmake/modules/AddSphinxTarget.cmake 177 - +++ b/cmake/modules/AddSphinxTarget.cmake 178 - @@ -84,7 +84,7 @@ function (add_sphinx_target builder project) 179 - endif() 180 - elseif (builder STREQUAL html) 181 - string(TOUPPER "${project}" project_upper) 182 - - set(${project_upper}_INSTALL_SPHINX_HTML_DIR "share/doc/${project}/html" 183 - + set(${project_upper}_INSTALL_SPHINX_HTML_DIR "${CMAKE_INSTALL_DOCDIR}/${project}/html" 184 - CACHE STRING "HTML documentation install directory for ${project}") 185 - 186 - # '/.' indicates: copy the contents of the directory directly into 187 - diff --git a/cmake/modules/CMakeLists.txt b/cmake/modules/CMakeLists.txt 188 - index 4b8879f65fe4..f01920bcc60f 100644 189 - --- a/cmake/modules/CMakeLists.txt 190 - +++ b/cmake/modules/CMakeLists.txt 191 - @@ -1,4 +1,4 @@ 192 - -set(LLVM_INSTALL_PACKAGE_DIR lib${LLVM_LIBDIR_SUFFIX}/cmake/llvm) 193 - +set(LLVM_INSTALL_PACKAGE_DIR ${LLVM_INSTALL_CMAKE_DIR} CACHE STRING "Path for CMake subdirectory (defaults to 'cmake/llvm')") 194 - set(llvm_cmake_builddir "${LLVM_BINARY_DIR}/${LLVM_INSTALL_PACKAGE_DIR}") 195 - 196 - # First for users who use an installed LLVM, create the LLVMExports.cmake file. 197 - @@ -108,13 +108,13 @@ foreach(p ${_count}) 198 - set(LLVM_CONFIG_CODE "${LLVM_CONFIG_CODE} 199 - get_filename_component(LLVM_INSTALL_PREFIX \"\${LLVM_INSTALL_PREFIX}\" PATH)") 200 - endforeach(p) 201 - -set(LLVM_CONFIG_INCLUDE_DIRS "\${LLVM_INSTALL_PREFIX}/include") 202 - +set(LLVM_CONFIG_INCLUDE_DIRS "\${LLVM_INSTALL_PREFIX}/${CMAKE_INSTALL_INCLUDEDIR}") 203 - set(LLVM_CONFIG_INCLUDE_DIR "${LLVM_CONFIG_INCLUDE_DIRS}") 204 - set(LLVM_CONFIG_MAIN_INCLUDE_DIR "${LLVM_CONFIG_INCLUDE_DIRS}") 205 - -set(LLVM_CONFIG_LIBRARY_DIRS "\${LLVM_INSTALL_PREFIX}/lib\${LLVM_LIBDIR_SUFFIX}") 206 - +set(LLVM_CONFIG_LIBRARY_DIRS "\${LLVM_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}\${LLVM_LIBDIR_SUFFIX}") 207 - set(LLVM_CONFIG_CMAKE_DIR "\${LLVM_INSTALL_PREFIX}/${LLVM_INSTALL_PACKAGE_DIR}") 208 - set(LLVM_CONFIG_BINARY_DIR "\${LLVM_INSTALL_PREFIX}") 209 - -set(LLVM_CONFIG_TOOLS_BINARY_DIR "\${LLVM_INSTALL_PREFIX}/bin") 210 - +set(LLVM_CONFIG_TOOLS_BINARY_DIR "\${LLVM_INSTALL_PREFIX}/${CMAKE_INSTALL_BINDIR}") 211 - 212 - # Generate a default location for lit 213 - if (LLVM_INSTALL_UTILS AND LLVM_BUILD_UTILS) 214 - diff --git a/cmake/modules/LLVMInstallSymlink.cmake b/cmake/modules/LLVMInstallSymlink.cmake 215 - index 09fed8085c23..aa79f192abf0 100644 216 - --- a/cmake/modules/LLVMInstallSymlink.cmake 217 - +++ b/cmake/modules/LLVMInstallSymlink.cmake 218 - @@ -10,7 +10,7 @@ function(install_symlink name target outdir) 219 - set(LINK_OR_COPY copy) 220 - endif() 221 - 222 - - set(bindir "${DESTDIR}${CMAKE_INSTALL_PREFIX}/${outdir}/") 223 - + set(bindir "${DESTDIR}${outdir}/") 224 - 225 - message(STATUS "Creating ${name}") 226 - 227 - diff --git a/docs/CMake.rst b/docs/CMake.rst 228 - index 1f908d3e95b1..1315e0aa40e1 100644 229 - --- a/docs/CMake.rst 230 - +++ b/docs/CMake.rst 231 - @@ -196,7 +196,7 @@ CMake manual, or execute ``cmake --help-variable VARIABLE_NAME``. 232 - **LLVM_LIBDIR_SUFFIX**:STRING 233 - Extra suffix to append to the directory where libraries are to be 234 - installed. On a 64-bit architecture, one could use ``-DLLVM_LIBDIR_SUFFIX=64`` 235 - - to install libraries to ``/usr/lib64``. 236 - + to install libraries to ``/usr/lib64``. See also ``CMAKE_INSTALL_LIBDIR``. 237 - 238 - **CMAKE_C_FLAGS**:STRING 239 - Extra flags to use when compiling C source files. 240 - @@ -516,8 +516,8 @@ LLVM-specific variables 241 - 242 - **LLVM_INSTALL_DOXYGEN_HTML_DIR**:STRING 243 - The path to install Doxygen-generated HTML documentation to. This path can 244 - - either be absolute or relative to the CMAKE_INSTALL_PREFIX. Defaults to 245 - - `share/doc/llvm/doxygen-html`. 246 - + either be absolute or relative to the ``CMAKE_INSTALL_PREFIX``. Defaults to 247 - + `${CMAKE_INSTALL_DOCDIR}/${project}/doxygen-html`. 248 - 249 - **LLVM_ENABLE_SPHINX**:BOOL 250 - If specified, CMake will search for the ``sphinx-build`` executable and will make 251 - @@ -548,13 +548,33 @@ LLVM-specific variables 252 - 253 - **LLVM_INSTALL_SPHINX_HTML_DIR**:STRING 254 - The path to install Sphinx-generated HTML documentation to. This path can 255 - - either be absolute or relative to the CMAKE_INSTALL_PREFIX. Defaults to 256 - - `share/doc/llvm/html`. 257 - + either be absolute or relative to the ``CMAKE_INSTALL_PREFIX``. Defaults to 258 - + `${CMAKE_INSTALL_DOCDIR}/${project}/html`. 259 - 260 - **LLVM_INSTALL_OCAMLDOC_HTML_DIR**:STRING 261 - The path to install OCamldoc-generated HTML documentation to. This path can 262 - - either be absolute or relative to the CMAKE_INSTALL_PREFIX. Defaults to 263 - - `share/doc/llvm/ocaml-html`. 264 - + either be absolute or relative to the ``CMAKE_INSTALL_PREFIX``. Defaults to 265 - + `${CMAKE_INSTALL_DOCDIR}/${project}/ocaml-html`. 266 - + 267 - +**CMAKE_INSTALL_BINDIR**:STRING 268 - + The path to install binary tools, relative to the ``CMAKE_INSTALL_PREFIX``. 269 - + Defaults to `bin`. 270 - + 271 - +**CMAKE_INSTALL_LIBDIR**:STRING 272 - + The path to install libraries, relative to the ``CMAKE_INSTALL_PREFIX``. 273 - + Defaults to `lib`. 274 - + 275 - +**CMAKE_INSTALL_INCLUDEDIR**:STRING 276 - + The path to install header files, relative to the ``CMAKE_INSTALL_PREFIX``. 277 - + Defaults to `include`. 278 - + 279 - +**CMAKE_INSTALL_DOCDIR**:STRING 280 - + The path to install documentation, relative to the ``CMAKE_INSTALL_PREFIX``. 281 - + Defaults to `share/doc`. 282 - + 283 - +**CMAKE_INSTALL_MANDIR**:STRING 284 - + The path to install manpage files, relative to the ``CMAKE_INSTALL_PREFIX``. 285 - + Defaults to `share/man`. 286 - 287 - **LLVM_CREATE_XCODE_TOOLCHAIN**:BOOL 288 - macOS Only: If enabled CMake will generate a target named 289 - @@ -752,9 +772,11 @@ the ``cmake`` command or by setting it directly in ``ccmake`` or ``cmake-gui``). 290 - 291 - This file is available in two different locations. 292 - 293 - -* ``<INSTALL_PREFIX>/lib/cmake/llvm/LLVMConfig.cmake`` where 294 - - ``<INSTALL_PREFIX>`` is the install prefix of an installed version of LLVM. 295 - - On Linux typically this is ``/usr/lib/cmake/llvm/LLVMConfig.cmake``. 296 - +* ``<LLVM_INSTALL_PACKAGE_DIR>LLVMConfig.cmake`` where 297 - + ``<LLVM_INSTALL_PACKAGE_DIR>`` is the location where LLVM CMake modules are 298 - + installed as part of an installed version of LLVM. This is typically 299 - + ``cmake/llvm/`` within the lib directory. On Linux, this is typically 300 - + ``/usr/lib/cmake/llvm/LLVMConfig.cmake``. 301 - 302 - * ``<LLVM_BUILD_ROOT>/lib/cmake/llvm/LLVMConfig.cmake`` where 303 - ``<LLVM_BUILD_ROOT>`` is the root of the LLVM build tree. **Note: this is only 304 - diff --git a/examples/Bye/CMakeLists.txt b/examples/Bye/CMakeLists.txt 305 - index bb96edb4b4bf..678c22fb43c8 100644 306 - --- a/examples/Bye/CMakeLists.txt 307 - +++ b/examples/Bye/CMakeLists.txt 308 - @@ -14,6 +14,6 @@ if (NOT WIN32) 309 - BUILDTREE_ONLY 310 - ) 311 - 312 - - install(TARGETS ${name} RUNTIME DESTINATION examples) 313 - + install(TARGETS ${name} RUNTIME DESTINATION ${CMAKE_INSTALL_DOCDIR}/examples) 314 - set_target_properties(${name} PROPERTIES FOLDER "Examples") 315 - endif() 316 - diff --git a/include/llvm/CMakeLists.txt b/include/llvm/CMakeLists.txt 317 - index b46319f24fc8..2feabd1954e4 100644 318 - --- a/include/llvm/CMakeLists.txt 319 - +++ b/include/llvm/CMakeLists.txt 320 - @@ -5,5 +5,5 @@ add_subdirectory(Frontend) 321 - # If we're doing an out-of-tree build, copy a module map for generated 322 - # header files into the build area. 323 - if (NOT "${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_BINARY_DIR}") 324 - - configure_file(module.modulemap.build module.modulemap COPYONLY) 325 - + configure_file(module.modulemap.build ${LLVM_INCLUDE_DIR}/module.modulemap COPYONLY) 326 - endif (NOT "${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_BINARY_DIR}") 327 - diff --git a/tools/llvm-config/BuildVariables.inc.in b/tools/llvm-config/BuildVariables.inc.in 328 - index 63cef75368b7..6295478b1f3d 100644 329 - --- a/tools/llvm-config/BuildVariables.inc.in 330 - +++ b/tools/llvm-config/BuildVariables.inc.in 331 - @@ -23,6 +23,10 @@ 332 - #define LLVM_CXXFLAGS "@LLVM_CXXFLAGS@" 333 - #define LLVM_BUILDMODE "@LLVM_BUILDMODE@" 334 - #define LLVM_LIBDIR_SUFFIX "@LLVM_LIBDIR_SUFFIX@" 335 - +#define LLVM_INSTALL_BINDIR "@CMAKE_INSTALL_BINDIR@" 336 - +#define LLVM_INSTALL_LIBDIR "@CMAKE_INSTALL_LIBDIR@" 337 - +#define LLVM_INSTALL_INCLUDEDIR "@CMAKE_INSTALL_INCLUDEDIR@" 338 - +#define LLVM_INSTALL_CMAKEDIR "@LLVM_INSTALL_CMAKE_DIR@" 339 - #define LLVM_TARGETS_BUILT "@LLVM_TARGETS_BUILT@" 340 - #define LLVM_SYSTEM_LIBS "@LLVM_SYSTEM_LIBS@" 341 - #define LLVM_BUILD_SYSTEM "@LLVM_BUILD_SYSTEM@" 342 - diff --git a/tools/llvm-config/llvm-config.cpp b/tools/llvm-config/llvm-config.cpp 343 - index 7e74b7c90816..f185e9283f83 100644 344 - --- a/tools/llvm-config/llvm-config.cpp 345 - +++ b/tools/llvm-config/llvm-config.cpp 346 - @@ -358,12 +358,26 @@ int main(int argc, char **argv) { 347 - ("-I" + ActiveIncludeDir + " " + "-I" + ActiveObjRoot + "/include"); 348 - } else { 349 - ActivePrefix = CurrentExecPrefix; 350 - - ActiveIncludeDir = ActivePrefix + "/include"; 351 - - SmallString<256> path(StringRef(LLVM_TOOLS_INSTALL_DIR)); 352 - - sys::fs::make_absolute(ActivePrefix, path); 353 - - ActiveBinDir = std::string(path.str()); 354 - - ActiveLibDir = ActivePrefix + "/lib" + LLVM_LIBDIR_SUFFIX; 355 - - ActiveCMakeDir = ActiveLibDir + "/cmake/llvm"; 356 - + { 357 - + SmallString<256> path(StringRef(LLVM_INSTALL_INCLUDEDIR)); 358 - + sys::fs::make_absolute(ActivePrefix, path); 359 - + ActiveIncludeDir = std::string(path.str()); 360 - + } 361 - + { 362 - + SmallString<256> path(StringRef(LLVM_INSTALL_BINDIR)); 363 - + sys::fs::make_absolute(ActivePrefix, path); 364 - + ActiveBinDir = std::string(path.str()); 365 - + } 366 - + { 367 - + SmallString<256> path(StringRef(LLVM_INSTALL_LIBDIR LLVM_LIBDIR_SUFFIX)); 368 - + sys::fs::make_absolute(ActivePrefix, path); 369 - + ActiveLibDir = std::string(path.str()); 370 - + } 371 - + { 372 - + SmallString<256> path(StringRef(LLVM_INSTALL_CMAKEDIR)); 373 - + sys::fs::make_absolute(ActivePrefix, path); 374 - + ActiveCMakeDir = std::string(path.str()); 375 - + } 376 - ActiveIncludeOption = "-I" + ActiveIncludeDir; 377 - } 378 - 379 - diff --git a/tools/lto/CMakeLists.txt b/tools/lto/CMakeLists.txt 380 - index 2963f97cad88..69d66c9c9ca1 100644 381 - --- a/tools/lto/CMakeLists.txt 382 - +++ b/tools/lto/CMakeLists.txt 383 - @@ -25,7 +25,7 @@ add_llvm_library(LTO SHARED INSTALL_WITH_TOOLCHAIN ${SOURCES} DEPENDS 384 - intrinsics_gen) 385 - 386 - install(FILES ${LLVM_MAIN_INCLUDE_DIR}/llvm-c/lto.h 387 - - DESTINATION include/llvm-c 388 - + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/llvm-c 389 - COMPONENT LTO) 390 - 391 - if (APPLE) 392 - diff --git a/tools/opt-viewer/CMakeLists.txt b/tools/opt-viewer/CMakeLists.txt 393 - index ead73ec13a8f..250362021f17 100644 394 - --- a/tools/opt-viewer/CMakeLists.txt 395 - +++ b/tools/opt-viewer/CMakeLists.txt 396 - @@ -8,7 +8,7 @@ set (files 397 - 398 - foreach (file ${files}) 399 - install(PROGRAMS ${file} 400 - - DESTINATION share/opt-viewer 401 - + DESTINATION ${CMAKE_INSTALL_DATADIR}/opt-viewer 402 - COMPONENT opt-viewer) 403 - endforeach (file) 404 - 405 - diff --git a/tools/remarks-shlib/CMakeLists.txt b/tools/remarks-shlib/CMakeLists.txt 406 - index e948496c603a..1f4df8a98b10 100644 407 - --- a/tools/remarks-shlib/CMakeLists.txt 408 - +++ b/tools/remarks-shlib/CMakeLists.txt 409 - @@ -11,7 +11,7 @@ set(LLVM_EXPORTED_SYMBOL_FILE ${CMAKE_CURRENT_SOURCE_DIR}/Remarks.exports) 410 - add_llvm_library(Remarks SHARED INSTALL_WITH_TOOLCHAIN ${SOURCES}) 411 - 412 - install(FILES ${LLVM_MAIN_INCLUDE_DIR}/llvm-c/Remarks.h 413 - - DESTINATION include/llvm-c 414 - + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/llvm-c 415 - COMPONENT Remarks) 416 - 417 - if (APPLE)
-47
pkgs/development/compilers/llvm/11/openmp/default.nix
··· 1 - { lib 2 - , stdenv 3 - , llvm_meta 4 - , fetch 5 - , fetchpatch 6 - , cmake 7 - , llvm 8 - , targetLlvm 9 - , perl 10 - , version 11 - }: 12 - 13 - stdenv.mkDerivation rec { 14 - pname = "openmp"; 15 - inherit version; 16 - 17 - src = fetch pname "0bh5cswgpc79awlq8j5i7hp355adaac7s6zaz0zwp6mkflxli1yi"; 18 - 19 - patches = [ 20 - # Fix compilation on aarch64-darwin, remove after the next release. 21 - (fetchpatch { 22 - url = "https://github.com/llvm/llvm-project/commit/7b5254223acbf2ef9cd278070c5a84ab278d7e5f.patch"; 23 - sha256 = "sha256-A+9/IVIoazu68FK5H5CiXcOEYe1Hpp4xTx2mIw7m8Es="; 24 - stripLen = 1; 25 - }) 26 - ]; 27 - 28 - nativeBuildInputs = [ cmake perl ]; 29 - buildInputs = [ 30 - (if stdenv.buildPlatform == stdenv.hostPlatform then llvm else targetLlvm) 31 - ]; 32 - 33 - meta = llvm_meta // { 34 - homepage = "https://openmp.llvm.org/"; 35 - description = "Support for the OpenMP language"; 36 - longDescription = '' 37 - The OpenMP subproject of LLVM contains the components required to build an 38 - executable OpenMP program that are outside the compiler itself. 39 - Contains the code for the runtime library against which code compiled by 40 - "clang -fopenmp" must be linked before it can run and the library that 41 - supports offload to target devices. 42 - ''; 43 - # "All of the code is dual licensed under the MIT license and the UIUC 44 - # License (a BSD-like license)": 45 - license = with lib.licenses; [ mit ncsa ]; 46 - }; 47 - }
+28 -35
pkgs/development/libraries/duckdb/default.nix
··· 15 15 16 16 let 17 17 enableFeature = yes: if yes then "ON" else "OFF"; 18 + versions = lib.importJSON ./versions.json; 18 19 in 19 - stdenv.mkDerivation rec { 20 + stdenv.mkDerivation (finalAttrs: { 20 21 pname = "duckdb"; 21 - version = "0.10.0"; 22 + inherit (versions) rev version; 22 23 23 24 src = fetchFromGitHub { 24 - owner = pname; 25 - repo = pname; 26 - rev = "refs/tags/v${version}"; 27 - hash = "sha256-qGUq0iYTaLNHKqbXNLRmvqHMqunvIlP991IKb4qdSt4="; 25 + # to update run: 26 + # nix-shell maintainers/scripts/update.nix --argstr path duckdb 27 + inherit (versions) hash; 28 + owner = "duckdb"; 29 + repo = "duckdb"; 30 + rev = "refs/tags/v${finalAttrs.version}"; 28 31 }; 29 32 30 - patches = [ 31 - # remove calls to git and set DUCKDB_VERSION to version 32 - (substituteAll { 33 - src = ./version.patch; 34 - version = "v${version}"; 35 - }) 36 - # add missing file needed for httpfs compile 37 - # remove on next update 38 - (fetchpatch { 39 - name = "missing-httpfs-file.patch"; 40 - url = "https://github.com/duckdb/duckdb/commit/3d7aa3ed46ecf5f18122559e385b75f1f5e9aba8.patch"; 41 - hash = "sha256-Q4IHCpMpxn86OquUZdEF7P0nHEPOcWS0TQijTkvBYbQ="; 42 - }) 43 - ]; 33 + outputs = [ "out" "lib" "dev" ]; 44 34 45 35 nativeBuildInputs = [ cmake ninja python3 ]; 46 36 buildInputs = [ openssl ] ··· 48 38 ++ lib.optionals withOdbc [ unixODBC ]; 49 39 50 40 cmakeFlags = [ 51 - "-DDUCKDB_EXTENSION_CONFIGS=${src}/.github/config/in_tree_extensions.cmake" 41 + "-DDUCKDB_EXTENSION_CONFIGS=${finalAttrs.src}/.github/config/in_tree_extensions.cmake" 52 42 "-DBUILD_ODBC_DRIVER=${enableFeature withOdbc}" 53 43 "-DJDBC_DRIVER=${enableFeature withJdbc}" 54 - ] ++ lib.optionals doInstallCheck [ 44 + "-DOVERRIDE_GIT_DESCRIBE=v${finalAttrs.version}-0-g${finalAttrs.rev}" 45 + ] ++ lib.optionals finalAttrs.doInstallCheck [ 55 46 # development settings 56 47 "-DBUILD_UNITTESTS=ON" 57 48 ]; 58 49 59 - doInstallCheck = true; 60 - 61 - preInstallCheck = '' 62 - export HOME="$(mktemp -d)" 63 - '' + lib.optionalString stdenv.isDarwin '' 64 - export DYLD_LIBRARY_PATH="$out/lib''${DYLD_LIBRARY_PATH:+:}''${DYLD_LIBRARY_PATH}" 50 + postInstall = '' 51 + mkdir -p $lib 52 + mv $out/lib $lib 65 53 ''; 54 + 55 + doInstallCheck = true; 66 56 67 57 installCheckPhase = 68 58 let ··· 105 95 "test/sql/copy/csv/auto/test_csv_auto.test" 106 96 # test expects installed file timestamp to be > 2024 107 97 "test/sql/table_function/read_text_and_blob.test" 108 - # can re-enable next update (broken for 0.10.0) 109 - "test/sql/secrets/create_secret_non_writable_persistent_dir.test" 110 - # https://github.com/duckdb/duckdb/issues/10722 111 - "test/sql/types/nested/list/list_aggregate_dict.test" 98 + # fails with Out of Memory Error 99 + "test/sql/copy/parquet/batched_write/batch_memory_usage.test" 100 + # wants http connection 101 + "test/sql/copy/csv/test_mixed_lines.test" 112 102 ] ++ lib.optionals stdenv.isAarch64 [ 113 103 "test/sql/aggregate/aggregates/test_kurtosis.test" 114 104 "test/sql/aggregate/aggregates/test_skewness.test" 115 105 "test/sql/function/list/aggregates/skewness.test" 116 106 ]); 107 + LD_LIBRARY_PATH = lib.optionalString stdenv.isDarwin "DY" + "LD_LIBRARY_PATH"; 117 108 in 118 109 '' 119 110 runHook preInstallCheck 120 111 121 - ./test/unittest ${toString excludes} 112 + HOME="$(mktemp -d)" ${LD_LIBRARY_PATH}="$lib/lib" ./test/unittest ${toString excludes} 122 113 123 114 runHook postInstallCheck 124 115 ''; 125 116 117 + passthru.updateScript = ./update.sh; 118 + 126 119 meta = with lib; { 127 - changelog = "https://github.com/duckdb/duckdb/releases/tag/v${version}"; 120 + changelog = "https://github.com/duckdb/duckdb/releases/tag/v${finalAttrs.version}"; 128 121 description = "Embeddable SQL OLAP Database Management System"; 129 122 homepage = "https://duckdb.org/"; 130 123 license = licenses.mit; ··· 132 125 maintainers = with maintainers; [ costrouc cpcloud ]; 133 126 platforms = platforms.all; 134 127 }; 135 - } 128 + })
+45
pkgs/development/libraries/duckdb/update.sh
··· 1 + #!/usr/bin/env nix-shell 2 + #!nix-shell --pure -i bash -p cacert curl jq moreutils nix-prefetch 3 + # shellcheck shell=bash 4 + 5 + set -euo pipefail 6 + cd "$(dirname "${BASH_SOURCE[0]}")" 7 + 8 + nixpkgs=$(while [[ ! -e .git ]]; do [[ ${PWD} != / ]] || exit 1; cd ..; done; echo "${PWD}") 9 + 10 + repo=duckdb 11 + owner=duckdb 12 + 13 + msg() { 14 + echo "$*" >&2 15 + } 16 + 17 + json_get() { 18 + jq -r "$1" < 'versions.json' 19 + } 20 + 21 + json_set() { 22 + jq --arg x "$2" "$1 = \$x" < 'versions.json' | sponge 'versions.json' 23 + } 24 + 25 + get_latest() { 26 + curl ${GITHUB_TOKEN:+" -u \":$GITHUB_TOKEN\""} -s \ 27 + "https://api.github.com/repos/${owner}/${repo}/releases/latest" | jq -r .tag_name 28 + } 29 + 30 + get_sha() { 31 + curl ${GITHUB_TOKEN:+" -u \":$GITHUB_TOKEN\""} -s \ 32 + "https://api.github.com/repos/${owner}/${repo}/git/ref/tags/$1" | jq -r .object.sha 33 + } 34 + 35 + tag=$(get_latest) 36 + version=${tag/v/} 37 + 38 + [[ ${version} = $(json_get .version) ]] && { msg "${version} is up to date"; exit 0; } 39 + 40 + sha=$(get_sha "${tag}") 41 + sri=$(nix-prefetch -I nixpkgs="${nixpkgs}" -E "duckdb.overrideAttrs { version = \"${version}\"; }") 42 + 43 + json_set ".version" "${version}" 44 + json_set ".rev" "${sha}" 45 + json_set ".hash" "${sri}"
-58
pkgs/development/libraries/duckdb/version.patch
··· 1 - diff --git a/CMakeLists.txt b/CMakeLists.txt 2 - index 2b49e11288..0a4a69b9a0 100644 3 - --- a/CMakeLists.txt 4 - +++ b/CMakeLists.txt 5 - @@ -244,52 +244,7 @@ if(${CMAKE_SYSTEM_NAME} STREQUAL "SunOS") 6 - set(SUN TRUE) 7 - endif() 8 - 9 - -find_package(Git) 10 - -if(Git_FOUND) 11 - - if (NOT DEFINED GIT_COMMIT_HASH) 12 - - execute_process( 13 - - COMMAND ${GIT_EXECUTABLE} log -1 --format=%h 14 - - WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} 15 - - RESULT_VARIABLE GIT_RESULT 16 - - OUTPUT_VARIABLE GIT_COMMIT_HASH 17 - - OUTPUT_STRIP_TRAILING_WHITESPACE) 18 - - endif() 19 - - execute_process( 20 - - COMMAND ${GIT_EXECUTABLE} describe --tags --abbrev=0 21 - - WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} 22 - - OUTPUT_VARIABLE GIT_LAST_TAG 23 - - OUTPUT_STRIP_TRAILING_WHITESPACE) 24 - - execute_process( 25 - - COMMAND ${GIT_EXECUTABLE} describe --tags --long 26 - - WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} 27 - - OUTPUT_VARIABLE GIT_ITERATION 28 - - OUTPUT_STRIP_TRAILING_WHITESPACE) 29 - -else() 30 - - message("Git NOT FOUND") 31 - -endif() 32 - - 33 - -if(GIT_RESULT EQUAL "0") 34 - - string(REGEX REPLACE "v([0-9]+).[0-9]+.[0-9]+" "\\1" DUCKDB_MAJOR_VERSION "${GIT_LAST_TAG}") 35 - - string(REGEX REPLACE "v[0-9]+.([0-9]+).[0-9]+" "\\1" DUCKDB_MINOR_VERSION "${GIT_LAST_TAG}") 36 - - string(REGEX REPLACE "v[0-9]+.[0-9]+.([0-9]+)" "\\1" DUCKDB_PATCH_VERSION "${GIT_LAST_TAG}") 37 - - string(REGEX REPLACE ".*-([0-9]+)-.*" "\\1" DUCKDB_DEV_ITERATION "${GIT_ITERATION}") 38 - - 39 - - if(DUCKDB_DEV_ITERATION EQUAL 0) 40 - - # on a tag; directly use the version 41 - - set(DUCKDB_VERSION "${GIT_LAST_TAG}") 42 - - else() 43 - - # not on a tag, increment the patch version by one and add a -devX suffix 44 - - math(EXPR DUCKDB_PATCH_VERSION "${DUCKDB_PATCH_VERSION}+1") 45 - - set(DUCKDB_VERSION "v${DUCKDB_MAJOR_VERSION}.${DUCKDB_MINOR_VERSION}.${DUCKDB_PATCH_VERSION}-dev${DUCKDB_DEV_ITERATION}") 46 - - endif() 47 - -else() 48 - - # fallback for when building from tarball 49 - - set(DUCKDB_MAJOR_VERSION 0) 50 - - set(DUCKDB_MINOR_VERSION 0) 51 - - set(DUCKDB_PATCH_VERSION 1) 52 - - set(DUCKDB_DEV_ITERATION 0) 53 - - set(DUCKDB_VERSION "v${DUCKDB_MAJOR_VERSION}.${DUCKDB_MINOR_VERSION}.${DUCKDB_PATCH_VERSION}-dev${DUCKDB_DEV_ITERATION}") 54 - -endif() 55 - +set(DUCKDB_VERSION "@version@") 56 - 57 - message(STATUS "git hash ${GIT_COMMIT_HASH}, version ${DUCKDB_VERSION}") 58 -
+5
pkgs/development/libraries/duckdb/versions.json
··· 1 + { 2 + "version": "0.10.1", 3 + "rev": "4a89d97db8a5a23a15f3025c8d2d2885337c2637", 4 + "hash": "sha256-/j/DaUzsfACI5Izr4lblkYmIEmKsOXr760UTwC0l/qg=" 5 + }
+3 -3
pkgs/development/libraries/yyjson/default.nix
··· 19 19 cmake 20 20 ]; 21 21 22 - meta = with lib; { 22 + meta = { 23 23 description = "The fastest JSON library in C"; 24 24 homepage = "https://github.com/ibireme/yyjson"; 25 25 changelog = "https://github.com/ibireme/yyjson/blob/${finalAttrs.src.rev}/CHANGELOG.md"; 26 - license = licenses.mit; 27 - maintainers = with maintainers; [ ]; 26 + license = lib.licenses.mit; 27 + maintainers = with lib.maintainers; [ federicoschonborn ]; 28 28 }; 29 29 })
+5 -4
pkgs/development/lisp-modules/packages.nix
··· 362 362 363 363 nyxt-gtk = build-asdf-system { 364 364 pname = "nyxt"; 365 - version = "3.11.4"; 365 + version = "3.11.5"; 366 366 367 367 lispLibs = (with super; [ 368 368 alexandria ··· 445 445 "slynk/profiler" "slynk/stickers" "slynk/indentation" 446 446 "slynk/retro" ]; 447 447 })) 448 + iterate 449 + symbol-munger 448 450 ]) ++ (with self; [ 449 451 history-tree 450 452 nhooks ··· 457 459 nfiles 458 460 cl-containers 459 461 # remove this override after quicklisp one is updated. 460 - # Because of building failure with new sbcl, the slime version is different from the nyxt pinned one 461 462 (swank.overrideAttrs (final: prev: { 462 463 src = pkgs.fetchFromGitHub { 463 464 owner = "slime"; ··· 472 473 src = pkgs.fetchFromGitHub { 473 474 owner = "atlas-engineer"; 474 475 repo = "nyxt"; 475 - rev = "3.11.4"; 476 - hash = "sha256-5LhpcuQTioOXZtzwN9B1vWo/xsYXxn9fSKRCdhSPM7A="; 476 + rev = "3.11.5"; 477 + hash = "sha256-l3igC4jfCvx7Q0WO2Zf2ByWLz7sCteYdW1rNvwrc97g="; 477 478 }; 478 479 479 480 nativeBuildInputs = [ pkgs.makeWrapper ];
+5 -5
pkgs/development/python-modules/aiocurrencylayer/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "aiocurrencylayer"; 14 - version = "1.0.5"; 15 - format = "pyproject"; 14 + version = "1.0.6"; 15 + pyproject = true; 16 16 17 - disabled = pythonOlder "3.9"; 17 + disabled = pythonOlder "3.10"; 18 18 19 19 src = fetchFromGitHub { 20 20 owner = "home-assistant-ecosystem"; 21 - repo = pname; 21 + repo = "aiocurrencylayer"; 22 22 rev = "refs/tags/${version}"; 23 - hash = "sha256-468OBQV7ISnPRUfi/CM3dCh1ez0jwSVnM6DduPvAgPI="; 23 + hash = "sha256-VOzgWN+dDPaGEcahFPSWjBR989b9eNkx4zcnI9o2Xiw="; 24 24 }; 25 25 26 26 nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/app-model/default.nix
··· 14 14 15 15 buildPythonPackage rec { 16 16 pname = "app-model"; 17 - version = "0.2.4"; 17 + version = "0.2.5"; 18 18 pyproject = true; 19 19 20 20 disabled = pythonOlder "3.8"; ··· 23 23 owner = "pyapp-kit"; 24 24 repo = "app-model"; 25 25 rev = "refs/tags/v${version}"; 26 - hash = "sha256-idie99ditHJG/6rv97LDaF71iTjjgJyhLiTrbkQmbts="; 26 + hash = "sha256-lnsaplJJk+c0hdHyQPH98ssppxBXqj/O0K6xlRfk+Oc="; 27 27 }; 28 28 29 29 nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/diffusers/default.nix
··· 39 39 40 40 buildPythonPackage rec { 41 41 pname = "diffusers"; 42 - version = "0.27.0"; 42 + version = "0.27.1"; 43 43 pyproject = true; 44 44 45 45 disabled = pythonOlder "3.8"; ··· 48 48 owner = "huggingface"; 49 49 repo = "diffusers"; 50 50 rev = "refs/tags/v${version}"; 51 - hash = "sha256-h7IdukvQr+B/Au70nK0Qc4FpkDiCMsIZuPAWsiCdnUo="; 51 + hash = "sha256-GwFibsxMhWqirFn5cG9GfDZAtVWRx+BCqDBiQV6wuYU="; 52 52 }; 53 53 54 54 nativeBuildInputs = [
+4 -1
pkgs/development/python-modules/duckdb/default.nix
··· 14 14 }: 15 15 16 16 buildPythonPackage rec { 17 - inherit (duckdb) patches pname src version; 17 + inherit (duckdb) patches pname rev src version; 18 18 pyproject = true; 19 19 20 20 postPatch = (duckdb.postPatch or "") + '' ··· 31 31 env = { 32 32 BUILD_HTTPFS = 1; 33 33 DUCKDB_BUILD_UNITY = 1; 34 + OVERRIDE_GIT_DESCRIBE="v${version}-0-g${rev}"; 34 35 }; 36 + 37 + dontPretendSetuptoolsSCMVersion = true; 35 38 36 39 nativeBuildInputs = [ 37 40 pybind11
+3 -2
pkgs/development/python-modules/durus/default.nix
··· 1 1 { stdenv, lib, buildPythonPackage, fetchPypi }: 2 2 3 3 buildPythonPackage rec { 4 - pname = "Durus"; 4 + pname = "durus"; 5 5 version = "4.2"; 6 6 7 7 src = fetchPypi { 8 - inherit version pname; 8 + pname = "Durus"; 9 + inherit version; 9 10 sha256 = "sha256:1gzxg43zawwgqjrfixvcrilwpikb1ix9b7710rsl5ffk7q50yi3c"; 10 11 }; 11 12
+3 -5
pkgs/development/python-modules/flask-security-too/default.nix
··· 3 3 , fetchPypi 4 4 , pythonOlder 5 5 , setuptools 6 - , fetchpatch 7 6 8 7 # extras: babel 9 8 , babel ··· 43 42 , peewee 44 43 , pony 45 44 , pytestCheckHook 46 - , python-dateutil 47 45 , zxcvbn 48 46 }: 49 47 50 48 buildPythonPackage rec { 51 49 pname = "flask-security-too"; 52 - version = "5.4.1"; 50 + version = "5.4.2"; 53 51 pyproject = true; 54 52 55 53 disabled = pythonOlder "3.7"; ··· 57 55 src = fetchPypi { 58 56 pname = "Flask-Security-Too"; 59 57 inherit version; 60 - hash = "sha256-Ay7+gk+zuUlXtw0LDdsnvSa22z+yE6VR1guu9QmiFvw="; 58 + hash = "sha256-dzVHHC5Lsh6rUC+cOyNEe/uHVTzkObhFffgSvFOfKoI="; 61 59 }; 62 60 63 61 nativeBuildInputs = [ ··· 106 104 peewee 107 105 pony 108 106 pytestCheckHook 109 - python-dateutil 110 107 zxcvbn 108 + freezegun 111 109 ] 112 110 ++ passthru.optional-dependencies.babel 113 111 ++ passthru.optional-dependencies.common
+32
pkgs/development/python-modules/frozenlist2/default.nix
··· 1 + { lib 2 + , fetchFromGitHub 3 + , buildPythonPackage 4 + , setuptools 5 + }: 6 + 7 + buildPythonPackage rec { 8 + pname = "frozenlist2"; 9 + version = "1.0.0"; 10 + 11 + format = "pyproject"; 12 + 13 + src = fetchFromGitHub { 14 + owner = "rohanpm"; 15 + repo = "frozenlist2"; 16 + rev = "v${version}"; 17 + hash = "sha256-fF0oFZ2q1wRH7IKBlCjm3Za4xtEMSHyEaGL09rHgtTY="; 18 + }; 19 + 20 + propagatedBuildInputs = [ 21 + setuptools 22 + ]; 23 + 24 + pythonImportsCheck = [ "frozenlist2" ]; 25 + 26 + meta = with lib; { 27 + description = "An immutable list for Python"; 28 + homepage = "https://github.com/rohanpm/frozenlist2"; 29 + license = licenses.gpl3Plus; 30 + maintainers = with maintainers; [ t4ccer ]; 31 + }; 32 + }
+40
pkgs/development/python-modules/graphlib-backport/default.nix
··· 1 + { lib 2 + , fetchFromGitHub 3 + , buildPythonPackage 4 + , setuptools 5 + , poetry-core 6 + }: 7 + 8 + buildPythonPackage rec { 9 + pname = "graphlib-backport"; 10 + version = "1.1.0"; 11 + 12 + format = "pyproject"; 13 + 14 + src = fetchFromGitHub { 15 + owner = "mariushelf"; 16 + repo = "graphlib_backport"; 17 + rev = version; 18 + hash = "sha256-ssJLtBQH8sSnccgcAKLKfYpPyw5U0RIm1F66/Er81lo="; 19 + }; 20 + 21 + postPatch = '' 22 + substituteInPlace pyproject.toml \ 23 + --replace 'poetry>=1.0' 'poetry-core' \ 24 + --replace 'poetry.masonry.api' 'poetry.core.masonry.api' 25 + ''; 26 + 27 + propagatedBuildInputs = [ 28 + setuptools 29 + poetry-core 30 + ]; 31 + 32 + pythonImportsCheck = [ "graphlib" ]; 33 + 34 + meta = with lib; { 35 + description = "Backport of the Python 3.9 graphlib module for Python 3.6+"; 36 + homepage = "https://github.com/mariushelf/graphlib_backport"; 37 + license = licenses.psfl; 38 + maintainers = with maintainers; [ t4ccer ]; 39 + }; 40 + }
+1 -3
pkgs/development/python-modules/greatfet/default.nix
··· 1 1 { lib, fetchFromGitHub, buildPythonPackage, isPy3k, future, pyusb, ipython, pygreat }: 2 2 3 3 buildPythonPackage rec { 4 - pname = "GreatFET"; 4 + pname = "greatfet"; 5 5 version = "2019.5.1.dev0"; 6 6 7 7 src = fetchFromGitHub { ··· 30 30 maintainers = with lib.maintainers; [ mog ]; 31 31 }; 32 32 } 33 - 34 -
+2 -2
pkgs/development/python-modules/in-n-out/default.nix
··· 13 13 14 14 buildPythonPackage rec { 15 15 pname = "in-n-out"; 16 - version = "0.1.9"; 16 + version = "0.2.0"; 17 17 format = "pyproject"; 18 18 19 19 disabled = pythonOlder "3.8"; ··· 21 21 src = fetchPypi { 22 22 pname = "in_n_out"; 23 23 inherit version; 24 - hash = "sha256-if65ROQg+vQtPCVCFFaBtNVxRDVZMsK4WWlfzcT5oto="; 24 + hash = "sha256-hKJb2/DKl2Dd+rgndujNJWddriHKDpVuIKwOcwL8oZ8="; 25 25 }; 26 26 27 27 nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/opensfm/default.nix
··· 43 43 else ceres-solver; 44 44 in 45 45 buildPythonPackage rec { 46 - pname = "OpenSfM"; 46 + pname = "opensfm"; 47 47 version = "unstable-2023-12-09"; 48 48 49 49 src = fetchFromGitHub { 50 50 owner = "mapillary"; 51 - repo = pname; 51 + repo = "OpenSfM"; 52 52 rev = "7f170d0dc352340295ff480378e3ac37d0179f8e"; 53 53 sha256 = "sha256-l/HTVenC+L+GpMNnDgnSGZ7+Qd2j8b8cuTs3SmORqrg="; 54 54 };
+39
pkgs/development/python-modules/pluthon/default.nix
··· 1 + { lib 2 + , fetchFromGitHub 3 + , buildPythonPackage 4 + , setuptools 5 + , pythonOlder 6 + # Python deps 7 + , uplc 8 + , graphlib-backport 9 + , ordered-set 10 + }: 11 + 12 + buildPythonPackage rec { 13 + pname = "pluthon"; 14 + version = "0.4.6"; 15 + 16 + format = "pyproject"; 17 + 18 + src = fetchFromGitHub { 19 + owner = "OpShin"; 20 + repo = "pluthon"; 21 + rev = version; 22 + hash = "sha256-ZmBkbglSbBfVhA4yP0tJdwpJiFpJ7vX0A321ldQF0lA="; 23 + }; 24 + 25 + propagatedBuildInputs = [ 26 + setuptools 27 + uplc 28 + ordered-set 29 + ] ++ lib.optionals (pythonOlder "3.9") graphlib-backport; 30 + 31 + pythonImportsCheck = [ "pluthon" ]; 32 + 33 + meta = with lib; { 34 + description = "Pluto-like programming language for Cardano Smart Contracts in Python"; 35 + homepage = "https://github.com/OpShin/pluthon"; 36 + license = licenses.mit; 37 + maintainers = with maintainers; [ t4ccer ]; 38 + }; 39 + }
+7
pkgs/development/python-modules/pycardano/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchFromGitHub 4 + , pythonRelaxDepsHook 4 5 # Python deps 5 6 , blockfrost-python 6 7 , cachetools ··· 41 42 hash = "sha256-LP/W8IC2del476fGFq10VMWwMrbAoCCcZOngA8unBM0="; 42 43 }; 43 44 45 + nativeBuildInputs = [ 46 + pythonRelaxDepsHook 47 + ]; 48 + 44 49 propagatedBuildInputs = [ 45 50 blockfrost-python 46 51 cachetools ··· 57 62 typeguard 58 63 websocket-client 59 64 ]; 65 + 66 + pythonRelaxDeps = [ "typeguard" ]; 60 67 61 68 pythonImportsCheck = [ "pycardano" ]; 62 69
+41
pkgs/development/python-modules/python-secp256k1-cardano/default.nix
··· 1 + { lib 2 + , fetchFromGitHub 3 + , python3 4 + , pkg-config 5 + }: 6 + 7 + python3.pkgs.buildPythonPackage { 8 + pname = "python-secp256k1-cardano"; 9 + version = "0.2.3"; 10 + 11 + format = "setuptools"; 12 + 13 + src = fetchFromGitHub { 14 + owner = "OpShin"; 15 + repo = "python-secp256k1"; 16 + rev = "5a8f761a4b9a1594653cc4deebadc3398b07533c"; # No tags in repo 17 + hash = "sha256-6bE4/G2gW2F8h5FWtI3TZ6FtijsB/slvFT/SIVv7VIY="; 18 + }; 19 + 20 + nativeBuildInputs = [ pkg-config ]; 21 + 22 + propagatedBuildInputs = with python3.pkgs; [ cffi secp256k1 ]; 23 + 24 + nativeCheckInputs = [ python3.pkgs.pytestCheckHook ]; 25 + 26 + # Tests expect .so files and are failing 27 + doCheck = false; 28 + 29 + preConfigure = '' 30 + cp -r ${python3.pkgs.secp256k1.src} libsecp256k1 31 + export INCLUDE_DIR=${python3.pkgs.secp256k1}/include 32 + export LIB_DIR=${python3.pkgs.secp256k1}/lib 33 + ''; 34 + 35 + meta = { 36 + homepage = "https://github.com/OpShin/python-secp256k1"; 37 + description = "A fork of python-secp256k1, fixing the commit hash of libsecp256k1 to a Cardano compatible version"; 38 + license = with lib.licenses; [ mit ]; 39 + maintainers = with lib.maintainers; [ t4ccer ]; 40 + }; 41 + }
+9 -4
pkgs/development/python-modules/python-stdnum/default.nix
··· 3 3 , fetchPypi 4 4 , pytestCheckHook 5 5 , pythonOlder 6 + , setuptools 6 7 , zeep 7 8 }: 8 9 9 10 buildPythonPackage rec { 10 11 pname = "python-stdnum"; 11 - version = "1.19"; 12 - format = "setuptools"; 12 + version = "1.20"; 13 + pyproject = true; 13 14 14 15 disabled = pythonOlder "3.7"; 15 16 16 17 src = fetchPypi { 17 18 inherit pname version; 18 - hash = "sha256-Ez7IL1Y5DqdMGQVp6Y8vsUuGmAix1UeFcI8i0P6tiz8="; 19 + hash = "sha256-rSos8usCXeQIIQI182tK4xJS3jGGJAzKqBJuEXy4JpA="; 19 20 }; 20 21 21 22 postPatch = '' 22 23 substituteInPlace setup.cfg \ 23 - --replace " --cov=stdnum --cov-report=term-missing:skip-covered --cov-report=html" "" 24 + --replace-fail " --cov=stdnum --cov-report=term-missing:skip-covered --cov-report=html" "" 24 25 ''; 26 + 27 + nativeBuildInputs = [ 28 + setuptools 29 + ]; 25 30 26 31 nativeCheckInputs = [ 27 32 pytestCheckHook
+3 -2
pkgs/development/python-modules/sanic-auth/default.nix
··· 7 7 }: 8 8 9 9 buildPythonPackage rec { 10 - pname = "Sanic-Auth"; 10 + pname = "sanic-auth"; 11 11 version = "0.3.0"; 12 12 format = "setuptools"; 13 13 14 14 src = fetchPypi { 15 - inherit pname version; 15 + pname = "Sanic-Auth"; 16 + inherit version; 16 17 sha256 = "0dc24ynqjraqwgvyk0g9bj87zgpq4xnssl24hnsn7l5vlkmk8198"; 17 18 }; 18 19
+3 -2
pkgs/development/python-modules/socksipy-branch/default.nix
··· 4 4 }: 5 5 6 6 buildPythonPackage rec { 7 - pname = "SocksiPy-branch"; 7 + pname = "socksipy-branch"; 8 8 version = "1.01"; 9 9 10 10 src = fetchPypi { 11 - inherit pname version; 11 + pname = "SocksiPy-branch"; 12 + inherit version; 12 13 sha256 = "01l41v4g7fy9fzvinmjxy6zcbhgqaif8dhdqm4w90fwcw9h51a8p"; 13 14 }; 14 15
+2 -2
pkgs/development/python-modules/torchmetrics/default.nix
··· 20 20 21 21 let 22 22 pname = "torchmetrics"; 23 - version = "1.3.1"; 23 + version = "1.3.2"; 24 24 in 25 25 buildPythonPackage { 26 26 inherit pname version; ··· 32 32 owner = "Lightning-AI"; 33 33 repo = "torchmetrics"; 34 34 rev = "refs/tags/v${version}"; 35 - hash = "sha256-ZFpLoF4t1ld2c3exX9H8AYG0XQM7MKmWe/I8XZmdrZw="; 35 + hash = "sha256-0lverGF8HVlnwWmnCjScWoSfWPLZlMF2cHDG+uxNCCQ="; 36 36 }; 37 37 38 38 propagatedBuildInputs = [
+3 -2
pkgs/development/python-modules/ufoprocessor/default.nix
··· 5 5 }: 6 6 7 7 buildPythonPackage rec { 8 - pname = "ufoProcessor"; 8 + pname = "ufoprocessor"; 9 9 version = "1.9.0"; 10 10 11 11 src = fetchPypi { 12 - inherit pname version; 12 + pname = "ufoProcessor"; 13 + inherit version; 13 14 sha256 = "0ns11aamgavgsfj8qf5kq7dvzmgl0mhr1cbych2f075ipfdvva5s"; 14 15 extension = "zip"; 15 16 };
+55
pkgs/development/python-modules/uplc/default.nix
··· 1 + { lib 2 + , fetchFromGitHub 3 + , buildPythonPackage 4 + , pythonRelaxDepsHook 5 + # Python deps 6 + , frozenlist2 7 + , python-secp256k1-cardano 8 + , setuptools 9 + , poetry-core 10 + , frozendict 11 + , cbor2 12 + , rply 13 + , pycardano 14 + }: 15 + 16 + buildPythonPackage rec { 17 + pname = "uplc"; 18 + version = "0.6.9"; 19 + 20 + format = "pyproject"; 21 + 22 + src = fetchFromGitHub { 23 + owner = "OpShin"; 24 + repo = "uplc"; 25 + rev = version; 26 + hash = "sha256-djJMNXijMVzMVzw8NZSe3YFRGyAPqdvr0P374Za5XkU="; 27 + }; 28 + 29 + nativeBuildInputs = [ 30 + pythonRelaxDepsHook 31 + ]; 32 + 33 + propagatedBuildInputs = [ 34 + setuptools 35 + poetry-core 36 + frozendict 37 + cbor2 38 + frozenlist2 39 + rply 40 + pycardano 41 + python-secp256k1-cardano 42 + ]; 43 + 44 + pythonRelaxDeps = [ "pycardano" "rply" ]; 45 + 46 + pythonImportsCheck = [ "uplc" ]; 47 + 48 + meta = with lib; { 49 + description = "Python implementation of untyped plutus language core"; 50 + homepage = "https://opshin.dev"; 51 + license = licenses.mit; 52 + maintainers = with maintainers; [ t4ccer ]; 53 + mainProgram = "opshin"; 54 + }; 55 + }
+2 -2
pkgs/development/ruby-modules/gem-config/default.nix
··· 312 312 cp -R ext/fast_mmaped_file_rs $out 313 313 ''; 314 314 }; 315 - hash = if lib.versionAtLeast attrs.version "1.1.0" 316 - then "sha256-tSyoCEBtMMkFfPynaMx8oc9bO7I+Pf6Y/f3Ld8uwlEE=" 315 + hash = if lib.versionAtLeast attrs.version "1.1.1" 316 + then "sha256-RsN5XWX7Mj2ORccM0eczY+44WXsbXNTnJVcCMvnOATk=" 317 317 else "sha256-XuQZPbFWqPHlrJvllkvLl1FjKeoAUbi8oKDrS2rY1KM="; 318 318 }; 319 319 nativeBuildInputs = [
+3 -3
pkgs/development/tools/earthly/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "earthly"; 5 - version = "0.8.5"; 5 + version = "0.8.6"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "earthly"; 9 9 repo = "earthly"; 10 10 rev = "v${version}"; 11 - hash = "sha256-vNgRI/LQZPILwYdIGk6BB+Yb36rEHv6kHZARq0+TF9Q="; 11 + hash = "sha256-APmWF3RrUvXqfvs8MpOMeV3Q6N6GRJXd/sTd9EmIGnQ="; 12 12 }; 13 13 14 - vendorHash = "sha256-14aaGrEJBdSo1hZf37xUO2S/q6YlaSqJuQCzP/PVkr8="; 14 + vendorHash = "sha256-cdq0gbaTY7IXSoqZcxqkN5in5xtZZTaP0MQRypqJoCU="; 15 15 subPackages = [ "cmd/earthly" "cmd/debugger" ]; 16 16 17 17 CGO_ENABLED = 0;
+4 -4
pkgs/development/tools/goconvey/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "goconvey"; 5 - version = "1.8.1"; 5 + version = "1.8.1-unstable-2024-03-06"; 6 6 7 7 excludedPackages = "web/server/watch/integration_testing"; 8 8 9 9 src = fetchFromGitHub { 10 10 owner = "smartystreets"; 11 11 repo = "goconvey"; 12 - rev = "v${version}"; 13 - hash = "sha256-6SrlPsOqRxNNwEYx2t1v+rEHnQ58GvJtjo87SZo/Omk="; 12 + rev = "a50310f1e3e53e63e2d23eb904f853aa388a5988"; 13 + hash = "sha256-w5eX/n6Wu2gYgCIhgtjqH3lNckWIDaN4r80cJW3JqFo="; 14 14 }; 15 15 16 - vendorHash = "sha256-020bxa0LErrvRKe3HirCWZDaBQFfKsWgl4mxfLtl1lg="; 16 + vendorHash = "sha256-P4J/CZY95ks08DC+gSqG+eanL3zoiaoz1d9/ZvBoc9Q="; 17 17 18 18 ldflags = [ "-s" "-w" ]; 19 19
+4 -5
pkgs/development/tools/gomacro/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "gomacro"; 5 - rev = "b4c3ab9b218fd12f22759354f4f3e37635828d1f"; 6 - version = "20210131-${lib.strings.substring 0 7 rev}"; 5 + version = "2.7-unstable-2024-01-07"; 7 6 8 7 src = fetchFromGitHub { 9 8 owner = "cosmos72"; 10 9 repo = "gomacro"; 11 - inherit rev; 12 - hash = "sha256-zxiEt/RR7g5Q0wMLuRaybnT5dFfPCyvt0PvDjL9BJDI="; 10 + rev = "bf232d031933810d4a5382e17ce6c4b042a24304"; 11 + hash = "sha256-16u3eByFmnY12M2CEhSJKLIT0KP9nbvTv+BnqWwNTcg="; 13 12 }; 14 13 15 - vendorHash = "sha256-fQYuav0pT+/fGq0fmOWlsiVxA9tGV4JV8X7G3E6BZMU="; 14 + vendorHash = "sha256-ok71QlBHGasGVt+CGwGqhgmx5JLkQcdlU/KX+W1A5Ws="; 16 15 17 16 subPackages = [ "." ]; 18 17
+3 -3
pkgs/development/tools/semantic-release/default.nix
··· 8 8 9 9 buildNpmPackage rec { 10 10 pname = "semantic-release"; 11 - version = "23.0.3"; 11 + version = "23.0.5"; 12 12 13 13 src = fetchFromGitHub { 14 14 owner = "semantic-release"; 15 15 repo = "semantic-release"; 16 16 rev = "v${version}"; 17 - hash = "sha256-Oi0WlGcgVx/ykp6laR20RosF+1P3jAEXBS1F43KGsUM="; 17 + hash = "sha256-/VOa/V6kly92JjhW5a0b9xNdxVYCPYRJx5IiwmQ2d1U="; 18 18 }; 19 19 20 - npmDepsHash = "sha256-fPONvfJK4cnKG6qYHh8WRN1ZCcIZxe2PVaXuMGHFB3Y="; 20 + npmDepsHash = "sha256-CG2LcIAfX5dfJz0oSMwt83ra804U/qLpnNDilSEgRSI="; 21 21 22 22 dontNpmBuild = true; 23 23
+4
pkgs/servers/go-libp2p-daemon/default.nix
··· 16 16 doCheck = false; 17 17 18 18 meta = with lib; { 19 + # Won't build with Go >1.20 because of outdated quic-go dependency and interface mismatches on update. 20 + # https://github.com/libp2p/go-libp2p-daemon/issues/291 21 + broken = true; 22 + description = "a libp2p-backed daemon wrapping the functionalities of go-libp2p for use in other languages"; 19 23 homepage = "https://github.com/libp2p/go-libp2p-daemon"; 20 24 license = licenses.mit; 21 25 maintainers = with maintainers; [ fare ];
+4 -4
pkgs/servers/search/zincsearch/default.nix
··· 5 5 }: 6 6 7 7 let 8 - version = "0.4.9"; 8 + version = "0.4.10"; 9 9 src = fetchFromGitHub { 10 10 owner = "zinclabs"; 11 11 repo = "zincsearch"; 12 12 rev = "v${version}"; 13 - hash = "sha256-NIrLhbtpk1mFbWRFPxkH1r4mBiwT488MYBjRgIV7igE="; 13 + hash = "sha256-lScwnmu4hM78Va7Yi5HA0E5f2WQXrZaeqjRYJYxnQ5E="; 14 14 }; 15 15 16 16 webui = buildNpmPackage { ··· 40 40 cp -r ${webui}/share/zinc-ui web/dist 41 41 ''; 42 42 43 - vendorHash = "sha256-kP7QlES7VpZrOS4TGOFB9qciXGBEUVqzVLhz+2KiK98="; 43 + vendorHash = "sha256-SZG5/ISGblpcwwR/HOKxFl9SthXpE+IYS0S+4HYtHos="; 44 44 subPackages = [ "cmd/zincsearch" ]; 45 45 46 46 ldflags = [ ··· 52 52 meta = with lib; { 53 53 description = "A lightweight alternative to elasticsearch that requires minimal resources, written in Go"; 54 54 mainProgram = "zincsearch"; 55 - homepage = "https://zinc.dev"; 55 + homepage = "https://zincsearch-docs.zinc.dev/"; 56 56 license = licenses.asl20; 57 57 maintainers = with maintainers; [ dit7ya ]; 58 58 };
+8
pkgs/servers/trezord/default.nix
··· 2 2 , stdenv 3 3 , buildGoModule 4 4 , fetchFromGitHub 5 + , fetchpatch 5 6 , trezor-udev-rules 6 7 , AppKit 7 8 }: ··· 20 21 }; 21 22 22 23 vendorHash = "sha256-wXgAmZEXdM4FcMCQbAs+ydXshCAMu7nl/yVv/3sqaXE="; 24 + 25 + patches = [ 26 + (fetchpatch { 27 + url = "https://github.com/trezor/trezord-go/commit/616473d53a8ae49f1099e36ab05a2981a08fa606.patch"; 28 + hash = "sha256-yKTwgqWr4L6XEPV85A6D1wpRdpef8hkIbl4LrRmOyuo="; 29 + }) 30 + ]; 23 31 24 32 propagatedBuildInputs = lib.optionals stdenv.isLinux [ trezor-udev-rules ] 25 33 ++ lib.optionals stdenv.isDarwin [ AppKit ];
+11 -4
pkgs/servers/web-apps/hedgedoc/default.nix
··· 75 75 yarn --immutable-cache 76 76 yarn run build 77 77 78 + rm bin/heroku 78 79 patchShebangs bin/* 79 80 80 81 runHook postBuild ··· 83 84 installPhase = '' 84 85 runHook preInstall 85 86 86 - mkdir -p $out 87 - cp -R {app.js,bin,lib,locales,node_modules,package.json,public} $out 87 + mkdir -p $out/share/hedgedoc 88 + cp -r bin $out 89 + cp -r {app.js,lib,locales,node_modules,package.json,public} $out/share/hedgedoc 88 90 91 + for bin in $out/bin/*; do 92 + wrapProgram $bin \ 93 + --set NODE_ENV production \ 94 + --set NODE_PATH "$out/share/hedgedoc/lib/node_modules" 95 + done 89 96 makeWrapper ${nodejs}/bin/node $out/bin/hedgedoc \ 90 - --add-flags $out/app.js \ 97 + --add-flags $out/share/hedgedoc/app.js \ 91 98 --set NODE_ENV production \ 92 - --set NODE_PATH "$out/lib/node_modules" 99 + --set NODE_PATH "$out/share/hedgedoc/lib/node_modules" 93 100 94 101 runHook postInstall 95 102 '';
+1 -17
pkgs/stdenv/darwin/make-bootstrap-tools.nix
··· 1 1 { pkgspath ? ../../.., test-pkgspath ? pkgspath 2 2 , localSystem ? { system = builtins.currentSystem; } 3 - # Specify the desired LLVM version in an overlay to avoid the use of 4 - # mismatching versions. 5 - # 6 - # The llvmPackages that we take things (clang, libc++ and such) from 7 - # is specified explicitly to be llvmPackages_11 to keep the 8 - # bootstrap-tools stable. However, tools like otool, 9 - # install_name_tool and strip are taken straight from stdenv.cc, 10 - # which, after the bump, is a different LLVM version altogether. 11 - # 12 - # The original intent was that bootstrap-tools specified LLVM 11 13 - # exhaustively but it didn't. That should be rectified with this 14 - # PR. As to why stick with 11? That's just to keep the 15 - # bootstrap-tools unchanged. 16 - # 17 - # https://github.com/NixOS/nixpkgs/pull/267058/files#r1390889848 18 - , overlays ? [(self: super: { llvmPackages = super.llvmPackages_11; })] 19 3 , crossSystem ? null 20 4 , bootstrapFiles ? null 21 5 }: ··· 29 13 in (import "${pkgspath}/pkgs/stdenv/darwin" args'); 30 14 } 31 15 else {}; 32 - in with import pkgspath ({ inherit localSystem overlays; } // cross // custom-bootstrap); 16 + in with import pkgspath ({ inherit localSystem; } // cross // custom-bootstrap); 33 17 34 18 rec { 35 19 coreutils_ = (coreutils.override (args: {
+1
pkgs/test/default.nix
··· 17 17 (filter (n: n != "llvmPackages_7")) 18 18 (filter (n: n != "llvmPackages_8")) 19 19 (filter (n: n != "llvmPackages_10")) 20 + (filter (n: n != "llvmPackages_11")) 20 21 ]; 21 22 tests = lib.genAttrs pkgSets (name: recurseIntoAttrs { 22 23 clang = callPackage ./cc-wrapper { stdenv = pkgs.${name}.stdenv; };
+1 -1
pkgs/tools/misc/fastfetch/default.nix
··· 151 151 description = "Like neofetch, but much faster because written in C"; 152 152 homepage = "https://github.com/fastfetch-cli/fastfetch"; 153 153 license = lib.licenses.mit; 154 - maintainers = with lib.maintainers; [ gerg-l khaneliman ]; 154 + maintainers = with lib.maintainers; [ gerg-l khaneliman federicoschonborn ]; 155 155 platforms = lib.platforms.all; 156 156 mainProgram = "fastfetch"; 157 157 };
+1
pkgs/tools/misc/neo-cowsay/default.nix
··· 24 24 homepage = "https://github.com/Code-Hex/Neo-cowsay"; 25 25 license = with licenses; [ artistic1 /* or */ gpl3 ]; 26 26 maintainers = with maintainers; [ Br1ght0ne ]; 27 + mainProgram = "cowsay"; 27 28 }; 28 29 }
+2 -2
pkgs/tools/misc/remind/default.nix
··· 15 15 in 16 16 tcl.mkTclDerivation rec { 17 17 pname = "remind"; 18 - version = "04.03.02"; 18 + version = "04.03.03"; 19 19 20 20 src = fetchurl { 21 21 url = "https://dianne.skoll.ca/projects/remind/download/remind-${version}.tar.gz"; 22 - sha256 = "sha256-tL5Ntb/RIoT9mKcdU1ndBo/pGwhtIsRnTV0lL6Sg1Vw="; 22 + sha256 = "sha256-+/vX6Nu0F84mZcEnd9jFlaVKbJIQQOJiPsxspKF+klQ="; 23 23 }; 24 24 25 25 propagatedBuildInputs = tclLibraries;
+7 -7
pkgs/tools/networking/gost/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "gost"; 5 - version = "2.11.5"; 5 + version = "2.11.5-unstable-2024-02-02"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "ginuerzh"; 9 9 repo = "gost"; 10 - rev = "v${version}"; 11 - sha256 = "sha256-UBjrWeBw9+qKQ/+1T1W/3e0vrigp540URIyM2d9iCE8="; 10 + rev = "fd57e80709aba9581757b1cd63b7d8f75e2385d2"; 11 + sha256 = "sha256-GkXsiUcH5hppgkkt4ddVMLm5riUDORVhjWBGHZXti5A="; 12 12 }; 13 13 14 14 patches = [ 15 - # Add go1.20 support. Remove with the next release. 15 + # Bump quic-go to v0.41.0 for go 1.22 compatibility. 16 16 (fetchpatch { 17 - url = "https://github.com/ginuerzh/gost/commit/0f7376bd10c913c7e6b1e7e02dd5fd7769975d78.patch"; 18 - hash = "sha256-pQNCvl7/huNrkM3+XHkGnvLYCzdjbMV6nef1KcMnKEw="; 17 + url = "https://github.com/ginuerzh/gost/pull/1016/commits/c2e3f7e493bbb6ff1bc348f36e1a148d9d0c16ad.patch"; 18 + hash = "sha256-9OtuPIzzCymMAVbrDuhhPcxcac69gjAUm4ykXbH/pbo="; 19 19 }) 20 20 ]; 21 21 22 - vendorHash = "sha256-wAdNfhSPj9JUcI6Gcja6nRy68bVhV8B4PARR0WS9rjQ="; 22 + vendorHash = "sha256-mq95eHyW8XkqyLApSqVB3bv5VFSu6FuPap/mTQj8a9M="; 23 23 24 24 postPatch = '' 25 25 substituteInPlace http2_test.go \
+11 -1
pkgs/tools/networking/labctl/default.nix
··· 1 1 { lib 2 2 , buildGoModule 3 3 , fetchFromGitHub 4 + , fetchpatch 4 5 , installShellFiles 5 6 }: 6 7 ··· 15 16 hash = "sha256-84t7qhLafNyPLgHmFQUsizEn6Us44dDTercGEm9lup4="; 16 17 }; 17 18 19 + patches = [ 20 + # Fix build failure with Go 1.21 by updating go4.org/unsafe/assume-no-moving-gc 21 + # See https://github.com/labctl/labctl/pull/4 22 + (fetchpatch { 23 + url = "https://github.com/labctl/labctl/commit/615d05e94b991362beddce71c7ee34eae7fc93ff.patch"; 24 + hash = "sha256-4JrXSsg8rfuH6i8XyLd/qO6AibkRMDBIpfT8r1yS75c="; 25 + }) 26 + ]; 27 + 18 28 nativeBuildInputs = [ installShellFiles ]; 19 29 20 - vendorHash = "sha256-vJ9aTMVwKrqjckdfCMvheTSG+gEtMLLQuBCz8Wc5blE="; 30 + vendorHash = "sha256-Ycr/IZckIFysS9Goes58hhgh96UMRHjYWfWlQU23mXk="; 21 31 22 32 ldflags = [ 23 33 "-X=github.com/labctl/labctl/app.version=${version}"
+3
pkgs/tools/networking/norouter/default.nix
··· 27 27 ''; 28 28 29 29 meta = with lib; { 30 + # Doesn't build with Go >=1.21 31 + # https://github.com/norouter/norouter/issues/165 32 + broken = true; 30 33 description = "Tool to handle unprivileged networking by using multiple loopback addresses"; 31 34 homepage = "https://github.com/norouter/norouter"; 32 35 license = licenses.asl20;
+11 -8
pkgs/tools/system/confd/default.nix
··· 1 - { lib, buildGoPackage, fetchFromGitHub }: 1 + { lib, buildGoModule, fetchFromGitHub }: 2 2 3 - buildGoPackage rec { 3 + buildGoModule { 4 4 pname = "confd"; 5 - version = "0.16.0"; 6 - rev = "v${version}"; 5 + version = "0.16-unstable-2023-12-09"; 7 6 8 - goPackagePath = "github.com/kelseyhightower/confd"; 9 - subPackages = [ "./" ]; 10 7 11 8 src = fetchFromGitHub { 12 - inherit rev; 13 9 owner = "kelseyhightower"; 14 10 repo = "confd"; 15 - sha256 = "0q7r6dkgirnmqi3rhqdaai88jqzw52l6jdrrwsf2qq0hva09961p"; 11 + rev = "919444eb6cf721d198b2bb18581d0f0b3734d107"; 12 + hash = "sha256-/HlL+vxERSOUKIxdtlZDZrpYjGXon3KMwoYUcp8iOug="; 16 13 }; 14 + 15 + vendorHash = null; 16 + 17 + subPackages = [ "." ]; 18 + 19 + ldflags = [ "-s" "-w" ]; 17 20 18 21 meta = { 19 22 description = "Manage local application configuration files using templates and data from etcd or consul";
+2 -2
pkgs/tools/system/freeipmi/default.nix
··· 1 1 { buildPackages, fetchurl, lib, stdenv, libgcrypt, readline, libgpg-error }: 2 2 3 3 stdenv.mkDerivation rec { 4 - version = "1.6.11"; 4 + version = "1.6.14"; 5 5 pname = "freeipmi"; 6 6 7 7 src = fetchurl { 8 8 url = "mirror://gnu/freeipmi/${pname}-${version}.tar.gz"; 9 - sha256 = "sha256-ZfvWkQ/AEEV3SGlUFPJ8V1W06NdXNCISIfOFjGIwqJc="; 9 + sha256 = "sha256-Gj2sXHa3zMTU+GqhK475shK673SJvwXombiau34U7bU="; 10 10 }; 11 11 12 12 depsBuildBuild = [ buildPackages.stdenv.cc ];
+34 -42
pkgs/tools/system/sleuthkit/default.nix
··· 2 2 , stdenv 3 3 , fetchFromGitHub 4 4 , autoreconfHook 5 - , libewf 5 + , ant 6 + , jdk 7 + , perl 8 + , stripJavaArchivesHook 6 9 , afflib 10 + , libewf 7 11 , openssl 8 12 , zlib 9 - , openjdk 10 - , perl 11 - , ant 12 13 }: 13 14 14 - stdenv.mkDerivation rec { 15 - version = "4.12.1"; 15 + stdenv.mkDerivation (finalAttrs: { 16 16 pname = "sleuthkit"; 17 + version = "4.12.1"; # Note: when updating don't forget to also update the rdeps outputHash 17 18 18 - sleuthsrc = fetchFromGitHub { 19 + src = fetchFromGitHub { 19 20 owner = "sleuthkit"; 20 21 repo = "sleuthkit"; 21 - rev = "${pname}-${version}"; 22 + rev = "sleuthkit-${finalAttrs.version}"; 22 23 hash = "sha256-q51UY2lIcLijycNaq9oQIwUXpp/1mfc3oPN4syOPF44="; 23 24 }; 24 25 25 26 # Fetch libraries using a fixed output derivation 26 - rdeps = stdenv.mkDerivation rec { 27 - 28 - version = "1.0"; 29 - pname = "sleuthkit-deps"; 30 - nativeBuildInputs = [ 31 - openjdk 32 - ant 33 - ]; 27 + rdeps = stdenv.mkDerivation { 28 + name = "sleuthkit-${finalAttrs.version}-deps"; 29 + inherit (finalAttrs) src; 34 30 35 - src = sleuthsrc; 31 + nativeBuildInputs = [ ant jdk ]; 36 32 37 33 # unpack, build, install 38 34 dontConfigure = true; ··· 48 44 ''; 49 45 50 46 installPhase = '' 51 - export IVY_HOME=$NIX_BUILD_TOP/.ant 52 47 mkdir -m 755 -p $out/bindings/java 53 48 cp -r bindings/java/lib $out/bindings/java 54 49 mkdir -m 755 -p $out/case-uco/java ··· 58 53 ''; 59 54 60 55 outputHashMode = "recursive"; 61 - outputHash = "0fq7v6zlgybg4v6k9wqjlk4gaqgjrpihbnr182vaqriihflav2s8"; 62 56 outputHashAlgo = "sha256"; 57 + outputHash = "sha256-mc/KQrwn3xpPI0ngOLcpoQDaJJm/rM8XgaX//5PiRZk="; 63 58 }; 64 59 65 - src = sleuthsrc; 60 + postUnpack = '' 61 + export IVY_HOME="$NIX_BUILD_TOP/.ant" 62 + export ANT_ARGS="-Doffline=true -Ddefault-jar-location=$IVY_HOME/lib" 63 + 64 + # pre-positioning these jar files allows -Doffline=true to work 65 + mkdir -p source/{bindings,case-uco}/java $IVY_HOME 66 + cp -r ${finalAttrs.rdeps}/bindings/java/lib source/bindings/java 67 + chmod -R 755 source/bindings/java 68 + cp -r ${finalAttrs.rdeps}/case-uco/java/lib source/case-uco/java 69 + chmod -R 755 source/case-uco/java 70 + cp -r ${finalAttrs.rdeps}/lib $IVY_HOME 71 + chmod -R 755 $IVY_HOME 72 + ''; 66 73 67 74 postPatch = '' 68 75 substituteInPlace tsk/img/ewf.cpp --replace libewf_handle_read_random libewf_handle_read_buffer_at_offset ··· 72 79 73 80 nativeBuildInputs = [ 74 81 autoreconfHook 75 - openjdk 82 + ant 83 + jdk 76 84 perl 77 - ant 78 - rdeps 85 + stripJavaArchivesHook 79 86 ]; 80 87 81 88 buildInputs = [ 82 - libewf 83 89 afflib 90 + libewf 84 91 openssl 85 92 zlib 86 93 ]; ··· 90 97 rm -rf */.libs 91 98 ''; 92 99 93 - postUnpack = '' 94 - export IVY_HOME="$NIX_BUILD_TOP/.ant" 95 - export JAVA_HOME="${openjdk}" 96 - export ant_args="-Doffline=true -Ddefault-jar-location=$IVY_HOME/lib" 97 - 98 - # pre-positioning these jar files allows -Doffline=true to work 99 - mkdir -p source/{bindings,case-uco}/java $IVY_HOME 100 - cp -r ${rdeps}/bindings/java/lib source/bindings/java 101 - chmod -R 755 source/bindings/java 102 - cp -r ${rdeps}/case-uco/java/lib source/case-uco/java 103 - chmod -R 755 source/case-uco/java 104 - cp -r ${rdeps}/lib $IVY_HOME 105 - chmod -R 755 $IVY_HOME 106 - ''; 107 - 108 100 meta = with lib; { 109 101 description = "A forensic/data recovery tool"; 110 102 homepage = "https://www.sleuthkit.org/"; 111 - changelog = "https://github.com/sleuthkit/sleuthkit/releases/tag/sleuthkit-${version}"; 103 + changelog = "https://github.com/sleuthkit/sleuthkit/blob/${finalAttrs.src.rev}/NEWS.txt"; 112 104 maintainers = with maintainers; [ raskin gfrascadorio ]; 113 105 platforms = platforms.linux; 114 106 sourceProvenance = with sourceTypes; [ 115 107 fromSource 116 - binaryBytecode # dependencies 108 + binaryBytecode # dependencies 117 109 ]; 118 110 license = licenses.ipl10; 119 111 }; 120 - } 112 + })
+8 -1
pkgs/top-level/aliases.nix
··· 197 197 clang8Stdenv = throw "clang8Stdenv has been removed from nixpkgs"; # Added 2024-01-24 198 198 clang9Stdenv = lowPrio llvmPackages_9.stdenv; 199 199 clang10Stdenv = throw "clang10Stdenv has been removed from nixpkgs"; # Added 2024-01-26 200 - clang11Stdenv = lowPrio llvmPackages_11.stdenv; 200 + clang11Stdenv = throw "clang11Stdenv has been removed from nixpkgs"; # Added 2023-01-24 201 201 clang12Stdenv = lowPrio llvmPackages_12.stdenv; 202 202 clang13Stdenv = lowPrio llvmPackages_13.stdenv; 203 203 clang14Stdenv = lowPrio llvmPackages_14.stdenv; ··· 208 208 clang-tools_6 = throw "clang-tools_6 has been removed from nixpkgs"; # Added 2024-01-08 209 209 clang-tools_7 = throw "clang-tools_7 has been removed from nixpkgs"; # Added 2023-11-19 210 210 clang-tools_8 = throw "clang-tools_8 has been removed from nixpkgs"; # Added 2024-01-24 211 + clang-tools_10 = throw "clang-tools_10 has been removed from nixpkgs"; # Added 2023-01-26 212 + clang-tools_11 = throw "clang-tools_11 has been removed from nixpkgs"; # Added 2023-01-24 211 213 clang_6 = throw "clang_6 has been removed from nixpkgs"; # Added 2024-01-08 212 214 clang_7 = throw "clang_7 has been removed from nixpkgs"; # Added 2023-11-19 213 215 clang_8 = throw "clang_8 has been removed from nixpkgs"; # Added 2024-01-24 214 216 clang_10 = throw "clang_10 has been removed from nixpkgs"; # Added 2024-01-26 217 + clang_11 = throw "clang_11 has been removed from nixpkgs"; # Added 2023-01-24 215 218 216 219 ### D ### 217 220 ··· 687 690 lld_7 = throw "lld_7 has been removed from nixpkgs"; # Added 2023-11-19 688 691 lld_8 = throw "lld_8 has been removed from nixpkgs"; # Added 2024-01-24 689 692 lld_10 = throw "lld_10 has been removed from nixpkgs"; # Added 2024-01-26 693 + lld_11 = throw "lld_11 has been removed from nixpkgs"; # Added 2024-01-24 690 694 lldb_6 = throw "lldb_6 has been removed from nixpkgs"; # Added 2024-01-08 691 695 lldb_7 = throw "lldb_7 has been removed from nixpkgs"; # Added 2023-11-19 692 696 lldb_8 = throw "lldb_8 has been removed from nixpkgs"; # Added 2024-01-24 693 697 lldb_10 = throw "lldb_10 has been removed from nixpkgs"; # Added 2024-01-26 698 + lldb_11 = throw "lldb_11 has been removed from nixpkgs"; # Added 2024-01-24 694 699 llvmPackages_6 = throw "llvmPackages_6 has been removed from nixpkgs"; # Added 2024-01-09 695 700 llvmPackages_7 = throw "llvmPackages_7 has been removed from nixpkgs"; # Added 2023-11-19 696 701 llvmPackages_8 = throw "llvmPackages_8 has been removed from nixpkgs"; # Added 2024-01-24 697 702 llvmPackages_10 = throw "llvmPackages_10 has been removed from nixpkgs"; # Added 2024-01-26 703 + llvmPackages_11 = throw "llvmPackages_11 has been removed from nixpkgs"; # Added 2024-01-24 698 704 llvm_6 = throw "llvm_6 has been removed from nixpkgs"; # Added 2024-01-08 699 705 llvm_7 = throw "llvm_7 has been removed from nixpkgs"; # Added 2023-11-19 700 706 llvm_8 = throw "llvm_8 has been removed from nixpkgs"; # Added 2024-01-24 701 707 llvm_10 = throw "llvm_10 has been removed from nixpkgs"; # Added 2024-01-26 708 + llvm_11 = throw "llvm_11 has been removed from nixpkgs"; # Added 2024-01-24 702 709 703 710 lobster-two = google-fonts; # Added 2021-07-22 704 711 luxcorerender = throw "'luxcorerender' has been removed as it's unmaintained and broken in nixpkgs since a while ago"; # Added 2023-06-07
+14 -62
pkgs/top-level/all-packages.nix
··· 1735 1735 1736 1736 butler = callPackage ../by-name/bu/butler/package.nix { 1737 1737 inherit (darwin.apple_sdk.frameworks) Cocoa; 1738 - buildGoModule = buildGo120Module; 1739 1738 }; 1740 1739 1741 1740 carbon-now-cli = callPackage ../tools/typesetting/carbon-now-cli { }; ··· 2556 2555 2557 2556 lab = callPackage ../applications/version-management/lab { }; 2558 2557 2559 - labctl = callPackage ../tools/networking/labctl { 2560 - buildGoModule = buildGo120Module; 2561 - }; 2558 + labctl = callPackage ../tools/networking/labctl { }; 2562 2559 2563 2560 legit = callPackage ../applications/version-management/legit { }; 2564 2561 ··· 8712 8709 8713 8710 goreplay = callPackage ../tools/networking/goreplay { }; 8714 8711 8715 - gost = callPackage ../tools/networking/gost { 8716 - buildGoModule = buildGo120Module; # go 1.21 build failure 8717 - }; 8712 + gost = callPackage ../tools/networking/gost { }; 8718 8713 8719 8714 gource = callPackage ../applications/version-management/gource { }; 8720 8715 ··· 13938 13933 13939 13934 trezord = callPackage ../servers/trezord { 13940 13935 inherit (darwin.apple_sdk.frameworks) AppKit; 13941 - buildGoModule = buildGo120Module; 13942 13936 }; 13943 13937 13944 13938 trezor-agent = with python3Packages; toPythonApplication trezor-agent; ··· 15116 15110 15117 15111 zip = callPackage ../tools/archivers/zip { }; 15118 15112 15119 - zincsearch = callPackage ../servers/search/zincsearch { 15120 - buildGoModule = buildGo120Module; 15121 - }; 15113 + zincsearch = callPackage ../servers/search/zincsearch { }; 15122 15114 15123 15115 zkfuse = callPackage ../tools/filesystems/zkfuse { }; 15124 15116 ··· 15488 15480 15489 15481 clang = llvmPackages.clang; 15490 15482 clang_9 = llvmPackages_9.clang; 15491 - clang_11 = llvmPackages_11.clang; 15492 15483 clang_12 = llvmPackages_12.clang; 15493 15484 clang_13 = llvmPackages_13.clang; 15494 15485 clang_14 = llvmPackages_14.clang; ··· 15500 15491 15501 15492 clang-tools_9 = callPackage ../development/tools/clang-tools { 15502 15493 llvmPackages = llvmPackages_9; 15503 - }; 15504 - 15505 - clang-tools_11 = callPackage ../development/tools/clang-tools { 15506 - llvmPackages = llvmPackages_11; 15507 15494 }; 15508 15495 15509 15496 clang-tools_12 = callPackage ../development/tools/clang-tools { ··· 16456 16443 16457 16444 lld = llvmPackages.lld; 16458 16445 lld_9 = llvmPackages_9.lld; 16459 - lld_11 = llvmPackages_11.lld; 16460 16446 lld_12 = llvmPackages_12.lld; 16461 16447 lld_13 = llvmPackages_13.lld; 16462 16448 lld_14 = llvmPackages_14.lld; ··· 16466 16452 16467 16453 lldb = llvmPackages.lldb; 16468 16454 lldb_9 = llvmPackages_9.lldb; 16469 - lldb_11 = llvmPackages_11.lldb; 16470 16455 lldb_12 = llvmPackages_12.lldb; 16471 16456 lldb_13 = llvmPackages_13.lldb; 16472 16457 lldb_14 = llvmPackages_14.lldb; ··· 16476 16461 16477 16462 llvm = llvmPackages.llvm; 16478 16463 llvm_9 = llvmPackages_9.llvm; 16479 - llvm_11 = llvmPackages_11.llvm; 16480 16464 llvm_12 = llvmPackages_12.llvm; 16481 16465 llvm_13 = llvmPackages_13.llvm; 16482 16466 llvm_14 = llvmPackages_14.llvm; ··· 16515 16499 targetLlvmLibraries = targetPackages.llvmPackages_9.libraries or llvmPackages_9.libraries; 16516 16500 stdenv = if stdenv.cc.cc.isGNU or false then gcc12Stdenv else stdenv; # does not build with gcc13 16517 16501 }); 16518 - 16519 - llvmPackages_11 = recurseIntoAttrs (callPackage ../development/compilers/llvm/11 ({ 16520 - inherit (stdenvAdapters) overrideCC; 16521 - buildLlvmTools = buildPackages.llvmPackages_11.tools; 16522 - targetLlvmLibraries = targetPackages.llvmPackages_11.libraries or llvmPackages_11.libraries; 16523 - targetLlvm = targetPackages.llvmPackages_11.llvm or llvmPackages_11.llvm; 16524 - stdenv = if stdenv.cc.cc.isGNU or false then gcc12Stdenv else stdenv; # does not build with gcc13 16525 - })); 16526 16502 16527 16503 llvmPackages_12 = recurseIntoAttrs (callPackage ../development/compilers/llvm/12 ({ 16528 16504 inherit (stdenvAdapters) overrideCC; ··· 25525 25501 buildGoPackage = buildGo122Package; 25526 25502 25527 25503 # requires a newer Apple SDK 25528 - go_1_20 = darwin.apple_sdk_11_0.callPackage ../development/compilers/go/1.20.nix { 25529 - inherit (darwin.apple_sdk_11_0.frameworks) Foundation Security; 25530 - }; 25531 - buildGo120Module = darwin.apple_sdk_11_0.callPackage ../build-support/go/module.nix { 25532 - go = buildPackages.go_1_20; 25533 - }; 25534 - buildGo120Package = darwin.apple_sdk_11_0.callPackage ../build-support/go/package.nix { 25535 - go = buildPackages.go_1_20; 25536 - }; 25537 - 25538 - # requires a newer Apple SDK 25539 25504 go_1_21 = darwin.apple_sdk_11_0.callPackage ../development/compilers/go/1.21.nix { 25540 25505 inherit (darwin.apple_sdk_11_0.frameworks) Foundation Security; 25541 25506 }; ··· 25971 25936 engelsystem = callPackage ../servers/web-apps/engelsystem { }; 25972 25937 25973 25938 envoy = callPackage ../servers/http/envoy { 25974 - go = go_1_20; 25975 25939 jdk = openjdk11_headless; 25976 25940 gn = gn1924; 25977 25941 }; ··· 27972 27936 27973 27937 goconst = callPackage ../development/tools/goconst { }; 27974 27938 27975 - goconvey = callPackage ../development/tools/goconvey { 27976 - buildGoModule = buildGo120Module; 27977 - }; 27939 + goconvey = callPackage ../development/tools/goconvey { }; 27978 27940 27979 27941 go-callvis = callPackage ../development/tools/go-callvis { }; 27980 27942 ··· 28030 27992 28031 27993 go-mod-graph-chart = callPackage ../development/tools/go-mod-graph-chart { }; 28032 27994 28033 - gomacro = callPackage ../development/tools/gomacro { 28034 - buildGoModule = buildGo120Module; 28035 - }; 27995 + gomacro = callPackage ../development/tools/gomacro { }; 28036 27996 28037 27997 gomodifytags = callPackage ../development/tools/gomodifytags { }; 28038 27998 ··· 29355 29315 29356 29316 open-sans = callPackage ../data/fonts/open-sans { }; 29357 29317 29358 - openmoji-color = callPackage ../data/fonts/openmoji { variant = "color"; }; 29318 + openmoji-color = callPackage ../data/fonts/openmoji { fontFormats = ["glyf_colr_0"]; }; 29359 29319 29360 - openmoji-black = callPackage ../data/fonts/openmoji { variant = "black"; }; 29320 + openmoji-black = callPackage ../data/fonts/openmoji { fontFormats = ["glyf"]; }; 29361 29321 29362 29322 openzone-cursors = callPackage ../data/themes/openzone { }; 29363 29323 ··· 30986 30946 30987 30947 gigalixir = callPackage ../tools/misc/gigalixir { }; 30988 30948 30989 - go-libp2p-daemon = callPackage ../servers/go-libp2p-daemon { 30990 - buildGoModule = buildGo120Module; 30991 - }; 30949 + go-libp2p-daemon = callPackage ../servers/go-libp2p-daemon { }; 30992 30950 30993 30951 go-motion = callPackage ../development/tools/go-motion { }; 30994 30952 ··· 33062 33020 33063 33021 markscribe = callPackage ../tools/text/markscribe { }; 33064 33022 33065 - magnetico = callPackage ../applications/networking/p2p/magnetico { 33066 - buildGoModule = buildGo120Module; 33067 - }; 33023 + magnetico = callPackage ../applications/networking/p2p/magnetico { }; 33068 33024 33069 33025 mastodon-bot = nodePackages.mastodon-bot; 33070 33026 ··· 33409 33365 33410 33366 normalize = callPackage ../applications/audio/normalize { }; 33411 33367 33412 - norouter = callPackage ../tools/networking/norouter { 33413 - # doesn't build with go 1.21 33414 - # https://github.com/norouter/norouter/issues/165 33415 - buildGoModule = buildGo120Module; 33416 - }; 33368 + norouter = callPackage ../tools/networking/norouter { }; 33417 33369 33418 33370 nqptp = callPackage ../tools/networking/nqptp { }; 33419 33371 ··· 36500 36452 36501 36453 dcrctl = callPackage ../applications/blockchains/dcrctl { }; 36502 36454 dcrd = callPackage ../applications/blockchains/dcrd { }; 36503 - dcrwallet = callPackage ../applications/blockchains/dcrwallet { 36504 - buildGoModule = buildGo120Module; 36505 - }; 36455 + dcrwallet = callPackage ../applications/blockchains/dcrwallet { }; 36506 36456 36507 36457 eclair = callPackage ../applications/blockchains/eclair { }; 36508 36458 ··· 40672 40622 40673 40623 ib-controller = callPackage ../applications/office/ib/controller { jdk=oraclejdk8; }; 40674 40624 40675 - vcluster = callPackage ../applications/networking/cluster/vcluster { }; 40625 + vcluster = callPackage ../applications/networking/cluster/vcluster { 40626 + buildGoModule = buildGo122Module; 40627 + }; 40676 40628 40677 40629 vnote = libsForQt5.callPackage ../applications/office/vnote { }; 40678 40630
+10
pkgs/top-level/python-packages.nix
··· 4450 4450 4451 4451 frozenlist = callPackage ../development/python-modules/frozenlist { }; 4452 4452 4453 + frozenlist2 = callPackage ../development/python-modules/frozenlist2 { }; 4454 + 4453 4455 fs = callPackage ../development/python-modules/fs { }; 4454 4456 4455 4457 fs-s3fs = callPackage ../development/python-modules/fs-s3fs { }; ··· 4998 5000 graphene = callPackage ../development/python-modules/graphene { }; 4999 5001 5000 5002 graphene-django = callPackage ../development/python-modules/graphene-django { }; 5003 + 5004 + graphlib-backport = callPackage ../development/python-modules/graphlib-backport { }; 5001 5005 5002 5006 graphqlclient= callPackage ../development/python-modules/graphqlclient { }; 5003 5007 ··· 8758 8762 8759 8763 python-nvd3 = callPackage ../development/python-modules/python-nvd3 { }; 8760 8764 8765 + python-secp256k1-cardano = callPackage ../development/python-modules/python-secp256k1-cardano { }; 8766 + 8761 8767 python-tds = callPackage ../development/python-modules/python-tds { }; 8762 8768 8763 8769 python-yate = callPackage ../development/python-modules/python-yate { }; ··· 9942 9948 plum-py = callPackage ../development/python-modules/plum-py { }; 9943 9949 9944 9950 plumbum = callPackage ../development/python-modules/plumbum { }; 9951 + 9952 + pluthon = callPackage ../development/python-modules/pluthon { }; 9945 9953 9946 9954 plux = callPackage ../development/python-modules/plux { }; 9947 9955 ··· 16140 16148 update-copyright = callPackage ../development/python-modules/update-copyright { }; 16141 16149 16142 16150 update-dotdee = callPackage ../development/python-modules/update-dotdee { }; 16151 + 16152 + uplc = callPackage ../development/python-modules/uplc { }; 16143 16153 16144 16154 upnpy = callPackage ../development/python-modules/upnpy { }; 16145 16155