Merge staging-next into staging

authored by nixpkgs-ci[bot] and committed by GitHub e1514c30 01162f66

+289 -413
+4 -48
nixos/modules/services/mail/postfix.nix
··· 13 13 14 14 haveAliases = cfg.postmasterAlias != "" || cfg.rootAlias != "" || cfg.extraAliases != ""; 15 15 haveCanonical = cfg.canonical != ""; 16 - haveTransport = cfg.transport != "" || (cfg.enableSlowDomains && cfg.slowDomains != [ ]); 16 + haveTransport = cfg.transport != ""; 17 17 haveVirtual = cfg.virtual != ""; 18 18 haveLocalRecipients = cfg.localRecipients != null; 19 19 ··· 319 319 aliasesFile = pkgs.writeText "postfix-aliases" aliases; 320 320 canonicalFile = pkgs.writeText "postfix-canonical" cfg.canonical; 321 321 virtualFile = pkgs.writeText "postfix-virtual" cfg.virtual; 322 - transportFile = pkgs.writeText "postfix-transport" ( 323 - lib.optionalString (cfg.enableSlowDomains && cfg.slowDomains != [ ]) ( 324 - lib.concatMapStrings (domain: '' 325 - ${domain} slow: 326 - '') cfg.slowDomains 327 - ) 328 - + cfg.transport 329 - ); 330 322 localRecipientMapFile = pkgs.writeText "postfix-local-recipient-map" ( 331 323 lib.concatMapStrings (x: x + " ACCEPT\n") cfg.localRecipients 332 324 ); 333 325 checkClientAccessFile = pkgs.writeText "postfix-check-client-access" cfg.dnsBlacklistOverrides; 334 326 mainCfFile = pkgs.writeText "postfix-main.cf" mainCf; 335 327 masterCfFile = pkgs.writeText "postfix-master.cf" masterCfContent; 328 + transportFile = pkgs.writeText "postfix-transport" cfg.transport; 336 329 headerChecksFile = pkgs.writeText "postfix-header-checks" headerChecks; 337 330 338 331 in ··· 557 550 ''; 558 551 }; 559 552 560 - enableSlowDomains = lib.mkEnableOption "slow domains feature for rate limiting specific domains"; 561 - 562 - slowDomains = lib.mkOption { 563 - type = with lib.types; listOf str; 564 - default = [ ]; 565 - example = [ 566 - "orange.fr" 567 - "gmail.com" 568 - ]; 569 - description = "List of domains to be rate-limited using the slow transport."; 570 - }; 571 - 572 - slowDomainsConfig = { 573 - defaultDestinationRateDelay = lib.mkOption { 574 - type = lib.types.str; 575 - default = "5s"; 576 - description = "Default rate delay for destinations."; 577 - }; 578 - 579 - defaultDestinationConcurrencyLimit = lib.mkOption { 580 - type = lib.types.int; 581 - default = 3; 582 - description = "Concurrency limit for slow destinations."; 583 - }; 584 - }; 585 - 586 553 aliasMapType = lib.mkOption { 587 554 type = 588 555 with lib.types; ··· 1018 985 smtpd_tls_key_file = cfg.sslKey; 1019 986 1020 987 smtpd_tls_security_level = lib.mkDefault "may"; 1021 - } 1022 - // lib.optionalAttrs cfg.enableSlowDomains { 1023 - default_destination_rate_delay = cfg.slowDomainsConfig.defaultDestinationRateDelay; 1024 - default_destination_concurrency_limit = cfg.slowDomainsConfig.defaultDestinationConcurrencyLimit; 988 + 1025 989 }; 1026 990 1027 991 services.postfix.masterConfig = ··· 1113 1077 lib.concatLists (lib.mapAttrsToList mkKeyVal cfg.submissionOptions); 1114 1078 }; 1115 1079 } 1116 - // lib.optionalAttrs cfg.enableSlowDomains { 1117 - slow = { 1118 - command = "smtp"; 1119 - type = "unix"; 1120 - private = true; 1121 - maxproc = 2; 1122 - }; 1123 - } 1124 1080 // lib.optionalAttrs cfg.enableSmtp { 1125 1081 smtp_inet = { 1126 1082 name = "smtp"; ··· 1172 1128 (lib.mkIf haveCanonical { 1173 1129 services.postfix.mapFiles.canonical = canonicalFile; 1174 1130 }) 1175 - (lib.mkIf (haveTransport || (cfg.enableSlowDomains && cfg.slowDomains != [ ])) { 1131 + (lib.mkIf haveTransport { 1176 1132 services.postfix.mapFiles.transport = transportFile; 1177 1133 }) 1178 1134 (lib.mkIf haveVirtual {
+3
nixos/modules/services/networking/tailscale-auth.nix
··· 68 68 systemd.services.tailscale-nginx-auth = { 69 69 description = "Tailscale NGINX Authentication service"; 70 70 requires = [ "tailscale-nginx-auth.socket" ]; 71 + after = [ "tailscaled.service" ]; 71 72 72 73 serviceConfig = { 73 74 ExecStart = getExe cfg.package; ··· 107 108 "~@privileged" 108 109 "~@setuid" 109 110 ]; 111 + 112 + Restart = "on-failure"; 110 113 }; 111 114 }; 112 115 };
+22 -18
pkgs/applications/networking/znc/default.nix
··· 2 2 lib, 3 3 stdenv, 4 4 fetchurl, 5 - fetchpatch2, 5 + cmake, 6 6 openssl, 7 7 pkg-config, 8 8 withPerl ? false, ··· 21 21 withDebug ? false, 22 22 }: 23 23 24 - stdenv.mkDerivation rec { 24 + stdenv.mkDerivation (finalAttrs: { 25 25 pname = "znc"; 26 - version = "1.8.2"; 26 + version = "1.9.1"; 27 27 28 28 src = fetchurl { 29 - url = "https://znc.in/releases/archive/${pname}-${version}.tar.gz"; 30 - sha256 = "03fyi0j44zcanj1rsdx93hkdskwfvhbywjiwd17f9q1a7yp8l8zz"; 29 + url = "https://znc.in/releases/archive/znc-${finalAttrs.version}.tar.gz"; 30 + hash = "sha256-6KfPgOGarVELTigur2G1a8MN+I6i4PZPrc3TA8SJTzw="; 31 31 }; 32 32 33 - patches = [ 34 - (fetchpatch2 { 35 - name = "CVE-2024-39844.patch"; 36 - url = "https://github.com/znc/znc/commit/8cbf8d628174ddf23da680f3f117dc54da0eb06e.patch"; 37 - hash = "sha256-JeKirXReiCiNDUS9XodI0oHASg2mPDvQYtV6P4L0mHM="; 38 - }) 39 - ]; 33 + postPatch = '' 34 + substituteInPlace znc.pc.cmake.in \ 35 + --replace-fail 'bindir=''${exec_prefix}/@CMAKE_INSTALL_BINDIR@' "bindir=@CMAKE_INSTALL_FULL_BINDIR@" \ 36 + --replace-fail 'libdir=''${prefix}/@CMAKE_INSTALL_LIBDIR@' "libdir=@CMAKE_INSTALL_FULL_LIBDIR@" \ 37 + --replace-fail 'datadir=''${prefix}/@CMAKE_INSTALL_DATADIR@' "datadir=@CMAKE_INSTALL_FULL_DATADIR@" \ 38 + --replace-fail 'includedir=''${prefix}/@CMAKE_INSTALL_INCLUDEDIR@' "includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@" \ 39 + --replace-fail 'datarootdir=''${prefix}/@CMAKE_INSTALL_DATAROOTDIR@' "datarootdir=@CMAKE_INSTALL_FULL_DATAROOTDIR@" 40 + ''; 40 41 41 - nativeBuildInputs = [ pkg-config ]; 42 + nativeBuildInputs = [ 43 + cmake 44 + pkg-config 45 + ]; 42 46 43 47 buildInputs = 44 48 [ openssl ] ··· 62 66 63 67 enableParallelBuilding = true; 64 68 65 - meta = with lib; { 69 + meta = { 66 70 description = "Advanced IRC bouncer"; 67 71 homepage = "https://wiki.znc.in/ZNC"; 68 - maintainers = with maintainers; [ 72 + maintainers = with lib.maintainers; [ 69 73 schneefux 70 74 lnl7 71 75 ]; 72 - license = licenses.asl20; 73 - platforms = platforms.unix; 76 + license = lib.licenses.asl20; 77 + platforms = lib.platforms.unix; 74 78 }; 75 - } 79 + })
+75 -51
pkgs/applications/networking/znc/modules.nix
··· 3 3 stdenv, 4 4 fetchFromGitHub, 5 5 znc, 6 + cmake, 7 + pkg-config, 8 + python3, 9 + which, 6 10 }: 7 11 8 12 let ··· 11 15 pname, 12 16 src, 13 17 module_name, 14 - buildPhase ? "${znc}/bin/znc-buildmod ${module_name}.cpp", 15 - installPhase ? "install -D ${module_name}.so $out/lib/znc/${module_name}.so", 18 + buildPhase ? '' 19 + runHook preBuild 20 + 21 + ${znc}/bin/znc-buildmod ${module_name}.cpp 22 + 23 + runHook postBuild 24 + '', 25 + installPhase ? '' 26 + runHook preInstall 27 + 28 + install -D ${module_name}.so $out/lib/znc/${module_name}.so 29 + 30 + runHook postInstall 31 + '', 16 32 ... 17 33 }: 18 34 stdenv.mkDerivation ( 19 35 a 20 36 // { 21 - inherit buildPhase; 22 - inherit installPhase; 37 + inherit buildPhase installPhase; 38 + 39 + nativeBuildInputs = [ 40 + python3 41 + which 42 + cmake 43 + pkg-config 44 + ]; 45 + 46 + dontUseCmakeConfigure = true; 23 47 24 48 buildInputs = znc.buildInputs; 25 49 50 + passthru.module_name = module_name; 51 + 26 52 meta = a.meta // { 27 53 platforms = lib.platforms.unix; 28 54 }; 29 - passthru.module_name = module_name; 30 55 } 31 56 ); 32 57 ··· 35 60 36 61 backlog = zncDerivation { 37 62 pname = "znc-backlog"; 38 - version = "unstable-2017-06-13"; 63 + version = "0-unstable-2018-08-24"; 39 64 module_name = "backlog"; 40 65 41 66 src = fetchFromGitHub { 42 67 owner = "FruitieX"; 43 68 repo = "znc-backlog"; 44 - rev = "42e8f439808882d2dae60f2a161eabead14e4b0d"; 45 - sha256 = "1k7ifpqqzzf2j7w795q4mx1nvmics2higzjqr3mid3lp43sqg5s6"; 69 + rev = "44314a6aca0409ae59b0d841807261be1159fff4"; 70 + hash = "sha256-yhoMuwXul6zq4VPGn810PlFwiCUIvvV6wkQupE3svOQ="; 46 71 }; 47 72 48 - meta = with lib; { 73 + meta = { 49 74 description = "Request backlog for IRC channels"; 50 75 homepage = "https://github.com/fruitiex/znc-backlog/"; 51 - license = licenses.asl20; 76 + license = lib.licenses.asl20; 52 77 maintainers = [ ]; 53 78 }; 54 79 }; 55 80 56 - clientbuffer = zncDerivation rec { 81 + clientbuffer = zncDerivation { 57 82 pname = "znc-clientbuffer"; 58 - version = "unstable-2021-05-30"; 83 + version = "0-unstable-2021-05-30"; 59 84 module_name = "clientbuffer"; 60 85 61 86 src = fetchFromGitHub { 62 87 owner = "CyberShadow"; 63 88 repo = "znc-clientbuffer"; 64 89 rev = "9a7465b413b53408f5d7af86e84b1d08efb6bec0"; 65 - sha256 = "0a3f4j6s5j7p53y42zrgpqyl2zm0jxb69lp24j6mni3licigh254"; 90 + hash = "sha256-pAj4Iot0RFuNJOLSZFaXoH5BPb4vf0H8KPfIoo0kbig="; 66 91 }; 67 92 68 - meta = with lib; { 93 + meta = { 69 94 description = "ZNC module for client specific buffers"; 70 95 homepage = "https://github.com/CyberShadow/znc-clientbuffer"; 71 - license = licenses.asl20; 72 - maintainers = with maintainers; [ 96 + license = lib.licenses.asl20; 97 + maintainers = with lib.maintainers; [ 73 98 hrdinka 74 99 szlend 75 100 cybershadow ··· 77 102 }; 78 103 }; 79 104 80 - clientaway = zncDerivation rec { 105 + clientaway = zncDerivation { 81 106 pname = "znc-clientaway"; 82 - version = "unstable-2017-04-28"; 107 + version = "0-unstable-2017-04-28"; 83 108 module_name = "clientaway"; 84 109 85 110 src = fetchFromGitHub { 86 - owner = "kylef"; 111 + owner = "kylef-archive"; 87 112 repo = "znc-contrib"; 88 113 rev = "f6724a4a3b16b050088adde0cbeed74f189e5044"; 89 - sha256 = "0ikd3dzjjlr0gs0ikqfk50msm6mij99ln2rjzqavh58iwzr7n5r8"; 114 + hash = "sha256-KBd78ucRFbgV/jILS1OSsZqqKyjT4RmBfiBTKX8bbUY="; 90 115 }; 91 116 92 - meta = with lib; { 117 + meta = { 93 118 description = "ZNC clientaway module"; 94 - homepage = "https://github.com/kylef/znc-contrib"; 95 - license = licenses.gpl2; 119 + homepage = "https://github.com/kylef-archive/znc-contrib"; 120 + license = lib.licenses.gpl2; 96 121 maintainers = [ ]; 97 122 }; 98 123 }; 99 124 100 - fish = zncDerivation rec { 125 + fish = zncDerivation { 101 126 pname = "znc-fish"; 102 - version = "unstable-2017-06-26"; 127 + version = "0-unstable-2017-06-26"; 103 128 module_name = "fish"; 104 129 105 130 src = fetchFromGitHub { ··· 107 132 owner = "oilslump"; 108 133 repo = "znc-fish"; 109 134 rev = "7d91467dbb195f7b591567911210523c6087662e"; 110 - sha256 = "1ky5xg17k5f393whrv5iv8zsmdvdyk2f7z5qdsmxcwy3pdxy6vsm"; 135 + hash = "sha256-VW/je7vDc9arbrj848T0bbeqP9qx7Az5SMOVecLrxc8="; 111 136 }; 112 137 113 138 meta = { 114 139 description = "ZNC FiSH module"; 115 - homepage = "https://github.com/dctrwatson/znc-fish"; 140 + homepage = "https://github.com/oilslump/znc-fish"; 116 141 maintainers = [ lib.maintainers.offline ]; 117 142 }; 118 143 }; 119 144 120 - ignore = zncDerivation rec { 145 + ignore = zncDerivation { 121 146 pname = "znc-ignore"; 122 - version = "unstable-2017-04-28"; 147 + version = "0-unstable-2017-04-28"; 123 148 module_name = "ignore"; 124 149 125 150 src = fetchFromGitHub { 126 151 owner = "kylef"; 127 152 repo = "znc-contrib"; 128 153 rev = "f6724a4a3b16b050088adde0cbeed74f189e5044"; 129 - sha256 = "0ikd3dzjjlr0gs0ikqfk50msm6mij99ln2rjzqavh58iwzr7n5r8"; 154 + hash = "sha256-KBd78ucRFbgV/jILS1OSsZqqKyjT4RmBfiBTKX8bbUY="; 130 155 }; 131 156 132 - meta = with lib; { 157 + meta = { 133 158 description = "ZNC ignore module"; 134 159 homepage = "https://github.com/kylef/znc-contrib"; 135 - license = licenses.gpl2; 160 + license = lib.licenses.gpl2; 136 161 maintainers = [ ]; 137 162 }; 138 163 }; ··· 145 170 src = fetchFromGitHub { 146 171 owner = "cocodelabs"; 147 172 repo = "znc-palaver"; 148 - rev = version; 173 + tag = version; 149 174 hash = "sha256-8W3uF1PrLQiEZm7JaFrpqmJLSFioa4F4qlM1J6Zua8U="; 150 175 }; 151 176 152 - meta = with lib; { 177 + meta = { 153 178 description = "Palaver ZNC module"; 154 179 homepage = "https://github.com/cocodelabs/znc-palaver"; 155 - license = licenses.mit; 156 - maintainers = with maintainers; [ szlend ]; 180 + license = lib.licenses.mit; 181 + maintainers = with lib.maintainers; [ szlend ]; 157 182 }; 158 183 }; 159 184 160 - playback = zncDerivation rec { 185 + playback = zncDerivation { 161 186 pname = "znc-playback"; 162 - version = "unstable-2015-08-04"; 187 + version = "0-unstable-2020-05-10"; 163 188 module_name = "playback"; 164 189 165 190 src = fetchFromGitHub { 166 191 owner = "jpnurmi"; 167 192 repo = "znc-playback"; 168 - rev = "8691abf75becc1f3d7b5bb5ad68dad17cd21863b"; 169 - sha256 = "0mgfajljy035051b2sx70i8xrb51zw9q2z64kf85zw1lynihzyh4"; 193 + rev = "8dd128bfe2b24b2cc6a9ea2e2d28bfaa28d2a833"; 194 + hash = "sha256-/hmwhrWDYGzjfmTeCB4mk+FABAJNZvREnuxzvzl6uo4="; 170 195 }; 171 196 172 - meta = with lib; { 197 + meta = { 173 198 description = "Advanced playback module for ZNC"; 174 199 homepage = "https://github.com/jpnurmi/znc-playback"; 175 - license = licenses.asl20; 176 - maintainers = with maintainers; [ hrdinka ]; 200 + license = lib.licenses.asl20; 201 + maintainers = with lib.maintainers; [ hrdinka ]; 177 202 }; 178 203 }; 179 204 180 - privmsg = zncDerivation rec { 205 + privmsg = zncDerivation { 181 206 pname = "znc-privmsg"; 182 - version = "unstable-2015-02-22"; 207 + version = "0-unstable-2017-04-28"; 183 208 module_name = "privmsg"; 184 209 185 210 src = fetchFromGitHub { 186 211 owner = "kylef"; 187 212 repo = "znc-contrib"; 188 - rev = "9f1f98db56cbbea96d83e6628f657e0d62cd9517"; 189 - sha256 = "0n82z87gdxxragcaixjc80z8bw4bmfwbk0jrf9zs8kk42phlkkc2"; 213 + rev = "f6724a4a3b16b050088adde0cbeed74f189e5044"; 214 + hash = "sha256-KBd78ucRFbgV/jILS1OSsZqqKyjT4RmBfiBTKX8bbUY="; 190 215 }; 191 216 192 217 meta = { ··· 197 222 198 223 push = zncDerivation rec { 199 224 pname = "znc-push"; 200 - version = "unstable-2016-10-12"; 225 + version = "1.1.0"; 201 226 module_name = "push"; 202 227 203 228 src = fetchFromGitHub { 204 229 owner = "jreese"; 205 230 repo = "znc-push"; 206 - rev = "cf08b9e0f483f03c28d72dd78df932cbef141f10"; 207 - sha256 = "0xpwjw8csyrg736g1jc1n8d6804x6kbdkrvldzhk9ldj4iwqz7ay"; 231 + tag = "v${version}"; 232 + hash = "sha256-OS2nIU/DlESpJT82cWhb75TizSO7LQr74CMz09ulKyQ="; 208 233 }; 209 234 210 235 meta = { ··· 217 242 ]; 218 243 }; 219 244 }; 220 - 221 245 }
+3 -3
pkgs/by-name/at/atmos/package.nix
··· 7 7 8 8 buildGoModule (finalAttrs: { 9 9 pname = "atmos"; 10 - version = "1.176.0"; 10 + version = "1.178.0"; 11 11 12 12 src = fetchFromGitHub { 13 13 owner = "cloudposse"; 14 14 repo = "atmos"; 15 15 tag = "v${finalAttrs.version}"; 16 - hash = "sha256-dqCjbaGDIbJyi44OFz4Xuu5fy0jJp1URidO2EV6pD4U="; 16 + hash = "sha256-5rChYMwRtJt6jvgzJoU7OkgheJML2vgY/NhJsSE/KCI="; 17 17 }; 18 18 19 - vendorHash = "sha256-fk74wLJuRVtw/mOyI2GIyXcX/cC/VX6Bx1rDRFsz95M="; 19 + vendorHash = "sha256-0vHX4P33o6HMQ9k4Awd9+sDoLhbq/8YzrW7dkUeoR7Y="; 20 20 21 21 ldflags = [ 22 22 "-s"
+2 -4
pkgs/by-name/br/bruno/package.nix
··· 38 38 nativeBuildInputs = 39 39 [ 40 40 pkg-config 41 - jq 42 - moreutils 43 41 ] 44 42 ++ lib.optionals (!stdenv.hostPlatform.isDarwin) [ 45 43 makeWrapper ··· 73 71 --replace-fail "useTelemetry({ version });" "" 74 72 75 73 # fix version reported in sidebar and about page 76 - jq '.version |= "${version}"' packages/bruno-electron/package.json | sponge packages/bruno-electron/package.json 77 - jq '.version |= "${version}"' packages/bruno-app/package.json | sponge packages/bruno-app/package.json 74 + ${jq}/bin/jq '.version |= "${version}"' packages/bruno-electron/package.json | ${moreutils}/bin/sponge packages/bruno-electron/package.json 75 + ${jq}/bin/jq '.version |= "${version}"' packages/bruno-app/package.json | ${moreutils}/bin/sponge packages/bruno-app/package.json 78 76 ''; 79 77 80 78 postConfigure = ''
+2 -2
pkgs/by-name/fa/fantomas/package.nix
··· 2 2 3 3 buildDotnetGlobalTool { 4 4 pname = "fantomas"; 5 - version = "7.0.1"; 5 + version = "7.0.2"; 6 6 7 - nugetHash = "sha256-2aGD6Kjh83gmssRqqZ/Uihi7VbNqNUelX4otIfCuhTI="; 7 + nugetHash = "sha256-BAaENIm/ksTiXrUImRgKoIXTGIlgsX7ch6ayoFjhJXA="; 8 8 9 9 meta = with lib; { 10 10 description = "F# source code formatter";
+4 -4
pkgs/by-name/fi/firefly-iii/package.nix
··· 13 13 14 14 stdenvNoCC.mkDerivation (finalAttrs: { 15 15 pname = "firefly-iii"; 16 - version = "6.2.10"; 16 + version = "6.2.16"; 17 17 18 18 src = fetchFromGitHub { 19 19 owner = "firefly-iii"; 20 20 repo = "firefly-iii"; 21 21 tag = "v${finalAttrs.version}"; 22 - hash = "sha256-T3XXUhls4Oi/0PGuunMLk6Wvla18fvHHI78qKsweFTE="; 22 + hash = "sha256-SFl2uGHunF/IjhO5XoDCh1bJ5eIWRosv7HFDMXyknvI="; 23 23 }; 24 24 25 25 buildInputs = [ php84 ]; ··· 38 38 composerNoScripts = true; 39 39 composerStrictValidation = true; 40 40 strictDeps = true; 41 - vendorHash = "sha256-pYnBiuzuTPP+7KSHUOj9mt+TTzgH85KeavXUfMN1ctI="; 41 + vendorHash = "sha256-C7lsSon9y286DoAppteZ3fY0qaWVTe66nyFckyrnylk="; 42 42 }; 43 43 44 44 npmDeps = fetchNpmDeps { 45 45 inherit (finalAttrs) src; 46 46 name = "${finalAttrs.pname}-npm-deps"; 47 - hash = "sha256-BX8YYnewcnnOQa788DPSIID5Drqw7XhYGHcevPy0JrA="; 47 + hash = "sha256-qymMgMXjKll3awXFL/Lo8DloPyqAaxoS2Lw8HBaar9g="; 48 48 }; 49 49 50 50 preInstall = ''
+13
pkgs/by-name/gd/gdal/package.nix
··· 3 3 stdenv, 4 4 callPackage, 5 5 fetchFromGitHub, 6 + fetchpatch, 6 7 7 8 useMinimalFeatures ? false, 8 9 useArmadillo ? (!useMinimalFeatures), ··· 91 92 tag = "v${finalAttrs.version}"; 92 93 hash = "sha256-8HcbA9Cj2i6DuqcJGiwqd6GkqbJP9oLdmA34g7kc/ng="; 93 94 }; 95 + 96 + patches = [ 97 + # https://github.com/OSGeo/gdal/issues/12511 98 + (fetchpatch { 99 + url = "https://github.com/OSGeo/gdal/commit/1dd320b086606958fe970457a0640bdc4c4d494a.patch"; 100 + hash = "sha256-SXlNjgR4q7i3PrFfh/wzEFMrSGHQuB+ecXbGJgsROe0="; 101 + }) 102 + (fetchpatch { 103 + url = "https://github.com/OSGeo/gdal/commit/6da26aec591656f97fd882b07d37c21aabd06373.patch"; 104 + hash = "sha256-s70j/S9YKGRqxwrabsV3ePeGSsnDh/ouGLtLEm+z0lU="; 105 + }) 106 + ]; 94 107 95 108 nativeBuildInputs = 96 109 [
+3 -3
pkgs/by-name/go/goflow2/package.nix
··· 4 4 fetchFromGitHub, 5 5 }: 6 6 let 7 - version = "2.2.2"; 7 + version = "2.2.3"; 8 8 in 9 9 buildGoModule { 10 10 pname = "goflow2"; ··· 14 14 owner = "netsampler"; 15 15 repo = "goflow2"; 16 16 rev = "v${version}"; 17 - hash = "sha256-H+YeW1FOx4hE8ad8sEWFQPxl8IOZ+xIaiSk1a5w+0+Y="; 17 + hash = "sha256-nLsl3v4pvFa0d4AejjlUY9y92yKCU3jM5ui2Y+qZ3JY="; 18 18 }; 19 19 20 20 ldflags = [ ··· 23 23 "-X=main.version=${version}" 24 24 ]; 25 25 26 - vendorHash = "sha256-AR4jKNzHato9qz0fkHurGGfIyQC9BYsGQ/87y9mtJpE="; 26 + vendorHash = "sha256-E7gWeh8GVFQdxLSZhpl5wAaShooKkC9EJJsulGaoBtE="; 27 27 28 28 meta = { 29 29 description = "High performance sFlow/IPFIX/NetFlow Collector";
+1
pkgs/by-name/jo/joplin-desktop/package.nix
··· 64 64 install -Dm644 ${appimageContents}/joplin.desktop $out/share/applications/joplin.desktop 65 65 install -Dm644 ${appimageContents}/joplin.png $out/share/pixmaps/joplin.png 66 66 substituteInPlace $out/share/applications/joplin.desktop \ 67 + --replace-fail StartupWMClass=Joplin StartupWMClass=@joplin/app-desktop \ 67 68 --replace-fail 'Exec=AppRun' 'Exec=joplin-desktop' 68 69 ''; 69 70
+3 -3
pkgs/by-name/js/json-schema-catalog-rs/package.nix
··· 9 9 10 10 rustPlatform.buildRustPackage (finalAttrs: { 11 11 pname = "json-schema-catalog-rs"; 12 - version = "0.1.1"; 12 + version = "0.2.0"; 13 13 14 14 src = fetchFromGitHub { 15 15 owner = "roberth"; 16 16 repo = "json-schema-catalog-rs"; 17 17 tag = finalAttrs.version; 18 - hash = "sha256-BbEPpolv2aoKFlfZ6A+CmUlr5sySGIqRlv3rLgf1VkA="; 18 + hash = "sha256-AEtE57WYmuTaU1hQUw2NyA+hj9odIktZVQ+mDE2+Sdc="; 19 19 }; 20 20 21 - cargoHash = "sha256-YI2LN2DBzC1B5wCZOrGAZi/hkKHoAm6xLkdJ+8DDFo8="; 21 + cargoHash = "sha256-fW2sODIFRXcDfzPnmYW0sH/dLe8sbRjQLtLWDlAJPxQ="; 22 22 23 23 doInstallCheck = true; 24 24 nativeInstallCheckInputs = [ versionCheckHook ];
+10 -6
pkgs/by-name/mi/miniupnpc/package.nix
··· 7 7 nixosTests, 8 8 }: 9 9 10 - stdenv.mkDerivation rec { 10 + stdenv.mkDerivation (finalAttrs: { 11 11 pname = "miniupnpc"; 12 - version = "2.3.2"; 12 + version = "2.3.3"; 13 13 14 14 src = fetchFromGitHub { 15 15 owner = "miniupnp"; 16 16 repo = "miniupnp"; 17 - tag = "miniupnpc_${lib.replaceStrings [ "." ] [ "_" ] version}"; 18 - hash = "sha256-Fjd4JPk6Uc7cPPQu9NiBv82XArd11TW+7sTL3wC9/+s="; 17 + tag = "miniupnpc_${lib.replaceStrings [ "." ] [ "_" ] finalAttrs.version}"; 18 + hash = "sha256-8EWchUppW4H2kEUCGBXIk1meARJj2usKKO5gFYPoW3s="; 19 19 }; 20 20 21 - sourceRoot = "${src.name}/miniupnpc"; 21 + sourceRoot = "${finalAttrs.src.name}/miniupnpc"; 22 22 23 23 nativeBuildInputs = [ cmake ]; 24 24 ··· 39 39 mv $out/bin/upnpc-* $out/bin/upnpc 40 40 mv $out/bin/upnp-listdevices-* $out/bin/upnp-listdevices 41 41 mv $out/bin/external-ip.sh $out/bin/external-ip 42 + chmod +x $out/bin/external-ip 43 + patchShebangs $out/bin/external-ip 44 + substituteInPlace $out/bin/external-ip \ 45 + --replace-fail "upnpc" $out/bin/upnpc 42 46 ''; 43 47 44 48 __darwinAllowLocalNetworking = true; ··· 54 58 license = lib.licenses.bsd3; 55 59 mainProgram = "upnpc"; 56 60 }; 57 - } 61 + })
+3 -3
pkgs/by-name/mi/mise/package.nix
··· 21 21 22 22 rustPlatform.buildRustPackage rec { 23 23 pname = "mise"; 24 - version = "2025.5.10"; 24 + version = "2025.6.0"; 25 25 26 26 src = fetchFromGitHub { 27 27 owner = "jdx"; 28 28 repo = "mise"; 29 29 rev = "v${version}"; 30 - hash = "sha256-G6bvWSjFhZRVkIZKUG+v7Ct1AtiLCQYmu5WLsVxfVgA="; 30 + hash = "sha256-vlzId9SjxcSQ6DDw0H68zi7xHd2Nn3bPSG+rsR7UEBs="; 31 31 }; 32 32 33 33 useFetchCargoVendor = true; 34 - cargoHash = "sha256-OVXcmlIrb+Q7B/FAayfrC/e4WdnWUgvjLn6hPDo8Ru4="; 34 + cargoHash = "sha256-YVeF+2qJuOMhNQLEpH3P0ufqHU0sBFRHN5yXZGTJEQA="; 35 35 36 36 nativeBuildInputs = [ 37 37 installShellFiles
+3 -3
pkgs/by-name/ro/roddhjav-apparmor-rules/package.nix
··· 7 7 8 8 stdenvNoCC.mkDerivation { 9 9 pname = "roddhjav-apparmor-rules"; 10 - version = "0-unstable-2025-05-20"; 10 + version = "0-unstable-2025-05-27"; 11 11 12 12 src = fetchFromGitHub { 13 13 owner = "roddhjav"; 14 14 repo = "apparmor.d"; 15 - rev = "707a5e8beec085376c6bc772352289ace86633d9"; 16 - hash = "sha256-tSn+Yymhx8rxbr81aVgoU83FESCfK4Sq01KfO88kzJQ="; 15 + rev = "bf22a7786c39d3b56b87095bfd4479769b88ec1a"; 16 + hash = "sha256-J8h9LcZRxhTaZg7OU2m75upSoeD1i/abSCJQtX1WRsQ="; 17 17 }; 18 18 19 19 dontConfigure = true;
+2 -2
pkgs/by-name/sp/spedread/package.nix
··· 17 17 18 18 stdenv.mkDerivation (finalAttrs: { 19 19 pname = "spedread"; 20 - version = "2.4.7-fixed"; 20 + version = "2.5.1"; 21 21 22 22 src = fetchFromGitHub { 23 23 owner = "Darazaki"; 24 24 repo = "Spedread"; 25 25 tag = "v${finalAttrs.version}"; 26 - hash = "sha256-wbSayADL2J+GEJWreiyTWtgXjdXC1bloRq1iHRS0VFc="; 26 + hash = "sha256-0VQdiosYd4HBFM1A9jvtQulvgiRwMoClXAVwLhGh6xU="; 27 27 }; 28 28 29 29 postPatch = ''
-3
pkgs/by-name/vi/viddy/package.nix
··· 18 18 useFetchCargoVendor = true; 19 19 cargoHash = "sha256-Bp3t/fjaFeouIoKlRvQPVDlc46Ggitfx6HUXE+RZN0A="; 20 20 21 - # requires nightly features 22 - env.RUSTC_BOOTSTRAP = 1; 23 - 24 21 env.VERGEN_BUILD_DATE = "2024-11-28"; # managed via the update script 25 22 env.VERGEN_GIT_DESCRIBE = "Nixpkgs"; 26 23
+3 -3
pkgs/by-name/wi/wizer/package.nix
··· 8 8 9 9 rustPlatform.buildRustPackage rec { 10 10 pname = "wizer"; 11 - version = "8.0.0"; 11 + version = "9.0.0"; 12 12 13 13 # the crate does not contain files which are necessary for the tests 14 14 # see https://github.com/bytecodealliance/wizer/commit/3a95e27ce42f1fdaef07b52988e4699eaa221e04 ··· 16 16 owner = "bytecodealliance"; 17 17 repo = "wizer"; 18 18 tag = "v${version}"; 19 - hash = "sha256-NaYHrjm5CGPWT5Pa1EdXS9fswj5NDWQye2pBQk+PKuk="; 19 + hash = "sha256-q7v5LH3dp7qtgQJ3Ovt0fPP5r82cHghX6925TLfmn3o="; 20 20 }; 21 21 22 22 useFetchCargoVendor = true; 23 - cargoHash = "sha256-OI7/PLP0Au7FrQ9KUTBTSE9r8kJBA3gbcHe060KALHw="; 23 + cargoHash = "sha256-5P8rkwKAVPEJnpk6M7lH6hBOPV1q4+aIghJBbjas4fE="; 24 24 25 25 cargoBuildFlags = [ 26 26 "--bin"
+2 -2
pkgs/by-name/ya/yanic/package.nix
··· 7 7 8 8 buildGoModule rec { 9 9 pname = "yanic"; 10 - version = "1.7.1"; 10 + version = "1.7.2"; 11 11 12 12 src = fetchFromGitHub { 13 13 owner = "FreifunkBremen"; 14 14 repo = "yanic"; 15 15 rev = "v${version}"; 16 - hash = "sha256-uqmojpwGFs6inhmKIztYlGFvUS8AjQIYTHSkZcGyEUo="; 16 + hash = "sha256-tKFveknZitkVFaLTZzT01SJZq1IPQfXQa7UJewjXjwU="; 17 17 }; 18 18 19 19 vendorHash = "sha256-UYrQwOyWlKxDH5hHKAZCxQbO+eA6JsPuG0SbkWMF/HQ=";
+8 -2
pkgs/by-name/za/zam-plugins/package.nix
··· 18 18 19 19 stdenv.mkDerivation rec { 20 20 pname = "zam-plugins"; 21 - version = "4.3"; 21 + version = "4.4"; 22 22 23 23 src = fetchFromGitHub { 24 24 owner = "zamaudio"; 25 25 repo = "zam-plugins"; 26 26 rev = version; 27 - hash = "sha256-wT1BXQrcD+TI+trqx0ZVUmVLZMTDQgJI3dAvN54wy6Y="; 27 + hash = "sha256-pjnhDavKnyQjPF4nUO+j1J+Qtw8yIYMY9A5zBMb4zFU="; 28 28 fetchSubmodules = true; 29 29 }; 30 30 ··· 45 45 46 46 postPatch = '' 47 47 patchShebangs ./dpf/utils/generate-ttl.sh 48 + for f in plugins/*/Makefile; do 49 + substituteInPlace "$f" \ 50 + --replace-quiet 'pkg-config' '${stdenv.cc.targetPrefix}pkg-config' 51 + done 48 52 ''; 49 53 50 54 makeFlags = [ ··· 59 63 license = licenses.gpl2Plus; 60 64 maintainers = [ maintainers.magnetophon ]; 61 65 platforms = platforms.linux; 66 + # tries to run dpf/utils/lv2_ttl_generator (built for host) 67 + broken = !stdenv.buildPlatform.canExecute stdenv.hostPlatform; 62 68 }; 63 69 }
+13 -14
pkgs/by-name/zl/zlint/package.nix
··· 6 6 zlint, 7 7 }: 8 8 9 - buildGoModule rec { 9 + buildGoModule (finalAttrs: { 10 10 pname = "zlint"; 11 - version = "3.6.4"; 11 + version = "3.6.6"; 12 12 13 13 src = fetchFromGitHub { 14 14 owner = "zmap"; 15 15 repo = "zlint"; 16 - tag = "v${version}"; 17 - hash = "sha256-FFgBRuNvm4Cnjls9y+L256vMGGNu10x7Vh+V9HBon70="; 16 + tag = "v${finalAttrs.version}"; 17 + hash = "sha256-e17cMR2Zlhramv7RG3oriWTDR+UBjXUl+t8lZtqc34Q="; 18 18 }; 19 19 20 20 modRoot = "v3"; 21 21 22 - vendorHash = "sha256-RX7B9RyNmEO9grMR9Mqn1jXDH5sgT0QDvdhXgY1HYtQ="; 22 + vendorHash = "sha256-AdJxcJ/qjY6lzoK4PGNjR+7lYAypgCOk6Nt5sqP+ayA="; 23 23 24 24 postPatch = '' 25 25 # Remove a package which is not declared in go.mod. 26 26 rm -rf v3/cmd/genTestCerts 27 + rm -rf v3/cmd/gen_test_crl 27 28 ''; 28 29 29 - excludedPackages = [ 30 - "lints" 31 - ]; 30 + excludedPackages = [ "lints" ]; 32 31 33 32 ldflags = [ 34 33 "-s" 35 34 "-w" 36 - "-X=main.version=${version}" 35 + "-X=main.version=${finalAttrs.version}" 37 36 ]; 38 37 39 38 passthru.tests.version = testers.testVersion { ··· 41 40 command = "zlint -version"; 42 41 }; 43 42 44 - meta = with lib; { 43 + meta = { 45 44 description = "X.509 Certificate Linter focused on Web PKI standards and requirements"; 46 45 longDescription = '' 47 46 ZLint is a X.509 certificate linter written in Go that checks for ··· 49 48 requirements (e.g. CA/Browser Forum Baseline Requirements). 50 49 ''; 51 50 homepage = "https://github.com/zmap/zlint"; 52 - changelog = "https://github.com/zmap/zlint/releases/tag/v${version}"; 53 - license = licenses.asl20; 54 - maintainers = with maintainers; [ baloo ]; 51 + changelog = "https://github.com/zmap/zlint/releases/tag/v${finalAttrs.version}"; 52 + license = lib.licenses.asl20; 53 + maintainers = with lib.maintainers; [ baloo ]; 55 54 }; 56 - } 55 + })
+19 -14
pkgs/by-name/zu/zug/package.nix
··· 5 5 fetchpatch, 6 6 cmake, 7 7 boost, 8 + catch2, 8 9 }: 9 10 10 - stdenv.mkDerivation rec { 11 + stdenv.mkDerivation (finalAttrs: { 11 12 pname = "zug"; 12 - version = "0.1.0"; 13 + version = "0.1.1"; 14 + 13 15 src = fetchFromGitHub { 14 16 owner = "arximboldi"; 15 17 repo = "zug"; 16 - rev = "v${version}"; 17 - hash = "sha256-7xTMDhPIx1I1PiYNanGUsK8pdrWuemMWM7BW+NQs2BQ="; 18 + tag = "v${finalAttrs.version}"; 19 + hash = "sha256-Ti0EurhGQgWSXzSOlH9/Zsp6kQ/+qGjWbfHGTPpfehs="; 18 20 }; 21 + 19 22 patches = [ 20 23 (fetchpatch { 21 24 url = "https://github.com/arximboldi/zug/commit/c8c74ada30d931e40636c13763b892f20d3ce1ae.patch"; 22 25 hash = "sha256-0x+ScRnziBeyHWYJowcVb2zahkcK2qKrMVVk2twhtHA="; 23 26 }) 24 27 ]; 25 - nativeBuildInputs = [ 26 - cmake 27 - ]; 28 + 29 + nativeBuildInputs = [ cmake ]; 30 + 28 31 buildInputs = [ 29 32 boost 30 - ]; 31 - cmakeFlags = [ 32 - "-Dzug_BUILD_EXAMPLES=OFF" 33 + catch2 33 34 ]; 35 + 36 + cmakeFlags = [ "-Dzug_BUILD_EXAMPLES=OFF" ]; 37 + 34 38 preConfigure = '' 35 39 rm BUILD 36 40 ''; 37 - meta = with lib; { 41 + 42 + meta = { 38 43 homepage = "https://github.com/arximboldi/zug"; 39 44 description = "library for functional interactive c++ programs"; 40 - maintainers = with maintainers; [ nek0 ]; 41 - license = licenses.boost; 45 + maintainers = with lib.maintainers; [ nek0 ]; 46 + license = lib.licenses.boost; 42 47 }; 43 - } 48 + })
+16 -16
pkgs/by-name/zx/zx/package.nix
··· 1 1 { 2 2 lib, 3 3 buildNpmPackage, 4 + buildGoModule, 4 5 fetchFromGitHub, 5 - nix-update-script, 6 + esbuild, 6 7 versionCheckHook, 7 - 8 - esbuild, 9 - buildGoModule, 8 + nix-update-script, 10 9 }: 11 10 12 11 let ··· 16 15 buildGoModule ( 17 16 args 18 17 // rec { 19 - version = "0.25.0"; 18 + version = "0.25.3"; 20 19 src = fetchFromGitHub { 21 20 owner = "evanw"; 22 21 repo = "esbuild"; 23 - rev = "v${version}"; 24 - hash = "sha256-L9jm94Epb22hYsU3hoq1lZXb5aFVD4FC4x2qNt0DljA="; 22 + tag = "v${version}"; 23 + hash = "sha256-YYwvz6TCLAtVHsmXLGC+L/CQVAy5qSFU6JS1o5O5Zkg="; 25 24 }; 26 25 vendorHash = "sha256-+BfxCyg0KkDQpHt/wycy/8CTG6YBA/VJvJFhhzUnSiQ="; 27 26 } 28 27 ); 29 28 }; 30 29 in 31 - buildNpmPackage rec { 30 + buildNpmPackage (finalAttrs: { 32 31 pname = "zx"; 33 - version = "8.4.1"; 32 + version = "8.5.4"; 34 33 35 34 src = fetchFromGitHub { 36 35 owner = "google"; 37 36 repo = "zx"; 38 - rev = version; 39 - hash = "sha256-jajkHUz+3ujKXbcsfN7y3pwHqAofTgdQHEC29srzs1M="; 37 + tag = finalAttrs.version; 38 + hash = "sha256-328I8SgBIeTCNFH3Ahm9Zb1OCxwGuhWE/iWmDHElbsA="; 40 39 }; 41 40 42 - npmDepsHash = "sha256-OZuJ5akf6l+aVfoPNfYjWDLt1kUgZJv0qMpK/uiRl2Y="; 41 + npmDepsHash = "sha256-R0pCoITmLQBj0T1iIXXN4clpEKDn9wkG5Ke0AedgnlQ="; 43 42 44 - nativeInstallCheckInputs = [ versionCheckHook ]; 43 + env.ESBUILD_BINARY_PATH = lib.getExe esbuild'; 44 + 45 45 doInstallCheck = true; 46 46 47 - ESBUILD_BINARY_PATH = lib.getExe esbuild'; 47 + nativeInstallCheckInputs = [ versionCheckHook ]; 48 48 49 49 passthru.updateScript = nix-update-script { }; 50 50 51 51 meta = { 52 52 description = "Tool for writing scripts using JavaScript"; 53 53 homepage = "https://github.com/google/zx"; 54 - changelog = "https://github.com/google/zx/releases/tag/${version}"; 54 + changelog = "https://github.com/google/zx/releases/tag/${finalAttrs.version}"; 55 55 license = lib.licenses.asl20; 56 56 maintainers = with lib.maintainers; [ jlbribeiro ]; 57 57 mainProgram = "zx"; 58 58 }; 59 - } 59 + })
+26 -10
pkgs/by-name/zx/zxing/package.nix
··· 4 4 fetchurl, 5 5 jre, 6 6 }: 7 - stdenv.mkDerivation rec { 8 - pname = "zxing"; 9 - version = "3.1.0"; 7 + 8 + let 9 + version = "3.5.3"; 10 + 10 11 # Maven builds are hard to get right 11 12 core_jar = fetchurl { 12 - url = "http://repo1.maven.org/maven2/com/google/zxing/core/${version}/core-${version}.jar"; 13 - sha256 = "199l4xvlcpafqn69r3k9qjpqkw9lvkl02hzpm0ackvdhl7vk42zh"; 13 + url = "https://repo1.maven.org/maven2/com/google/zxing/core/${version}/core-${version}.jar"; 14 + hash = "sha256-jYBkwWNv2u9xid2QVcfVmVColAoS8ik5VkRuw8EJ/YI="; 14 15 }; 16 + 15 17 javase_jar = fetchurl { 16 - url = "http://repo1.maven.org/maven2/com/google/zxing/javase/${version}/javase-${version}.jar"; 17 - sha256 = "0fzxvvf5dqyrs5m9rqw4ffm9h1s27bi7q3jb1dam34s80q2rp2zq"; 18 + url = "https://repo1.maven.org/maven2/com/google/zxing/javase/${version}/javase-${version}.jar"; 19 + hash = "sha256-1leVt4nvrIohVssqS2SNIOWL/gNhMWW7Xc5ocOzveY4="; 18 20 }; 19 - inherit jre; 21 + in 22 + stdenv.mkDerivation (finalAttrs: { 23 + pname = "zxing"; 24 + inherit version jre; 25 + 20 26 dontUnpack = true; 27 + 21 28 installPhase = '' 29 + runHook preInstall 30 + 22 31 mkdir -p "$out/lib/java" "$out/bin" 23 32 cp "${core_jar}" "${javase_jar}" "$out/lib/java" 24 33 substituteAll "${./java-zxing.sh}" "$out/bin/java-zxing" ··· 26 35 substituteAll "${./zxing-cmdline-encoder.sh}" "$out/bin/zxing-cmdline-encoder" 27 36 substituteAll "${./zxing.sh}" "$out/bin/zxing" 28 37 chmod a+x "$out/bin"/* 29 - cd "$out/lib/java"; for i in *.jar; do mv "$i" "''${i#*-}"; done 38 + pushd "$out/lib/java" 39 + for i in *.jar; do 40 + mv "$i" "''${i#*-}" 41 + done 42 + popd 43 + 44 + runHook postInstall 30 45 ''; 46 + 31 47 meta = { 32 48 description = "1D and 2D code reading library"; 33 49 sourceProvenance = with lib.sourceTypes; [ binaryBytecode ]; ··· 36 52 platforms = lib.platforms.linux; 37 53 homepage = "https://github.com/zxing/zxing"; 38 54 }; 39 - } 55 + })
-154
pkgs/desktops/lomiri/services/lomiri-download-manager/1001-treewide-Switch-to-glog-CMake-module.patch
··· 1 - From a487908c22fe0a37669bbe5a8bdcd945b05b2f33 Mon Sep 17 00:00:00 2001 2 - From: OPNA2608 <opna2608@protonmail.com> 3 - Date: Mon, 20 Jan 2025 19:06:54 +0100 4 - Subject: [PATCH] treewide: Switch to glog CMake module 5 - 6 - --- 7 - CMakeLists.txt | 2 +- 8 - src/common/priv/CMakeLists.txt | 2 +- 9 - src/common/public/CMakeLists.txt | 2 +- 10 - src/downloads/daemon/CMakeLists.txt | 2 +- 11 - src/downloads/priv/CMakeLists.txt | 2 +- 12 - src/downloads/qml/CMakeLists.txt | 2 +- 13 - src/downloads/test-daemon/CMakeLists.txt | 2 +- 14 - src/extractor/CMakeLists.txt | 2 +- 15 - src/uploads/daemon/CMakeLists.txt | 2 +- 16 - src/uploads/priv/CMakeLists.txt | 2 +- 17 - 10 files changed, 10 insertions(+), 10 deletions(-) 18 - 19 - diff --git a/CMakeLists.txt b/CMakeLists.txt 20 - index 8c4750a2..e44d09ad 100644 21 - --- a/CMakeLists.txt 22 - +++ b/CMakeLists.txt 23 - @@ -50,10 +50,10 @@ set(CMAKE_AUTOMOC ON) 24 - 25 - find_package(Qt5 COMPONENTS Core DBus Network Sql Test REQUIRED) 26 - find_package(Boost COMPONENTS log program_options REQUIRED) 27 - +find_package(glog REQUIRED) 28 - 29 - find_package(PkgConfig REQUIRED) 30 - pkg_check_modules(DBUS REQUIRED dbus-1) 31 - -pkg_check_modules(GLOG REQUIRED libglog) 32 - pkg_check_modules(LOMIRI_API REQUIRED liblomiri-api) 33 - 34 - if(USE_SYSTEMD) 35 - diff --git a/src/common/priv/CMakeLists.txt b/src/common/priv/CMakeLists.txt 36 - index e7723f3d..105ec5d2 100644 37 - --- a/src/common/priv/CMakeLists.txt 38 - +++ b/src/common/priv/CMakeLists.txt 39 - @@ -75,7 +75,7 @@ set_target_properties( 40 - 41 - target_link_libraries(${TARGET} 42 - ${LOMIRI_API_LDFLAGS} 43 - - ${GLOG_LIBRARIES} 44 - + glog::glog 45 - Qt5::Network 46 - Qt5::Sql 47 - Qt5::Core 48 - diff --git a/src/common/public/CMakeLists.txt b/src/common/public/CMakeLists.txt 49 - index 4b1e8660..eeeeab13 100644 50 - --- a/src/common/public/CMakeLists.txt 51 - +++ b/src/common/public/CMakeLists.txt 52 - @@ -50,7 +50,7 @@ set_target_properties( 53 - ) 54 - 55 - target_link_libraries(${TARGET} 56 - - ${GLOG_LIBRARIES} 57 - + glog::glog 58 - Qt5::DBus 59 - Qt5::Network 60 - ) 61 - diff --git a/src/downloads/daemon/CMakeLists.txt b/src/downloads/daemon/CMakeLists.txt 62 - index cdc9f83b..24e2334c 100644 63 - --- a/src/downloads/daemon/CMakeLists.txt 64 - +++ b/src/downloads/daemon/CMakeLists.txt 65 - @@ -16,7 +16,7 @@ add_executable(${TARGET} 66 - ) 67 - 68 - target_link_libraries(${TARGET} 69 - - ${GLOG_LIBRARIES} 70 - + glog::glog 71 - Qt5::Core 72 - ldm-common 73 - ldm-priv-common 74 - diff --git a/src/downloads/priv/CMakeLists.txt b/src/downloads/priv/CMakeLists.txt 75 - index 9eaf3092..c453a7a1 100644 76 - --- a/src/downloads/priv/CMakeLists.txt 77 - +++ b/src/downloads/priv/CMakeLists.txt 78 - @@ -65,7 +65,7 @@ set_target_properties( 79 - ) 80 - 81 - target_link_libraries(${TARGET} 82 - - ${GLOG_LIBRARIES} 83 - + glog::glog 84 - Qt5::DBus 85 - Qt5::Sql 86 - ldm-common 87 - diff --git a/src/downloads/qml/CMakeLists.txt b/src/downloads/qml/CMakeLists.txt 88 - index 7e2d9285..49d68f1c 100644 89 - --- a/src/downloads/qml/CMakeLists.txt 90 - +++ b/src/downloads/qml/CMakeLists.txt 91 - @@ -34,7 +34,7 @@ find_package(Qt5 COMPONENTS Core Qml Quick REQUIRED) 92 - target_link_libraries(${TARGET} Qt5::Core Qt5::Qml Qt5::Quick) 93 - 94 - target_link_libraries(${TARGET} 95 - - ${GLOG_LIBRARIES} 96 - + glog::glog 97 - ldm-common 98 - lomiri-download-manager-common 99 - lomiri-download-manager-client 100 - diff --git a/src/downloads/test-daemon/CMakeLists.txt b/src/downloads/test-daemon/CMakeLists.txt 101 - index d12207a1..6734e65d 100644 102 - --- a/src/downloads/test-daemon/CMakeLists.txt 103 - +++ b/src/downloads/test-daemon/CMakeLists.txt 104 - @@ -30,7 +30,7 @@ add_executable(${TARGET} 105 - ) 106 - 107 - target_link_libraries(${TARGET} 108 - - ${GLOG_LIBRARIES} 109 - + glog::glog 110 - Qt5::Core 111 - Qt5::DBus 112 - Qt5::Network 113 - diff --git a/src/extractor/CMakeLists.txt b/src/extractor/CMakeLists.txt 114 - index 8c40b9b5..3615d5c7 100644 115 - --- a/src/extractor/CMakeLists.txt 116 - +++ b/src/extractor/CMakeLists.txt 117 - @@ -23,7 +23,7 @@ add_executable(${TARGET} 118 - ) 119 - 120 - target_link_libraries(${TARGET} 121 - - ${GLOG_LIBRARIES} 122 - + glog::glog 123 - Qt5::Core 124 - ${Boost_LIBRARIES} 125 - ldm-priv-common 126 - diff --git a/src/uploads/daemon/CMakeLists.txt b/src/uploads/daemon/CMakeLists.txt 127 - index 157c6fd6..3692d3c9 100644 128 - --- a/src/uploads/daemon/CMakeLists.txt 129 - +++ b/src/uploads/daemon/CMakeLists.txt 130 - @@ -16,7 +16,7 @@ add_executable(${TARGET} 131 - ) 132 - 133 - target_link_libraries(${TARGET} 134 - - ${GLOG_LIBRARIES} 135 - + glog::glog 136 - Qt5::Core 137 - ldm-common 138 - ldm-priv-common 139 - diff --git a/src/uploads/priv/CMakeLists.txt b/src/uploads/priv/CMakeLists.txt 140 - index dff67e35..672e49ef 100644 141 - --- a/src/uploads/priv/CMakeLists.txt 142 - +++ b/src/uploads/priv/CMakeLists.txt 143 - @@ -47,7 +47,7 @@ set_target_properties( 144 - ) 145 - 146 - target_link_libraries(${TARGET} 147 - - ${GLOG_LIBRARIES} 148 - + glog::glog 149 - Qt5::DBus 150 - Qt5::Sql 151 - ldm-common 152 - -- 153 - 2.47.1 154 -
+18 -23
pkgs/desktops/lomiri/services/lomiri-download-manager/default.nix
··· 15 15 glog, 16 16 graphviz, 17 17 gtest, 18 + libapparmor, 18 19 lomiri-api, 19 20 pkg-config, 20 21 python3, ··· 28 29 29 30 stdenv.mkDerivation (finalAttrs: { 30 31 pname = "lomiri-download-manager"; 31 - version = "0.1.3"; 32 + version = "0.2.1"; 32 33 33 34 src = fetchFromGitLab { 34 35 owner = "ubports"; 35 36 repo = "development/core/lomiri-download-manager"; 36 - rev = finalAttrs.version; 37 - hash = "sha256-LhhO/zZ4wNiRd235NB2b08SQcCZt1awN/flcsLs2m8U="; 37 + tag = finalAttrs.version; 38 + hash = "sha256-dVyel4NL5LFORNTQzOyeTFkt9Wn23+4uwHsKcj+/0rk="; 38 39 }; 39 40 40 41 outputs = [ ··· 43 44 ] ++ lib.optionals withDocumentation [ "doc" ]; 44 45 45 46 patches = [ 46 - # This change seems incomplete, potentially breaks things on systems that don't use AppArmor mediation 47 - # https://gitlab.com/ubports/development/core/lomiri-download-manager/-/merge_requests/24#note_1746801673 47 + # Remove when version > 0.2.1 48 48 (fetchpatch { 49 - name = "0001-lomiri-download-manager-Revert-Drop-GetConnectionAppArmorSecurityContext.patch"; 50 - url = "https://gitlab.com/ubports/development/core/lomiri-download-manager/-/commit/2367f3dff852b69457b1a65a487cb032c210569f.patch"; 51 - revert = true; 52 - hash = "sha256-xS0Wz6d+bZWj/kDGK2WhOduzyP4Rgz3n9n2XY1Zu5hE="; 49 + name = "0001-lomiri-download-manager-treewide-Make-pkg-config-includedir-values-reasonable.patch"; 50 + url = "https://gitlab.com/ubports/development/core/lomiri-download-manager/-/commit/230aa1965917f90d235f55477a257eca1f5eaf46.patch"; 51 + hash = "sha256-Kdmu4U98Yc213pHS0o4DjpG8T5p50Q5hijRgdvscA/c="; 53 52 }) 54 - 55 - # Fix compatibility with glog 0.7.x 56 - # Remove when https://gitlab.com/ubports/development/core/lomiri-download-manager/-/merge_requests/29 merged & in release (vendored patch was manually backported) 57 - ./1001-treewide-Switch-to-glog-CMake-module.patch 58 53 ]; 59 54 60 55 postPatch = '' 61 56 # Substitute systemd's prefix in pkg-config call 62 57 substituteInPlace CMakeLists.txt \ 63 58 --replace-fail 'pkg_get_variable(SYSTEMD_USER_DIR systemd systemduserunitdir)' 'pkg_get_variable(SYSTEMD_USER_DIR systemd systemduserunitdir DEFINE_VARIABLES prefix=''${CMAKE_INSTALL_PREFIX})' \ 64 - --replace-fail "\''${CMAKE_INSTALL_LIBDIR}/qt5/qml" "\''${CMAKE_INSTALL_PREFIX}/${qtbase.qtQmlPrefix}" 59 + --replace-fail "\''${CMAKE_INSTALL_FULL_LIBDIR}/qt\''${QT_VERSION_MAJOR}/qml" "\''${CMAKE_INSTALL_PREFIX}/${qtbase.qtQmlPrefix}" 65 60 66 - # For our automatic pkg-config output patcher to work, prefix must be used here 67 - substituteInPlace src/{common/public,downloads/client,downloads/common,uploads/common}/*.pc.in \ 68 - --replace-fail 'libdir=''${exec_prefix}' 'libdir=''${prefix}' 69 - substituteInPlace src/downloads/client/lomiri-download-manager-client.pc.in \ 70 - --replace-fail 'includedir=''${exec_prefix}' 'includedir=''${prefix}' 61 + # Upstream code is to work around a bug, but it only seems to cause config issues for us 62 + substituteInPlace tests/common/CMakeLists.txt \ 63 + --replace-fail 'add_dependencies(''${TARGET} GMock)' '# add_dependencies(''${TARGET} GMock)' 71 64 ''; 72 65 73 66 strictDeps = true; ··· 89 82 boost 90 83 cmake-extras 91 84 glog 85 + libapparmor 92 86 lomiri-api 93 87 qtbase 94 88 qtdeclarative ··· 104 98 checkInputs = [ gtest ]; 105 99 106 100 cmakeFlags = [ 101 + (lib.cmakeBool "ENABLE_QT6" (lib.strings.versionAtLeast qtbase.version "6")) 107 102 (lib.cmakeBool "ENABLE_DOC" withDocumentation) 108 - # Deprecation warnings on Qt 5.15 109 - # https://gitlab.com/ubports/development/core/lomiri-download-manager/-/issues/1 110 - (lib.cmakeBool "ENABLE_WERROR" false) 103 + (lib.cmakeBool "ENABLE_WERROR" true) 111 104 ]; 112 105 113 106 makeTargets = [ "all" ] ++ lib.optionals withDocumentation [ "doc" ]; ··· 130 123 meta = { 131 124 description = "Performs uploads and downloads from a centralized location"; 132 125 homepage = "https://gitlab.com/ubports/development/core/lomiri-download-manager"; 133 - changelog = "https://gitlab.com/ubports/development/core/lomiri-download-manager/-/blob/${finalAttrs.version}/ChangeLog"; 126 + changelog = "https://gitlab.com/ubports/development/core/lomiri-download-manager/-/blob/${ 127 + if (!builtins.isNull finalAttrs.src.tag) then finalAttrs.src.tag else finalAttrs.src.rev 128 + }/ChangeLog"; 134 129 license = lib.licenses.lgpl3Only; 135 130 teams = [ lib.teams.lomiri ]; 136 131 platforms = lib.platforms.linux;
+2 -2
pkgs/development/interpreters/octave/default.nix
··· 97 97 allPkgs = pkgs; 98 98 in 99 99 stdenv.mkDerivation (finalAttrs: { 100 - version = "10.1.0"; 100 + version = "10.2.0"; 101 101 pname = "octave"; 102 102 103 103 src = fetchurl { 104 104 url = "mirror://gnu/octave/octave-${finalAttrs.version}.tar.gz"; 105 - sha256 = "sha256-rtRJy6N5/B4Rhuw/w8luCGB4knj7yCOuLOvmA0Q0S3g="; 105 + sha256 = "sha256-B/ttkznS81BzXJFnG+jodNFgAYzGtoj579nVWNI39p8="; 106 106 }; 107 107 108 108 postPatch = ''
+5 -1
pkgs/development/libraries/allegro/default.nix
··· 11 11 libXcursor, 12 12 alsa-lib, 13 13 cmake, 14 + pkg-config, 14 15 zlib, 15 16 libpng, 16 17 libvorbis, ··· 36 37 ./encoding.patch 37 38 ]; 38 39 39 - nativeBuildInputs = [ cmake ]; 40 + nativeBuildInputs = [ 41 + cmake 42 + pkg-config 43 + ]; 40 44 buildInputs = [ 41 45 texinfo6_5 42 46 libXext
+3 -3
pkgs/development/libraries/proj/default.nix
··· 17 17 18 18 stdenv.mkDerivation (finalAttrs: { 19 19 pname = "proj"; 20 - version = "9.6.0"; 20 + version = "9.6.1"; 21 21 22 22 src = fetchFromGitHub { 23 23 owner = "OSGeo"; 24 24 repo = "PROJ"; 25 25 rev = finalAttrs.version; 26 - hash = "sha256-sY3AIvsQnV2zi38nJs/U6zTsIgIv4/CaZaxinCg5nEs="; 26 + hash = "sha256-81wrwBB11SKhq2dTBrvbuUd97iYkTYYrYyKpk2IlHAA="; 27 27 }; 28 28 29 29 patches = [ ··· 82 82 }; 83 83 84 84 meta = with lib; { 85 - changelog = "https://github.com/OSGeo/PROJ/blob/${finalAttrs.src.rev}/NEWS"; 85 + changelog = "https://github.com/OSGeo/PROJ/blob/${finalAttrs.src.rev}/NEWS.md"; 86 86 description = "Cartographic Projections Library"; 87 87 homepage = "https://proj.org/"; 88 88 license = licenses.mit;
+4 -4
pkgs/development/python-modules/prophet/default.nix
··· 21 21 22 22 buildPythonPackage rec { 23 23 pname = "prophet"; 24 - version = "1.1.6"; 24 + version = "1.1.7"; 25 25 pyproject = true; 26 26 27 27 disabled = pythonOlder "3.7"; ··· 29 29 src = fetchFromGitHub { 30 30 owner = "facebook"; 31 31 repo = "prophet"; 32 - rev = "v${version}"; 33 - hash = "sha256-vvSn2sVs6KZsTAKPuq9irlHgM1BmpkG8LJbvcu8ohd0="; 32 + tag = "v${version}"; 33 + hash = "sha256-94hxpfpZN3yvDUu+kM7Oc2Yu8+z0Gv6zqYRAwKXgHk4="; 34 34 }; 35 35 36 36 sourceRoot = "${src.name}/python"; ··· 65 65 pythonImportsCheck = [ "prophet" ]; 66 66 67 67 meta = { 68 - changelog = "https://github.com/facebook/prophet/releases/tag/${src.rev}"; 68 + changelog = "https://github.com/facebook/prophet/releases/tag/${src.tag}"; 69 69 description = "Tool for producing high quality forecasts for time series data that has multiple seasonality with linear or non-linear growth"; 70 70 homepage = "https://facebook.github.io/prophet/"; 71 71 license = lib.licenses.mit;
+2 -2
pkgs/development/python-modules/svg2tikz/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "svg2tikz"; 13 - version = "3.3.1"; 13 + version = "3.3.2"; 14 14 15 15 pyproject = true; 16 16 ··· 18 18 owner = "xyz2tex"; 19 19 repo = "svg2tikz"; 20 20 tag = "v${version}"; 21 - hash = "sha256-LG8u23pEovF05ApjyxA6AebEjmVtxPxpTp9f2DwkwpM="; 21 + hash = "sha256-/yILTmF/N+ZJTKsyFI4vicOYlyuhkBgmFguglu3iXlc="; 22 22 }; 23 23 24 24 build-system = [
+1 -1
pkgs/development/tools/infisical/default.nix
··· 21 21 buildHashes = builtins.fromJSON (builtins.readFile ./hashes.json); 22 22 23 23 # the version of infisical 24 - version = "0.41.1"; 24 + version = "0.41.7"; 25 25 26 26 # the platform-specific, statically linked binary 27 27 src =
+4 -4
pkgs/development/tools/infisical/hashes.json
··· 1 1 { "_comment": "@generated by pkgs/development/tools/infisical/update.sh" 2 - , "x86_64-linux": "sha256-n8QBsoU3wK/e6winVWXDzJaCxFrzoq/fQNjrX8+jGgw=" 3 - , "x86_64-darwin": "sha256-nayjevXnmnausGLn27Di/SKhaKQnD69XakochGUsdks=" 4 - , "aarch64-linux": "sha256-2uOiieHrajCY/YGWzr6Gwyt8DcSQ+bBgPife9LV3FlY=" 5 - , "aarch64-darwin": "sha256-N1ddjPZlFvuuwapfQnoFwdRYK036ZdS0p/MLbnbOS0g=" 2 + , "x86_64-linux": "sha256-S/HP4IRwwMiJAkS8ciP+dlUEvfu6/lEk/35nfjKGAO8=" 3 + , "x86_64-darwin": "sha256-RXjch0leSexJUvLlPc6gOda27EABX0sx2YzcH23nd3k=" 4 + , "aarch64-linux": "sha256-mQLcGicdDdNx19zSIijQY9W6bdvjgR9NOCWdV88HGuk=" 5 + , "aarch64-darwin": "sha256-pdhKkE3c+h6tSX9J3CxTfPNOp9+PKfy53KWvVV/HU8k=" 6 6 }
+4 -4
pkgs/os-specific/linux/kernel/xanmod-kernels.nix
··· 14 14 # kernel config in the xanmod version commit 15 15 variants = { 16 16 lts = { 17 - version = "6.12.30"; 18 - hash = "sha256-OqO41rbb3nBegL+ZjgqR0RGwrka6oLv0QOYXJ8Wdpv8="; 17 + version = "6.12.31"; 18 + hash = "sha256-qYbwHt6j2Sh7V1PDjp1oEIKo+k2T5PcRz5MzZgYwbqg="; 19 19 }; 20 20 main = { 21 - version = "6.14.8"; 22 - hash = "sha256-ap3NaM/pk+TWg3RBRxFJPwnfv2n042r47bo66jhj3ck="; 21 + version = "6.14.9"; 22 + hash = "sha256-kwMvXdqr1i3UZ3+N/qsQDjU1TvnymS54tCdOLNxL0nc="; 23 23 }; 24 24 }; 25 25
+6 -1
pkgs/tools/admin/google-cloud-sdk/default.nix
··· 21 21 }: 22 22 23 23 let 24 + # include a compatible pyopenssl version: https://github.com/NixOS/nixpkgs/issues/379291 24 25 # remove ASAP: https://github.com/googleapis/google-api-python-client/issues/2554 25 26 pythonCustom = python3.override { 26 27 self = pythonCustom; ··· 29 30 version = "24.2.1"; 30 31 src = old.src.override { 31 32 tag = version; 32 - hash = "sha256-otK7Y7Kb/l3QOErhAcuDHB/CKG9l1vH2BTnOieAWNc0="; 33 + hash = "sha256-/TQnDWdycN4hQ7ZGvBhMJEZVafmL+0wy9eJ8hC6rfio="; 33 34 }; 35 + disabledTests = old.disabledTests ++ [ 36 + "test_shutdown_closed" 37 + "test_closed" 38 + ]; 34 39 }); 35 40 }; 36 41 };