···11-# This file has been generated by node2nix 1.9.0. Do not edit!
11+# This file has been generated by node2nix 1.11.1. Do not edit!
2233{pkgs ? import <nixpkgs> {
44 inherit system;
55- }, system ? builtins.currentSystem, nodejs ? pkgs."nodejs-12_x"}:
55+ }, system ? builtins.currentSystem, nodejs ? pkgs."nodejs-16_x"}:
6677let
88 nodeEnv = import ./node-env.nix {
+21-11
pkgs/applications/networking/n8n/node-env.nix
···9898 ''
9999 + (lib.concatMapStrings (dependency:
100100 ''
101101- if [ ! -e "${dependency.name}" ]; then
101101+ if [ ! -e "${dependency.packageName}" ]; then
102102 ${composePackage dependency}
103103 fi
104104 ''
···257257 var packageLock = JSON.parse(fs.readFileSync("./package-lock.json"));
258258259259 if(![1, 2].includes(packageLock.lockfileVersion)) {
260260- process.stderr.write("Sorry, I only understand lock file versions 1 and 2!\n");
261261- process.exit(1);
260260+ process.stderr.write("Sorry, I only understand lock file versions 1 and 2!\n");
261261+ process.exit(1);
262262 }
263263264264 if(packageLock.dependencies !== undefined) {
···390390 buildNodePackage =
391391 { name
392392 , packageName
393393- , version
393393+ , version ? null
394394 , dependencies ? []
395395 , buildInputs ? []
396396 , production ? true
···409409 extraArgs = removeAttrs args [ "name" "dependencies" "buildInputs" "dontStrip" "dontNpmInstall" "preRebuild" "unpackPhase" "buildPhase" "meta" ];
410410 in
411411 stdenv.mkDerivation ({
412412- name = "${name}-${version}";
412412+ name = "${name}${if version == null then "" else "-${version}"}";
413413 buildInputs = [ tarWrapper python nodejs ]
414414 ++ lib.optional (stdenv.isLinux) utillinux
415415 ++ lib.optional (stdenv.isDarwin) libtool
···441441 if [ -d "$out/lib/node_modules/.bin" ]
442442 then
443443 ln -s $out/lib/node_modules/.bin $out/bin
444444+445445+ # Patch the shebang lines of all the executables
446446+ ls $out/bin/* | while read i
447447+ do
448448+ file="$(readlink -f "$i")"
449449+ chmod u+rwx "$file"
450450+ patchShebangs "$file"
451451+ done
444452 fi
445453446454 # Create symlinks to the deployed manual page folders, if applicable
···471479 buildNodeDependencies =
472480 { name
473481 , packageName
474474- , version
482482+ , version ? null
475483 , src
476484 , dependencies ? []
477485 , buildInputs ? []
···489497 extraArgs = removeAttrs args [ "name" "dependencies" "buildInputs" ];
490498 in
491499 stdenv.mkDerivation ({
492492- name = "node-dependencies-${name}-${version}";
500500+ name = "node-dependencies-${name}${if version == null then "" else "-${version}"}";
493501494502 buildInputs = [ tarWrapper python nodejs ]
495503 ++ lib.optional (stdenv.isLinux) utillinux
···519527 if [ -f ${src}/package-lock.json ]
520528 then
521529 cp ${src}/package-lock.json .
530530+ chmod 644 package-lock.json
522531 fi
523532 ''}
524533···541550 buildNodeShell =
542551 { name
543552 , packageName
544544- , version
553553+ , version ? null
545554 , src
546555 , dependencies ? []
547556 , buildInputs ? []
···557566558567 let
559568 nodeDependencies = buildNodeDependencies args;
569569+ extraArgs = removeAttrs args [ "name" "dependencies" "buildInputs" "dontStrip" "dontNpmInstall" "unpackPhase" "buildPhase" ];
560570 in
561561- stdenv.mkDerivation {
562562- name = "node-shell-${name}-${version}";
571571+ stdenv.mkDerivation ({
572572+ name = "node-shell-${name}${if version == null then "" else "-${version}"}";
563573564574 buildInputs = [ python nodejs ] ++ lib.optional (stdenv.isLinux) utillinux ++ buildInputs;
565575 buildCommand = ''
···578588 export NODE_PATH=${nodeDependencies}/lib/node_modules
579589 export PATH="${nodeDependencies}/bin:$PATH"
580590 '';
581581- };
591591+ } // extraArgs);
582592in
583593{
584594 buildNodeSourceDist = lib.makeOverridable buildNodeSourceDist;
···346346 outputs = if buildTests then [ "out" ] else [ "out" "lib" ];
347347 outputDev = if buildTests then [ "out" ] else [ "lib" ];
348348349349+ meta = {
350350+ mainProgram = crateName;
351351+ };
349352 } // extraDerivationAttrs
350353 )
351354 )
+1-1
pkgs/desktops/plasma-5/fetch.sh
···11-WGET_ARGS=( https://download.kde.org/stable/plasma/5.24.4/ -A '*.tar.xz' )
11+WGET_ARGS=( https://download.kde.org/stable/plasma/5.24.5/ -A '*.tar.xz' )
···5252with builtins;
53535454let majorVersion = "11";
5555- version = "${majorVersion}.3.0";
5555+ # The patch below for aarch64-darwin does not apply to 11.3.0 and an
5656+ # updated version is not available. Keep aarch64-darwin on 11.2.0 so the
5757+ # large body of packages which depend on gfortran are still functional
5858+ # until GCC 12 is the default.
5959+ version = if (stdenv.isDarwin && stdenv.isAarch64) then
6060+ "${majorVersion}.2.0" else "${majorVersion}.3.0";
56615762 inherit (stdenv) buildPlatform hostPlatform targetPlatform;
5863···91969297 src = fetchurl {
9398 url = "mirror://gcc/releases/gcc-${version}/gcc-${version}.tar.xz";
9494- sha256 = "sha256-tHzygYaR9bHiHfK7OMeV+sLPvWQO3i0KXhyJ4zijrDk=";
9999+ sha256 = if (stdenv.isDarwin && stdenv.isAarch64)
100100+ then "sha256-0I7cU2tUw3KhAQ/2YZ3SdMDxYDqkkhK6IPeqLNo2+os="
101101+ else "sha256-tHzygYaR9bHiHfK7OMeV+sLPvWQO3i0KXhyJ4zijrDk=";
95102 };
9610397104 inherit patches;
···11+{ lib, stdenv, fetchurl, fetchpatch
22+, autoreconfHook
33+44+, doCheck ? true # test suite depends on dejagnu which cannot be used during bootstrapping
55+, dejagnu
66+}:
77+88+stdenv.mkDerivation rec {
99+ pname = "libffi";
1010+ version = "3.3";
1111+1212+ src = fetchurl {
1313+ url = "https://github.com/libffi/libffi/releases/download/v${version}/${pname}-${version}.tar.gz";
1414+ hash = "sha256-cvunkicD3fp6Ao1ROsFahcjVTI1n9V+lpIAohdxlIFY=";
1515+ };
1616+1717+ patches = [];
1818+1919+ outputs = [ "out" "dev" "man" "info" ];
2020+2121+ configureFlags = [
2222+ "--with-gcc-arch=generic" # no detection of -march= or -mtune=
2323+ "--enable-pax_emutramp"
2424+2525+ # Causes issues in downstream packages which misuse ffi_closure_alloc
2626+ # Reenable once these issues are fixed and merged:
2727+ # https://gitlab.haskell.org/ghc/ghc/-/merge_requests/6155
2828+ # https://gitlab.gnome.org/GNOME/gobject-introspection/-/merge_requests/283
2929+ "--disable-exec-static-tramp"
3030+ ];
3131+3232+ preCheck = ''
3333+ # The tests use -O0 which is not compatible with -D_FORTIFY_SOURCE.
3434+ NIX_HARDENING_ENABLE=''${NIX_HARDENING_ENABLE/fortify/}
3535+ '';
3636+3737+ dontStrip = stdenv.hostPlatform != stdenv.buildPlatform; # Don't run the native `strip' when cross-compiling.
3838+3939+ inherit doCheck;
4040+4141+ checkInputs = [ dejagnu ];
4242+4343+ meta = with lib; {
4444+ description = "A foreign function call interface library";
4545+ longDescription = ''
4646+ The libffi library provides a portable, high level programming
4747+ interface to various calling conventions. This allows a
4848+ programmer to call any function specified by a call interface
4949+ description at run-time.
5050+5151+ FFI stands for Foreign Function Interface. A foreign function
5252+ interface is the popular name for the interface that allows code
5353+ written in one language to call code written in another
5454+ language. The libffi library really only provides the lowest,
5555+ machine dependent layer of a fully featured foreign function
5656+ interface. A layer must exist above libffi that handles type
5757+ conversions for values passed between the two languages.
5858+ '';
5959+ homepage = "http://sourceware.org/libffi/";
6060+ license = licenses.mit;
6161+ maintainers = with maintainers; [ armeenm ];
6262+ platforms = platforms.all;
6363+ };
6464+}
+6-14
pkgs/development/libraries/libgit2/default.nix
···11{ lib
22, stdenv
33, fetchFromGitHub
44-, fetchpatch
54, cmake
65, pkg-config
76, python3
···16151716stdenv.mkDerivation rec {
1817 pname = "libgit2";
1919- version = "1.4.0";
1818+ version = "1.4.3";
2019 # also check the following packages for updates: python3.pkgs.pygit2 and libgit2-glib
21202221 src = fetchFromGitHub {
2322 owner = "libgit2";
2423 repo = "libgit2";
2524 rev = "v${version}";
2626- sha256 = "sha256-21t7fD/5O+HIHUDEv8MqloDmAIm9sSpJYqreCD3Co2k=";
2525+ sha256 = "sha256-WnRzH5uMVEStA5ns4GNgMD5YoLQoats9aPLfnz9RoQs=";
2726 };
28272929- patches = [
3030- (fetchpatch {
3131- url = "https://github.com/libgit2/libgit2/commit/8bc9eda779b2e2602fc74944aba5d39198e0642f.patch";
3232- sha256 = "sha256-r2i4+WsrxIpSwH0g/AikBdAajBncXb1zz0uOQB0h1Jk=";
3333- })
3434- ];
3535-3628 cmakeFlags = [
3729 "-DTHREADSAFE=ON"
3830 "-DUSE_HTTP_PARSER=system"
···48404941 doCheck = false; # hangs. or very expensive?
50425151- meta = {
4343+ meta = with lib; {
5244 description = "Linkable library implementation of Git that you can use in your application";
5345 homepage = "https://libgit2.org/";
5454- license = lib.licenses.gpl2Plus;
5555- platforms = lib.platforms.all;
5656- maintainers = with lib.maintainers; [ ];
4646+ license = licenses.gpl2Plus;
4747+ platforms = platforms.all;
4848+ maintainers = with maintainers; [ SuperSandro2000 ];
5749 };
5850}
···5566# Version of Google Cloud SDK from
77# https://cloud.google.com/sdk/docs/release-notes
88-VERSION="381.0.0"
88+VERSION="384.0.1"
991010function genMainSrc() {
1111 local url="${BASE_URL}-${VERSION}-${1}-${2}.tar.gz"