Merge staging-next into staging

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

+341 -396
+6
maintainers/maintainer-list.nix
··· 5972 githubId = 3831860; 5973 name = "Arnold Krille"; 5974 }; 5975 karantan = { 5976 name = "Gasper Vozel"; 5977 email = "karantan@gmail.com";
··· 5972 githubId = 3831860; 5973 name = "Arnold Krille"; 5974 }; 5975 + kanashimia = { 5976 + email = "chad@redpilled.dev"; 5977 + github = "kanashimia"; 5978 + githubId = 56224949; 5979 + name = "Mia Kanashi"; 5980 + }; 5981 karantan = { 5982 name = "Gasper Vozel"; 5983 email = "karantan@gmail.com";
+9
nixos/doc/manual/from_md/release-notes/rl-2205.section.xml
··· 57 new versions will release. 58 </para> 59 </listitem> 60 </itemizedlist> 61 </section> 62 <section xml:id="sec-release-22.05-notable-changes">
··· 57 new versions will release. 58 </para> 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> 69 </itemizedlist> 70 </section> 71 <section xml:id="sec-release-22.05-notable-changes">
+4 -2
nixos/doc/manual/release-notes/rl-2205.section.md
··· 10 11 ## Backward Incompatibilities {#sec-release-22.05-incompatibilities} 12 13 - * `pkgs.ghc` now refers to `pkgs.targetPackages.haskellPackages.ghc`. 14 This *only* makes a difference if you are cross-compiling and will 15 ensure that `pkgs.ghc` always runs on the host platform and compiles 16 for the target platform (similar to `pkgs.gcc` for example). ··· 22 instead to ensure cross compilation keeps working (or switch to 23 `haskellPackages.callPackage`). 24 25 - * `pkgs.emacsPackages.orgPackages` is removed because org elpa is deprecated. 26 The packages in the top level of `pkgs.emacsPackages`, such as org and 27 org-contrib, refer to the ones in `pkgs.emacsPackages.elpaPackages` and 28 `pkgs.emacsPackages.nongnuPackages` where the new versions will release. 29 30 ## Other Notable Changes {#sec-release-22.05-notable-changes}
··· 10 11 ## Backward Incompatibilities {#sec-release-22.05-incompatibilities} 12 13 + - `pkgs.ghc` now refers to `pkgs.targetPackages.haskellPackages.ghc`. 14 This *only* makes a difference if you are cross-compiling and will 15 ensure that `pkgs.ghc` always runs on the host platform and compiles 16 for the target platform (similar to `pkgs.gcc` for example). ··· 22 instead to ensure cross compilation keeps working (or switch to 23 `haskellPackages.callPackage`). 24 25 + - `pkgs.emacsPackages.orgPackages` is removed because org elpa is deprecated. 26 The packages in the top level of `pkgs.emacsPackages`, such as org and 27 org-contrib, refer to the ones in `pkgs.emacsPackages.elpaPackages` and 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`. 31 32 ## Other Notable Changes {#sec-release-22.05-notable-changes}
+1 -2
nixos/modules/services/networking/lxd-image-server.nix
··· 55 path = "/var/log/lxd-image-server/lxd-image-server.log"; 56 frequency = "daily"; 57 keep = 21; 58 - user = "lxd-image-server"; 59 - group = cfg.group; 60 extraConfig = '' 61 missingok 62 compress 63 delaycompress
··· 55 path = "/var/log/lxd-image-server/lxd-image-server.log"; 56 frequency = "daily"; 57 keep = 21; 58 extraConfig = '' 59 + create 755 lxd-image-server ${cfg.group} 60 missingok 61 compress 62 delaycompress
+9 -5
nixos/modules/services/networking/nix-serve.nix
··· 37 nix-store --generate-binary-cache-key key-name secret-key-file public-key-file 38 ``` 39 40 - Make sure user `nix-serve` has read access to the private key file. 41 - 42 For more details see <citerefentry><refentrytitle>nix-store</refentrytitle><manvolnum>1</manvolnum></citerefentry>. 43 ''; 44 }; ··· 61 62 path = [ config.nix.package.out pkgs.bzip2.bin ]; 63 environment.NIX_REMOTE = "daemon"; 64 - environment.NIX_SECRET_KEY_FILE = cfg.secretKeyFile; 65 66 serviceConfig = { 67 Restart = "always"; 68 RestartSec = "5s"; 69 - ExecStart = "${pkgs.nix-serve}/bin/nix-serve " + 70 - "--listen ${cfg.bindAddress}:${toString cfg.port} ${cfg.extraParams}"; 71 User = "nix-serve"; 72 Group = "nix-serve"; 73 DynamicUser = true; 74 }; 75 }; 76 };
··· 37 nix-store --generate-binary-cache-key key-name secret-key-file public-key-file 38 ``` 39 40 For more details see <citerefentry><refentrytitle>nix-store</refentrytitle><manvolnum>1</manvolnum></citerefentry>. 41 ''; 42 }; ··· 59 60 path = [ config.nix.package.out pkgs.bzip2.bin ]; 61 environment.NIX_REMOTE = "daemon"; 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 + ''; 69 70 serviceConfig = { 71 Restart = "always"; 72 RestartSec = "5s"; 73 User = "nix-serve"; 74 Group = "nix-serve"; 75 DynamicUser = true; 76 + LoadCredential = lib.optionalString (cfg.secretKeyFile != null) 77 + "NIX_SECRET_KEY_FILE:${cfg.secretKeyFile}"; 78 }; 79 }; 80 };
+16 -3
nixos/modules/services/networking/shairport-sync.nix
··· 53 ''; 54 }; 55 56 }; 57 58 }; ··· 66 services.avahi.publish.enable = true; 67 services.avahi.publish.userServices = true; 68 69 - users.users.${cfg.user} = 70 - { description = "Shairport user"; 71 isSystemUser = true; 72 createHome = true; 73 home = "/var/lib/shairport-sync"; 74 extraGroups = [ "audio" ] ++ optional config.hardware.pulseaudio.enable "pulse"; 75 }; 76 - 77 78 networking.firewall = mkIf cfg.openFirewall { 79 allowedTCPPorts = [ 5000 ]; ··· 87 wantedBy = [ "multi-user.target" ]; 88 serviceConfig = { 89 User = cfg.user; 90 ExecStart = "${pkgs.shairport-sync}/bin/shairport-sync ${cfg.arguments}"; 91 RuntimeDirectory = "shairport-sync"; 92 };
··· 53 ''; 54 }; 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 + 65 }; 66 67 }; ··· 75 services.avahi.publish.enable = true; 76 services.avahi.publish.userServices = true; 77 78 + users = { 79 + users.${cfg.user} = { 80 + description = "Shairport user"; 81 isSystemUser = true; 82 createHome = true; 83 home = "/var/lib/shairport-sync"; 84 + group = cfg.group; 85 extraGroups = [ "audio" ] ++ optional config.hardware.pulseaudio.enable "pulse"; 86 }; 87 + groups.${cfg.group} = {}; 88 + }; 89 90 networking.firewall = mkIf cfg.openFirewall { 91 allowedTCPPorts = [ 5000 ]; ··· 99 wantedBy = [ "multi-user.target" ]; 100 serviceConfig = { 101 User = cfg.user; 102 + Group = cfg.group; 103 ExecStart = "${pkgs.shairport-sync}/bin/shairport-sync ${cfg.arguments}"; 104 RuntimeDirectory = "shairport-sync"; 105 };
+1 -1
nixos/modules/services/x11/display-managers/lightdm.nix
··· 312 }; 313 314 systemd.tmpfiles.rules = [ 315 - "d /run/lightdm 0711 lightdm lightdm 0" 316 "d /var/cache/lightdm 0711 root lightdm -" 317 "d /var/lib/lightdm 1770 lightdm lightdm -" 318 "d /var/lib/lightdm-data 1775 lightdm lightdm -"
··· 312 }; 313 314 systemd.tmpfiles.rules = [ 315 + "d /run/lightdm 0711 lightdm lightdm -" 316 "d /var/cache/lightdm 0711 root lightdm -" 317 "d /var/lib/lightdm 1770 lightdm lightdm -" 318 "d /var/lib/lightdm-data 1775 lightdm lightdm -"
+2 -2
nixos/modules/tasks/snapraid.nix
··· 193 LockPersonality = true; 194 MemoryDenyWriteExecute = true; 195 NoNewPrivileges = true; 196 - PrivateDevices = true; 197 PrivateTmp = true; 198 ProtectClock = true; 199 ProtectControlGroups = true; ··· 208 SystemCallArchitectures = "native"; 209 SystemCallFilter = "@system-service"; 210 SystemCallErrorNumber = "EPERM"; 211 - CapabilityBoundingSet = "CAP_DAC_OVERRIDE"; 212 213 ProtectSystem = "strict"; 214 ProtectHome = "read-only";
··· 193 LockPersonality = true; 194 MemoryDenyWriteExecute = true; 195 NoNewPrivileges = true; 196 PrivateTmp = true; 197 ProtectClock = true; 198 ProtectControlGroups = true; ··· 207 SystemCallArchitectures = "native"; 208 SystemCallFilter = "@system-service"; 209 SystemCallErrorNumber = "EPERM"; 210 + CapabilityBoundingSet = "CAP_DAC_OVERRIDE" ++ 211 + lib.optionalString cfg.touchBeforeSync " CAP_FOWNER"; 212 213 ProtectSystem = "strict"; 214 ProtectHome = "read-only";
+8 -1
nixos/modules/virtualisation/waydroid.nix
··· 18 /dev/hwbinder = hidl 19 ''; 20 21 - in { 22 23 options.virtualisation.waydroid = { 24 enable = mkEnableOption "Waydroid"; ··· 35 (isEnabled "ANDROID_BINDERFS") 36 (isEnabled "ASHMEM") 37 ]; 38 39 environment.etc."gbinder.d/waydroid.conf".source = waydroidGbinderConf; 40
··· 18 /dev/hwbinder = hidl 19 ''; 20 21 + in 22 + { 23 24 options.virtualisation.waydroid = { 25 enable = mkEnableOption "Waydroid"; ··· 36 (isEnabled "ANDROID_BINDERFS") 37 (isEnabled "ASHMEM") 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" ]; 45 46 environment.etc."gbinder.d/waydroid.conf".source = waydroidGbinderConf; 47
+2 -2
nixos/tests/all-tests.nix
··· 315 nginx-sso = handleTest ./nginx-sso.nix {}; 316 nginx-variants = handleTest ./nginx-variants.nix {}; 317 nitter = handleTest ./nitter.nix {}; 318 - nix-serve = handleTest ./nix-ssh-serve.nix {}; 319 - nix-ssh-serve = handleTest ./nix-ssh-serve.nix {}; 320 nixops = handleTest ./nixops/default.nix {}; 321 nixos-generate-config = handleTest ./nixos-generate-config.nix {}; 322 node-red = handleTest ./node-red.nix {};
··· 315 nginx-sso = handleTest ./nginx-sso.nix {}; 316 nginx-variants = handleTest ./nginx-variants.nix {}; 317 nitter = handleTest ./nitter.nix {}; 318 + nix-serve = handleTest ./nix-serve.nix {}; 319 + nix-serve-ssh = handleTest ./nix-serve-ssh.nix {}; 320 nixops = handleTest ./nixops/default.nix {}; 321 nixos-generate-config = handleTest ./nixos-generate-config.nix {}; 322 node-red = handleTest ./node-red.nix {};
+1 -1
nixos/tests/nix-ssh-serve.nix nixos/tests/nix-serve-ssh.nix
··· 35 36 client.fail("diff /root/other-store$(cat mach-id-path) /etc/machine-id") 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)") 39 client.succeed( 40 "nix-store --realise $(cat mach-id-path) --store /root/other-store --substituters ssh-ng://nix-ssh@server" 41 )
··· 35 36 client.fail("diff /root/other-store$(cat mach-id-path) /etc/machine-id") 37 # Currently due to shared store this is a noop :( 38 + client.succeed("nix copy --experimental-features 'nix-command' --to ssh-ng://nix-ssh@server $(cat mach-id-path)") 39 client.succeed( 40 "nix-store --realise $(cat mach-id-path) --store /root/other-store --substituters ssh-ng://nix-ssh@server" 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 assert withPython -> throw "Python2 support has been removed from neovim, please remove withPython and extraPythonPackages."; 178 179 wrapNeovimUnstable neovim (res // { 180 - wrapperArgs = lib.escapeShellArgs res.wrapperArgs + extraMakeWrapperArgs; 181 wrapRc = (configure != {}); 182 }); 183 in
··· 177 assert withPython -> throw "Python2 support has been removed from neovim, please remove withPython and extraPythonPackages."; 178 179 wrapNeovimUnstable neovim (res // { 180 + wrapperArgs = lib.escapeShellArgs res.wrapperArgs + " " + extraMakeWrapperArgs; 181 wrapRc = (configure != {}); 182 }); 183 in
+19 -5
pkgs/applications/misc/tootle/default.nix
··· 1 - { lib, stdenv 2 , fetchFromGitHub 3 , nix-update-script 4 , fetchpatch 5 - , vala_0_52 6 , meson 7 , ninja 8 , pkg-config ··· 30 sha256 = "NRM7GiJA8c5z9AvXpGXtMl4ZaYN2GauEIbjBmoY4pdo="; 31 }; 32 33 nativeBuildInputs = [ 34 meson 35 ninja 36 pkg-config 37 python3 38 - # Does not build with vala 0.54 39 - # https://github.com/bleakgrey/tootle/issues/337 40 - vala_0_52 41 wrapGAppsHook 42 ]; 43
··· 1 + { lib 2 + , stdenv 3 , fetchFromGitHub 4 , nix-update-script 5 , fetchpatch 6 + , vala 7 , meson 8 , ninja 9 , pkg-config ··· 31 sha256 = "NRM7GiJA8c5z9AvXpGXtMl4ZaYN2GauEIbjBmoY4pdo="; 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 + 49 nativeBuildInputs = [ 50 meson 51 ninja 52 pkg-config 53 python3 54 + vala 55 wrapGAppsHook 56 ]; 57
+3 -3
pkgs/applications/networking/cluster/argocd/default.nix
··· 2 3 buildGoModule rec { 4 pname = "argocd"; 5 - version = "2.1.6"; 6 - commit = "a346cf933e10d872eae26bff8e58c5e7ac40db25"; 7 tag = "v${version}"; 8 9 src = fetchFromGitHub { 10 owner = "argoproj"; 11 repo = "argo-cd"; 12 rev = tag; 13 - sha256 = "sha256-8DeVO7Wr1bFZXTp2kaEPizDwNU5ZsA1fykccaDUivh8="; 14 }; 15 16 vendorSha256 = "sha256-N45yRlBGZ/c9ve2YPcWA26pylV8hzxjPh6evKtkgnoc=";
··· 2 3 buildGoModule rec { 4 pname = "argocd"; 5 + version = "2.1.7"; 6 + commit = "a408e299ffa743213df3aa9135bf7945644ec936"; 7 tag = "v${version}"; 8 9 src = fetchFromGitHub { 10 owner = "argoproj"; 11 repo = "argo-cd"; 12 rev = tag; 13 + sha256 = "sha256-c6WUqD7x8/P+W64fWs4cw1RiUFepevIJCPpWSzNfIMc="; 14 }; 15 16 vendorSha256 = "sha256-N45yRlBGZ/c9ve2YPcWA26pylV8hzxjPh6evKtkgnoc=";
+7 -5
pkgs/applications/networking/cluster/k9s/default.nix
··· 2 3 buildGoModule rec { 4 pname = "k9s"; 5 - version = "0.24.15"; 6 7 src = fetchFromGitHub { 8 owner = "derailed"; 9 repo = "k9s"; 10 rev = "v${version}"; 11 - sha256 = "sha256-ws5JC2/WkgwxKwYtP9xtFELRhztzL6tNSvopyeC6H0Q="; 12 }; 13 14 ldflags = [ ··· 17 "-X github.com/derailed/k9s/cmd.commit=${src.rev}" 18 ]; 19 20 - vendorSha256 = "sha256-T9khJeg5XPhVyUiu4gEEHZR6RgJF4P8LYFycqJglms8="; 21 22 - doCheck = false; 23 24 meta = with lib; { 25 description = "Kubernetes CLI To Manage Your Clusters In Style"; 26 homepage = "https://github.com/derailed/k9s"; 27 license = licenses.asl20; 28 - maintainers = with maintainers; [ Gonzih markus1189 ]; 29 }; 30 }
··· 2 3 buildGoModule rec { 4 pname = "k9s"; 5 + version = "0.25.7"; 6 7 src = fetchFromGitHub { 8 owner = "derailed"; 9 repo = "k9s"; 10 rev = "v${version}"; 11 + sha256 = "sha256-CFXPo8dpefrrBxCGpcGtZfLdfMYCBL/eQhHqZggK/yA="; 12 }; 13 14 ldflags = [ ··· 17 "-X github.com/derailed/k9s/cmd.commit=${src.rev}" 18 ]; 19 20 + vendorSha256 = "sha256-v4cd+f2GSE2ad0wWrW9x6/U6RREhFV83wVNFUMfWaA4="; 21 22 + preCheck = "export HOME=$(mktemp -d)"; 23 + 24 + doCheck = true; 25 26 meta = with lib; { 27 description = "Kubernetes CLI To Manage Your Clusters In Style"; 28 homepage = "https://github.com/derailed/k9s"; 29 license = licenses.asl20; 30 + maintainers = with maintainers; [ Gonzih markus1189 bryanasdev000 ]; 31 }; 32 }
+3 -6
pkgs/applications/networking/cluster/velero/default.nix
··· 2 3 buildGoModule rec { 4 pname = "velero"; 5 - # When updating, change the commit underneath 6 - version = "1.7.0"; 7 - commit = "9e52260568430ecb77ac38a677ce74267a8c2176"; 8 9 10 src = fetchFromGitHub { 11 owner = "vmware-tanzu"; 12 repo = "velero"; 13 rev = "v${version}"; 14 - sha256 = "sha256-n5Rk+Fyb6yAI5sRZi+WE1KyQZyGryZSP4yd/gmmsQxw="; 15 }; 16 17 ldflags = [ 18 "-s" "-w" 19 "-X github.com/vmware-tanzu/velero/pkg/buildinfo.Version=${version}" 20 - "-X github.com/vmware-tanzu/velero/pkg/buildinfo.GitSHA=${commit}" 21 "-X github.com/vmware-tanzu/velero/pkg/buildinfo.GitTreeState=clean" 22 ]; 23 24 - vendorSha256 = "sha256-qsRbwLKNnuQRIsx0+sfOfR2OQ0+el0vptxz7mMew7zY="; 25 26 excludedPackages = [ "issue-template-gen" "crd-gen" "release-tools" "velero-restic-restore-helper" "v1" "v1beta1" ]; 27
··· 2 3 buildGoModule rec { 4 pname = "velero"; 5 + version = "1.7.1"; 6 7 8 src = fetchFromGitHub { 9 owner = "vmware-tanzu"; 10 repo = "velero"; 11 rev = "v${version}"; 12 + sha256 = "sha256-Jz3Tp5FqpmPuBscRB0KleQxtCvB43qmeLZNtGPnjuL0="; 13 }; 14 15 ldflags = [ 16 "-s" "-w" 17 "-X github.com/vmware-tanzu/velero/pkg/buildinfo.Version=${version}" 18 "-X github.com/vmware-tanzu/velero/pkg/buildinfo.GitTreeState=clean" 19 ]; 20 21 + vendorSha256 = "sha256-fX9FeoIkxxSi3dl5W2MZLz5vN1VHkPNpTBGRxGP5Qx8="; 22 23 excludedPackages = [ "issue-template-gen" "crd-gen" "release-tools" "velero-restic-restore-helper" "v1" "v1beta1" ]; 24
+18 -1
pkgs/applications/radio/gqrx/default.nix
··· 14 , rtl-sdr 15 , hackrf 16 , pulseaudioSupport ? true, libpulseaudio 17 }: 18 19 assert pulseaudioSupport -> libpulseaudio != null; 20 21 gnuradio3_8Minimal.pkgs.mkDerivation rec { 22 pname = "gqrx"; ··· 49 ] ++ lib.optionals (gnuradio3_8Minimal.hasFeature "gr-ctrlport") [ 50 thrift 51 gnuradio3_8Minimal.unwrapped.python.pkgs.thrift 52 - ] ++ lib.optionals pulseaudioSupport [ libpulseaudio ]; 53 54 postInstall = '' 55 install -vD $src/gqrx.desktop -t "$out/share/applications/"
··· 14 , rtl-sdr 15 , hackrf 16 , pulseaudioSupport ? true, libpulseaudio 17 + , portaudioSupport ? false, portaudio 18 }: 19 20 assert pulseaudioSupport -> libpulseaudio != null; 21 + assert portaudioSupport -> portaudio != null; 22 + # audio backends are mutually exclusive 23 + assert !(pulseaudioSupport && portaudioSupport); 24 25 gnuradio3_8Minimal.pkgs.mkDerivation rec { 26 pname = "gqrx"; ··· 53 ] ++ lib.optionals (gnuradio3_8Minimal.hasFeature "gr-ctrlport") [ 54 thrift 55 gnuradio3_8Minimal.unwrapped.python.pkgs.thrift 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 + ]; 70 71 postInstall = '' 72 install -vD $src/gqrx.desktop -t "$out/share/applications/"
+6 -6
pkgs/applications/version-management/gitlab/data.json
··· 1 { 2 - "version": "14.5.0", 3 - "repo_hash": "sha256-HKm2zxr9jHN5NvoKoR0YnEsna84oz+ax6BYmDiWrODc=", 4 "yarn_hash": "081c06ds723mv95ivpnlh3ida2ra3brrm1lzfh2pmlg5wz9vi1cs", 5 "owner": "gitlab-org", 6 "repo": "gitlab", 7 - "rev": "v14.5.0-ee", 8 "passthru": { 9 - "GITALY_SERVER_VERSION": "14.5.0", 10 "GITLAB_PAGES_VERSION": "1.48.0", 11 - "GITLAB_SHELL_VERSION": "13.22.0", 12 - "GITLAB_WORKHORSE_VERSION": "14.5.0" 13 } 14 }
··· 1 { 2 + "version": "14.5.1", 3 + "repo_hash": "0c9ih7dr5lgvdhij75bpcj9vlyljnprzbv0k90k4rjajfyd0lhad", 4 "yarn_hash": "081c06ds723mv95ivpnlh3ida2ra3brrm1lzfh2pmlg5wz9vi1cs", 5 "owner": "gitlab-org", 6 "repo": "gitlab", 7 + "rev": "v14.5.1-ee", 8 "passthru": { 9 + "GITALY_SERVER_VERSION": "14.5.1", 10 "GITLAB_PAGES_VERSION": "1.48.0", 11 + "GITLAB_SHELL_VERSION": "13.22.1", 12 + "GITLAB_WORKHORSE_VERSION": "14.5.1" 13 } 14 }
+2 -2
pkgs/applications/version-management/gitlab/gitaly/default.nix
··· 33 }; 34 }; 35 36 - version = "14.5.0"; 37 gitaly_package = "gitlab.com/gitlab-org/gitaly/v${lib.versions.major version}"; 38 in 39 ··· 45 owner = "gitlab-org"; 46 repo = "gitaly"; 47 rev = "v${version}"; 48 - sha256 = "sha256-DbyxZKxW+S2u23+F8VQxkDXWp+L1WeISs6OEBb5DavA="; 49 }; 50 51 vendorSha256 = "sha256-ZLd4E3+e25Hqmd6ZyF3X6BveMEg7OF0FX9IvNBWn3v0=";
··· 33 }; 34 }; 35 36 + version = "14.5.1"; 37 gitaly_package = "gitlab.com/gitlab-org/gitaly/v${lib.versions.major version}"; 38 in 39 ··· 45 owner = "gitlab-org"; 46 repo = "gitaly"; 47 rev = "v${version}"; 48 + sha256 = "sha256-AWY/jUIytK/8nrCH2EMrzQ9e0dc9VpZFkO7NhrrqoGg="; 49 }; 50 51 vendorSha256 = "sha256-ZLd4E3+e25Hqmd6ZyF3X6BveMEg7OF0FX9IvNBWn3v0=";
+2 -2
pkgs/applications/version-management/gitlab/gitlab-shell/default.nix
··· 2 3 buildGoModule rec { 4 pname = "gitlab-shell"; 5 - version = "13.22.0"; 6 src = fetchFromGitLab { 7 owner = "gitlab-org"; 8 repo = "gitlab-shell"; 9 rev = "v${version}"; 10 - sha256 = "sha256-jMFTNyGdegdBO+f6Pw36iuhvyzcM8rCbnfSyLSOiEjY="; 11 }; 12 13 buildInputs = [ ruby ];
··· 2 3 buildGoModule rec { 4 pname = "gitlab-shell"; 5 + version = "13.22.1"; 6 src = fetchFromGitLab { 7 owner = "gitlab-org"; 8 repo = "gitlab-shell"; 9 rev = "v${version}"; 10 + sha256 = "sha256-uqdKiBZ290mG0JNi17EjimfES6bN3q1hF6LXs3URTZ8="; 11 }; 12 13 buildInputs = [ ruby ];
+1 -1
pkgs/applications/version-management/gitlab/gitlab-workhorse/default.nix
··· 5 buildGoModule rec { 6 pname = "gitlab-workhorse"; 7 8 - version = "14.5.0"; 9 10 src = fetchFromGitLab { 11 owner = data.owner;
··· 5 buildGoModule rec { 6 pname = "gitlab-workhorse"; 7 8 + version = "14.5.1"; 9 10 src = fetchFromGitLab { 11 owner = data.owner;
+7 -2
pkgs/desktops/gnome/core/caribou/default.nix
··· 1 { fetchurl, lib, stdenv, pkg-config, gnome, glib, gtk3, clutter, dbus, python3, libxml2 2 , libxklavier, libXtst, gtk2, intltool, libxslt, at-spi2-core, autoreconfHook 3 - , wrapGAppsHook, libgee, vala_0_40 }: 4 5 let 6 pname = "caribou"; ··· 21 url = "https://bugzilla.gnome.org/attachment.cgi?id=364774"; 22 sha256 = "15k1455grf6knlrxqbjnk7sals1730b0whj30451scp46wyvykvd"; 23 }) 24 (fetchurl { 25 name = "fix-build-modern-vala.patch"; 26 url = "https://gitlab.gnome.org/GNOME/caribou/-/commit/76fbd11575f918fc898cb0f5defe07f67c11ec38.patch"; ··· 33 }) 34 ]; 35 36 - nativeBuildInputs = [ pkg-config intltool libxslt libxml2 autoreconfHook wrapGAppsHook vala_0_40 ]; 37 38 buildInputs = [ 39 glib gtk3 clutter at-spi2-core dbus pythonEnv python3.pkgs.pygobject3
··· 1 { fetchurl, lib, stdenv, pkg-config, gnome, glib, gtk3, clutter, dbus, python3, libxml2 2 , libxklavier, libXtst, gtk2, intltool, libxslt, at-spi2-core, autoreconfHook 3 + , wrapGAppsHook, libgee, vala }: 4 5 let 6 pname = "caribou"; ··· 21 url = "https://bugzilla.gnome.org/attachment.cgi?id=364774"; 22 sha256 = "15k1455grf6knlrxqbjnk7sals1730b0whj30451scp46wyvykvd"; 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 + }) 29 (fetchurl { 30 name = "fix-build-modern-vala.patch"; 31 url = "https://gitlab.gnome.org/GNOME/caribou/-/commit/76fbd11575f918fc898cb0f5defe07f67c11ec38.patch"; ··· 38 }) 39 ]; 40 41 + nativeBuildInputs = [ pkg-config intltool libxslt libxml2 autoreconfHook wrapGAppsHook vala ]; 42 43 buildInputs = [ 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 , keybinder3 8 , pkg-config 9 , python3Packages 10 - , vala_0_48 11 , wafHook 12 , wrapGAppsHook 13 , xfce ··· 35 gobject-introspection 36 pkg-config 37 python3Packages.wrapPython 38 - vala_0_48 39 wafHook 40 wrapGAppsHook 41 ];
··· 7 , keybinder3 8 , pkg-config 9 , python3Packages 10 + , vala 11 , wafHook 12 , wrapGAppsHook 13 , xfce ··· 35 gobject-introspection 36 pkg-config 37 python3Packages.wrapPython 38 + vala 39 wafHook 40 wrapGAppsHook 41 ];
+8 -2
pkgs/desktops/xfce/panel-plugins/xfce4-namebar-plugin/default.nix
··· 1 - { lib, stdenv, pkg-config, fetchFromGitHub, python3, vala_0_46 2 , gtk3, libwnck, libxfce4util, xfce4-panel, wafHook, xfce }: 3 4 stdenv.mkDerivation rec { ··· 12 sha256 = "sha256-aKrJzf9rwCyXAJsRIXdBzmJBASuXD5I5kZrp+atx4FA="; 13 }; 14 15 - nativeBuildInputs = [ pkg-config vala_0_46 wafHook python3 ]; 16 buildInputs = [ gtk3 libwnck libxfce4util xfce4-panel ]; 17 18 postPatch = ''
··· 1 + { lib, stdenv, pkg-config, fetchFromGitHub, python3, vala_0_40 2 , gtk3, libwnck, libxfce4util, xfce4-panel, wafHook, xfce }: 3 4 stdenv.mkDerivation rec { ··· 12 sha256 = "sha256-aKrJzf9rwCyXAJsRIXdBzmJBASuXD5I5kZrp+atx4FA="; 13 }; 14 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 ]; 22 buildInputs = [ gtk3 libwnck libxfce4util xfce4-panel ]; 23 24 postPatch = ''
+6 -1
pkgs/development/compilers/llvm/13/default.nix
··· 244 inherit llvm_meta; 245 stdenv = if stdenv.hostPlatform.useLLVM or false 246 then overrideCC stdenv buildLlvmTools.clangNoLibcxx 247 - else stdenv; 248 }; 249 250 libcxxabi = let
··· 244 inherit llvm_meta; 245 stdenv = if stdenv.hostPlatform.useLLVM or false 246 then overrideCC stdenv buildLlvmTools.clangNoLibcxx 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 + ); 253 }; 254 255 libcxxabi = let
+4 -24
pkgs/development/compilers/vala/default.nix
··· 28 # 0.40.12: https://github.com/openembedded/openembedded-core/raw/8553c52f174af4c8c433c543f806f5ed5c1ec48c/meta/recipes-devtools/vala/vala/disable-graphviz.patch 29 "0.40" = ./disable-graphviz-0.40.12.patch; 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 "0.48" = ./disable-graphviz-0.46.1.patch; 40 - 41 - "0.50" = ./disable-graphviz-0.46.1.patch; 42 43 "0.52" = ./disable-graphviz-0.46.1.patch; 44 ··· 113 sha256 = "1pxpack8rrmywlf47v440hc6rv3vi8q9c6niwqnwikxvb2pwf3w7"; 114 }; 115 116 - vala_0_46 = generic { 117 - version = "0.46.13"; 118 - sha256 = "0d7l4vh2xra3q75kw3sy2d9bn5p6s3g3r7j37bdn6ir8l3wp2ivs"; 119 - }; 120 - 121 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="; 129 }; 130 131 vala_0_52 = generic { 132 - version = "0.52.7"; 133 - sha256 = "sha256-C7WptPbRdUmewKWAJK3ANapRcAgPUzwo2cNY0aMsU2o="; 134 }; 135 136 vala_0_54 = generic {
··· 28 # 0.40.12: https://github.com/openembedded/openembedded-core/raw/8553c52f174af4c8c433c543f806f5ed5c1ec48c/meta/recipes-devtools/vala/vala/disable-graphviz.patch 29 "0.40" = ./disable-graphviz-0.40.12.patch; 30 31 "0.48" = ./disable-graphviz-0.46.1.patch; 32 33 "0.52" = ./disable-graphviz-0.46.1.patch; 34 ··· 103 sha256 = "1pxpack8rrmywlf47v440hc6rv3vi8q9c6niwqnwikxvb2pwf3w7"; 104 }; 105 106 vala_0_48 = generic { 107 + version = "0.48.20"; 108 + sha256 = "sha256-RrHIF/dIUfvMOV/E+eoRlQLPh7kzPMllbhzczAvTN24="; 109 }; 110 111 vala_0_52 = generic { 112 + version = "0.52.8"; 113 + sha256 = "sha256-d3t9HLVnFewyJUXQEw5/9Y2eem0b2WtuKX6eYOgRh5M="; 114 }; 115 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 patchShebangs utils/ 32 ''; 33 34 buildInputs = [ 35 # IPA and signing 36 gnutls 37 - openssl 38 boost 39 40 # gstreamer integration ··· 46 47 # lttng tracing 48 lttng-ust 49 ]; 50 51 nativeBuildInputs = [ ··· 57 python3Packages.pyyaml 58 python3Packages.ply 59 python3Packages.sphinx 60 - gtest 61 graphviz 62 doxygen 63 ]; 64 65 mesonFlags = [ "-Dv4l2=true" "-Dqcam=disabled" ];
··· 31 patchShebangs utils/ 32 ''; 33 34 + strictDeps = true; 35 + 36 buildInputs = [ 37 # IPA and signing 38 gnutls 39 boost 40 41 # gstreamer integration ··· 47 48 # lttng tracing 49 lttng-ust 50 + 51 + gtest 52 ]; 53 54 nativeBuildInputs = [ ··· 60 python3Packages.pyyaml 61 python3Packages.ply 62 python3Packages.sphinx 63 graphviz 64 doxygen 65 + openssl 66 ]; 67 68 mesonFlags = [ "-Dv4l2=true" "-Dqcam=disabled" ];
+2 -2
pkgs/development/python-modules/awkward/default.nix
··· 11 12 buildPythonPackage rec { 13 pname = "awkward"; 14 - version = "1.5.1"; 15 16 src = fetchPypi { 17 inherit pname version; 18 - sha256 = "c0357c62223fefcfc7a7565389dbd4db900623bf10eccf2bc8e87586ec59b38d"; 19 }; 20 21 nativeBuildInputs = [ cmake ];
··· 11 12 buildPythonPackage rec { 13 pname = "awkward"; 14 + version = "1.7.0"; 15 16 src = fetchPypi { 17 inherit pname version; 18 + sha256 = "e4e642dfe496d2acb245c90e37dc18028e25d5e936421e7371ea6ba0fde6435a"; 19 }; 20 21 nativeBuildInputs = [ cmake ];
+2 -2
pkgs/development/python-modules/kubernetes/default.nix
··· 21 22 buildPythonPackage rec { 23 pname = "kubernetes"; 24 - version = "18.20.0"; 25 format = "setuptools"; 26 disabled = pythonOlder "3.6"; 27 ··· 29 owner = "kubernetes-client"; 30 repo = "python"; 31 rev = "v${version}"; 32 - sha256 = "1sawp62j7h0yksmg9jlv4ik9b9i1a1w9syywc9mv8x89wibf5ql1"; 33 fetchSubmodules = true; 34 }; 35
··· 21 22 buildPythonPackage rec { 23 pname = "kubernetes"; 24 + version = "20.13.0"; 25 format = "setuptools"; 26 disabled = pythonOlder "3.6"; 27 ··· 29 owner = "kubernetes-client"; 30 repo = "python"; 31 rev = "v${version}"; 32 + sha256 = "sha256-zZb5jEQEluY1dfa7UegW+P7MV86ESqOey7kkC74ETlM="; 33 fetchSubmodules = true; 34 }; 35
+3 -3
pkgs/development/tools/faas-cli/default.nix
··· 10 buildGoModule rec { 11 pname = "faas-cli"; 12 # When updating version change rev. 13 - version = "0.13.15"; 14 - rev = "b562392b12a78a11bcff9c6fca5a47146ea2ba0a"; 15 16 src = fetchFromGitHub { 17 owner = "openfaas"; 18 repo = "faas-cli"; 19 rev = version; 20 - sha256 = "15kjxn0p8nz8147vsm9q5q6wr2w5ssybvn247kynj2n7139iva2f"; 21 }; 22 23 CGO_ENABLED = 0;
··· 10 buildGoModule rec { 11 pname = "faas-cli"; 12 # When updating version change rev. 13 + version = "0.14.1"; 14 + rev = "d94600d2d2be52a66e0a15c219634f3bcac27318"; 15 16 src = fetchFromGitHub { 17 owner = "openfaas"; 18 repo = "faas-cli"; 19 rev = version; 20 + sha256 = "132m9kv7a4vv65n8y3sq1drks6n1pci9fhvq0s637imf2vxccxqr"; 21 }; 22 23 CGO_ENABLED = 0;
+2 -2
pkgs/development/tools/misc/lit/default.nix
··· 2 3 python3.pkgs.buildPythonApplication rec { 4 pname = "lit"; 5 - version = "0.10.0"; 6 7 src = python3.pkgs.fetchPypi { 8 inherit pname version; 9 - sha256 = "13s8v9s2f284fnh47xdyc75gq2i9pndl39q8v4wl7v7lwri2hv8r"; 10 }; 11 12 passthru = {
··· 2 3 python3.pkgs.buildPythonApplication rec { 4 pname = "lit"; 5 + version = "13.0.0"; 6 7 src = python3.pkgs.fetchPypi { 8 inherit pname version; 9 + sha256 = "4da976f3d114e4ba6ba06cbe660ce1393230f4519c4df15b90bc1840f00e4195"; 10 }; 11 12 passthru = {
+9 -3
pkgs/development/tools/rust/cargo-generate/default.nix
··· 2 3 rustPlatform.buildRustPackage rec { 4 pname = "cargo-generate"; 5 - version = "0.5.3"; 6 7 src = fetchFromGitHub { 8 owner = "ashleygwilliams"; 9 repo = "cargo-generate"; 10 rev = "v${version}"; 11 - sha256 = "sha256-RrDwq5VufMDsPlqRmBP3x2RUWU740L0L18noByO1IDY="; 12 }; 13 14 - cargoSha256 = "sha256-/0pxEQFhovPRI4Knv5xq6+PHRuGN6+tF8CdK5X30LKI="; 15 16 nativeBuildInputs = [ pkg-config ]; 17 ··· 23 git config --global user.name Nixbld 24 git config --global user.email nixbld@localhost.localnet 25 ''; 26 27 meta = with lib; { 28 description = "cargo, make me a project";
··· 2 3 rustPlatform.buildRustPackage rec { 4 pname = "cargo-generate"; 5 + version = "0.11.0"; 6 7 src = fetchFromGitHub { 8 owner = "ashleygwilliams"; 9 repo = "cargo-generate"; 10 rev = "v${version}"; 11 + sha256 = "sha256-082rFxC/p68X8g58I7Q7Of70ymq7VsLhkQpcqVx0u/A="; 12 }; 13 14 + cargoSha256 = "sha256-1yTH5FvalzBD13FXh/X1jmZhVyWU3thrjNSsrHUfBNE="; 15 16 nativeBuildInputs = [ pkg-config ]; 17 ··· 23 git config --global user.name Nixbld 24 git config --global user.email nixbld@localhost.localnet 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" ]; 32 33 meta = with lib; { 34 description = "cargo, make me a project";
+3 -3
pkgs/development/tools/rust/cargo-wipe/default.nix
··· 6 7 rustPlatform.buildRustPackage rec { 8 pname = "cargo-wipe"; 9 - version = "0.3.1"; 10 11 src = fetchFromGitHub { 12 owner = "mihai-dinculescu"; 13 repo = "cargo-wipe"; 14 rev = "v${version}"; 15 - sha256 = "sha256-sVekfGHg2wspP5/zJzXTXupspwJr4hQBucY5+8iUjUQ="; 16 }; 17 18 - cargoSha256 = "sha256-EoXgsWg1Rh7C+fIqvefkLdck4Yj3kox2ZAU3kn6nH8Q="; 19 20 passthru = { 21 updateScript = nix-update-script {
··· 6 7 rustPlatform.buildRustPackage rec { 8 pname = "cargo-wipe"; 9 + version = "0.3.2"; 10 11 src = fetchFromGitHub { 12 owner = "mihai-dinculescu"; 13 repo = "cargo-wipe"; 14 rev = "v${version}"; 15 + sha256 = "sha256-AlmXq2jbU8mQ23Q64a8QiKXwiWkIfr98vAoq7FLImhA="; 16 }; 17 18 + cargoSha256 = "sha256-vsN4cM4Q9LX1ZgAA5x7PupOTh0IcjI65xzuCPjy8YOs="; 19 20 passthru = { 21 updateScript = nix-update-script {
+72
pkgs/misc/vim-plugins/generated.nix
··· 4354 meta.homepage = "https://github.com/mfussenegger/nvim-jdtls/"; 4355 }; 4356 4357 nvim-lightbulb = buildVimPluginFrom2Nix { 4358 pname = "nvim-lightbulb"; 4359 version = "2021-11-13"; ··· 4412 sha256 = "1iag2ynp2yba5xaw4z0hnp9q6hfcrvjmkhl4js9hqhhsrm42c2vh"; 4413 }; 4414 meta.homepage = "https://github.com/RishabhRD/nvim-lsputils/"; 4415 }; 4416 4417 nvim-nonicons = buildVimPluginFrom2Nix { ··· 6051 meta.homepage = "https://github.com/nvim-telescope/telescope-fzy-native.nvim/"; 6052 }; 6053 6054 telescope-project-nvim = buildVimPluginFrom2Nix { 6055 pname = "telescope-project.nvim"; 6056 version = "2021-11-20"; ··· 6073 sha256 = "0jxnalhfgmnllwb38a9dgzrnrhdnxgcbi2p7m4jk5p87260a9gvk"; 6074 }; 6075 meta.homepage = "https://github.com/nvim-telescope/telescope-symbols.nvim/"; 6076 }; 6077 6078 telescope-z-nvim = buildVimPluginFrom2Nix { ··· 6446 sha256 = "03vaghwqr3k0nls365wk4qwzmvdvdvq41q02c3l5qv2vsdikmz5i"; 6447 }; 6448 meta.homepage = "https://github.com/KabbAmine/vCoolor.vim/"; 6449 }; 6450 6451 verilog_systemverilog-vim = buildVimPluginFrom2Nix {
··· 4354 meta.homepage = "https://github.com/mfussenegger/nvim-jdtls/"; 4355 }; 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 + 4369 nvim-lightbulb = buildVimPluginFrom2Nix { 4370 pname = "nvim-lightbulb"; 4371 version = "2021-11-13"; ··· 4424 sha256 = "1iag2ynp2yba5xaw4z0hnp9q6hfcrvjmkhl4js9hqhhsrm42c2vh"; 4425 }; 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/"; 4451 }; 4452 4453 nvim-nonicons = buildVimPluginFrom2Nix { ··· 6087 meta.homepage = "https://github.com/nvim-telescope/telescope-fzy-native.nvim/"; 6088 }; 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 + 6102 telescope-project-nvim = buildVimPluginFrom2Nix { 6103 pname = "telescope-project.nvim"; 6104 version = "2021-11-20"; ··· 6121 sha256 = "0jxnalhfgmnllwb38a9dgzrnrhdnxgcbi2p7m4jk5p87260a9gvk"; 6122 }; 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/"; 6136 }; 6137 6138 telescope-z-nvim = buildVimPluginFrom2Nix { ··· 6506 sha256 = "03vaghwqr3k0nls365wk4qwzmvdvdvq41q02c3l5qv2vsdikmz5i"; 6507 }; 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/"; 6521 }; 6522 6523 verilog_systemverilog-vim = buildVimPluginFrom2Nix {
+4
pkgs/misc/vim-plugins/overrides.nix
··· 483 dependencies = with self; [ popfix ]; 484 }); 485 486 nvim-spectre = super.nvim-spectre.overrideAttrs (old: { 487 dependencies = with self; [ plenary-nvim ]; 488 });
··· 483 dependencies = with self; [ popfix ]; 484 }); 485 486 + nvim-metals = super.nvim-metals.overrideAttrs (old: { 487 + dontBuild = true; 488 + }); 489 + 490 nvim-spectre = super.nvim-spectre.overrideAttrs (old: { 491 dependencies = with self; [ plenary-nvim ]; 492 });
+6
pkgs/misc/vim-plugins/vim-plugin-names
··· 1 907th/vim-auto-save 2 aca/completion-tabnine 3 AckslD/nvim-whichkey-setup.lua@main 4 ackyshake/Spacegray.vim@main 5 ahmedkhalf/lsp-rooter.nvim@main ··· 179 fruit-in/vim-nong-theme 180 fsharp/vim-fsharp 181 garbas/vim-snipmate 182 gcmt/taboo.vim 183 gcmt/wildfire.vim 184 gelguy/wilder.nvim 185 gennaro-tedesco/nvim-peekup 186 gentoo/gentoo-syntax 187 GEverding/vim-hocon ··· 272 jasonccox/vim-wayland-clipboard 273 jaxbot/semantic-highlight.vim 274 JazzCore/ctrlp-cmatcher 275 jc-doyle/cmp-pandoc-references 276 jceb/vim-hier 277 jceb/vim-orgmode ··· 680 saltstack/salt-vim 681 samoshkin/vim-mergetool 682 sbdchd/neoformat 683 sdiehl/vim-ormolu 684 sebastianmarkow/deoplete-rust 685 SevereOverfl0w/deoplete-github ··· 774 tmsvg/pear-tree 775 tmux-plugins/vim-tmux 776 tmux-plugins/vim-tmux-focus-events 777 tomasiser/vim-code-dark 778 tomasr/molokai 779 tomlion/vim-solidity
··· 1 907th/vim-auto-save 2 aca/completion-tabnine 3 + AckslD/nvim-neoclip.lua@main 4 AckslD/nvim-whichkey-setup.lua@main 5 ackyshake/Spacegray.vim@main 6 ahmedkhalf/lsp-rooter.nvim@main ··· 180 fruit-in/vim-nong-theme 181 fsharp/vim-fsharp 182 garbas/vim-snipmate 183 + gbrlsnchs/telescope-lsp-handlers.nvim@trunk 184 gcmt/taboo.vim 185 gcmt/wildfire.vim 186 gelguy/wilder.nvim 187 + gennaro-tedesco/nvim-jqx 188 gennaro-tedesco/nvim-peekup 189 gentoo/gentoo-syntax 190 GEverding/vim-hocon ··· 275 jasonccox/vim-wayland-clipboard 276 jaxbot/semantic-highlight.vim 277 JazzCore/ctrlp-cmatcher 278 + jbyuki/venn.nvim@main 279 jc-doyle/cmp-pandoc-references 280 jceb/vim-hier 281 jceb/vim-orgmode ··· 684 saltstack/salt-vim 685 samoshkin/vim-mergetool 686 sbdchd/neoformat 687 + scalameta/nvim-metals@main 688 sdiehl/vim-ormolu 689 sebastianmarkow/deoplete-rust 690 SevereOverfl0w/deoplete-github ··· 779 tmsvg/pear-tree 780 tmux-plugins/vim-tmux 781 tmux-plugins/vim-tmux-focus-events 782 + tom-anders/telescope-vim-bookmarks.nvim@main 783 tomasiser/vim-code-dark 784 tomasr/molokai 785 tomlion/vim-solidity
+11 -7
pkgs/os-specific/linux/mxu11x0/default.nix
··· 1 { lib, stdenv, fetchurl, kernel }: 2 3 - stdenv.mkDerivation { 4 pname = "mxu11x0"; 5 - version = "1.4-${kernel.version}"; 6 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 - }; 11 12 preBuild = '' 13 sed -i -e "s/\$(uname -r).*/${kernel.modDirVersion}/g" driver/mxconf ··· 33 license = licenses.gpl2Plus; 34 maintainers = with maintainers; [ uralbash ]; 35 platforms = platforms.linux; 36 - broken = kernel.kernelAtLeast "5.4"; 37 }; 38 }
··· 1 { lib, stdenv, fetchurl, kernel }: 2 3 + let 4 + srcs = import (./srcs.nix) { inherit fetchurl; }; 5 + in 6 + stdenv.mkDerivation rec { 7 pname = "mxu11x0"; 8 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}"; 13 14 preBuild = '' 15 sed -i -e "s/\$(uname -r).*/${kernel.modDirVersion}/g" driver/mxconf ··· 35 license = licenses.gpl2Plus; 36 maintainers = with maintainers; [ uralbash ]; 37 platforms = platforms.linux; 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"; 41 }; 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 (if stdenv.isDarwin then "--with-uuid=e2fs" else "--with-ossp-uuid") 72 ] ++ lib.optionals icuEnabled [ "--with-icu" ] 73 ++ lib.optionals lz4Enabled [ "--with-lz4" ] 74 - ++ lib.optionals gssSupport [ "--with-gssapi" ]; 75 76 patches = 77 [ (if atLeast "9.4" then ./patches/disable-resolve_symlinks-94.patch else ./patches/disable-resolve_symlinks.patch)
··· 71 (if stdenv.isDarwin then "--with-uuid=e2fs" else "--with-ossp-uuid") 72 ] ++ lib.optionals icuEnabled [ "--with-icu" ] 73 ++ lib.optionals lz4Enabled [ "--with-lz4" ] 74 + ++ lib.optionals gssSupport [ "--with-gssapi" ] 75 + ++ lib.optionals stdenv.hostPlatform.isRiscV [ "--disable-spinlocks" ]; 76 77 patches = 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 }: 35 36 let 37 - version = "1.29.4"; 38 39 rpath = lib.makeLibraryPath [ 40 alsa-lib ··· 84 if stdenv.hostPlatform.system == "x86_64-linux" then 85 fetchurl { 86 url = "https://downloads.mongodb.com/compass/mongodb-compass_${version}_amd64.deb"; 87 - sha256 = "sha256-CqC6BrRhMfjxamSwC6ub1u3+FtDuIq3/OMNdUZgpCAQ="; 88 } 89 else 90 throw "MongoDB compass is not supported on ${stdenv.hostPlatform.system}";
··· 34 }: 35 36 let 37 + version = "1.29.5"; 38 39 rpath = lib.makeLibraryPath [ 40 alsa-lib ··· 84 if stdenv.hostPlatform.system == "x86_64-linux" then 85 fetchurl { 86 url = "https://downloads.mongodb.com/compass/mongodb-compass_${version}_amd64.deb"; 87 + sha256 = "sha256-2nzbWflONhBzzxsk+uxFP4/E2fORJatwNcbrG3xhaPc="; 88 } 89 else 90 throw "MongoDB compass is not supported on ${stdenv.hostPlatform.system}";
+2 -2
pkgs/tools/networking/isync/default.nix
··· 5 6 stdenv.mkDerivation rec { 7 pname = "isync"; 8 - version = "1.4.3"; 9 10 src = fetchurl { 11 url = "mirror://sourceforge/isync/${pname}-${version}.tar.gz"; 12 - sha256 = "024p3glj4p7fhrssw5sr55arls9zna1igxxrspxlfd6sbds21ixl"; 13 }; 14 15 nativeBuildInputs = [ pkg-config perl ];
··· 5 6 stdenv.mkDerivation rec { 7 pname = "isync"; 8 + version = "1.4.4"; 9 10 src = fetchurl { 11 url = "mirror://sourceforge/isync/${pname}-${version}.tar.gz"; 12 + sha256 = "1zq0wwvmqsl9y71546dr0aygzn9gjjfiw19hlcq87s929y4p6ckw"; 13 }; 14 15 nativeBuildInputs = [ pkg-config perl ];
+4 -1
pkgs/tools/package-management/nix-serve/default.nix
··· 37 --add-flags $out/libexec/nix-serve/nix-serve.psgi 38 ''; 39 40 - passthru.tests.nix-serve = nixosTests.nix-serve; 41 42 meta = { 43 homepage = "https://github.com/edolstra/nix-serve";
··· 37 --add-flags $out/libexec/nix-serve/nix-serve.psgi 38 ''; 39 40 + passthru.tests = { 41 + nix-serve = nixosTests.nix-serve; 42 + nix-serve-ssh = nixosTests.nix-serve-ssh; 43 + }; 44 45 meta = { 46 homepage = "https://github.com/edolstra/nix-serve";
+2 -8
pkgs/tools/system/openipmi/default.nix
··· 2 3 stdenv.mkDerivation rec { 4 pname = "OpenIPMI"; 5 - version = "2.0.31"; 6 7 src = fetchurl { 8 url = "mirror://sourceforge/openipmi/OpenIPMI-${version}.tar.gz"; 9 - sha256 = "05wpkn74nxqp5p6sa2yaf2ajrh8b0gfkb7y4r86lnigz4rvz6lkh"; 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 18 buildInputs = [ ncurses popt python3 readline ]; 19
··· 2 3 stdenv.mkDerivation rec { 4 pname = "OpenIPMI"; 5 + version = "2.0.32"; 6 7 src = fetchurl { 8 url = "mirror://sourceforge/openipmi/OpenIPMI-${version}.tar.gz"; 9 + sha256 = "sha256-9tD9TAp0sF+AkHIp0LJw9UyiMpS8wRl5+LjRJ2Z4aUU="; 10 }; 11 12 buildInputs = [ ncurses popt python3 readline ]; 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 13083 inherit (callPackage ../development/compilers/vala { }) 13084 vala_0_40 13085 - vala_0_46 13086 vala_0_48 13087 - vala_0_50 13088 vala_0_52 13089 vala_0_54 13090 vala; ··· 25138 gpx = callPackage ../applications/misc/gpx { }; 25139 25140 gqrx = callPackage ../applications/radio/gqrx { }; 25141 25142 gpx-viewer = callPackage ../applications/misc/gpx-viewer { }; 25143 ··· 27530 pdfgrep = callPackage ../tools/typesetting/pdfgrep { }; 27531 27532 pdfpc = callPackage ../applications/misc/pdfpc { 27533 - # https://github.com/pdfpc/pdfpc/issues/594 27534 - vala = vala_0_50; 27535 inherit (gst_all_1) gstreamer gst-plugins-base gst-plugins-good gst-libav; 27536 }; 27537 ··· 27818 qmmp = libsForQt5.callPackage ../applications/audio/qmmp { }; 27819 27820 qnotero = libsForQt5.callPackage ../applications/office/qnotero { }; 27821 27822 qrcode = callPackage ../tools/graphics/qrcode {}; 27823
··· 13082 13083 inherit (callPackage ../development/compilers/vala { }) 13084 vala_0_40 13085 vala_0_48 13086 vala_0_52 13087 vala_0_54 13088 vala; ··· 25136 gpx = callPackage ../applications/misc/gpx { }; 25137 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 + }; 25147 25148 gpx-viewer = callPackage ../applications/misc/gpx-viewer { }; 25149 ··· 27536 pdfgrep = callPackage ../tools/typesetting/pdfgrep { }; 27537 27538 pdfpc = callPackage ../applications/misc/pdfpc { 27539 inherit (gst_all_1) gstreamer gst-plugins-base gst-plugins-good gst-libav; 27540 }; 27541 ··· 27822 qmmp = libsForQt5.callPackage ../applications/audio/qmmp { }; 27823 27824 qnotero = libsForQt5.callPackage ../applications/office/qnotero { }; 27825 + 27826 + qpwgraph = libsForQt5.callPackage ../applications/audio/qpwgraph { }; 27827 27828 qrcode = callPackage ../tools/graphics/qrcode {}; 27829