lol

Merge remote-tracking branch 'origin/master' into haskell-updates

+329 -182
+29 -8
doc/languages-frameworks/javascript.section.md
··· 180 180 181 181 #### Preparation {#javascript-yarn2nix-preparation} 182 182 183 - You will need at least a yarn.lock and yarn.nix file. 183 + You will need at least a `yarn.lock` file. If upstream does not have one you need to generate it and reference it in your package definition. 184 + 185 + If the downloaded files contain the `package.json` and `yarn.lock` files they can be used like this: 184 186 185 - - Generate a yarn.lock in upstream if it is not already there. 186 - - `yarn2nix > yarn.nix` will generate the dependencies in a Nix format. 187 + ```nix 188 + offlineCache = fetchYarnDeps { 189 + yarnLock = src + "/yarn.lock"; 190 + sha256 = "...."; 191 + }; 192 + ``` 187 193 188 194 #### mkYarnPackage {#javascript-yarn2nix-mkYarnPackage} 189 195 190 - This will by default try to generate a binary. For package only generating static assets (Svelte, Vue, React...), you will need to explicitly override the build step with your instructions. It's important to use the `--offline` flag. For example if you script is `"build": "something"` in package.json use: 196 + `mkYarnPackage` will by default try to generate a binary. For package only generating static assets (Svelte, Vue, React, WebPack, ...), you will need to explicitly override the build step with your instructions. 197 + 198 + It's important to use the `--offline` flag. For example if you script is `"build": "something"` in `package.json` use: 191 199 192 200 ```nix 193 201 buildPhase = '' 194 - yarn build --offline 202 + export HOME=$(mktemp -d) 203 + yarn --offline build 195 204 ''; 196 205 ``` 197 206 ··· 201 210 distPhase = "true"; 202 211 ``` 203 212 204 - The configure phase can sometimes fail because it tries to be too clever. One common override is: 213 + The configure phase can sometimes fail because it makes many assumptions which may not always apply. One common override is: 205 214 206 215 ```nix 207 - configurePhase = "ln -s $node_modules node_modules"; 216 + configurePhase = '' 217 + ln -s $node_modules node_modules 218 + ''; 219 + ``` 220 + 221 + or if you need a writeable node_modules directory: 222 + 223 + ```nix 224 + configurePhase = '' 225 + cp -r $node_modules node_modules 226 + chmod +w node_modules 227 + ''; 208 228 ``` 209 229 210 230 #### mkYarnModules {#javascript-yarn2nix-mkYarnModules} 211 231 212 - This will generate a derivation including the node_modules. If you have to build a derivation for an integrated web framework (rails, phoenix..), this is probably the easiest way. [Plausible](https://github.com/NixOS/nixpkgs/blob/master/pkgs/servers/web-apps/plausible/default.nix#L39) offers a good example of how to do this. 232 + This will generate a derivation including the `node_modules` directory. 233 + If you have to build a derivation for an integrated web framework (rails, phoenix..), this is probably the easiest way. 213 234 214 235 #### Overriding dependency behavior 215 236
+14 -7
flake.nix
··· 20 20 nixos = import ./nixos/lib { lib = final; }; 21 21 22 22 nixosSystem = args: 23 - import ./nixos/lib/eval-config.nix (args // { 24 - modules = args.modules ++ [ { 25 - system.nixos.versionSuffix = 26 - ".${final.substring 0 8 (self.lastModifiedDate or self.lastModified or "19700101")}.${self.shortRev or "dirty"}"; 27 - system.nixos.revision = final.mkIf (self ? rev) self.rev; 28 - } ]; 29 - }); 23 + import ./nixos/lib/eval-config.nix ( 24 + args // { 25 + modules = args.modules ++ [{ 26 + system.nixos.versionSuffix = 27 + ".${final.substring 0 8 (self.lastModifiedDate or self.lastModified or "19700101")}.${self.shortRev or "dirty"}"; 28 + system.nixos.revision = final.mkIf (self ? rev) self.rev; 29 + }]; 30 + } // lib.optionalAttrs (! args?system) { 31 + # Allow system to be set modularly in nixpkgs.system. 32 + # We set it to null, to remove the "legacy" entrypoint's 33 + # non-hermetic default. 34 + system = null; 35 + } 36 + ); 30 37 }); 31 38 32 39 checks.x86_64-linux.tarball = jobs.tarball;
+7
maintainers/maintainer-list.nix
··· 7291 7291 githubId = 4158274; 7292 7292 name = "Michiel Leenaars"; 7293 7293 }; 7294 + logo = { 7295 + email = "logo4poop@protonmail.com"; 7296 + matrix = "@logo4poop:matrix.org"; 7297 + github = "logo4poop"; 7298 + githubId = 24994565; 7299 + name = "Isaac Silverstein"; 7300 + }; 7294 7301 lom = { 7295 7302 email = "legendofmiracles@protonmail.com"; 7296 7303 matrix = "@legendofmiracles:matrix.org";
+4 -2
nixos/lib/eval-config.nix
··· 9 9 # expressions are ever made modular at the top level) can just use 10 10 # types.submodule instead of using eval-config.nix 11 11 evalConfigArgs@ 12 - { # !!! system can be set modularly, would be nice to remove 12 + { # !!! system can be set modularly, would be nice to remove, 13 + # however, removing or changing this default is too much 14 + # of a breaking change. To set it modularly, pass `null`. 13 15 system ? builtins.currentSystem 14 16 , # !!! is this argument needed any more? The pkgs argument can 15 17 # be set modularly anyway. ··· 48 50 # this. Since the latter defaults to the former, the former should 49 51 # default to the argument. That way this new default could propagate all 50 52 # they way through, but has the last priority behind everything else. 51 - nixpkgs.system = lib.mkDefault system; 53 + nixpkgs.system = lib.mkIf (system != null) (lib.mkDefault system); 52 54 53 55 _module.args.pkgs = lib.mkIf (pkgs_ != null) (lib.mkForce pkgs_); 54 56 };
+34
nixos/modules/misc/nixpkgs.nix
··· 244 244 defaultText = literalExpression 245 245 ''(import "''${nixos}/../lib").lib.systems.examples.aarch64-multiplatform''; 246 246 description = '' 247 + Systems with a recently generated <literal>hardware-configuration.nix</literal> 248 + do not need to specify this option, unless cross-compiling, in which case 249 + you should set <emphasis>only</emphasis> <option>nixpkgs.buildPlatform</option>. 250 + 251 + If this is somehow not feasible, you may fall back to removing the 252 + <option>nixpkgs.hostPlatform</option> line from the generated config and 253 + use the old options. 254 + 247 255 Specifies the platform on which NixOS should be built. When 248 256 <code>nixpkgs.crossSystem</code> is unset, it also specifies 249 257 the platform <emphasis>for</emphasis> which NixOS should be ··· 265 273 default = null; 266 274 example = { system = "aarch64-linux"; config = "aarch64-unknown-linux-gnu"; }; 267 275 description = '' 276 + Systems with a recently generated <literal>hardware-configuration.nix</literal> 277 + may instead specify <emphasis>only</emphasis> <option>nixpkgs.buildPlatform</option>, 278 + or fall back to removing the <option>nixpkgs.hostPlatform</option> line from the generated config. 279 + 268 280 Specifies the platform for which NixOS should be 269 281 built. Specify this only if it is different from 270 282 <code>nixpkgs.localSystem</code>, the platform ··· 280 292 system = mkOption { 281 293 type = types.str; 282 294 example = "i686-linux"; 295 + default = 296 + if opt.hostPlatform.isDefined 297 + then 298 + throw '' 299 + Neither ${opt.system} nor any other option in nixpkgs.* is meant 300 + to be read by modules and configurations. 301 + Use pkgs.stdenv.hostPlatform instead. 302 + '' 303 + else 304 + throw '' 305 + Neither ${opt.hostPlatform} nor or the legacy option ${opt.system} has been set. 306 + You can set ${opt.hostPlatform} in hardware-configuration.nix by re-running 307 + a recent version of nixos-generate-config. 308 + The option ${opt.system} is still fully supported for NixOS 22.05 interoperability, 309 + but will be deprecated in the future, so we recommend to set ${opt.hostPlatform}. 310 + ''; 311 + defaultText = lib.literalMD '' 312 + Traditionally `builtins.currentSystem`, but unset when invoking NixOS through `lib.nixosSystem`. 313 + ''; 283 314 description = '' 315 + This option does not need to be specified for NixOS configurations 316 + with a recently generated <literal>hardware-configuration.nix</literal>. 317 + 284 318 Specifies the Nix platform type on which NixOS should be built. 285 319 It is better to specify <code>nixpkgs.localSystem</code> instead. 286 320 <programlisting>
+1 -1
nixos/modules/services/misc/dysnomia.nix
··· 186 186 187 187 dysnomia.properties = { 188 188 hostname = config.networking.hostName; 189 - inherit (config.nixpkgs.localSystem) system; 189 + inherit (pkgs.stdenv.hostPlatform) system; 190 190 191 191 supportedTypes = [ 192 192 "echo"
+1 -1
nixos/modules/virtualisation/nixos-containers.nix
··· 132 132 133 133 # If the host is 64-bit and the container is 32-bit, add a 134 134 # --personality flag. 135 - ${optionalString (config.nixpkgs.localSystem.system == "x86_64-linux") '' 135 + ${optionalString (pkgs.stdenv.hostPlatform.system == "x86_64-linux") '' 136 136 if [ "$(< ''${SYSTEM_PATH:-/nix/var/nix/profiles/per-container/$INSTANCE/system}/system)" = i686-linux ]; then 137 137 extraFlags+=" --personality=x86" 138 138 fi
+3 -3
pkgs/applications/audio/ncspot/default.nix
··· 7 7 8 8 rustPlatform.buildRustPackage rec { 9 9 pname = "ncspot"; 10 - version = "0.10.0"; 10 + version = "0.10.1"; 11 11 12 12 src = fetchFromGitHub { 13 13 owner = "hrkfdn"; 14 14 repo = "ncspot"; 15 15 rev = "v${version}"; 16 - sha256 = "sha256-lZ7wFhXJ9I4IcHLLoyMTnq3MJDtUNcVdMHYLThuN7c8="; 16 + sha256 = "sha256-KETLPBMBWGqmuczF5BG7WZ15szWqQHx7uKwDA2KyN/U="; 17 17 }; 18 18 19 - cargoSha256 = "sha256-JLNB196GWpLyCrZ8fBH8+1RF1fa6PhdwFw6RW3fUARM="; 19 + cargoSha256 = "sha256-95IFRFZySpyyF3k3RpGeV+sDXkg38kcHyPYxuxTfJJA="; 20 20 21 21 nativeBuildInputs = [ pkg-config ]; 22 22
+2 -2
pkgs/applications/editors/okteta/default.nix
··· 4 4 5 5 mkDerivation rec { 6 6 pname = "okteta"; 7 - version = "0.26.7"; 7 + version = "0.26.9"; 8 8 9 9 src = fetchurl { 10 10 url = "mirror://kde/stable/okteta/${version}/src/${pname}-${version}.tar.xz"; 11 - sha256 = "sha256-8SO1VpDWz19UfppdtziiZymoLnvQLMAAIjjOTZ/VMOM="; 11 + sha256 = "sha256-FoVMTU6Ug4IZrjEVpCujhf2lyH3GyYZayQ03dPjQX/s="; 12 12 }; 13 13 14 14 nativeBuildInputs = [ qtscript extra-cmake-modules kdoctools ];
+2 -2
pkgs/applications/misc/hello/default.nix
··· 9 9 10 10 stdenv.mkDerivation (finalAttrs: { 11 11 pname = "hello"; 12 - version = "2.12"; 12 + version = "2.12.1"; 13 13 14 14 src = fetchurl { 15 15 url = "mirror://gnu/hello/hello-${finalAttrs.version}.tar.gz"; 16 - sha256 = "1ayhp9v4m4rdhjmnl2bq3cibrbqqkgjbl3s7yk2nhlh8vj3ay16g"; 16 + sha256 = "sha256-jZkUKv2SV28wsM18tCqNxoCZmLxdYH2Idh9RLibH2yA="; 17 17 }; 18 18 19 19 doCheck = true;
+2 -2
pkgs/applications/misc/jotta-cli/default.nix
··· 5 5 in 6 6 stdenv.mkDerivation rec { 7 7 pname = "jotta-cli"; 8 - version = "0.14.58899"; 8 + version = "0.14.60923"; 9 9 src = fetchzip { 10 10 url = "https://repo.jotta.us/archives/linux/${arch}/jotta-cli-${version}_linux_${arch}.tar.gz"; 11 - sha256 = "sha256-V4aShSMifXQl+qnCspm+P4q99Fn3N+us/sLzzTVV7mg="; 11 + sha256 = "sha256-9R2eml0MpOZQn8SIs8gN1d1ddQdKmTsPBEWqHCvW8yo="; 12 12 stripRoot = false; 13 13 }; 14 14
+76
pkgs/applications/networking/instant-messengers/fractal-next/default.nix
··· 1 + { stdenv 2 + , lib 3 + , fetchFromGitLab 4 + , meson 5 + , ninja 6 + , rustPlatform 7 + , pkg-config 8 + , glib 9 + , gtk4 10 + , gtksourceview5 11 + , libadwaita 12 + , gstreamer 13 + , gst-plugins-base 14 + , gst-plugins-bad 15 + , libsecret 16 + , desktop-file-utils 17 + , appstream-glib 18 + , openssl 19 + , pipewire 20 + , libshumate 21 + , wrapGAppsHook4 22 + }: 23 + 24 + stdenv.mkDerivation rec { 25 + pname = "fractal-next"; 26 + version = "unstable-2022-07-10"; 27 + 28 + src = fetchFromGitLab { 29 + domain = "gitlab.gnome.org"; 30 + owner = "GNOME"; 31 + repo = "fractal"; 32 + rev = "837b56978474fe512469805844b8ee234587499a"; 33 + hash = "sha256-6op/+eiDra5EFRludpkQOucBXdPl5a/oQWPwwhJEx+M="; 34 + }; 35 + 36 + cargoDeps = rustPlatform.fetchCargoTarball { 37 + inherit src; 38 + hash = "sha256-2mE26ES+fYSWdfMr8uTsX2VVGTNMDQ9MXEk5E/L95UI="; 39 + }; 40 + 41 + nativeBuildInputs = [ 42 + glib 43 + gtk4 44 + meson 45 + ninja 46 + pkg-config 47 + rustPlatform.bindgenHook 48 + rustPlatform.cargoSetupHook 49 + rustPlatform.rust.cargo 50 + rustPlatform.rust.rustc 51 + desktop-file-utils 52 + appstream-glib 53 + wrapGAppsHook4 54 + ]; 55 + 56 + buildInputs = [ 57 + glib 58 + gstreamer 59 + gst-plugins-base 60 + gst-plugins-bad 61 + gtk4 62 + gtksourceview5 63 + libadwaita 64 + libsecret 65 + openssl 66 + pipewire 67 + libshumate 68 + ]; 69 + 70 + meta = with lib; { 71 + description = "Matrix group messaging app (development version)"; 72 + homepage = "https://gitlab.gnome.org/GNOME/fractal"; 73 + license = licenses.gpl3Plus; 74 + maintainers = teams.gnome.members ++ (with maintainers; [ anselmschueler ]); 75 + }; 76 + }
+2 -2
pkgs/applications/science/math/getdp/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "getdp"; 5 - version = "3.4.0"; 5 + version = "3.5.0"; 6 6 src = fetchurl { 7 7 url = "http://getdp.info/src/getdp-${version}-source.tgz"; 8 - sha256 = "sha256-d5YxJgtMf94PD6EHvIXpPBFPKC+skI/2v1K5Sad51hA="; 8 + sha256 = "sha256-C/dsSe+puIQBpFfBL3qr2XWXrUnvYy0/uTCKqOpDe9w="; 9 9 }; 10 10 11 11 inherit (petsc) mpiSupport;
+1 -1
pkgs/applications/version-management/git-and-tools/qgit/default.nix
··· 8 8 owner = "tibirna"; 9 9 repo = "qgit"; 10 10 rev = "${pname}-${version}"; 11 - sha256 = "1cwq43ywvii9zh4m31mgkgisfc9qhiixlz0zlv99skk9vb5v6r38"; 11 + sha256 = "sha256-xM0nroWs4WByc2O469zVeAlzKn6LLr+8WDlEdSjtRYI="; 12 12 }; 13 13 14 14 buildInputs = [ qtbase ];
+2 -2
pkgs/applications/video/mkvtoolnix/default.nix
··· 47 47 in 48 48 stdenv.mkDerivation rec { 49 49 pname = "mkvtoolnix"; 50 - version = "68.0.0"; 50 + version = "69.0.0"; 51 51 52 52 src = fetchFromGitLab { 53 53 owner = "mbunkus"; 54 54 repo = "mkvtoolnix"; 55 55 rev = "release-${version}"; 56 - sha256 = "0m09r0w98dja9y1yp1vq5hdh46lw0k60aa0xfkdy5zlva568cb7c"; 56 + sha256 = "sha256-sKm/TjlVFj6Vy6lfy3v7UJoEUXALZZSKO3zoIrYtwrc="; 57 57 }; 58 58 59 59 nativeBuildInputs = [
+2 -2
pkgs/data/misc/osinfo-db/default.nix
··· 8 8 9 9 stdenv.mkDerivation rec { 10 10 pname = "osinfo-db"; 11 - version = "20220516"; 11 + version = "20220727"; 12 12 13 13 src = fetchurl { 14 14 url = "https://releases.pagure.org/libosinfo/${pname}-${version}.tar.xz"; 15 - sha256 = "sha256-1g9p2K/J3MU9dqL7aNVMJtH9w6giuVwYAd5Yw8Zs2m0="; 15 + sha256 = "sha256-IpHlI07Ymagww28rQFb/XnYjX0uge1k0IfSGUpBjTV4="; 16 16 }; 17 17 18 18 nativeBuildInputs = [
+3 -3
pkgs/development/compilers/haxe/default.nix
··· 115 115 description = "Programming language targeting JavaScript, Flash, NekoVM, PHP, C++"; 116 116 homepage = "https://haxe.org"; 117 117 license = with licenses; [ gpl2Plus mit ]; # based on upstream opam file 118 - maintainers = [ maintainers.marcweber maintainers.locallycompact ]; 118 + maintainers = [ maintainers.marcweber maintainers.locallycompact maintainers.logo ]; 119 119 platforms = platforms.linux ++ platforms.darwin; 120 120 }; 121 121 }; ··· 147 147 sha256 = "0rns6d28qzkbai6yyws08yzbyvxfn848nj0fsji7chdi0y7pzzj0"; 148 148 }; 149 149 haxe_4_2 = generic { 150 - version = "4.2.1"; 151 - sha256 = "sha256-0j6M21dh8DB1gC/bPYNJrVuDbJyqQbP+61ItO5RBUcA="; 150 + version = "4.2.5"; 151 + sha256 = "sha256-Y0gx6uOQX4OZgg8nK4GJxRR1rKh0S2JUjZQFVQ4cfTs="; 152 152 }; 153 153 }
+2 -2
pkgs/development/interpreters/micropython/default.nix
··· 9 9 10 10 stdenv.mkDerivation rec { 11 11 pname = "micropython"; 12 - version = "1.19"; 12 + version = "1.19.1"; 13 13 14 14 src = fetchFromGitHub { 15 15 owner = "micropython"; 16 16 repo = "micropython"; 17 17 rev = "v${version}"; 18 - sha256 = "sha256-M3cKNuRKOcB1lF9M1rDOpp3sPdx/I60ooLtOYmBWe7c="; 18 + sha256 = "sha256-BoX3Z3Zr/AQqkgRrq+UVgdoDqNESDTNsY9AtrElpzfA="; 19 19 fetchSubmodules = true; 20 20 }; 21 21
+2 -2
pkgs/development/libraries/libsurvive/default.nix
··· 12 12 13 13 stdenv.mkDerivation rec { 14 14 pname = "libsurvive"; 15 - version = "1.0"; 15 + version = "1.01"; 16 16 17 17 src = fetchFromGitHub { 18 18 owner = "cntools"; ··· 20 20 rev = "v${version}"; 21 21 # Fixes 'Unknown CMake command "cnkalman_generate_code"' 22 22 fetchSubmodules = true; 23 - sha256 = "sha256-I8Wx9avfMyDic+Bk/1IjzZiiHj+l3XqpRwxYbWlsG/Q="; 23 + sha256 = "sha256-NcxdTKra+YkLt/iu9+1QCeQZLV3/qlhma2Ns/+ZYVsk="; 24 24 }; 25 25 26 26 nativeBuildInputs = [ cmake pkg-config ];
+2 -2
pkgs/development/libraries/odpic/default.nix
··· 1 1 { lib, stdenv, fetchFromGitHub, fixDarwinDylibNames, oracle-instantclient, libaio }: 2 2 3 3 let 4 - version = "4.3.0"; 4 + version = "4.4.1"; 5 5 libPath = lib.makeLibraryPath [ oracle-instantclient.lib ]; 6 6 7 7 in stdenv.mkDerivation { ··· 13 13 owner = "oracle"; 14 14 repo = "odpi"; 15 15 rev = "v${version}"; 16 - sha256 = "sha256-oL2yehjP8JJxU19VY4e/ueh2xjo1yp4X7FGslqCXO8A="; 16 + sha256 = "sha256-tc6N19jSLkuOvTe5f/pBAd1FvpnOjsa4V9CgygUvpZo="; 17 17 }; 18 18 19 19 nativeBuildInputs = lib.optional stdenv.isDarwin fixDarwinDylibNames;
+2 -2
pkgs/development/libraries/qtutilities/default.nix
··· 9 9 10 10 stdenv.mkDerivation rec { 11 11 pname = "qtutilities"; 12 - version = "6.6.0"; 12 + version = "6.6.2"; 13 13 14 14 src = fetchFromGitHub { 15 15 owner = "Martchus"; 16 16 repo = pname; 17 17 rev = "v${version}"; 18 - sha256 = "sha256-ArPTWUQV9h+AK/m4oUIXsGWFO6Fj9IIOKSXCdWGztNM="; 18 + sha256 = "sha256-zt/d6V1/6Kqh0ZdJX3dLkj36NHlvlmFSxPPqcNyC6ZM="; 19 19 }; 20 20 21 21 buildInputs = [ qtbase cpp-utilities ];
+2 -2
pkgs/development/php-packages/event/default.nix
··· 2 2 buildPecl { 3 3 pname = "event"; 4 4 5 - version = "3.0.6"; 6 - sha256 = "sha256-BN43wydPQBCVla29YoPqKSVihSZCkLAIgDZb+CNQecw="; 5 + version = "3.0.8"; 6 + sha256 = "sha256-4+ke3T3BXglpuSVMw2Jq4Hgl45vybWG0mTX2b2A9e2s="; 7 7 8 8 configureFlags = [ 9 9 "--with-event-libevent-dir=${libevent.dev}"
+2 -2
pkgs/development/php-packages/mongodb/default.nix
··· 14 14 buildPecl { 15 15 pname = "mongodb"; 16 16 17 - version = "1.13.0"; 18 - sha256 = "sha256-IoZbYdJkyQyeqoXZTy9fV+VkFAyth8jCYB+jP4Dv4Ls="; 17 + version = "1.14.0"; 18 + sha256 = "sha256-VXdeaSB6f5xDxiiDIg87xgDT4/Zjr1AAC+cK0+5RgY4="; 19 19 20 20 nativeBuildInputs = [ pkg-config ]; 21 21 buildInputs = [
+2 -2
pkgs/development/php-packages/pdo_sqlsrv/default.nix
··· 3 3 buildPecl { 4 4 pname = "pdo_sqlsrv"; 5 5 6 - version = "5.10.0"; 7 - sha256 = "sha256-BEa7i/8egvz9mT69dl0dxWcVo+dURT9Dzo6f6EdlESo="; 6 + version = "5.10.1"; 7 + sha256 = "sha256-x4VBlqI2vINQijRvjG7x35mbwh7rvYOL2wUTIV4GKK0="; 8 8 9 9 internalDeps = [ php.extensions.pdo ]; 10 10
+2 -2
pkgs/development/php-packages/phing/default.nix
··· 1 1 { mkDerivation, fetchurl, makeWrapper, lib, php }: 2 2 let 3 3 pname = "phing"; 4 - version = "2.17.2"; 4 + version = "2.17.4"; 5 5 in 6 6 mkDerivation { 7 7 inherit pname version; 8 8 9 9 src = fetchurl { 10 10 url = "https://www.phing.info/get/phing-${version}.phar"; 11 - sha256 = "sha256-KDqJdHIqgtar6ofNG4ENRlpRg9XYFeL5YS7Rclh1+PQ="; 11 + sha256 = "sha256-3QZsl5QJkFX5Z4RovMtw2ELCp8Zl4xiZsIBikakJ474="; 12 12 }; 13 13 14 14 dontUnpack = true;
+2 -2
pkgs/development/php-packages/php-cs-fixer/default.nix
··· 1 1 { mkDerivation, fetchurl, makeWrapper, lib, php }: 2 2 let 3 3 pname = "php-cs-fixer"; 4 - version = "3.8.0"; 4 + version = "3.9.5"; 5 5 in 6 6 mkDerivation { 7 7 inherit pname version; 8 8 9 9 src = fetchurl { 10 10 url = "https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases/download/v${version}/php-cs-fixer.phar"; 11 - sha256 = "sha256-kOdJ2xuS095xVdPxoz4q/XM0BpyJEy6V/CtkuTN/Chk="; 11 + sha256 = "sha256-uD8N/fJAb8lvsFvP/zuw9jwV8ng//xWE+oNuOZ553UU="; 12 12 }; 13 13 14 14 dontUnpack = true;
+2 -2
pkgs/development/php-packages/phpstan/default.nix
··· 1 1 { mkDerivation, fetchurl, makeWrapper, lib, php }: 2 2 let 3 3 pname = "phpstan"; 4 - version = "1.5.4"; 4 + version = "1.8.2"; 5 5 in 6 6 mkDerivation { 7 7 inherit pname version; 8 8 9 9 src = fetchurl { 10 10 url = "https://github.com/phpstan/phpstan/releases/download/${version}/phpstan.phar"; 11 - sha256 = "sha256-6dXYrDpQ3E+z8mcZof7GSXOrUMoceuPTHO21Z8l4Wyw="; 11 + sha256 = "sha256-NnbEN9dhPUBtgEiKj5mBtW9RnTE9jmx/ZqRdqmuyIog="; 12 12 }; 13 13 14 14 dontUnpack = true;
+2 -2
pkgs/development/php-packages/protobuf/default.nix
··· 3 3 buildPecl { 4 4 pname = "protobuf"; 5 5 6 - version = "3.19.4"; 7 - sha256 = "sha256-ijo+UZz+Hh3F8FUJmcUIbKBLkv4t4CWIrbRUfUp7Zbo="; 6 + version = "3.21.4"; 7 + sha256 = "sha256-vhfoUu63KhndfQTiITtTnaqFVF9OWMCaLf/9PUioKkQ="; 8 8 9 9 buildInputs = [ pcre2 ]; 10 10
+2 -2
pkgs/development/php-packages/psalm/default.nix
··· 1 1 { mkDerivation, fetchurl, makeWrapper, lib, php }: 2 2 let 3 3 pname = "psalm"; 4 - version = "4.15.0"; 4 + version = "4.25.0"; 5 5 in 6 6 mkDerivation { 7 7 inherit pname version; 8 8 9 9 src = fetchurl { 10 10 url = "https://github.com/vimeo/psalm/releases/download/v${version}/psalm.phar"; 11 - sha256 = "jvUNnA5OTmw3h1O1Ur7pUojgU5IRgwq2U/JF/ByO0EA="; 11 + sha256 = "sha256-bEv9YzBycN+fs3DeAU/QpuOvsmUFLgrltGEe2KuUM0c="; 12 12 }; 13 13 14 14 dontUnpack = true;
+2 -2
pkgs/development/php-packages/psysh/default.nix
··· 1 1 { mkDerivation, fetchurl, makeWrapper, lib, php }: 2 2 let 3 3 pname = "psysh"; 4 - version = "0.11.2"; 4 + version = "0.11.8"; 5 5 in 6 6 mkDerivation { 7 7 inherit pname version; 8 8 9 9 src = fetchurl { 10 10 url = "https://github.com/bobthecow/psysh/releases/download/v${version}/psysh-v${version}.tar.gz"; 11 - sha256 = "sha256-u7VTlZw9k7VDWKGK/8fzFw0bjNu6DMGsoQnDedHgCWg="; 11 + sha256 = "sha256-VK1e3qQGaN6Kc/5dUaGwrHAqk9yiJCwbW29x6i6nHQ4="; 12 12 }; 13 13 14 14 dontUnpack = true;
+2 -2
pkgs/development/php-packages/rdkafka/default.nix
··· 3 3 buildPecl { 4 4 pname = "rdkafka"; 5 5 6 - version = "6.0.1"; 7 - sha256 = "sha256-ikq+cB5ZPRBCwhB0YQT0sEsVrJjbYzGEju2RrK388ZI="; 6 + version = "6.0.3"; 7 + sha256 = "sha256-Euqrl21JaX4x8WOLR4ietexhrbdYcIlBESsVf47H3Ug="; 8 8 9 9 buildInputs = [ rdkafka pcre2 ]; 10 10
+2 -2
pkgs/development/php-packages/sqlsrv/default.nix
··· 3 3 buildPecl { 4 4 pname = "sqlsrv"; 5 5 6 - version = "5.10.0"; 7 - sha256 = "sha256-drPwg6Go8QNYHCG6OkbWyiV76uZyjNFYpkpGq1miJrQ="; 6 + version = "5.10.1"; 7 + sha256 = "sha256-XNrttNiihjQ+azuZmS2fy0So+2ndAqpde8IOsupeWdI="; 8 8 9 9 buildInputs = [ 10 10 unixODBC
+2 -2
pkgs/development/php-packages/swoole/default.nix
··· 3 3 buildPecl { 4 4 pname = "swoole"; 5 5 6 - version = "4.8.8"; 7 - sha256 = "sha256-SnhDRC7/a7BTHn87c6YCz/R8jI6aES1ibSD6YAl6R+I="; 6 + version = "4.8.11"; 7 + sha256 = "sha256-MH3deQniTI7df2UNfK7v1qkP5JxyGw3j9adAeZBDD2c="; 8 8 9 9 buildInputs = [ pcre2 ] ++ lib.optionals (!stdenv.isDarwin) [ valgrind ]; 10 10
+2 -2
pkgs/development/php-packages/xdebug/default.nix
··· 3 3 buildPecl { 4 4 pname = "xdebug"; 5 5 6 - version = "3.1.4"; 7 - sha256 = "sha256-QZWSb59sToAv90m7LKhaxQY2cZpy5TieNy4171I1Bfk="; 6 + version = "3.1.5"; 7 + sha256 = "sha256-VfbvOBJF2gebL8XOHPvLeWEZfQwOBPnZd2E8+aqWmnk="; 8 8 9 9 doCheck = true; 10 10 checkTarget = "test";
+2 -2
pkgs/development/python-modules/google-cloud-secret-manager/default.nix
··· 13 13 14 14 buildPythonPackage rec { 15 15 pname = "google-cloud-secret-manager"; 16 - version = "2.12.0"; 16 + version = "2.12.1"; 17 17 format = "setuptools"; 18 18 19 19 disabled = pythonOlder "3.6"; 20 20 21 21 src = fetchPypi { 22 22 inherit pname version; 23 - hash = "sha256-vlMh7Ww7ZPHWVUJMDqRO58bmn4nfTi3Gj/sBReHOvtQ="; 23 + hash = "sha256-LFEGqNi2KsAdoX2PEyQ8h0t0D3yDBtFMnanjhMwu+Lk="; 24 24 }; 25 25 26 26 propagatedBuildInputs = [
+2 -21
pkgs/development/python-modules/psycopg/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchFromGitHub 4 - , fetchpatch 5 4 , fetchurl 6 5 , pythonOlder 7 6 , substituteAll ··· 28 27 29 28 let 30 29 pname = "psycopg"; 31 - version = "3.0.15"; 30 + version = "3.0.16"; 32 31 in 33 32 34 33 buildPythonPackage { ··· 41 40 owner = "psycopg"; 42 41 repo = pname; 43 42 rev = version; 44 - hash = "sha256-1Wtp0wDuS6dxa1+u6DXu9fDLU7OtgsCUdbdcO5nhkxU="; 43 + hash = "sha256-jKhpmCcDi7FyMSpn51eSukFvmu3yacNovmRYG9jnu3g="; 45 44 }; 46 45 47 46 outputs = [ ··· 61 60 (substituteAll { 62 61 src = ./libpq.patch; 63 62 libpq = "${postgresql.lib}/lib/libpq.so"; 64 - }) 65 - 66 - # Work around docs build issues 67 - # https://github.com/psycopg/psycopg/issues/337 68 - (fetchpatch { 69 - name = "sphinx-5.0-compat.patch"; 70 - url = "https://github.com/psycopg/psycopg/commit/ebff3a8392f002100d1e71d3deb94f27fb8cc0cf.patch"; 71 - hash = "sha256-QP9I6/xVJyWj5MQqWqxtmdBlesNUOwpYSMuzogJSnos="; 72 - }) 73 - (fetchpatch { 74 - name = "libpq-sqml-env-var.patch"; 75 - url = "https://github.com/psycopg/psycopg/commit/adf9cbdc1020abf87ae602fe0eb493c294459a93.patch"; 76 - hash = "sha256-HJ2Cx7Vg7PSitDEOqCUF7ehNU8aI+iFT886dk2wHsAI="; 77 - }) 78 - (fetchpatch { 79 - name = "avoid-dnspython-import-in-docs.patch"; 80 - url = "https://github.com/psycopg/psycopg/commit/3058421503b3fcbcf06382d558aac7b9ca2eaaec.patch"; 81 - hash = "sha256-D4vj5STafkQ34HWUyKZ3A9w9bY8holifPn3lsBjfVZA="; 82 63 }) 83 64 ]; 84 65
+2 -2
pkgs/development/python-modules/sphinx-autodoc-typehints/default.nix
··· 8 8 9 9 let 10 10 pname = "sphinx-autodoc-typehints"; 11 - version = "1.18.3"; 11 + version = "1.19.1"; 12 12 in 13 13 14 14 buildPythonPackage { ··· 20 20 src = fetchPypi { 21 21 pname = "sphinx_autodoc_typehints"; 22 22 inherit version; 23 - hash = "sha256-wE2PjXDpiJYOJbIGrzmpDfhOfiwIW7JOEjvDaEAhsxM="; 23 + hash = "sha256-bIQdtV4Om+BIP/OWKiFStg55MG9CiNjE5+hqyESGpeo="; 24 24 }; 25 25 26 26 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/types-redis/default.nix
··· 5 5 6 6 buildPythonPackage rec { 7 7 pname = "types-redis"; 8 - version = "4.3.4"; 8 + version = "4.3.13"; 9 9 format = "setuptools"; 10 10 11 11 src = fetchPypi { 12 12 inherit pname version; 13 - sha256 = "sha256-0LkUPeiuDW42mfJG9Us7IgS+WTYy/A1JyilAhnw+JZE="; 13 + sha256 = "sha256-uDNKlqL0MVIb+nIgWzQxKazcWmRv/PswTYChzQ3v9Ug="; 14 14 }; 15 15 16 16 # Module doesn't have tests
+2 -2
pkgs/development/python-modules/types-requests/default.nix
··· 6 6 7 7 buildPythonPackage rec { 8 8 pname = "types-requests"; 9 - version = "2.28.5"; 9 + version = "2.28.6"; 10 10 format = "setuptools"; 11 11 12 12 src = fetchPypi { 13 13 inherit pname version; 14 - sha256 = "sha256-rGGL/vyzdC6vl8lh4T6eWiJuVF7aSj2+KTuJjUCTOtE="; 14 + sha256 = "sha256-zzODu9eTlL8FGgqSAtaDH6li8Yb5I8F498BZ40JL0A4="; 15 15 }; 16 16 17 17 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/types-urllib3/default.nix
··· 5 5 6 6 buildPythonPackage rec { 7 7 pname = "types-urllib3"; 8 - version = "1.26.17"; 8 + version = "1.26.19"; 9 9 format = "setuptools"; 10 10 11 11 src = fetchPypi { 12 12 inherit pname version; 13 - hash = "sha256-c/0nRSTD/HzYzZzrDLZ+2ZtF+csoMQE+RtUMFFEESAA="; 13 + hash = "sha256-RbMHvbc9LqwML7E4bal+UcmufxR07zX2ECTDCEtr83E="; 14 14 }; 15 15 16 16 # Module doesn't have tests
+31 -6
pkgs/development/tools/bazel-watcher/default.nix
··· 1 1 { buildBazelPackage 2 + , bazel_5 2 3 , fetchFromGitHub 3 4 , git 4 5 , go ··· 10 11 patches = [ 11 12 ./use-go-in-path.patch 12 13 ]; 14 + 15 + # Patch the protoc alias so that it always builds from source. 16 + rulesProto = fetchFromGitHub { 17 + owner = "bazelbuild"; 18 + repo = "rules_proto"; 19 + rev = "4.0.0-3.19.2"; 20 + sha256 = "sha256-wdmp+Tmf63PPr7G4X5F7rDas45WEETU3eKb47PFVI6o="; 21 + postFetch = '' 22 + sed -i 's|name = "protoc"|name = "_protoc_original"|' $out/proto/private/BUILD.release 23 + cat <<EOF >>$out/proto/private/BUILD.release 24 + alias(name = "protoc", actual = "@com_github_protocolbuffers_protobuf//:protoc", visibility = ["//visibility:public"]) 25 + EOF 26 + ''; 27 + }; 28 + 13 29 in 14 30 buildBazelPackage rec { 15 31 pname = "bazel-watcher"; 16 - version = "0.14.0"; 32 + version = "0.17.0"; 17 33 18 34 src = fetchFromGitHub { 19 35 owner = "bazelbuild"; 20 36 repo = "bazel-watcher"; 21 37 rev = "v${version}"; 22 - sha256 = "0gigl1lg8sb4bj5crvj54329ws4yirldbncs15f96db6vhp0ig7r"; 38 + sha256 = "sha256-aK18Q2nYxYajk9f/EEmtV7YJ8cYqbamR7vh3BTgu53Q="; 23 39 }; 24 40 25 41 nativeBuildInputs = [ go git python3 ]; 26 42 removeRulesCC = false; 27 43 44 + bazel = bazel_5; 45 + bazelFlags = [ "--override_repository=rules_proto=${rulesProto}" ]; 46 + bazelBuildFlags = lib.optionals stdenv.cc.isClang [ "--cxxopt=-x" "--cxxopt=c++" "--host_cxxopt=-x" "--host_cxxopt=c++" ]; 28 47 bazelTarget = "//ibazel"; 29 48 49 + fetchConfigured = false; # we want to fetch all dependencies, regardless of the current system 30 50 fetchAttrs = { 31 51 inherit patches; 32 52 33 53 preBuild = '' 34 54 patchShebangs . 55 + 56 + echo ${bazel_5.version} > .bazelversion 35 57 ''; 36 58 37 59 preInstall = '' ··· 54 76 # should be equivalent. 55 77 rm -rf $bazelOut/external/{bazel_gazelle_go_repository_tools,\@bazel_gazelle_go_repository_tools.marker} 56 78 sed -e '/^FILE:@bazel_gazelle_go_repository_tools.*/d' -i $bazelOut/external/\@*.marker 79 + 80 + # remove com_google_protobuf because it had files with different permissions on linux and darwin 81 + rm -rf $bazelOut/external/com_google_protobuf 57 82 ''; 58 83 59 - sha256 = "1j175z3d4fbi4pl35py7yjq7ywrvwin6id131jv32hx0ck4g1m46"; 84 + sha256 = "sha256-R+Hc9ldYcKgAXETKr2+Hk7IrjJ93WkrjyJ1SQRoM9V4="; 60 85 }; 61 86 62 87 buildAttrs = { ··· 66 91 patchShebangs . 67 92 68 93 substituteInPlace ibazel/BUILD --replace '{STABLE_GIT_VERSION}' ${version} 94 + echo ${bazel_5.version} > .bazelversion 69 95 ''; 70 96 71 97 installPhase = '' 72 - install -Dm755 bazel-bin/ibazel/*_pure_stripped/ibazel $out/bin/ibazel 98 + install -Dm755 bazel-bin/ibazel/ibazel_/ibazel $out/bin/ibazel 73 99 ''; 74 100 }; 75 101 ··· 78 104 description = "Tools for building Bazel targets when source files change"; 79 105 license = licenses.asl20; 80 106 maintainers = with maintainers; [ kalbasit ]; 107 + mainProgram = "ibazel"; 81 108 platforms = platforms.all; 82 - # broken on darwin, see https://github.com/NixOS/nixpkgs/issues/105573 83 - broken = stdenv.isDarwin; 84 109 }; 85 110 }
+1 -1
pkgs/development/tools/bazel-watcher/use-go-in-path.patch
··· 6 6 7 7 go_rules_dependencies() 8 8 9 - -go_register_toolchains() 9 + -go_register_toolchains(version = "1.17.6") 10 10 +go_register_toolchains(go_version = "host") 11 11 12 12 load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies", "go_repository")
+3 -1
pkgs/development/tools/build-managers/bazel/bazel_3/default.nix
··· 110 110 # and libraries path. 111 111 # We prefetch it, patch it, and override it in a global bazelrc. 112 112 system = if stdenv.hostPlatform.isDarwin then "darwin" else "linux"; 113 - arch = stdenv.hostPlatform.parsed.cpu.name; 113 + 114 + # on aarch64 Darwin, `uname -m` returns "arm64" 115 + arch = with stdenv.hostPlatform; if isDarwin && isAarch64 then "arm64" else parsed.cpu.name; 114 116 115 117 remote_java_tools = stdenv.mkDerivation { 116 118 name = "remote_java_tools_${system}";
+3 -1
pkgs/development/tools/build-managers/bazel/bazel_4/default.nix
··· 135 135 # and libraries path. 136 136 # We prefetch it, patch it, and override it in a global bazelrc. 137 137 system = if stdenv.hostPlatform.isDarwin then "darwin" else "linux"; 138 - arch = stdenv.hostPlatform.parsed.cpu.name; 138 + 139 + # on aarch64 Darwin, `uname -m` returns "arm64" 140 + arch = with stdenv.hostPlatform; if isDarwin && isAarch64 then "arm64" else parsed.cpu.name; 139 141 140 142 remote_java_tools = stdenv.mkDerivation { 141 143 name = "remote_java_tools_${system}";
+3 -1
pkgs/development/tools/build-managers/bazel/bazel_5/default.nix
··· 126 126 platforms = lib.platforms.linux ++ lib.platforms.darwin; 127 127 128 128 system = if stdenv.hostPlatform.isDarwin then "darwin" else "linux"; 129 - arch = stdenv.hostPlatform.parsed.cpu.name; 129 + 130 + # on aarch64 Darwin, `uname -m` returns "arm64" 131 + arch = with stdenv.hostPlatform; if isDarwin && isAarch64 then "arm64" else parsed.cpu.name; 130 132 131 133 bazelRC = writeTextFile { 132 134 name = "bazel-rc";
+3 -3
pkgs/development/tools/buildpack/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "pack"; 5 - version = "0.26.0"; 5 + version = "0.27.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "buildpacks"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-P6rfYrjk7MWVvNowaIKc0PzCzAyHRK+qw2BDe56CPp8="; 11 + sha256 = "sha256-b1lqgY6pu4yt3yY2UupG7PQUkgotK0VDffCW/0thxoo="; 12 12 }; 13 13 14 - vendorSha256 = "sha256-ygHE52zYU/Zx/bSHMeTTFZyBvWrIKeuO0bciB4E0dHE="; 14 + vendorSha256 = "sha256-JqSk4w0chtWNYDQXo8oh5spAxor2kixo3fZcpV4LJ+8="; 15 15 16 16 nativeBuildInputs = [ installShellFiles ]; 17 17
+2 -2
pkgs/development/tools/misc/lttng-tools/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "lttng-tools"; 5 - version = "2.13.4"; 5 + version = "2.13.7"; 6 6 7 7 src = fetchurl { 8 8 url = "https://lttng.org/files/lttng-tools/${pname}-${version}.tar.bz2"; 9 - sha256 = "sha256-Vl8xAkEKU9SE9Mj/UXl48dxZ9n+dFvhy9DV/PKEiAPY="; 9 + sha256 = "sha256-0XoC6PF4p880A+PJ7fuQrToWKOIKoLUTFAiuR/ci8I0="; 10 10 }; 11 11 12 12 nativeBuildInputs = [ pkg-config ];
+3 -3
pkgs/development/tools/yq-go/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "yq-go"; 5 - version = "4.26.1"; 5 + version = "4.27.2"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "mikefarah"; 9 9 repo = "yq"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-5EDFttaUgef2/EQUSORY17UjbErCjVDdy3Dls1mMYLQ="; 11 + sha256 = "sha256-42rcptmZrMfUTN4kjnbulwosLOUNf0qw85eqmpD31gw="; 12 12 }; 13 13 14 - vendorSha256 = "sha256-w9TaCYxu3a8R3oCfyNyioe2W9PrejhTj/3eaBeg7UAw="; 14 + vendorSha256 = "sha256-fHqTgFsUKaDlWU9PGYqAFknzgq7tYzSTqNb+edwWZJg="; 15 15 16 16 nativeBuildInputs = [ installShellFiles ]; 17 17
+1 -1
pkgs/misc/my-env/default.nix
··· 73 73 }; 74 74 75 75 buildPhase = let 76 - initialPath = import ../../stdenv/common-path.nix { inherit pkgs; }; 76 + initialPath = import ../../stdenv/generic/common-path.nix { inherit pkgs; }; 77 77 in '' 78 78 set -x 79 79 mkdir -p "$out/dev-envs" "$out/nix-support" "$out/bin"
+2 -2
pkgs/servers/dns/nsd/default.nix
··· 16 16 17 17 stdenv.mkDerivation rec { 18 18 pname = "nsd"; 19 - version = "4.4.0"; 19 + version = "4.6.0"; 20 20 21 21 src = fetchurl { 22 22 url = "https://www.nlnetlabs.nl/downloads/${pname}/${pname}-${version}.tar.gz"; 23 - sha256 = "sha256-z81v3Zk0TKWn73wpQMJBvO9HH8MlK6PcvUxX4GOOiDY="; 23 + sha256 = "sha256-CQYtm4Pfzd5OTlPsNhVJbWjCgh2DgdDUZOvqMaWXXIE="; 24 24 }; 25 25 26 26 prePatch = ''
+2 -2
pkgs/servers/dns/pdns-recursor/default.nix
··· 5 5 6 6 stdenv.mkDerivation rec { 7 7 pname = "pdns-recursor"; 8 - version = "4.7.0"; 8 + version = "4.7.1"; 9 9 10 10 src = fetchurl { 11 11 url = "https://downloads.powerdns.com/releases/pdns-recursor-${version}.tar.bz2"; 12 - sha256 = "1329ycxavhkx963q0c6rqyzlg0689v5rrmjlydiw6px324djm1z4"; 12 + sha256 = "sha256-0vlFc6bw5joQNMorMBwn6/LhMAplW6ZpzFAtXqjW7Gg="; 13 13 }; 14 14 15 15 nativeBuildInputs = [ pkg-config ];
+3 -3
pkgs/servers/sql/dolt/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "dolt"; 5 - version = "0.39.2"; 5 + version = "0.40.15"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "dolthub"; 9 9 repo = "dolt"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-rCGjBb5aiDLPBKYX4jhHxtBDf3Xs1/p1DdsFmdfLNLM="; 11 + sha256 = "sha256-KIV9ZEVmx7gsFHjtb8d0QfDwN7eQTsS2jYBKrKj988Y="; 12 12 }; 13 13 14 14 modRoot = "./go"; 15 15 subPackages = [ "cmd/dolt" "cmd/git-dolt" "cmd/git-dolt-smudge" ]; 16 - vendorSha256 = "sha256-yemt7hUcLXgC42B2q4+1MalGd3jCMHcVD/Bpq8B2x7M="; 16 + vendorSha256 = "sha256-5FGcM9TFl0BGsN3hryIm1hQDCiRww2AEf2kUw3Uga78="; 17 17 18 18 doCheck = false; 19 19
+2 -2
pkgs/servers/sql/postgresql/ext/pg_partman.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "pg_partman"; 5 - version = "4.6.0"; 5 + version = "4.6.2"; 6 6 7 7 buildInputs = [ postgresql ]; 8 8 ··· 10 10 owner = "pgpartman"; 11 11 repo = pname; 12 12 rev = "refs/tags/v${version}"; 13 - sha256 = "sha256-DpK3D7PEZ1sO9bYvwwT9L8jtDmUGMbHtx2s9juzL6RQ="; 13 + sha256 = "sha256-UQvgYynW1VzEIG6AwLRivmi8HpGc3Dx7J2+BYNpUGUM="; 14 14 }; 15 15 16 16 installPhase = ''
+2 -2
pkgs/servers/sql/postgresql/ext/pgrouting.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "pgrouting"; 5 - version = "3.3.0"; 5 + version = "3.3.1"; 6 6 7 7 nativeBuildInputs = [ cmake perl ]; 8 8 buildInputs = [ postgresql boost ]; ··· 11 11 owner = "pgRouting"; 12 12 repo = pname; 13 13 rev = "v${version}"; 14 - sha256 = "sha256-GWufuOsAYLIOy5MXYVNFWVeVdLntd5ZeUnSdEahlkak="; 14 + sha256 = "sha256-QOIuJM0d1l56ESzTjtm5IIiZx+2oYrO5mIhkAD8kFpQ="; 15 15 }; 16 16 17 17 installPhase = ''
+2 -2
pkgs/servers/sql/postgresql/ext/plpgsql_check.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "plpgsql_check"; 5 - version = "2.1.5"; 5 + version = "2.1.8"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "okbob"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-DYdZuHraecQZ33xHX6ugiUJVfFVAayD2spIQt2Qqa5U="; 11 + sha256 = "sha256-YFU1gMHtcsdMbUufVi2fkjiD5Mk1q4b+W4c3/fj4rZE="; 12 12 }; 13 13 14 14 buildInputs = [ postgresql ];
pkgs/stdenv/common-path.nix pkgs/stdenv/generic/common-path.nix
+1 -1
pkgs/stdenv/darwin/default.nix
··· 683 683 __stdenvImpureHostDeps = commonImpureHostDeps; 684 684 __extraImpureHostDeps = commonImpureHostDeps; 685 685 686 - initialPath = import ../common-path.nix { inherit pkgs; }; 686 + initialPath = import ../generic/common-path.nix { inherit pkgs; }; 687 687 shell = "${pkgs.bash}/bin/bash"; 688 688 689 689 cc = pkgs."${finalLlvmPackages}".libcxxClang;
+4 -22
pkgs/stdenv/default.nix
··· 38 38 in 39 39 if crossSystem != localSystem || crossOverlays != [] then stagesCross 40 40 else if config ? replaceStdenv then stagesCustom 41 - else { # switch 42 - i686-linux = stagesLinux; 43 - x86_64-linux = stagesLinux; 44 - armv5tel-linux = stagesLinux; 45 - armv6l-linux = stagesLinux; 46 - armv6m-linux = stagesLinux; 47 - armv7a-linux = stagesLinux; 48 - armv7l-linux = stagesLinux; 49 - armv7r-linux = stagesLinux; 50 - armv7m-linux = stagesLinux; 51 - armv8a-linux = stagesLinux; 52 - armv8r-linux = stagesLinux; 53 - armv8m-linux = stagesLinux; 54 - aarch64-linux = stagesLinux; 55 - mipsel-linux = stagesLinux; 56 - mips64el-linux = stagesLinux; 57 - powerpc-linux = /* stagesLinux */ stagesNative; 58 - powerpc64-linux = stagesLinux; 59 - powerpc64le-linux = stagesLinux; 60 - riscv64-linux = stagesLinux; 61 - x86_64-darwin = stagesDarwin; 62 - aarch64-darwin = stagesDarwin; 41 + else if localSystem.isLinux then stagesLinux 42 + else if localSystem.isDarwin then stagesDarwin 43 + else # misc special cases 44 + { # switch 63 45 x86_64-solaris = stagesNix; 64 46 i686-cygwin = stagesNative; 65 47 x86_64-cygwin = stagesNative;
+1 -1
pkgs/stdenv/linux/default.nix
··· 397 397 preHook = commonPreHook; 398 398 399 399 initialPath = 400 - ((import ../common-path.nix) {pkgs = prevStage;}); 400 + ((import ../generic/common-path.nix) {pkgs = prevStage;}); 401 401 402 402 extraNativeBuildInputs = [ prevStage.patchelf ] ++ 403 403 # Many tarballs come with obsolete config.sub/config.guess that don't recognize aarch64.
+1 -1
pkgs/stdenv/nix/default.nix
··· 21 21 export NIX_IGNORE_LD_THROUGH_GCC=1 22 22 ''; 23 23 24 - initialPath = (import ../common-path.nix) { pkgs = prevStage; }; 24 + initialPath = (import ../generic/common-path.nix) { pkgs = prevStage; }; 25 25 26 26 cc = import ../../build-support/cc-wrapper { 27 27 inherit lib;
+3 -3
pkgs/tools/admin/eksctl/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "eksctl"; 5 - version = "0.106.0"; 5 + version = "0.107.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "weaveworks"; 9 9 repo = pname; 10 10 rev = version; 11 - sha256 = "sha256-ZLgjXDyXt0DcfhzS/s2xsjFpTWU8sY8QRljRg0XQvtk="; 11 + sha256 = "sha256-B7H5wtnnSq9Npl2Eshjp4gzAKT+V9Cp/oJzs6+Rd3t0="; 12 12 }; 13 13 14 - vendorSha256 = "sha256-ezRlIZGXAG8jUAHyf2QMFZ8yNGtH/gl7GQm88+D8KkQ="; 14 + vendorSha256 = "sha256-O5KtyC+zx+7rsIpqeKUqDLRYxw58clKSbqbWnil0x1E="; 15 15 16 16 doCheck = false; 17 17
+2 -2
pkgs/tools/inputmethods/keyd/default.nix
··· 8 8 9 9 stdenv.mkDerivation rec { 10 10 pname = "keyd"; 11 - version = "2.4.1"; 11 + version = "2.4.2"; 12 12 13 13 src = fetchFromGitHub { 14 14 owner = "rvaiya"; 15 15 repo = "keyd"; 16 16 rev = "v" + version; 17 - hash = "sha256-p0f8iGT4QtyWAnlcG4SfOhD94ySNNkQrnVjnGCmQwAk="; 17 + hash = "sha256-QWr+xog16MmybhQlEWbskYa/dypb9Ld54MOdobTbyMo="; 18 18 }; 19 19 20 20 postPatch = ''
+2 -2
pkgs/tools/misc/panoply/default.nix
··· 2 2 3 3 stdenvNoCC.mkDerivation rec { 4 4 pname = "panoply"; 5 - version = "5.1.0"; 5 + version = "5.1.1"; 6 6 7 7 src = fetchurl { 8 8 url = "https://www.giss.nasa.gov/tools/panoply/download/PanoplyJ-${version}.tgz"; 9 - sha256 = "08wh9i0pk7qq2az0nd8g8gqlzwril49qffi0zcrmn7r0nx44cdjm"; 9 + sha256 = "sha256-qx/Uz/X9ZJ4ebV+OMtXVoReh61YAp9iRcJmywGfKiUw="; 10 10 }; 11 11 12 12 nativeBuildInputs = [ makeWrapper ];
+3 -3
pkgs/tools/misc/topicctl/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "topicctl"; 5 - version = "1.3.1"; 5 + version = "1.4.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "segmentio"; 9 9 repo = "topicctl"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-hbsVk82iTZGVvypZHhUk/By0sSQxmZQBog2/3qKE94s="; 11 + sha256 = "sha256-uuASiJXyYzQC+9TkoALKiygRrgoEeR2cFPDQeZ9pIQ4="; 12 12 }; 13 13 14 - vendorSha256 = "sha256-i1ir/aT/jaK//rmH9k/eK4LIRh0OmEytc0mGO7IrpqI="; 14 + vendorSha256 = "sha256-u5U6JnlkQOjzKjbwdKgJ2YAh8//x7H/F3PC/H60boZc="; 15 15 16 16 ldflags = [ 17 17 "-X main.BuildVersion=${version}"
+2 -2
pkgs/tools/misc/yad/default.nix
··· 3 3 4 4 stdenv.mkDerivation rec { 5 5 pname = "yad"; 6 - version = "11.0"; 6 + version = "12.0"; 7 7 8 8 src = fetchFromGitHub { 9 9 owner = "v1cont"; 10 10 repo = "yad"; 11 11 rev = "v${version}"; 12 - sha256 = "sha256-I+3euq3qel9VCDVf0Bd4XdMOCt+g/CYlnnje50lbRr8="; 12 + sha256 = "sha256-Lp7KHASUYx3pKKCNTDGyOZslSiKFl9EGulR2yjfha9k="; 13 13 }; 14 14 15 15 configureFlags = [
+2 -2
pkgs/tools/system/hwinfo/default.nix
··· 9 9 10 10 stdenv.mkDerivation rec { 11 11 pname = "hwinfo"; 12 - version = "21.80"; 12 + version = "21.82"; 13 13 14 14 src = fetchFromGitHub { 15 15 owner = "opensuse"; 16 16 repo = "hwinfo"; 17 17 rev = version; 18 - sha256 = "sha256-T4ny1tq3IMtmeZRgcAOvu2O23XEiLeKRoqOxhuVGBRw="; 18 + sha256 = "sha256-kFoOqMaejvlv8RnAcUPi03qrhV/Jcy8jQ4AQA1/eBsY="; 19 19 }; 20 20 21 21 nativeBuildInputs = [
+3 -3
pkgs/tools/system/mlc/default.nix
··· 1 1 { lib, stdenv, fetchurl, patchelf }: 2 2 stdenv.mkDerivation rec { 3 3 pname = "mlc"; 4 - version = "3.9"; 4 + version = "3.9a"; 5 5 6 6 src = fetchurl { 7 - url = "https://software.intel.com/content/dam/develop/external/us/en/protected/mlc_v${version}.tgz"; 8 - sha256 = "1x7abm9hbv9hkqa3cgxz6l04m3ycyl40i4zgx1w819pc10n6dhdb"; 7 + url = "https://downloadmirror.intel.com/736634/mlc_v${version}.tgz"; 8 + sha256 = "3vNI/CQwyY4KMFest1wkVYecsxigjXyGIUIKai979W4="; 9 9 }; 10 10 11 11 sourceRoot = "Linux";
+2 -2
pkgs/tools/system/openipmi/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "OpenIPMI"; 5 - version = "2.0.32"; 5 + version = "2.0.33"; 6 6 7 7 src = fetchurl { 8 8 url = "mirror://sourceforge/openipmi/OpenIPMI-${version}.tar.gz"; 9 - sha256 = "sha256-9tD9TAp0sF+AkHIp0LJw9UyiMpS8wRl5+LjRJ2Z4aUU="; 9 + sha256 = "sha256-+1Pp6l4mgc+K982gJLGgBExnX4QRbKJ66WFsi3rZW0k="; 10 10 }; 11 11 12 12 buildInputs = [ ncurses popt python39 readline ];
+2 -2
pkgs/tools/text/kdiff3/default.nix
··· 14 14 15 15 mkDerivation rec { 16 16 pname = "kdiff3"; 17 - version = "1.9.5"; 17 + version = "1.9.6"; 18 18 19 19 src = fetchurl { 20 20 url = "https://download.kde.org/stable/${pname}/${pname}-${version}.tar.xz"; 21 - sha256 = "sha256-CDchWW2dQ3O8LxKYOUqN21tVp61NckKTOnzYrmRoPBo="; 21 + sha256 = "sha256-rJIkdvhQYTpzkoTj+vR3yYrDSa0Vpzeity3thFH2srw="; 22 22 }; 23 23 24 24 buildInputs = [ boost ];
+7 -1
pkgs/top-level/all-packages.nix
··· 15398 15398 15399 15399 bazel-remote = callPackage ../development/tools/build-managers/bazel/bazel-remote { }; 15400 15400 15401 - bazel-watcher = callPackage ../development/tools/bazel-watcher { }; 15401 + bazel-watcher = callPackage ../development/tools/bazel-watcher { 15402 + go = go_1_18; 15403 + }; 15402 15404 15403 15405 bazel-gazelle = callPackage ../development/tools/bazel-gazelle { }; 15404 15406 ··· 27288 27290 foxtrotgps = callPackage ../applications/misc/foxtrotgps { }; 27289 27291 27290 27292 fractal = callPackage ../applications/networking/instant-messengers/fractal { }; 27293 + 27294 + fractal-next = callPackage ../applications/networking/instant-messengers/fractal-next { 27295 + inherit (gst_all_1) gstreamer gst-plugins-base gst-plugins-bad; 27296 + }; 27291 27297 27292 27298 fragments = callPackage ../applications/networking/p2p/fragments { }; 27293 27299