Merge staging-next into staging

authored by github-actions[bot] and committed by GitHub af02609a 055c8c1c

+341 -396
+6
maintainers/maintainer-list.nix
··· 5972 5972 githubId = 3831860; 5973 5973 name = "Arnold Krille"; 5974 5974 }; 5975 + kanashimia = { 5976 + email = "chad@redpilled.dev"; 5977 + github = "kanashimia"; 5978 + githubId = 56224949; 5979 + name = "Mia Kanashi"; 5980 + }; 5975 5981 karantan = { 5976 5982 name = "Gasper Vozel"; 5977 5983 email = "karantan@gmail.com";
+9
nixos/doc/manual/from_md/release-notes/rl-2205.section.xml
··· 57 57 new versions will release. 58 58 </para> 59 59 </listitem> 60 + <listitem> 61 + <para> 62 + The <literal>wafHook</literal> hook now honors 63 + <literal>NIX_BUILD_CORES</literal> when 64 + <literal>enableParallelBuilding</literal> is not set 65 + explicitly. Packages can restore the old behaviour by setting 66 + <literal>enableParallelBuilding=false</literal>. 67 + </para> 68 + </listitem> 60 69 </itemizedlist> 61 70 </section> 62 71 <section xml:id="sec-release-22.05-notable-changes">
+4 -2
nixos/doc/manual/release-notes/rl-2205.section.md
··· 10 10 11 11 ## Backward Incompatibilities {#sec-release-22.05-incompatibilities} 12 12 13 - * `pkgs.ghc` now refers to `pkgs.targetPackages.haskellPackages.ghc`. 13 + - `pkgs.ghc` now refers to `pkgs.targetPackages.haskellPackages.ghc`. 14 14 This *only* makes a difference if you are cross-compiling and will 15 15 ensure that `pkgs.ghc` always runs on the host platform and compiles 16 16 for the target platform (similar to `pkgs.gcc` for example). ··· 22 22 instead to ensure cross compilation keeps working (or switch to 23 23 `haskellPackages.callPackage`). 24 24 25 - * `pkgs.emacsPackages.orgPackages` is removed because org elpa is deprecated. 25 + - `pkgs.emacsPackages.orgPackages` is removed because org elpa is deprecated. 26 26 The packages in the top level of `pkgs.emacsPackages`, such as org and 27 27 org-contrib, refer to the ones in `pkgs.emacsPackages.elpaPackages` and 28 28 `pkgs.emacsPackages.nongnuPackages` where the new versions will release. 29 + 30 + - The `wafHook` hook now honors `NIX_BUILD_CORES` when `enableParallelBuilding` is not set explicitly. Packages can restore the old behaviour by setting `enableParallelBuilding=false`. 29 31 30 32 ## Other Notable Changes {#sec-release-22.05-notable-changes}
+1 -2
nixos/modules/services/networking/lxd-image-server.nix
··· 55 55 path = "/var/log/lxd-image-server/lxd-image-server.log"; 56 56 frequency = "daily"; 57 57 keep = 21; 58 - user = "lxd-image-server"; 59 - group = cfg.group; 60 58 extraConfig = '' 59 + create 755 lxd-image-server ${cfg.group} 61 60 missingok 62 61 compress 63 62 delaycompress
+9 -5
nixos/modules/services/networking/nix-serve.nix
··· 37 37 nix-store --generate-binary-cache-key key-name secret-key-file public-key-file 38 38 ``` 39 39 40 - Make sure user `nix-serve` has read access to the private key file. 41 - 42 40 For more details see <citerefentry><refentrytitle>nix-store</refentrytitle><manvolnum>1</manvolnum></citerefentry>. 43 41 ''; 44 42 }; ··· 61 59 62 60 path = [ config.nix.package.out pkgs.bzip2.bin ]; 63 61 environment.NIX_REMOTE = "daemon"; 64 - environment.NIX_SECRET_KEY_FILE = cfg.secretKeyFile; 62 + 63 + script = '' 64 + ${lib.optionalString (cfg.secretKeyFile != null) '' 65 + export NIX_SECRET_KEY_FILE="$CREDENTIALS_DIRECTORY/NIX_SECRET_KEY_FILE" 66 + ''} 67 + exec ${pkgs.nix-serve}/bin/nix-serve --listen ${cfg.bindAddress}:${toString cfg.port} ${cfg.extraParams} 68 + ''; 65 69 66 70 serviceConfig = { 67 71 Restart = "always"; 68 72 RestartSec = "5s"; 69 - ExecStart = "${pkgs.nix-serve}/bin/nix-serve " + 70 - "--listen ${cfg.bindAddress}:${toString cfg.port} ${cfg.extraParams}"; 71 73 User = "nix-serve"; 72 74 Group = "nix-serve"; 73 75 DynamicUser = true; 76 + LoadCredential = lib.optionalString (cfg.secretKeyFile != null) 77 + "NIX_SECRET_KEY_FILE:${cfg.secretKeyFile}"; 74 78 }; 75 79 }; 76 80 };
+16 -3
nixos/modules/services/networking/shairport-sync.nix
··· 53 53 ''; 54 54 }; 55 55 56 + group = mkOption { 57 + type = types.str; 58 + default = "shairport"; 59 + description = '' 60 + Group account name under which to run shairport-sync. The account 61 + will be created. 62 + ''; 63 + }; 64 + 56 65 }; 57 66 58 67 }; ··· 66 75 services.avahi.publish.enable = true; 67 76 services.avahi.publish.userServices = true; 68 77 69 - users.users.${cfg.user} = 70 - { description = "Shairport user"; 78 + users = { 79 + users.${cfg.user} = { 80 + description = "Shairport user"; 71 81 isSystemUser = true; 72 82 createHome = true; 73 83 home = "/var/lib/shairport-sync"; 84 + group = cfg.group; 74 85 extraGroups = [ "audio" ] ++ optional config.hardware.pulseaudio.enable "pulse"; 75 86 }; 76 - 87 + groups.${cfg.group} = {}; 88 + }; 77 89 78 90 networking.firewall = mkIf cfg.openFirewall { 79 91 allowedTCPPorts = [ 5000 ]; ··· 87 99 wantedBy = [ "multi-user.target" ]; 88 100 serviceConfig = { 89 101 User = cfg.user; 102 + Group = cfg.group; 90 103 ExecStart = "${pkgs.shairport-sync}/bin/shairport-sync ${cfg.arguments}"; 91 104 RuntimeDirectory = "shairport-sync"; 92 105 };
+1 -1
nixos/modules/services/x11/display-managers/lightdm.nix
··· 312 312 }; 313 313 314 314 systemd.tmpfiles.rules = [ 315 - "d /run/lightdm 0711 lightdm lightdm 0" 315 + "d /run/lightdm 0711 lightdm lightdm -" 316 316 "d /var/cache/lightdm 0711 root lightdm -" 317 317 "d /var/lib/lightdm 1770 lightdm lightdm -" 318 318 "d /var/lib/lightdm-data 1775 lightdm lightdm -"
+2 -2
nixos/modules/tasks/snapraid.nix
··· 193 193 LockPersonality = true; 194 194 MemoryDenyWriteExecute = true; 195 195 NoNewPrivileges = true; 196 - PrivateDevices = true; 197 196 PrivateTmp = true; 198 197 ProtectClock = true; 199 198 ProtectControlGroups = true; ··· 208 207 SystemCallArchitectures = "native"; 209 208 SystemCallFilter = "@system-service"; 210 209 SystemCallErrorNumber = "EPERM"; 211 - CapabilityBoundingSet = "CAP_DAC_OVERRIDE"; 210 + CapabilityBoundingSet = "CAP_DAC_OVERRIDE" ++ 211 + lib.optionalString cfg.touchBeforeSync " CAP_FOWNER"; 212 212 213 213 ProtectSystem = "strict"; 214 214 ProtectHome = "read-only";
+8 -1
nixos/modules/virtualisation/waydroid.nix
··· 18 18 /dev/hwbinder = hidl 19 19 ''; 20 20 21 - in { 21 + in 22 + { 22 23 23 24 options.virtualisation.waydroid = { 24 25 enable = mkEnableOption "Waydroid"; ··· 35 36 (isEnabled "ANDROID_BINDERFS") 36 37 (isEnabled "ASHMEM") 37 38 ]; 39 + 40 + /* NOTE: we always enable this flag even if CONFIG_PSI_DEFAULT_DISABLED is not on 41 + as reading the kernel config is not always possible and on kernels where it's 42 + already on it will be no-op 43 + */ 44 + boot.kernelParams = [ "psi=1" ]; 38 45 39 46 environment.etc."gbinder.d/waydroid.conf".source = waydroidGbinderConf; 40 47
+2 -2
nixos/tests/all-tests.nix
··· 315 315 nginx-sso = handleTest ./nginx-sso.nix {}; 316 316 nginx-variants = handleTest ./nginx-variants.nix {}; 317 317 nitter = handleTest ./nitter.nix {}; 318 - nix-serve = handleTest ./nix-ssh-serve.nix {}; 319 - nix-ssh-serve = handleTest ./nix-ssh-serve.nix {}; 318 + nix-serve = handleTest ./nix-serve.nix {}; 319 + nix-serve-ssh = handleTest ./nix-serve-ssh.nix {}; 320 320 nixops = handleTest ./nixops/default.nix {}; 321 321 nixos-generate-config = handleTest ./nixos-generate-config.nix {}; 322 322 node-red = handleTest ./node-red.nix {};
+1 -1
nixos/tests/nix-ssh-serve.nix nixos/tests/nix-serve-ssh.nix
··· 35 35 36 36 client.fail("diff /root/other-store$(cat mach-id-path) /etc/machine-id") 37 37 # Currently due to shared store this is a noop :( 38 - client.succeed("nix copy --to ssh-ng://nix-ssh@server $(cat mach-id-path)") 38 + client.succeed("nix copy --experimental-features 'nix-command' --to ssh-ng://nix-ssh@server $(cat mach-id-path)") 39 39 client.succeed( 40 40 "nix-store --realise $(cat mach-id-path) --store /root/other-store --substituters ssh-ng://nix-ssh@server" 41 41 )
+34
pkgs/applications/audio/qpwgraph/default.nix
··· 1 + { lib, mkDerivation, fetchFromGitLab 2 + , cmake, pkg-config 3 + , alsa-lib, pipewire 4 + }: 5 + 6 + mkDerivation rec { 7 + pname = "qpwgraph"; 8 + version = "0.0.9"; 9 + 10 + src = fetchFromGitLab { 11 + domain = "gitlab.freedesktop.org"; 12 + owner = "rncbc"; 13 + repo = "qpwgraph"; 14 + rev = "v${version}"; 15 + sha256 = "WC2SB6gisRSZxG9WZtMVBzwkEJtPEGZRmezElLAG0ns="; 16 + }; 17 + 18 + nativeBuildInputs = [ cmake pkg-config ]; 19 + 20 + buildInputs = [ alsa-lib pipewire ]; 21 + 22 + meta = with lib; { 23 + description = "Qt graph manager for PipeWire, similar to QjackCtl."; 24 + longDescription = '' 25 + qpwgraph is a graph manager dedicated for PipeWire, 26 + using the Qt C++ framework, based and pretty much like 27 + the same of QjackCtl. 28 + ''; 29 + homepage = "https://gitlab.freedesktop.org/rncbc/qpwgraph"; 30 + license = licenses.gpl2Plus; 31 + platforms = platforms.linux; 32 + maintainers = with maintainers; [ kanashimia ]; 33 + }; 34 + }
+1 -1
pkgs/applications/editors/neovim/utils.nix
··· 177 177 assert withPython -> throw "Python2 support has been removed from neovim, please remove withPython and extraPythonPackages."; 178 178 179 179 wrapNeovimUnstable neovim (res // { 180 - wrapperArgs = lib.escapeShellArgs res.wrapperArgs + extraMakeWrapperArgs; 180 + wrapperArgs = lib.escapeShellArgs res.wrapperArgs + " " + extraMakeWrapperArgs; 181 181 wrapRc = (configure != {}); 182 182 }); 183 183 in
+19 -5
pkgs/applications/misc/tootle/default.nix
··· 1 - { lib, stdenv 1 + { lib 2 + , stdenv 2 3 , fetchFromGitHub 3 4 , nix-update-script 4 5 , fetchpatch 5 - , vala_0_52 6 + , vala 6 7 , meson 7 8 , ninja 8 9 , pkg-config ··· 30 31 sha256 = "NRM7GiJA8c5z9AvXpGXtMl4ZaYN2GauEIbjBmoY4pdo="; 31 32 }; 32 33 34 + patches = [ 35 + # Adhere to GLib.Object naming conventions for properties 36 + # https://github.com/bleakgrey/tootle/pull/339 37 + (fetchpatch { 38 + url = "https://git.alpinelinux.org/aports/plain/community/tootle/0001-Adhere-to-GLib.Object-naming-conventions-for-propert.patch?id=001bf1ce9695ddb0bbb58b44433d54207c15b0b5"; 39 + sha256 = "sha256-B62PhMRkU8P3jmnIUq1bYWztLtO2oNcDsXnAYbJGpso="; 40 + }) 41 + # Use reason_phrase instead of get_phrase 42 + # https://github.com/bleakgrey/tootle/pull/336 43 + (fetchpatch { 44 + url = "https://git.alpinelinux.org/aports/plain/community/tootle/0002-Use-reason_phrase-instead-of-get_phrase.patch?id=001bf1ce9695ddb0bbb58b44433d54207c15b0b5"; 45 + sha256 = "sha256-rm5NFLeAL2ilXpioywgCR9ppoq+MD0MLyVaBmdzVkqU="; 46 + }) 47 + ]; 48 + 33 49 nativeBuildInputs = [ 34 50 meson 35 51 ninja 36 52 pkg-config 37 53 python3 38 - # Does not build with vala 0.54 39 - # https://github.com/bleakgrey/tootle/issues/337 40 - vala_0_52 54 + vala 41 55 wrapGAppsHook 42 56 ]; 43 57
+3 -3
pkgs/applications/networking/cluster/argocd/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "argocd"; 5 - version = "2.1.6"; 6 - commit = "a346cf933e10d872eae26bff8e58c5e7ac40db25"; 5 + version = "2.1.7"; 6 + commit = "a408e299ffa743213df3aa9135bf7945644ec936"; 7 7 tag = "v${version}"; 8 8 9 9 src = fetchFromGitHub { 10 10 owner = "argoproj"; 11 11 repo = "argo-cd"; 12 12 rev = tag; 13 - sha256 = "sha256-8DeVO7Wr1bFZXTp2kaEPizDwNU5ZsA1fykccaDUivh8="; 13 + sha256 = "sha256-c6WUqD7x8/P+W64fWs4cw1RiUFepevIJCPpWSzNfIMc="; 14 14 }; 15 15 16 16 vendorSha256 = "sha256-N45yRlBGZ/c9ve2YPcWA26pylV8hzxjPh6evKtkgnoc=";
+7 -5
pkgs/applications/networking/cluster/k9s/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "k9s"; 5 - version = "0.24.15"; 5 + version = "0.25.7"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "derailed"; 9 9 repo = "k9s"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-ws5JC2/WkgwxKwYtP9xtFELRhztzL6tNSvopyeC6H0Q="; 11 + sha256 = "sha256-CFXPo8dpefrrBxCGpcGtZfLdfMYCBL/eQhHqZggK/yA="; 12 12 }; 13 13 14 14 ldflags = [ ··· 17 17 "-X github.com/derailed/k9s/cmd.commit=${src.rev}" 18 18 ]; 19 19 20 - vendorSha256 = "sha256-T9khJeg5XPhVyUiu4gEEHZR6RgJF4P8LYFycqJglms8="; 20 + vendorSha256 = "sha256-v4cd+f2GSE2ad0wWrW9x6/U6RREhFV83wVNFUMfWaA4="; 21 21 22 - doCheck = false; 22 + preCheck = "export HOME=$(mktemp -d)"; 23 + 24 + doCheck = true; 23 25 24 26 meta = with lib; { 25 27 description = "Kubernetes CLI To Manage Your Clusters In Style"; 26 28 homepage = "https://github.com/derailed/k9s"; 27 29 license = licenses.asl20; 28 - maintainers = with maintainers; [ Gonzih markus1189 ]; 30 + maintainers = with maintainers; [ Gonzih markus1189 bryanasdev000 ]; 29 31 }; 30 32 }
+3 -6
pkgs/applications/networking/cluster/velero/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "velero"; 5 - # When updating, change the commit underneath 6 - version = "1.7.0"; 7 - commit = "9e52260568430ecb77ac38a677ce74267a8c2176"; 5 + version = "1.7.1"; 8 6 9 7 10 8 src = fetchFromGitHub { 11 9 owner = "vmware-tanzu"; 12 10 repo = "velero"; 13 11 rev = "v${version}"; 14 - sha256 = "sha256-n5Rk+Fyb6yAI5sRZi+WE1KyQZyGryZSP4yd/gmmsQxw="; 12 + sha256 = "sha256-Jz3Tp5FqpmPuBscRB0KleQxtCvB43qmeLZNtGPnjuL0="; 15 13 }; 16 14 17 15 ldflags = [ 18 16 "-s" "-w" 19 17 "-X github.com/vmware-tanzu/velero/pkg/buildinfo.Version=${version}" 20 - "-X github.com/vmware-tanzu/velero/pkg/buildinfo.GitSHA=${commit}" 21 18 "-X github.com/vmware-tanzu/velero/pkg/buildinfo.GitTreeState=clean" 22 19 ]; 23 20 24 - vendorSha256 = "sha256-qsRbwLKNnuQRIsx0+sfOfR2OQ0+el0vptxz7mMew7zY="; 21 + vendorSha256 = "sha256-fX9FeoIkxxSi3dl5W2MZLz5vN1VHkPNpTBGRxGP5Qx8="; 25 22 26 23 excludedPackages = [ "issue-template-gen" "crd-gen" "release-tools" "velero-restic-restore-helper" "v1" "v1beta1" ]; 27 24
+18 -1
pkgs/applications/radio/gqrx/default.nix
··· 14 14 , rtl-sdr 15 15 , hackrf 16 16 , pulseaudioSupport ? true, libpulseaudio 17 + , portaudioSupport ? false, portaudio 17 18 }: 18 19 19 20 assert pulseaudioSupport -> libpulseaudio != null; 21 + assert portaudioSupport -> portaudio != null; 22 + # audio backends are mutually exclusive 23 + assert !(pulseaudioSupport && portaudioSupport); 20 24 21 25 gnuradio3_8Minimal.pkgs.mkDerivation rec { 22 26 pname = "gqrx"; ··· 49 53 ] ++ lib.optionals (gnuradio3_8Minimal.hasFeature "gr-ctrlport") [ 50 54 thrift 51 55 gnuradio3_8Minimal.unwrapped.python.pkgs.thrift 52 - ] ++ lib.optionals pulseaudioSupport [ libpulseaudio ]; 56 + ] ++ lib.optionals pulseaudioSupport [ libpulseaudio ] 57 + ++ lib.optionals portaudioSupport [ portaudio ]; 58 + 59 + cmakeFlags = 60 + let 61 + audioBackend = 62 + if pulseaudioSupport 63 + then "Pulseaudio" 64 + else if portaudioSupport 65 + then "Portaudio" 66 + else "Gr-audio"; 67 + in [ 68 + "-DLINUX_AUDIO_BACKEND=${audioBackend}" 69 + ]; 53 70 54 71 postInstall = '' 55 72 install -vD $src/gqrx.desktop -t "$out/share/applications/"
+6 -6
pkgs/applications/version-management/gitlab/data.json
··· 1 1 { 2 - "version": "14.5.0", 3 - "repo_hash": "sha256-HKm2zxr9jHN5NvoKoR0YnEsna84oz+ax6BYmDiWrODc=", 2 + "version": "14.5.1", 3 + "repo_hash": "0c9ih7dr5lgvdhij75bpcj9vlyljnprzbv0k90k4rjajfyd0lhad", 4 4 "yarn_hash": "081c06ds723mv95ivpnlh3ida2ra3brrm1lzfh2pmlg5wz9vi1cs", 5 5 "owner": "gitlab-org", 6 6 "repo": "gitlab", 7 - "rev": "v14.5.0-ee", 7 + "rev": "v14.5.1-ee", 8 8 "passthru": { 9 - "GITALY_SERVER_VERSION": "14.5.0", 9 + "GITALY_SERVER_VERSION": "14.5.1", 10 10 "GITLAB_PAGES_VERSION": "1.48.0", 11 - "GITLAB_SHELL_VERSION": "13.22.0", 12 - "GITLAB_WORKHORSE_VERSION": "14.5.0" 11 + "GITLAB_SHELL_VERSION": "13.22.1", 12 + "GITLAB_WORKHORSE_VERSION": "14.5.1" 13 13 } 14 14 }
+2 -2
pkgs/applications/version-management/gitlab/gitaly/default.nix
··· 33 33 }; 34 34 }; 35 35 36 - version = "14.5.0"; 36 + version = "14.5.1"; 37 37 gitaly_package = "gitlab.com/gitlab-org/gitaly/v${lib.versions.major version}"; 38 38 in 39 39 ··· 45 45 owner = "gitlab-org"; 46 46 repo = "gitaly"; 47 47 rev = "v${version}"; 48 - sha256 = "sha256-DbyxZKxW+S2u23+F8VQxkDXWp+L1WeISs6OEBb5DavA="; 48 + sha256 = "sha256-AWY/jUIytK/8nrCH2EMrzQ9e0dc9VpZFkO7NhrrqoGg="; 49 49 }; 50 50 51 51 vendorSha256 = "sha256-ZLd4E3+e25Hqmd6ZyF3X6BveMEg7OF0FX9IvNBWn3v0=";
+2 -2
pkgs/applications/version-management/gitlab/gitlab-shell/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "gitlab-shell"; 5 - version = "13.22.0"; 5 + version = "13.22.1"; 6 6 src = fetchFromGitLab { 7 7 owner = "gitlab-org"; 8 8 repo = "gitlab-shell"; 9 9 rev = "v${version}"; 10 - sha256 = "sha256-jMFTNyGdegdBO+f6Pw36iuhvyzcM8rCbnfSyLSOiEjY="; 10 + sha256 = "sha256-uqdKiBZ290mG0JNi17EjimfES6bN3q1hF6LXs3URTZ8="; 11 11 }; 12 12 13 13 buildInputs = [ ruby ];
+1 -1
pkgs/applications/version-management/gitlab/gitlab-workhorse/default.nix
··· 5 5 buildGoModule rec { 6 6 pname = "gitlab-workhorse"; 7 7 8 - version = "14.5.0"; 8 + version = "14.5.1"; 9 9 10 10 src = fetchFromGitLab { 11 11 owner = data.owner;
+7 -2
pkgs/desktops/gnome/core/caribou/default.nix
··· 1 1 { fetchurl, lib, stdenv, pkg-config, gnome, glib, gtk3, clutter, dbus, python3, libxml2 2 2 , libxklavier, libXtst, gtk2, intltool, libxslt, at-spi2-core, autoreconfHook 3 - , wrapGAppsHook, libgee, vala_0_40 }: 3 + , wrapGAppsHook, libgee, vala }: 4 4 5 5 let 6 6 pname = "caribou"; ··· 21 21 url = "https://bugzilla.gnome.org/attachment.cgi?id=364774"; 22 22 sha256 = "15k1455grf6knlrxqbjnk7sals1730b0whj30451scp46wyvykvd"; 23 23 }) 24 + # Stop patching the generated GIR, fixes build with latest vala 25 + (fetchurl { 26 + url = "https://gitlab.gnome.org/GNOME/caribou/-/commit/c52ce71c49dc8d6109a58d16cc8d491d7bd1d781.patch"; 27 + sha256 = "sha256-jbF1Ygp8Q0ENN/5aEpROuK5zkufIfn6cGW8dncl7ET4="; 28 + }) 24 29 (fetchurl { 25 30 name = "fix-build-modern-vala.patch"; 26 31 url = "https://gitlab.gnome.org/GNOME/caribou/-/commit/76fbd11575f918fc898cb0f5defe07f67c11ec38.patch"; ··· 33 38 }) 34 39 ]; 35 40 36 - nativeBuildInputs = [ pkg-config intltool libxslt libxml2 autoreconfHook wrapGAppsHook vala_0_40 ]; 41 + nativeBuildInputs = [ pkg-config intltool libxslt libxml2 autoreconfHook wrapGAppsHook vala ]; 37 42 38 43 buildInputs = [ 39 44 glib gtk3 clutter at-spi2-core dbus pythonEnv python3.pkgs.pygobject3
+2 -2
pkgs/desktops/xfce/panel-plugins/xfce4-dockbarx-plugin/default.nix
··· 7 7 , keybinder3 8 8 , pkg-config 9 9 , python3Packages 10 - , vala_0_48 10 + , vala 11 11 , wafHook 12 12 , wrapGAppsHook 13 13 , xfce ··· 35 35 gobject-introspection 36 36 pkg-config 37 37 python3Packages.wrapPython 38 - vala_0_48 38 + vala 39 39 wafHook 40 40 wrapGAppsHook 41 41 ];
+8 -2
pkgs/desktops/xfce/panel-plugins/xfce4-namebar-plugin/default.nix
··· 1 - { lib, stdenv, pkg-config, fetchFromGitHub, python3, vala_0_46 1 + { lib, stdenv, pkg-config, fetchFromGitHub, python3, vala_0_40 2 2 , gtk3, libwnck, libxfce4util, xfce4-panel, wafHook, xfce }: 3 3 4 4 stdenv.mkDerivation rec { ··· 12 12 sha256 = "sha256-aKrJzf9rwCyXAJsRIXdBzmJBASuXD5I5kZrp+atx4FA="; 13 13 }; 14 14 15 - nativeBuildInputs = [ pkg-config vala_0_46 wafHook python3 ]; 15 + # Does not build with vala 0.48 or later 16 + # Upstream has no activity for a while 17 + # libxfce4panel-2.0.vapi:92.3-92.41: error: overriding method `Xfce.PanelPlugin.remote_event' is incompatible 18 + # with base method `bool Xfce.PanelPluginProvider.remote_event (string, GLib.Value, uint)': too few parameters. 19 + # public virtual signal bool remote_event (string name, GLib.Value value); 20 + # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 21 + nativeBuildInputs = [ pkg-config vala_0_40 wafHook python3 ]; 16 22 buildInputs = [ gtk3 libwnck libxfce4util xfce4-panel ]; 17 23 18 24 postPatch = ''
+6 -1
pkgs/development/compilers/llvm/13/default.nix
··· 244 244 inherit llvm_meta; 245 245 stdenv = if stdenv.hostPlatform.useLLVM or false 246 246 then overrideCC stdenv buildLlvmTools.clangNoLibcxx 247 - else stdenv; 247 + else ( 248 + # libcxx >= 13 does not build on gcc9 249 + if stdenv.cc.isGNU && lib.versionOlder stdenv.cc.version "10" 250 + then pkgs.gcc10Stdenv 251 + else stdenv 252 + ); 248 253 }; 249 254 250 255 libcxxabi = let
+4 -24
pkgs/development/compilers/vala/default.nix
··· 28 28 # 0.40.12: https://github.com/openembedded/openembedded-core/raw/8553c52f174af4c8c433c543f806f5ed5c1ec48c/meta/recipes-devtools/vala/vala/disable-graphviz.patch 29 29 "0.40" = ./disable-graphviz-0.40.12.patch; 30 30 31 - # NOTE: the openembedded-core project doesn't have a patch for 0.44.1 32 - # We've reverted the addition of the "--disable-valadoc" option 33 - # and then applied the following patch. 34 - # 0.42.4: https://github.com/openembedded/openembedded-core/raw/f2b4f9ec6f44dced7f88df849cca68961419eeb8/meta/recipes-devtools/vala/vala/disable-graphviz.patch 35 - "0.44" = ./disable-graphviz-0.44.3.patch; 36 - 37 - "0.46" = ./disable-graphviz-0.46.1.patch; 38 - 39 31 "0.48" = ./disable-graphviz-0.46.1.patch; 40 - 41 - "0.50" = ./disable-graphviz-0.46.1.patch; 42 32 43 33 "0.52" = ./disable-graphviz-0.46.1.patch; 44 34 ··· 113 103 sha256 = "1pxpack8rrmywlf47v440hc6rv3vi8q9c6niwqnwikxvb2pwf3w7"; 114 104 }; 115 105 116 - vala_0_46 = generic { 117 - version = "0.46.13"; 118 - sha256 = "0d7l4vh2xra3q75kw3sy2d9bn5p6s3g3r7j37bdn6ir8l3wp2ivs"; 119 - }; 120 - 121 106 vala_0_48 = generic { 122 - version = "0.48.19"; 123 - sha256 = "sha256-gLdlijfZhE/NG0Mdr8WATeYWpYGW5PHxGeWyrraLSgE="; 124 - }; 125 - 126 - vala_0_50 = generic { 127 - version = "0.50.10"; 128 - sha256 = "sha256-vnIf8/AYHqttM+zKzygfZvMI+qHl5VTwj99nFZpFlRU="; 107 + version = "0.48.20"; 108 + sha256 = "sha256-RrHIF/dIUfvMOV/E+eoRlQLPh7kzPMllbhzczAvTN24="; 129 109 }; 130 110 131 111 vala_0_52 = generic { 132 - version = "0.52.7"; 133 - sha256 = "sha256-C7WptPbRdUmewKWAJK3ANapRcAgPUzwo2cNY0aMsU2o="; 112 + version = "0.52.8"; 113 + sha256 = "sha256-d3t9HLVnFewyJUXQEw5/9Y2eem0b2WtuKX6eYOgRh5M="; 134 114 }; 135 115 136 116 vala_0_54 = generic {
-261
pkgs/development/compilers/vala/disable-graphviz-0.44.3.patch
··· 1 - diff --git a/Makefile.am b/Makefile.am 2 - index f70234759..b3d6c3833 100644 3 - --- a/Makefile.am 4 - +++ b/Makefile.am 5 - @@ -13,19 +13,9 @@ SUBDIRS = \ 6 - doc \ 7 - gobject-introspection \ 8 - vapigen \ 9 - - $(NULL) 10 - - 11 - -if ENABLE_VALADOC 12 - -SUBDIRS += \ 13 - libvaladoc \ 14 - valadoc \ 15 - $(NULL) 16 - -endif 17 - - 18 - -DISTCHECK_CONFIGURE_FLAGS = \ 19 - - --enable-valadoc \ 20 - - --enable-unversioned \ 21 - - $(NULL) 22 - 23 - if ENABLE_UNVERSIONED 24 - aclocaldir = $(datadir)/aclocal 25 - diff --git a/configure.ac b/configure.ac 26 - index 504db13aa..622397747 100644 27 - --- a/configure.ac 28 - +++ b/configure.ac 29 - @@ -157,10 +157,11 @@ AC_SUBST(GMODULE_CFLAGS) 30 - AC_SUBST(GMODULE_LIBS) 31 - 32 - AC_ARG_WITH(cgraph, AS_HELP_STRING([--with-cgraph], [Required flag for cross-compilation to define capability of graphviz]), [], with_cgraph=check) 33 - -AC_ARG_ENABLE(valadoc, AS_HELP_STRING([--disable-valadoc], [Disable valadoc]), enable_valadoc=$enableval, enable_valadoc=yes) 34 - -if test x$enable_valadoc = xyes; then 35 - +AC_ARG_ENABLE(graphviz, AS_HELP_STRING([--disable-graphviz], [Disable graphviz usage for valadoc]), enable_graphviz=$enableval, enable_graphviz=yes) 36 - +if test x$enable_graphviz = xyes; then 37 - PKG_CHECK_MODULES(LIBGVC, libgvc >= $LIBGVC_REQUIRED) 38 - AC_MSG_CHECKING([for CGRAPH]) 39 - + VALAFLAGS="$VALAFLAGS -D HAVE_GRAPHVIZ" 40 - cgraph_tmp_LIBADD="$LIBADD" 41 - cgraph_tmp_CFLAGS="$CFLAGS" 42 - LIBADD="$LIBADD $LIBGVC_LIBS" 43 - @@ -198,8 +199,8 @@ if test x$enable_valadoc = xyes; then 44 - LIBADD="$cgraph_tmp_LIBADD" 45 - CFLAGS="$cgraph_tmp_CFLAGS" 46 - fi 47 - +AM_CONDITIONAL(ENABLE_GRAPHVIZ, test x$enable_graphviz = xyes) 48 - AM_CONDITIONAL(HAVE_CGRAPH, test "$have_cgraph" = "yes") 49 - -AM_CONDITIONAL(ENABLE_VALADOC, test x$enable_valadoc = xyes) 50 - 51 - AC_PATH_PROG([XSLTPROC], [xsltproc], :) 52 - AM_CONDITIONAL(HAVE_XSLTPROC, test "$XSLTPROC" != :) 53 - diff --git a/doc/Makefile.am b/doc/Makefile.am 54 - index d2684a0e0..b343c7c10 100644 55 - --- a/doc/Makefile.am 56 - +++ b/doc/Makefile.am 57 - @@ -6,16 +6,11 @@ SUBDIRS = \ 58 - 59 - dist_man_MANS = \ 60 - valac.1 \ 61 - + valadoc.1 \ 62 - vala-gen-introspect.1 \ 63 - vapigen.1 \ 64 - $(NULL) 65 - 66 - -if ENABLE_VALADOC 67 - -dist_man_MANS += \ 68 - - valadoc.1 \ 69 - - $(NULL) 70 - -endif 71 - - 72 - EXTRA_DIST = \ 73 - valac.h2m \ 74 - valadoc.h2m \ 75 - @@ -24,11 +19,7 @@ EXTRA_DIST = \ 76 - $(NULL) 77 - 78 - if HAVE_HELP2MAN 79 - -if ENABLE_VALADOC 80 - manpages: valac.1 valadoc.1 vala-gen-introspect.1 vapigen.1 81 - -else 82 - -manpages: valac.1 vala-gen-introspect.1 vapigen.1 83 - -endif 84 - @rm $^ 85 - $(MAKE) $(AM_MAKEFLAGS) $^ 86 - 87 - @@ -37,13 +28,11 @@ valac.1: 88 - --include $(srcdir)/valac.h2m \ 89 - --libtool --no-info \ 90 - --output=$@ 91 - -if ENABLE_VALADOC 92 - valadoc.1: 93 - $(HELP2MAN) $(top_builddir)/valadoc/valadoc \ 94 - --include $(srcdir)/valadoc.h2m \ 95 - --libtool --no-info \ 96 - --output=$@ 97 - -endif 98 - vala-gen-introspect.1: 99 - $(HELP2MAN) $(top_builddir)/gobject-introspection/gen-introspect \ 100 - --include $(srcdir)/vala-gen-introspect.h2m \ 101 - @@ -60,15 +49,12 @@ endif 102 - if ENABLE_UNVERSIONED 103 - install-data-hook: 104 - cd $(DESTDIR)$(man1dir) && $(LN_S) -f valac@PACKAGE_SUFFIX@.1 valac.1 105 - -if ENABLE_VALADOC 106 - cd $(DESTDIR)$(man1dir) && $(LN_S) -f valadoc@PACKAGE_SUFFIX@.1 valadoc.1 107 - -endif 108 - cd $(DESTDIR)$(man1dir) && $(LN_S) -f vala-gen-introspect@PACKAGE_SUFFIX@.1 vala-gen-introspect.1 109 - cd $(DESTDIR)$(man1dir) && $(LN_S) -f vapigen@PACKAGE_SUFFIX@.1 vapigen.1 110 - endif 111 - 112 - 113 - -if ENABLE_VALADOC 114 - COMMON_VALADOCFLAGS = \ 115 - --force \ 116 - --verbose \ 117 - @@ -150,7 +136,6 @@ internal-apis/valadoc: $(valadoc_VALASOURCES) internal-apis/codegen 118 - @touch $@ 119 - 120 - internal-api-docs: internal-apis/gee internal-apis/vala internal-apis/ccode internal-apis/codegen internal-apis/valadoc 121 - -endif 122 - 123 - clean-local: 124 - rm -rf $(builddir)/internal-apis 125 - diff --git a/libvaladoc/Makefile.am b/libvaladoc/Makefile.am 126 - index 7456fb836..107338e91 100644 127 - --- a/libvaladoc/Makefile.am 128 - +++ b/libvaladoc/Makefile.am 129 - @@ -119,10 +119,6 @@ libvaladoc_la_VALASOURCES = \ 130 - content/tablerow.vala \ 131 - content/taglet.vala \ 132 - content/text.vala \ 133 - - charts/chart.vala \ 134 - - charts/chartfactory.vala \ 135 - - charts/hierarchychart.vala \ 136 - - charts/simplechartfactory.vala \ 137 - parser/manyrule.vala \ 138 - parser/oneofrule.vala \ 139 - parser/optionalrule.vala \ 140 - @@ -149,13 +145,24 @@ libvaladoc_la_VALASOURCES = \ 141 - highlighter/codetoken.vala \ 142 - highlighter/highlighter.vala \ 143 - html/basicdoclet.vala \ 144 - - html/htmlchartfactory.vala \ 145 - html/linkhelper.vala \ 146 - html/cssclassresolver.vala \ 147 - html/htmlmarkupwriter.vala \ 148 - html/htmlrenderer.vala \ 149 - $(NULL) 150 - 151 - +if ENABLE_GRAPHVIZ 152 - +libvaladoc_la_VALASOURCES += \ 153 - + charts/chart.vala \ 154 - + charts/chartfactory.vala \ 155 - + charts/hierarchychart.vala \ 156 - + charts/simplechartfactory.vala \ 157 - + html/htmlchartfactory.vala \ 158 - + $(NULL) 159 - + 160 - +LIBGVC_PKG = --vapidir $(top_srcdir)/vapi --pkg libgvc 161 - +endif 162 - + 163 - libvaladoc@PACKAGE_SUFFIX@_la_SOURCES = \ 164 - libvaladoc.vala.stamp \ 165 - $(libvaladoc_la_VALASOURCES:.vala=.c) \ 166 - @@ -175,11 +182,11 @@ libvaladoc.vala.stamp: $(libvaladoc_la_VALASOURCES) 167 - --library valadoc \ 168 - --vapi valadoc@PACKAGE_SUFFIX@.vapi \ 169 - --vapidir $(top_srcdir)/vapi --pkg gmodule-2.0 \ 170 - - --vapidir $(top_srcdir)/vapi --pkg libgvc \ 171 - --vapidir $(top_srcdir)/gee --pkg gee \ 172 - --vapidir $(top_srcdir)/vala --pkg vala \ 173 - --vapidir $(top_srcdir)/ccode --pkg ccode \ 174 - --vapidir $(top_srcdir)/codegen --pkg codegen \ 175 - + $(LIBGVC_PKG) \ 176 - --pkg config \ 177 - $(filter %.vala %.c,$^) 178 - touch $@ 179 - @@ -207,6 +214,9 @@ nodist_pkgconfig_DATA = valadoc@PACKAGE_SUFFIX@.pc 180 - 181 - valadoc@PACKAGE_SUFFIX@.pc: valadoc.pc 182 - cp $< $@ 183 - +if !ENABLE_GRAPHVIZ 184 - + sed -i "s/libgvc //g" $@ 185 - +endif 186 - 187 - vapidir = $(datadir)/vala/vapi 188 - dist_vapi_DATA = valadoc@PACKAGE_SUFFIX@.vapi 189 - @@ -214,6 +224,9 @@ nodist_vapi_DATA = valadoc@PACKAGE_SUFFIX@.deps 190 - 191 - valadoc@PACKAGE_SUFFIX@.deps: valadoc.deps 192 - cp $< $@ 193 - +if !ENABLE_GRAPHVIZ 194 - + sed -i "s/libgvc//g" $@ 195 - +endif 196 - 197 - EXTRA_DIST = \ 198 - $(libvaladoc_la_VALASOURCES) \ 199 - diff --git a/libvaladoc/html/basicdoclet.vala b/libvaladoc/html/basicdoclet.vala 200 - index 46578c28f..f6ce7097c 100644 201 - --- a/libvaladoc/html/basicdoclet.vala 202 - +++ b/libvaladoc/html/basicdoclet.vala 203 - @@ -46,7 +46,11 @@ public abstract class Valadoc.Html.BasicDoclet : Api.Visitor, Doclet { 204 - protected HtmlRenderer _renderer; 205 - protected Html.MarkupWriter writer; 206 - protected Html.CssClassResolver cssresolver; 207 - +#if HAVE_GRAPHVIZ 208 - protected Charts.Factory image_factory; 209 - +#else 210 - + protected void* image_factory; 211 - +#endif 212 - protected ErrorReporter reporter; 213 - protected string package_list_link = "../index.html"; 214 - 215 - @@ -120,7 +124,9 @@ public abstract class Valadoc.Html.BasicDoclet : Api.Visitor, Doclet { 216 - this.linker = new LinkHelper (); 217 - 218 - _renderer = new HtmlRenderer (settings, this.linker, this.cssresolver); 219 - +#if HAVE_GRAPHVIZ 220 - this.image_factory = new SimpleChartFactory (settings, linker); 221 - +#endif 222 - } 223 - 224 - 225 - @@ -1025,6 +1031,7 @@ public abstract class Valadoc.Html.BasicDoclet : Api.Visitor, Doclet { 226 - } 227 - 228 - protected void write_image_block (Api.Node element) { 229 - +#if HAVE_GRAPHVIZ 230 - if (element is Class || element is Interface || element is Struct) { 231 - unowned string format = (settings.use_svg_images ? "svg" : "png"); 232 - var chart = new Charts.Hierarchy (image_factory, element); 233 - @@ -1044,6 +1051,7 @@ public abstract class Valadoc.Html.BasicDoclet : Api.Visitor, Doclet { 234 - this.get_img_path_html (element, format)}); 235 - writer.add_usemap (chart); 236 - } 237 - +#endif 238 - } 239 - 240 - public void write_namespace_content (Namespace node, Api.Node? parent) { 241 - diff --git a/libvaladoc/html/htmlmarkupwriter.vala b/libvaladoc/html/htmlmarkupwriter.vala 242 - index 5aa4afdea..e79b0b8f5 100644 243 - --- a/libvaladoc/html/htmlmarkupwriter.vala 244 - +++ b/libvaladoc/html/htmlmarkupwriter.vala 245 - @@ -51,12 +51,16 @@ public class Valadoc.Html.MarkupWriter : Valadoc.MarkupWriter { 246 - } 247 - } 248 - 249 - +#if HAVE_GRAPHVIZ 250 - public unowned MarkupWriter add_usemap (Charts.Chart chart) { 251 - string? buf = (string?) chart.write_buffer ("cmapx"); 252 - if (buf != null) { 253 - raw_text ("\n"); 254 - raw_text ((!) buf); 255 - } 256 - +#else 257 - + public unowned MarkupWriter add_usemap (void* chart) { 258 - +#endif 259 - 260 - return this; 261 - }
+5 -2
pkgs/development/libraries/libcamera/default.nix
··· 31 31 patchShebangs utils/ 32 32 ''; 33 33 34 + strictDeps = true; 35 + 34 36 buildInputs = [ 35 37 # IPA and signing 36 38 gnutls 37 - openssl 38 39 boost 39 40 40 41 # gstreamer integration ··· 46 47 47 48 # lttng tracing 48 49 lttng-ust 50 + 51 + gtest 49 52 ]; 50 53 51 54 nativeBuildInputs = [ ··· 57 60 python3Packages.pyyaml 58 61 python3Packages.ply 59 62 python3Packages.sphinx 60 - gtest 61 63 graphviz 62 64 doxygen 65 + openssl 63 66 ]; 64 67 65 68 mesonFlags = [ "-Dv4l2=true" "-Dqcam=disabled" ];
+2 -2
pkgs/development/python-modules/awkward/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "awkward"; 14 - version = "1.5.1"; 14 + version = "1.7.0"; 15 15 16 16 src = fetchPypi { 17 17 inherit pname version; 18 - sha256 = "c0357c62223fefcfc7a7565389dbd4db900623bf10eccf2bc8e87586ec59b38d"; 18 + sha256 = "e4e642dfe496d2acb245c90e37dc18028e25d5e936421e7371ea6ba0fde6435a"; 19 19 }; 20 20 21 21 nativeBuildInputs = [ cmake ];
+2 -2
pkgs/development/python-modules/kubernetes/default.nix
··· 21 21 22 22 buildPythonPackage rec { 23 23 pname = "kubernetes"; 24 - version = "18.20.0"; 24 + version = "20.13.0"; 25 25 format = "setuptools"; 26 26 disabled = pythonOlder "3.6"; 27 27 ··· 29 29 owner = "kubernetes-client"; 30 30 repo = "python"; 31 31 rev = "v${version}"; 32 - sha256 = "1sawp62j7h0yksmg9jlv4ik9b9i1a1w9syywc9mv8x89wibf5ql1"; 32 + sha256 = "sha256-zZb5jEQEluY1dfa7UegW+P7MV86ESqOey7kkC74ETlM="; 33 33 fetchSubmodules = true; 34 34 }; 35 35
+3 -3
pkgs/development/tools/faas-cli/default.nix
··· 10 10 buildGoModule rec { 11 11 pname = "faas-cli"; 12 12 # When updating version change rev. 13 - version = "0.13.15"; 14 - rev = "b562392b12a78a11bcff9c6fca5a47146ea2ba0a"; 13 + version = "0.14.1"; 14 + rev = "d94600d2d2be52a66e0a15c219634f3bcac27318"; 15 15 16 16 src = fetchFromGitHub { 17 17 owner = "openfaas"; 18 18 repo = "faas-cli"; 19 19 rev = version; 20 - sha256 = "15kjxn0p8nz8147vsm9q5q6wr2w5ssybvn247kynj2n7139iva2f"; 20 + sha256 = "132m9kv7a4vv65n8y3sq1drks6n1pci9fhvq0s637imf2vxccxqr"; 21 21 }; 22 22 23 23 CGO_ENABLED = 0;
+2 -2
pkgs/development/tools/misc/lit/default.nix
··· 2 2 3 3 python3.pkgs.buildPythonApplication rec { 4 4 pname = "lit"; 5 - version = "0.10.0"; 5 + version = "13.0.0"; 6 6 7 7 src = python3.pkgs.fetchPypi { 8 8 inherit pname version; 9 - sha256 = "13s8v9s2f284fnh47xdyc75gq2i9pndl39q8v4wl7v7lwri2hv8r"; 9 + sha256 = "4da976f3d114e4ba6ba06cbe660ce1393230f4519c4df15b90bc1840f00e4195"; 10 10 }; 11 11 12 12 passthru = {
+9 -3
pkgs/development/tools/rust/cargo-generate/default.nix
··· 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "cargo-generate"; 5 - version = "0.5.3"; 5 + version = "0.11.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "ashleygwilliams"; 9 9 repo = "cargo-generate"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-RrDwq5VufMDsPlqRmBP3x2RUWU740L0L18noByO1IDY="; 11 + sha256 = "sha256-082rFxC/p68X8g58I7Q7Of70ymq7VsLhkQpcqVx0u/A="; 12 12 }; 13 13 14 - cargoSha256 = "sha256-/0pxEQFhovPRI4Knv5xq6+PHRuGN6+tF8CdK5X30LKI="; 14 + cargoSha256 = "sha256-1yTH5FvalzBD13FXh/X1jmZhVyWU3thrjNSsrHUfBNE="; 15 15 16 16 nativeBuildInputs = [ pkg-config ]; 17 17 ··· 23 23 git config --global user.name Nixbld 24 24 git config --global user.email nixbld@localhost.localnet 25 25 ''; 26 + 27 + # Exclude some tests that don't work in sandbox: 28 + # - favorites_default_to_git_if_not_defined: requires network access to github.com 29 + # - should_canonicalize: the test assumes that it will be called from the /Users/<project_dir>/ folder on darwin variant. 30 + checkFlags = [ "--skip favorites::favorites_default_to_git_if_not_defined" ] 31 + ++ lib.optionals stdenv.isDarwin [ "--skip git::should_canonicalize" ]; 26 32 27 33 meta = with lib; { 28 34 description = "cargo, make me a project";
+3 -3
pkgs/development/tools/rust/cargo-wipe/default.nix
··· 6 6 7 7 rustPlatform.buildRustPackage rec { 8 8 pname = "cargo-wipe"; 9 - version = "0.3.1"; 9 + version = "0.3.2"; 10 10 11 11 src = fetchFromGitHub { 12 12 owner = "mihai-dinculescu"; 13 13 repo = "cargo-wipe"; 14 14 rev = "v${version}"; 15 - sha256 = "sha256-sVekfGHg2wspP5/zJzXTXupspwJr4hQBucY5+8iUjUQ="; 15 + sha256 = "sha256-AlmXq2jbU8mQ23Q64a8QiKXwiWkIfr98vAoq7FLImhA="; 16 16 }; 17 17 18 - cargoSha256 = "sha256-EoXgsWg1Rh7C+fIqvefkLdck4Yj3kox2ZAU3kn6nH8Q="; 18 + cargoSha256 = "sha256-vsN4cM4Q9LX1ZgAA5x7PupOTh0IcjI65xzuCPjy8YOs="; 19 19 20 20 passthru = { 21 21 updateScript = nix-update-script {
+72
pkgs/misc/vim-plugins/generated.nix
··· 4354 4354 meta.homepage = "https://github.com/mfussenegger/nvim-jdtls/"; 4355 4355 }; 4356 4356 4357 + nvim-jqx = buildVimPluginFrom2Nix { 4358 + pname = "nvim-jqx"; 4359 + version = "2021-11-25"; 4360 + src = fetchFromGitHub { 4361 + owner = "gennaro-tedesco"; 4362 + repo = "nvim-jqx"; 4363 + rev = "433040c73b68796e2ebed049075b8c46d2222ac2"; 4364 + sha256 = "1dh4yb6rr593nx8kbhskpbb50l211b9z47rvhxd1n07d31bc0lmc"; 4365 + }; 4366 + meta.homepage = "https://github.com/gennaro-tedesco/nvim-jqx/"; 4367 + }; 4368 + 4357 4369 nvim-lightbulb = buildVimPluginFrom2Nix { 4358 4370 pname = "nvim-lightbulb"; 4359 4371 version = "2021-11-13"; ··· 4412 4424 sha256 = "1iag2ynp2yba5xaw4z0hnp9q6hfcrvjmkhl4js9hqhhsrm42c2vh"; 4413 4425 }; 4414 4426 meta.homepage = "https://github.com/RishabhRD/nvim-lsputils/"; 4427 + }; 4428 + 4429 + nvim-metals = buildVimPluginFrom2Nix { 4430 + pname = "nvim-metals"; 4431 + version = "2021-11-29"; 4432 + src = fetchFromGitHub { 4433 + owner = "scalameta"; 4434 + repo = "nvim-metals"; 4435 + rev = "25d148b6b03c7aeea917f296a5c2a60829810eb3"; 4436 + sha256 = "1b7h5h6n1b2mpqnqpkmha689bpy6k85w40s65c2v7cbj7zn92ycw"; 4437 + }; 4438 + meta.homepage = "https://github.com/scalameta/nvim-metals/"; 4439 + }; 4440 + 4441 + nvim-neoclip-lua = buildVimPluginFrom2Nix { 4442 + pname = "nvim-neoclip.lua"; 4443 + version = "2021-11-06"; 4444 + src = fetchFromGitHub { 4445 + owner = "AckslD"; 4446 + repo = "nvim-neoclip.lua"; 4447 + rev = "cb4eff8bb7bb4bbb3d1629178a7dc62322773e05"; 4448 + sha256 = "1szwg804gajq84icl39gsmbqkaxh3yffdb50wh0pcgj86b4w5hda"; 4449 + }; 4450 + meta.homepage = "https://github.com/AckslD/nvim-neoclip.lua/"; 4415 4451 }; 4416 4452 4417 4453 nvim-nonicons = buildVimPluginFrom2Nix { ··· 6051 6087 meta.homepage = "https://github.com/nvim-telescope/telescope-fzy-native.nvim/"; 6052 6088 }; 6053 6089 6090 + telescope-lsp-handlers-nvim = buildVimPluginFrom2Nix { 6091 + pname = "telescope-lsp-handlers.nvim"; 6092 + version = "2021-09-07"; 6093 + src = fetchFromGitHub { 6094 + owner = "gbrlsnchs"; 6095 + repo = "telescope-lsp-handlers.nvim"; 6096 + rev = "d6d5983b0131ee2c386ca9e349f6621e12d971cb"; 6097 + sha256 = "1x51mlj1c3cwmcjqssh89049q91423jxm3rv8s25pcw493zb2x6b"; 6098 + }; 6099 + meta.homepage = "https://github.com/gbrlsnchs/telescope-lsp-handlers.nvim/"; 6100 + }; 6101 + 6054 6102 telescope-project-nvim = buildVimPluginFrom2Nix { 6055 6103 pname = "telescope-project.nvim"; 6056 6104 version = "2021-11-20"; ··· 6073 6121 sha256 = "0jxnalhfgmnllwb38a9dgzrnrhdnxgcbi2p7m4jk5p87260a9gvk"; 6074 6122 }; 6075 6123 meta.homepage = "https://github.com/nvim-telescope/telescope-symbols.nvim/"; 6124 + }; 6125 + 6126 + telescope-vim-bookmarks-nvim = buildVimPluginFrom2Nix { 6127 + pname = "telescope-vim-bookmarks.nvim"; 6128 + version = "2021-08-12"; 6129 + src = fetchFromGitHub { 6130 + owner = "tom-anders"; 6131 + repo = "telescope-vim-bookmarks.nvim"; 6132 + rev = "b7a436eba6102c2bc73f49766a12e79d24ab8fb5"; 6133 + sha256 = "0lak83b8y963hv61z2yfi1nyaapvq2hnhpcx7bc6h8v4jzyjis0n"; 6134 + }; 6135 + meta.homepage = "https://github.com/tom-anders/telescope-vim-bookmarks.nvim/"; 6076 6136 }; 6077 6137 6078 6138 telescope-z-nvim = buildVimPluginFrom2Nix { ··· 6446 6506 sha256 = "03vaghwqr3k0nls365wk4qwzmvdvdvq41q02c3l5qv2vsdikmz5i"; 6447 6507 }; 6448 6508 meta.homepage = "https://github.com/KabbAmine/vCoolor.vim/"; 6509 + }; 6510 + 6511 + venn-nvim = buildVimPluginFrom2Nix { 6512 + pname = "venn.nvim"; 6513 + version = "2021-10-19"; 6514 + src = fetchFromGitHub { 6515 + owner = "jbyuki"; 6516 + repo = "venn.nvim"; 6517 + rev = "d5a9c73fe7772c11414fc52acbb1d1bdb1ebc70f"; 6518 + sha256 = "1mzxvx1vqnm89yzzy6n3s30y9w7s38lbjhnwdf4diy0kdzyq8x06"; 6519 + }; 6520 + meta.homepage = "https://github.com/jbyuki/venn.nvim/"; 6449 6521 }; 6450 6522 6451 6523 verilog_systemverilog-vim = buildVimPluginFrom2Nix {
+4
pkgs/misc/vim-plugins/overrides.nix
··· 483 483 dependencies = with self; [ popfix ]; 484 484 }); 485 485 486 + nvim-metals = super.nvim-metals.overrideAttrs (old: { 487 + dontBuild = true; 488 + }); 489 + 486 490 nvim-spectre = super.nvim-spectre.overrideAttrs (old: { 487 491 dependencies = with self; [ plenary-nvim ]; 488 492 });
+6
pkgs/misc/vim-plugins/vim-plugin-names
··· 1 1 907th/vim-auto-save 2 2 aca/completion-tabnine 3 + AckslD/nvim-neoclip.lua@main 3 4 AckslD/nvim-whichkey-setup.lua@main 4 5 ackyshake/Spacegray.vim@main 5 6 ahmedkhalf/lsp-rooter.nvim@main ··· 179 180 fruit-in/vim-nong-theme 180 181 fsharp/vim-fsharp 181 182 garbas/vim-snipmate 183 + gbrlsnchs/telescope-lsp-handlers.nvim@trunk 182 184 gcmt/taboo.vim 183 185 gcmt/wildfire.vim 184 186 gelguy/wilder.nvim 187 + gennaro-tedesco/nvim-jqx 185 188 gennaro-tedesco/nvim-peekup 186 189 gentoo/gentoo-syntax 187 190 GEverding/vim-hocon ··· 272 275 jasonccox/vim-wayland-clipboard 273 276 jaxbot/semantic-highlight.vim 274 277 JazzCore/ctrlp-cmatcher 278 + jbyuki/venn.nvim@main 275 279 jc-doyle/cmp-pandoc-references 276 280 jceb/vim-hier 277 281 jceb/vim-orgmode ··· 680 684 saltstack/salt-vim 681 685 samoshkin/vim-mergetool 682 686 sbdchd/neoformat 687 + scalameta/nvim-metals@main 683 688 sdiehl/vim-ormolu 684 689 sebastianmarkow/deoplete-rust 685 690 SevereOverfl0w/deoplete-github ··· 774 779 tmsvg/pear-tree 775 780 tmux-plugins/vim-tmux 776 781 tmux-plugins/vim-tmux-focus-events 782 + tom-anders/telescope-vim-bookmarks.nvim@main 777 783 tomasiser/vim-code-dark 778 784 tomasr/molokai 779 785 tomlion/vim-solidity
+11 -7
pkgs/os-specific/linux/mxu11x0/default.nix
··· 1 1 { lib, stdenv, fetchurl, kernel }: 2 2 3 - stdenv.mkDerivation { 3 + let 4 + srcs = import (./srcs.nix) { inherit fetchurl; }; 5 + in 6 + stdenv.mkDerivation rec { 4 7 pname = "mxu11x0"; 5 - version = "1.4-${kernel.version}"; 6 8 7 - src = fetchurl { 8 - url = "https://www.moxa.com/Moxa/media/PDIM/S100000385/moxa-uport-1000-series-linux-3.x-and-4.x-for-uport-11x0-series-driver-v1.4.tgz"; 9 - sha256 = "1hz9ygabbp8pv49k1j4qcsr0v3zw9xy0bh1akqgxp5v29gbdgxjl"; 10 - }; 9 + src = if lib.versionAtLeast kernel.version "5.0" then srcs.mxu11x0_5.src else srcs.mxu11x0_4.src; 10 + mxu_version = if lib.versionAtLeast kernel.version "5.0" then srcs.mxu11x0_5.version else srcs.mxu11x0_4.version; 11 + 12 + version = mxu_version + "-${kernel.version}"; 11 13 12 14 preBuild = '' 13 15 sed -i -e "s/\$(uname -r).*/${kernel.modDirVersion}/g" driver/mxconf ··· 33 35 license = licenses.gpl2Plus; 34 36 maintainers = with maintainers; [ uralbash ]; 35 37 platforms = platforms.linux; 36 - broken = kernel.kernelAtLeast "5.4"; 38 + # broken due to API change in write_room() > v5.14-rc1 39 + # https://github.com/torvalds/linux/commit/94cc7aeaf6c0cff0b8aeb7cb3579cee46b923560 40 + broken = kernel.kernelAtLeast "5.14"; 37 41 }; 38 42 }
+18
pkgs/os-specific/linux/mxu11x0/srcs.nix
··· 1 + { fetchurl }: 2 + 3 + { 4 + mxu11x0_4 = { 5 + version = "4.1"; 6 + src = fetchurl { 7 + url = "https://www.moxa.com/getmedia/b152d8c2-b9d6-4bc7-b0f4-420633b4bc2d/moxa-uport-1100-series-linux-kernel-4.x-driver-v4.1.tgz"; 8 + sha256 = "sha256-sbq5M5FQjrrORtSS07PQHf+MAZArxFcUDN5wszBwbnc="; 9 + }; 10 + }; 11 + mxu11x0_5 = { 12 + version = "5.1"; 13 + src = fetchurl { 14 + url = "https://www.moxa.com/getmedia/57dfa4c1-8a2a-4da6-84c1-a36944ead74d/moxa-uport-1100-series-linux-kernel-5.x-driver-v5.1.tgz"; 15 + sha256 = "sha256-pdFIiD5naSDdYwRz8ww8Mg8z1gDOfZ/OeO6Q5n+kjDQ="; 16 + }; 17 + }; 18 + }
+2 -1
pkgs/servers/sql/postgresql/default.nix
··· 71 71 (if stdenv.isDarwin then "--with-uuid=e2fs" else "--with-ossp-uuid") 72 72 ] ++ lib.optionals icuEnabled [ "--with-icu" ] 73 73 ++ lib.optionals lz4Enabled [ "--with-lz4" ] 74 - ++ lib.optionals gssSupport [ "--with-gssapi" ]; 74 + ++ lib.optionals gssSupport [ "--with-gssapi" ] 75 + ++ lib.optionals stdenv.hostPlatform.isRiscV [ "--disable-spinlocks" ]; 75 76 76 77 patches = 77 78 [ (if atLeast "9.4" then ./patches/disable-resolve_symlinks-94.patch else ./patches/disable-resolve_symlinks.patch)
+2 -2
pkgs/tools/misc/mongodb-compass/default.nix
··· 34 34 }: 35 35 36 36 let 37 - version = "1.29.4"; 37 + version = "1.29.5"; 38 38 39 39 rpath = lib.makeLibraryPath [ 40 40 alsa-lib ··· 84 84 if stdenv.hostPlatform.system == "x86_64-linux" then 85 85 fetchurl { 86 86 url = "https://downloads.mongodb.com/compass/mongodb-compass_${version}_amd64.deb"; 87 - sha256 = "sha256-CqC6BrRhMfjxamSwC6ub1u3+FtDuIq3/OMNdUZgpCAQ="; 87 + sha256 = "sha256-2nzbWflONhBzzxsk+uxFP4/E2fORJatwNcbrG3xhaPc="; 88 88 } 89 89 else 90 90 throw "MongoDB compass is not supported on ${stdenv.hostPlatform.system}";
+2 -2
pkgs/tools/networking/isync/default.nix
··· 5 5 6 6 stdenv.mkDerivation rec { 7 7 pname = "isync"; 8 - version = "1.4.3"; 8 + version = "1.4.4"; 9 9 10 10 src = fetchurl { 11 11 url = "mirror://sourceforge/isync/${pname}-${version}.tar.gz"; 12 - sha256 = "024p3glj4p7fhrssw5sr55arls9zna1igxxrspxlfd6sbds21ixl"; 12 + sha256 = "1zq0wwvmqsl9y71546dr0aygzn9gjjfiw19hlcq87s929y4p6ckw"; 13 13 }; 14 14 15 15 nativeBuildInputs = [ pkg-config perl ];
+4 -1
pkgs/tools/package-management/nix-serve/default.nix
··· 37 37 --add-flags $out/libexec/nix-serve/nix-serve.psgi 38 38 ''; 39 39 40 - passthru.tests.nix-serve = nixosTests.nix-serve; 40 + passthru.tests = { 41 + nix-serve = nixosTests.nix-serve; 42 + nix-serve-ssh = nixosTests.nix-serve-ssh; 43 + }; 41 44 42 45 meta = { 43 46 homepage = "https://github.com/edolstra/nix-serve";
+2 -8
pkgs/tools/system/openipmi/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "OpenIPMI"; 5 - version = "2.0.31"; 5 + version = "2.0.32"; 6 6 7 7 src = fetchurl { 8 8 url = "mirror://sourceforge/openipmi/OpenIPMI-${version}.tar.gz"; 9 - sha256 = "05wpkn74nxqp5p6sa2yaf2ajrh8b0gfkb7y4r86lnigz4rvz6lkh"; 9 + sha256 = "sha256-9tD9TAp0sF+AkHIp0LJw9UyiMpS8wRl5+LjRJ2Z4aUU="; 10 10 }; 11 - 12 - patches = [ 13 - # fix assertion when used as a library in collectd 14 - # taken from https://sourceforge.net/p/openipmi/code/ci/d613d279dbce2d5e4594f6fed39653d83af0d99b/ 15 - ./fix-collectd-assertion.diff 16 - ]; 17 11 18 12 buildInputs = [ ncurses popt python3 readline ]; 19 13
-11
pkgs/tools/system/openipmi/fix-collectd-assertion.diff
··· 1 - --- a/unix/posix_thread_os_hnd.c 2 - +++ b/unix/posix_thread_os_hnd.c 3 - @@ -140,8 +140,6 @@ 4 - fd_data->data_ready = data_ready; 5 - fd_data->handler = handler; 6 - fd_data->freed = freed; 7 - - sel_set_fd_write_handler(posix_sel, fd, SEL_FD_HANDLER_DISABLED); 8 - - sel_set_fd_except_handler(posix_sel, fd, SEL_FD_HANDLER_DISABLED); 9 - rv = sel_set_fd_handlers(posix_sel, fd, fd_data, fd_handler, NULL, NULL, 10 - free_fd_data); 11 - if (rv) {
+10 -4
pkgs/top-level/all-packages.nix
··· 13082 13082 13083 13083 inherit (callPackage ../development/compilers/vala { }) 13084 13084 vala_0_40 13085 - vala_0_46 13086 13085 vala_0_48 13087 - vala_0_50 13088 13086 vala_0_52 13089 13087 vala_0_54 13090 13088 vala; ··· 25138 25136 gpx = callPackage ../applications/misc/gpx { }; 25139 25137 25140 25138 gqrx = callPackage ../applications/radio/gqrx { }; 25139 + gqrx-portaudio = callPackage ../applications/radio/gqrx { 25140 + portaudioSupport = true; 25141 + pulseaudioSupport = false; 25142 + }; 25143 + gqrx-gr-audio = callPackage ../applications/radio/gqrx { 25144 + portaudioSupport = false; 25145 + pulseaudioSupport = false; 25146 + }; 25141 25147 25142 25148 gpx-viewer = callPackage ../applications/misc/gpx-viewer { }; 25143 25149 ··· 27530 27536 pdfgrep = callPackage ../tools/typesetting/pdfgrep { }; 27531 27537 27532 27538 pdfpc = callPackage ../applications/misc/pdfpc { 27533 - # https://github.com/pdfpc/pdfpc/issues/594 27534 - vala = vala_0_50; 27535 27539 inherit (gst_all_1) gstreamer gst-plugins-base gst-plugins-good gst-libav; 27536 27540 }; 27537 27541 ··· 27818 27822 qmmp = libsForQt5.callPackage ../applications/audio/qmmp { }; 27819 27823 27820 27824 qnotero = libsForQt5.callPackage ../applications/office/qnotero { }; 27825 + 27826 + qpwgraph = libsForQt5.callPackage ../applications/audio/qpwgraph { }; 27821 27827 27822 27828 qrcode = callPackage ../tools/graphics/qrcode {}; 27823 27829