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