From a7be4f3840d434257ec50f4ba61218ec3a0da180 Mon Sep 17 00:00:00 2001 From: Luflosi Date: Tue, 30 Nov 2021 21:47:19 +0100 Subject: [PATCH 01/49] boinc: add Luflosi as maintainer --- pkgs/applications/science/misc/boinc/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/science/misc/boinc/default.nix b/pkgs/applications/science/misc/boinc/default.nix index 460ea1408eca..92cfe7b1ae7c 100644 --- a/pkgs/applications/science/misc/boinc/default.nix +++ b/pkgs/applications/science/misc/boinc/default.nix @@ -37,10 +37,11 @@ stdenv.mkDerivation rec { configureFlags = [ "--disable-server" ]; - meta = { + meta = with lib; { description = "Free software for distributed and grid computing"; homepage = "https://boinc.berkeley.edu/"; - license = lib.licenses.lgpl2Plus; - platforms = lib.platforms.linux; # arbitrary choice + license = licenses.lgpl2Plus; + platforms = platforms.linux; # arbitrary choice + maintainers = with maintainers; [ Luflosi ]; }; } From 4e0d9003fc68060c6c6144ce4cbee1497c26ee88 Mon Sep 17 00:00:00 2001 From: Luflosi Date: Tue, 30 Nov 2021 21:48:13 +0100 Subject: [PATCH 02/49] boinc: 7.14.2 -> 7.18.1 --- pkgs/applications/science/misc/boinc/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/science/misc/boinc/default.nix b/pkgs/applications/science/misc/boinc/default.nix index 92cfe7b1ae7c..ecaad3ea05cf 100644 --- a/pkgs/applications/science/misc/boinc/default.nix +++ b/pkgs/applications/science/misc/boinc/default.nix @@ -3,8 +3,8 @@ libGLU, libGL, libXmu, libXi, freeglut, libjpeg, libtool, wxGTK30, xcbutil, sqlite, gtk2, patchelf, libXScrnSaver, libnotify, libX11, libxcb }: let - majorVersion = "7.14"; - minorVersion = "2"; + majorVersion = "7.18"; + minorVersion = "1"; in stdenv.mkDerivation rec { @@ -16,7 +16,7 @@ stdenv.mkDerivation rec { owner = "BOINC"; repo = "boinc"; rev = "client_release/${majorVersion}/${version}"; - sha256 = "0nicpkag18xq0libfqqvs0im22mijpsxzfk272iwdd9l0lmgfvyd"; + sha256 = "sha256-ijkfWTFwwJXvh6f0P5hkzWODxU+Ugz6iQUK+5jEpWXQ="; }; nativeBuildInputs = [ libtool automake autoconf m4 pkg-config ]; From ca87168c6e856d771695ecc7c991b3d0132a18f2 Mon Sep 17 00:00:00 2001 From: Luflosi Date: Tue, 30 Nov 2021 21:49:19 +0100 Subject: [PATCH 03/49] boinc: copy systemd service file to output --- pkgs/applications/science/misc/boinc/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/applications/science/misc/boinc/default.nix b/pkgs/applications/science/misc/boinc/default.nix index ecaad3ea05cf..05304ef6a9e2 100644 --- a/pkgs/applications/science/misc/boinc/default.nix +++ b/pkgs/applications/science/misc/boinc/default.nix @@ -37,6 +37,10 @@ stdenv.mkDerivation rec { configureFlags = [ "--disable-server" ]; + postInstall = '' + install --mode=444 -D 'client/scripts/boinc-client.service' "$out/etc/systemd/system/boinc.service" + ''; + meta = with lib; { description = "Free software for distributed and grid computing"; homepage = "https://boinc.berkeley.edu/"; From 5e67953f20e3977487d334d809f152436c09964c Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 7 Dec 2021 03:43:34 +0000 Subject: [PATCH 04/49] htmldoc: 1.9.12 -> 1.9.13 --- pkgs/tools/typesetting/htmldoc/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/typesetting/htmldoc/default.nix b/pkgs/tools/typesetting/htmldoc/default.nix index aaea9090b72e..e29447011bc3 100644 --- a/pkgs/tools/typesetting/htmldoc/default.nix +++ b/pkgs/tools/typesetting/htmldoc/default.nix @@ -2,12 +2,12 @@ stdenv.mkDerivation rec { pname = "htmldoc"; - version = "1.9.12"; + version = "1.9.13"; src = fetchFromGitHub { owner = "michaelrsweet"; repo = "htmldoc"; rev = "v${version}"; - sha256 = "1dqima0g3j301wwzjxdhzk5pvfj724rl615gf8ssxxajfnid1gl0"; + sha256 = "sha256-wAqH3BKNYbOXMbnaRhz4QZ/49stxC2Qf+yatKBv0i68="; }; nativeBuildInputs = [ pkg-config ]; From f0fd385647d41d19d459f300df6619daeaa049c5 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 8 Dec 2021 00:10:36 +0000 Subject: [PATCH 05/49] pdfsam-basic: 4.2.7 -> 4.2.8 --- pkgs/applications/misc/pdfsam-basic/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/misc/pdfsam-basic/default.nix b/pkgs/applications/misc/pdfsam-basic/default.nix index 9aed6daa5c31..c840f7c72a07 100644 --- a/pkgs/applications/misc/pdfsam-basic/default.nix +++ b/pkgs/applications/misc/pdfsam-basic/default.nix @@ -2,11 +2,11 @@ stdenv.mkDerivation rec { pname = "pdfsam-basic"; - version = "4.2.7"; + version = "4.2.8"; src = fetchurl { url = "https://github.com/torakiki/pdfsam/releases/download/v${version}/pdfsam_${version}-1_amd64.deb"; - sha256 = "sha256-PVG4KZX6KxkrooywgEmqOItyLt5hGs+b/KCaguduGyc="; + sha256 = "sha256-bbGFSy2ZuUtFWyAgje6s+RSQ6S7NZGAhjvZMbIWfYhE="; }; unpackPhase = '' From b03ca8faa827a3d579224d7ff4d1ec786a59ea30 Mon Sep 17 00:00:00 2001 From: OPNA2608 Date: Fri, 10 Dec 2021 13:31:40 +0100 Subject: [PATCH 06/49] open-watcom-v2: unstable-2021-11-30 -> unstable-2021-12-10 --- pkgs/development/compilers/open-watcom/v2.nix | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/pkgs/development/compilers/open-watcom/v2.nix b/pkgs/development/compilers/open-watcom/v2.nix index da63df43d59b..6cb5c6dcc105 100644 --- a/pkgs/development/compilers/open-watcom/v2.nix +++ b/pkgs/development/compilers/open-watcom/v2.nix @@ -1,6 +1,7 @@ { stdenv , lib , fetchFromGitHub +, unstableGitUpdater # Docs cause an immense increase in build time, up to 2 additional hours , withDocs ? false @@ -11,14 +12,14 @@ stdenv.mkDerivation rec { pname = "open-watcom-v2"; - version = "unstable-2021-11-30"; + version = "unstable-2021-12-10"; name = "${pname}-unwrapped-${version}"; src = fetchFromGitHub { owner = "open-watcom"; repo = "open-watcom-v2"; - rev = "982c958eb4840e1c6a98773ba0600f652500f5a7"; - sha256 = "18dp9nd1gjnpd1870149v67vzxbna25l6zi052z1r51xvaqwc3cx"; + rev = "ca685c1b780149f7210426f0bb78dd7b67b19e6d"; + sha256 = "1nmmj94z5hips2426rcdqdcsm8015jjj51rm9fnx81qagdj52j5d"; }; postPatch = '' @@ -82,6 +83,10 @@ stdenv.mkDerivation rec { # Stripping breaks many tools dontStrip = true; + passthru.updateScript = unstableGitUpdater { + url = "https://github.com/open-watcom/open-watcom-v2.git"; + }; + meta = with lib; { description = "The v2 fork of the Open Watcom suite of compilers and tools"; longDescription = '' From 53d2e5a40784aa1810b05c68d8f395c655f71aac Mon Sep 17 00:00:00 2001 From: OPNA2608 Date: Fri, 10 Dec 2021 14:02:48 +0100 Subject: [PATCH 07/49] wrapWatcom: inherit compiler's meta --- pkgs/development/compilers/open-watcom/wrapper.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/compilers/open-watcom/wrapper.nix b/pkgs/development/compilers/open-watcom/wrapper.nix index 423ce4b26472..94cca7ab34ce 100644 --- a/pkgs/development/compilers/open-watcom/wrapper.nix +++ b/pkgs/development/compilers/open-watcom/wrapper.nix @@ -123,6 +123,8 @@ let ''; }; }; + + inherit (open-watcom) meta; }; in lib.makeOverridable wrapper From bdd7e0108b57b793d263d10d07504bec45e3cedc Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 11 Dec 2021 14:45:40 +0000 Subject: [PATCH 08/49] birdfont: 2.29.5 -> 2.29.6 --- pkgs/tools/misc/birdfont/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/misc/birdfont/default.nix b/pkgs/tools/misc/birdfont/default.nix index 5473fa0e78ce..a6c2ca77c5a7 100644 --- a/pkgs/tools/misc/birdfont/default.nix +++ b/pkgs/tools/misc/birdfont/default.nix @@ -4,11 +4,11 @@ gobject-introspection, gsettings-desktop-schemas, wrapGAppsHook }: stdenv.mkDerivation rec { pname = "birdfont"; - version = "2.29.5"; + version = "2.29.6"; src = fetchurl { url = "https://birdfont.org/releases/${pname}-${version}.tar.xz"; - sha256 = "sha256-eIqq4ehUB4lF89ikrHeN5Akq14nxYMxREZzPSVnv+nU="; + sha256 = "sha256-INHLH3wv1Rr3RLECAN2CQvctIjWdksxdfVfBkWnx+Is="; }; nativeBuildInputs = [ python3 pkg-config vala gobject-introspection wrapGAppsHook ]; From 065e16b78612935d3bd8fbbfbd67a0caee61b809 Mon Sep 17 00:00:00 2001 From: Nikolay Korotkiy Date: Sun, 12 Dec 2021 17:20:57 +0300 Subject: [PATCH 09/49] =?UTF-8?q?cudatext:=201.150.0=20=E2=86=92=201.152.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../applications/editors/cudatext/default.nix | 6 +++-- pkgs/applications/editors/cudatext/deps.json | 12 +++++----- pkgs/applications/editors/cudatext/update.sh | 23 +++++++++++++++++++ 3 files changed, 33 insertions(+), 8 deletions(-) create mode 100755 pkgs/applications/editors/cudatext/update.sh diff --git a/pkgs/applications/editors/cudatext/default.nix b/pkgs/applications/editors/cudatext/default.nix index f30138c2fe0d..cf2f36372a0b 100644 --- a/pkgs/applications/editors/cudatext/default.nix +++ b/pkgs/applications/editors/cudatext/default.nix @@ -38,13 +38,13 @@ let in stdenv.mkDerivation rec { pname = "cudatext"; - version = "1.150.0"; + version = "1.152.0"; src = fetchFromGitHub { owner = "Alexey-T"; repo = "CudaText"; rev = version; - sha256 = "sha256-6XG4v2S7InKA6OVrV+q1lT/CzNxmzVQfmAAo2cqbqBY="; + sha256 = "sha256-LwPlWfna+/LsQxOBuTFpE7e7Qr5g9NN14rVasMZVImQ="; }; postPatch = '' @@ -99,6 +99,8 @@ stdenv.mkDerivation rec { fi '') additionalLexers; + passthru.updateScript = ./update.sh; + meta = with lib; { description = "Cross-platform code editor"; longDescription = '' diff --git a/pkgs/applications/editors/cudatext/deps.json b/pkgs/applications/editors/cudatext/deps.json index 8e677458a476..6b52a065359a 100644 --- a/pkgs/applications/editors/cudatext/deps.json +++ b/pkgs/applications/editors/cudatext/deps.json @@ -16,8 +16,8 @@ }, "ATSynEdit": { "owner": "Alexey-T", - "rev": "2021.11.25", - "sha256": "sha256-CbH0C+UOJ9X2wKG5IEbgitda06lazujYM8l961k7C7g=" + "rev": "2021.12.12", + "sha256": "sha256-glP2Srw3Lw1JNQO+DIwixf4Xdbo5M6pBdYufwGERPW4=" }, "ATSynEdit_Cmp": { "owner": "Alexey-T", @@ -26,13 +26,13 @@ }, "EControl": { "owner": "Alexey-T", - "rev": "2021.10.21", - "sha256": "sha256-RyRpHihmmr/EeVWk9CR0S3pvKy0FzqLZNGti33+4fkI=" + "rev": "2021.12.07", + "sha256": "sha256-givCklAHao26psWLI2qK246igxcAQEeIYTGH61FX6Xo=" }, "ATSynEdit_Ex": { "owner": "Alexey-T", - "rev": "2021.11.25", - "sha256": "sha256-6hk9wNdoz1d3VpuW7yHyIQnnYseEAfgjCNGl6+o0Hjs=" + "rev": "2021.12.07", + "sha256": "sha256-/2Fv/vrpbHSiJro11cjbziUaT4gfwa6y5aQBoYgq3OQ=" }, "Python-for-Lazarus": { "owner": "Alexey-T", diff --git a/pkgs/applications/editors/cudatext/update.sh b/pkgs/applications/editors/cudatext/update.sh new file mode 100755 index 000000000000..8389b3e8a7d4 --- /dev/null +++ b/pkgs/applications/editors/cudatext/update.sh @@ -0,0 +1,23 @@ +#!/usr/bin/env nix-shell +#!nix-shell -i bash -p curl gnused jq nix-prefetch moreutils + +set -euo pipefail +cd "$(dirname "$0")" + +version=$(curl -s https://api.github.com/repos/Alexey-T/CudaText/releases/latest | jq -r '.tag_name') +url="https://github.com/Alexey-T/CudaText/archive/refs/tags/${version}.tar.gz" +hash=$(nix-prefetch-url --quiet --unpack --type sha256 $url) +sriHash=$(nix hash to-sri --type sha256 $hash) + +sed -i "s#version = \".*\"#version = \"$version\"#" default.nix +sed -i "s#sha256 = \".*\"#sha256 = \"$sriHash\"#" default.nix + +while IFS=$'\t' read repo owner rev; do + latest=$(curl -s https://api.github.com/repos/${owner}/${repo}/releases/latest | jq -r '.tag_name') + if [ "$latest" != "$rev" ]; then + url="https://github.com/${owner}/${repo}/archive/refs/tags/${latest}.tar.gz" + hash=$(nix-prefetch-url --quiet --unpack --type sha256 $url) + sriHash=$(nix hash to-sri --type sha256 $hash) + jq ".${repo}.rev = \"${latest}\" | .${repo}.sha256 = \"${sriHash}\"" deps.json | sponge deps.json + fi +done <<< $(jq -r 'to_entries[]|[.key,.value.owner,.value.rev]|@tsv' deps.json) From b5592f553f90ad2531cff9e3bafe5688ab790c91 Mon Sep 17 00:00:00 2001 From: "Robert T. McGibbon" Date: Sun, 12 Dec 2021 10:08:06 -0500 Subject: [PATCH 10/49] nice-dcv-client: 2020.2.1737-1 -> 2021.2.3797-1 --- .../remote/nice-dcv-client/default.nix | 25 +++++++++---------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/pkgs/applications/networking/remote/nice-dcv-client/default.nix b/pkgs/applications/networking/remote/nice-dcv-client/default.nix index 82debe6f8a1a..20b850328875 100644 --- a/pkgs/applications/networking/remote/nice-dcv-client/default.nix +++ b/pkgs/applications/networking/remote/nice-dcv-client/default.nix @@ -1,4 +1,5 @@ -{ lib, stdenv +{ lib +, stdenv , fetchurl , glib , libX11 @@ -16,22 +17,23 @@ , gtk3 , libselinux , libxml2 +, libffi , python3Packages , cpio , autoPatchelfHook +, wrapGAppsHook }: stdenv.mkDerivation rec { pname = "nice-dcv-client"; - version = "2020.2.1737-1"; - + version = "2021.2.3797-1"; src = fetchurl { - url = "https://d1uj6qtbmh3dt5.cloudfront.net/2020.2/Clients/nice-dcv-viewer-${version}.el8.x86_64.rpm"; - sha256 = "sha256-SUpfHd/Btc07cfjc3zx5I5BiNatr/c4E2/mfJuU4R1E="; + url = "https://d1uj6qtbmh3dt5.cloudfront.net/2021.2/Clients/nice-dcv-viewer-${version}.el8.x86_64.rpm"; + sha256 = "sha256-iLz25SB5v7ghkAZOMGPmpNaPihd8ikzCQS//r1xBNRU="; }; - nativeBuildInputs = [ autoPatchelfHook python3Packages.rpm ]; + nativeBuildInputs = [ autoPatchelfHook wrapGAppsHook python3Packages.rpm ]; unpackPhase = '' rpm2cpio $src | ${cpio}/bin/cpio -idm ''; @@ -57,31 +59,28 @@ stdenv.mkDerivation rec { installPhase = '' mkdir -p $out/bin/ mkdir -p $out/lib64/ - mv usr/bin/dcvviewer $out/bin/dcvviewer mv usr/lib64/* $out/lib64/ - mkdir -p $out/libexec/dcvviewer mv usr/libexec/dcvviewer/dcvviewer $out/libexec/dcvviewer/dcvviewer patchelf \ --set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) \ $out/libexec/dcvviewer/dcvviewer - # Fix the wrapper script to have the right basedir. sed -i "s#basedir=/usr#basedir=$out#" $out/bin/dcvviewer - mv usr/share $out/ + ${glib.dev}/bin/glib-compile-schemas $out/share/glib-2.0/schemas - # broken symlink, seems to give a warning message if i don't delete it - rm $out/lib64/dcvviewer/gio/modules/libdconfsettings.so + # we already ship libffi.so.7 + ln -s ${lib.getLib libffi}/lib/libffi.so $out/lib64/libffi.so.6 ''; meta = with lib; { description = "High-performance remote display protocol"; homepage = "https://aws.amazon.com/hpc/dcv/"; license = licenses.unfree; - platforms = platforms.linux; + platforms = [ "x86_64-linux" ]; maintainers = with maintainers; [ rmcgibbo ]; }; } From b8b82870c71f726a9992cbc2367fa7d45732ca49 Mon Sep 17 00:00:00 2001 From: Johannes Schleifenbaum Date: Sun, 12 Dec 2021 21:32:17 +0100 Subject: [PATCH 11/49] dbeaver: 21.3.0 -> 21.3.1 --- pkgs/applications/misc/dbeaver/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/misc/dbeaver/default.nix b/pkgs/applications/misc/dbeaver/default.nix index 156cc7188dcf..653ac79267e5 100644 --- a/pkgs/applications/misc/dbeaver/default.nix +++ b/pkgs/applications/misc/dbeaver/default.nix @@ -20,13 +20,13 @@ stdenv.mkDerivation rec { pname = "dbeaver"; - version = "21.3.0"; # When updating also update fetchedMavenDeps.sha256 + version = "21.3.1"; # When updating also update fetchedMavenDeps.sha256 src = fetchFromGitHub { owner = "dbeaver"; repo = "dbeaver"; rev = version; - sha256 = "iKxnuMm5hpreP706N+XxaBrDVVwVFRWKNmiCyXkOUCQ="; + sha256 = "ePy3uS+LpyDzweLocSk3O/G2zFPISKbMbci9fdELrpE="; }; fetchedMavenDeps = stdenv.mkDerivation { From dcd2dc83277ffc12998dbd1e2ad60d2f859559fd Mon Sep 17 00:00:00 2001 From: polykernel <81340136+polykernel@users.noreply.github.com> Date: Mon, 13 Dec 2021 23:31:30 -0500 Subject: [PATCH 12/49] greetd: 0.7.0 -> 0.8.0 --- pkgs/os-specific/linux/greetd/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/os-specific/linux/greetd/default.nix b/pkgs/os-specific/linux/greetd/default.nix index 6f305c5d6ebb..cfde703cd674 100644 --- a/pkgs/os-specific/linux/greetd/default.nix +++ b/pkgs/os-specific/linux/greetd/default.nix @@ -8,16 +8,16 @@ rustPlatform.buildRustPackage rec { pname = "greetd"; - version = "0.7.0"; + version = "0.8.0"; src = fetchFromSourcehut { owner = "~kennylevinsen"; repo = pname; rev = version; - sha256 = "b+S3fuJ8gjnSQzLHl3Bs9iO/Un2ynggAplz01GjJvFI="; + sha256 = "sha256-20D6HanUeAc0S9czkNJFmhsrfEqodpafkHsmwKccrHQ="; }; - cargoHash = "sha256-YSC7osyBPwx+lo7P1ftI72mRWeQlDc2srRPzTFqVTxM="; + cargoHash = "sha256-8nMQ81Y0DnPs9WmxNASlcjTEVw5lh+nZtZ7vmmBCu2g="; nativeBuildInputs = [ scdoc From 8e11dcca482a3ed7d3107bd5b60af89f8cb58a73 Mon Sep 17 00:00:00 2001 From: IvarWithoutBones Date: Mon, 22 Nov 2021 02:12:42 +0100 Subject: [PATCH 13/49] buildDotnetModule: add passthru.fetch-deps --- doc/languages-frameworks/dotnet.section.md | 7 +++- .../build-dotnet-module/default.nix | 41 +++++++++++++++++-- 2 files changed, 43 insertions(+), 5 deletions(-) diff --git a/doc/languages-frameworks/dotnet.section.md b/doc/languages-frameworks/dotnet.section.md index 94d97a970dbb..159347008e80 100644 --- a/doc/languages-frameworks/dotnet.section.md +++ b/doc/languages-frameworks/dotnet.section.md @@ -72,7 +72,7 @@ The `dotnetCorePackages.sdk` contains both a runtime and the full sdk of a given To package Dotnet applications, you can use `buildDotnetModule`. This has similar arguments to `stdenv.mkDerivation`, with the following additions: * `projectFile` has to be used for specifying the dotnet project file relative to the source root. These usually have `.sln` or `.csproj` file extensions. This can be an array of multiple projects as well. -* `nugetDeps` has to be used to specify the NuGet dependency file. Unfortunately, these cannot be deterministically fetched without a lockfile. This file should be generated using `nuget-to-nix` tool, which is available in nixpkgs. +* `nugetDeps` has to be used to specify the NuGet dependency file. Unfortunately, these cannot be deterministically fetched without a lockfile. A script to fetch these is available as `passthru.fetch-deps`. This file can also be generated manually using `nuget-to-nix` tool, which is available in nixpkgs. * `packNupkg` is used to pack project as a `nupkg`, and installs it to `$out/share`. If set to `true`, the derivation can be used as a dependency for another dotnet project by adding it to `projectReferences`. * `projectReferences` can be used to resolve `ProjectReference` project items. Referenced projects can be packed with `buildDotnetModule` by setting the `packNupkg = true` attribute and passing a list of derivations to `projectReferences`. Since we are sharing referenced projects as NuGets they must be added to csproj/fsproj files as `PackageReference` as well. For example, your project has a local dependency: @@ -99,6 +99,8 @@ To package Dotnet applications, you can use `buildDotnetModule`. This has simila * `dotnetPackFlags` can be used to pass flags to `dotnet pack`. Used only if `packNupkg` is set to `true`. * `dotnetFlags` can be used to pass flags to all of the above phases. +When packaging a new application, you need to fetch it's dependencies. You can set `nugetDeps` to an empty string to make the derivation temporarily evaluate, and then run `nix-build -A package.passthru.fetch-deps` to generate it's dependency fetching script. After running the script, you should have the location of the generated lockfile printed to the console. This can be copied to a stable directory. Note that if either `projectFile` or `nugetDeps` are unset, this script cannot be generated! + Here is an example `default.nix`, using some of the previously discussed arguments: ```nix { lib, buildDotnetModule, dotnetCorePackages, ffmpeg }: @@ -112,7 +114,8 @@ in buildDotnetModule rec { src = ./.; projectFile = "src/project.sln"; - nugetDeps = ./deps.nix; # File generated with `nuget-to-nix path/to/src > deps.nix`. + nugetDeps = ./deps.nix; # File generated with `nix-build -A package.passthru.fetch-deps`. + projectReferences = [ referencedProject ]; # `referencedProject` must contain `nupkg` in the folder structure. dotnet-sdk = dotnetCorePackages.sdk_3_1; diff --git a/pkgs/build-support/build-dotnet-module/default.nix b/pkgs/build-support/build-dotnet-module/default.nix index 7e56e70bf8b9..93077f438bff 100644 --- a/pkgs/build-support/build-dotnet-module/default.nix +++ b/pkgs/build-support/build-dotnet-module/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenvNoCC, linkFarmFromDrvs, makeWrapper, fetchurl, xml2, dotnetCorePackages, dotnetPackages, cacert }: +{ lib, stdenvNoCC, linkFarmFromDrvs, nuget-to-nix, writeScript, makeWrapper, fetchurl, xml2, dotnetCorePackages, dotnetPackages, cacert }: { name ? "${args.pname}-${args.version}" , enableParallelBuilding ? true @@ -28,7 +28,7 @@ # The packages project file, which contains instructions on how to compile it. This can be an array of multiple project files as well. , projectFile ? null # The NuGet dependency file. This locks all NuGet dependency versions, as otherwise they cannot be deterministically fetched. -# This can be generated using the `nuget-to-nix` tool. +# This can be generated by running the `passthru.fetch-deps` script. , nugetDeps ? null # A list of derivations containing nupkg packages for local project references. # Referenced derivations can be built with `buildDotnetModule` with `packNupkg=true` flag. @@ -63,7 +63,7 @@ assert projectFile == null -> throw "Defining the `projectFile` attribute is req # TODO: Automatically generate a dependency file when a lockfile is present. # This file is unfortunately almost never present, as Microsoft recommands not to push this in upstream repositories. -assert nugetDeps == null -> throw "Defining the `nugetDeps` attribute is required, as to lock the NuGet dependencies. This file can be generated using the `nuget-to-nix` tool."; +assert nugetDeps == null -> throw "Defining the `nugetDeps` attribute is required, as to lock the NuGet dependencies. This file can be generated by running the `passthru.fetch-deps` script."; let _nugetDeps = linkFarmFromDrvs "${name}-nuget-deps" (import nugetDeps { @@ -113,6 +113,41 @@ let DOTNET_NOLOGO = true; # This disables the welcome message. DOTNET_CLI_TELEMETRY_OPTOUT = true; + passthru.fetch-deps = args.passthru.fetch-deps or writeScript "fetch-${args.pname}-deps" '' + set -euo pipefail + cd "$(dirname "''${BASH_SOURCE[0]}")" + + export HOME=$(mktemp -d) + deps_file="/tmp/${args.pname}-deps.nix" + + store_src="${package.src}" + src="$(mktemp -d /tmp/${args.pname}.XXX)" + cp -rT "$store_src" "$src" + chmod -R +w "$src" + + trap "rm -rf $src $HOME" EXIT + pushd "$src" + + export DOTNET_NOLOGO=1 + export DOTNET_CLI_TELEMETRY_OPTOUT=1 + + mkdir -p "$HOME/nuget_pkgs" + + for project in "${lib.concatStringsSep "\" \"" (lib.toList projectFile)}"; do + ${dotnet-sdk}/bin/dotnet restore "$project" \ + ${lib.optionalString (!enableParallelBuilding) "--disable-parallel"} \ + -p:ContinuousIntegrationBuild=true \ + -p:Deterministic=true \ + --packages "$HOME/nuget_pkgs" \ + "''${dotnetRestoreFlags[@]}" \ + "''${dotnetFlags[@]}" + done + + echo "Writing lockfile..." + ${nuget-to-nix}/bin/nuget-to-nix "$HOME/nuget_pkgs" > "$deps_file" + echo "Succesfully wrote lockfile to: $deps_file" + ''; + configurePhase = args.configurePhase or '' runHook preConfigure From 1a53eeda71a17d917f89e6539094795435b1458e Mon Sep 17 00:00:00 2001 From: AndersonTorres Date: Sun, 12 Dec 2021 18:05:47 -0300 Subject: [PATCH 14/49] meson: put 0.57 in a subdirectory Meson is a delicate package. It needs some patches to properly work in Nixpkgs and many packages have it as a dependency, from many small applications to systemd (yay, mass rebuilds in sight!). Updating it is not a trivial and harmless task. Therefore, I took the paranoid way and encapsulate the current version in a subdir, instead of the regular write-over procedure. This way, at the best we can just remove the whole dir in the future, and at the worse we just maintain duplicated code. --- .../meson/{ => 0.57}/allow-dirs-outside-of-prefix.patch | 0 .../{ => 0.57}/boost-Do-not-add-system-paths-on-nix.patch | 0 .../build-managers/meson/{ => 0.57}/clear-old-rpath.patch | 0 .../tools/build-managers/meson/{ => 0.57}/default.nix | 1 - .../tools/build-managers/meson/{ => 0.57}/fix-rpath.patch | 0 .../build-managers/meson/{ => 0.57}/gir-fallback-path.patch | 0 .../tools/build-managers/meson/{ => 0.57}/more-env-vars.patch | 0 .../tools/build-managers/meson/{ => 0.57}/setup-hook.sh | 0 pkgs/top-level/all-packages.nix | 3 ++- 9 files changed, 2 insertions(+), 2 deletions(-) rename pkgs/development/tools/build-managers/meson/{ => 0.57}/allow-dirs-outside-of-prefix.patch (100%) rename pkgs/development/tools/build-managers/meson/{ => 0.57}/boost-Do-not-add-system-paths-on-nix.patch (100%) rename pkgs/development/tools/build-managers/meson/{ => 0.57}/clear-old-rpath.patch (100%) rename pkgs/development/tools/build-managers/meson/{ => 0.57}/default.nix (99%) rename pkgs/development/tools/build-managers/meson/{ => 0.57}/fix-rpath.patch (100%) rename pkgs/development/tools/build-managers/meson/{ => 0.57}/gir-fallback-path.patch (100%) rename pkgs/development/tools/build-managers/meson/{ => 0.57}/more-env-vars.patch (100%) rename pkgs/development/tools/build-managers/meson/{ => 0.57}/setup-hook.sh (100%) diff --git a/pkgs/development/tools/build-managers/meson/allow-dirs-outside-of-prefix.patch b/pkgs/development/tools/build-managers/meson/0.57/allow-dirs-outside-of-prefix.patch similarity index 100% rename from pkgs/development/tools/build-managers/meson/allow-dirs-outside-of-prefix.patch rename to pkgs/development/tools/build-managers/meson/0.57/allow-dirs-outside-of-prefix.patch diff --git a/pkgs/development/tools/build-managers/meson/boost-Do-not-add-system-paths-on-nix.patch b/pkgs/development/tools/build-managers/meson/0.57/boost-Do-not-add-system-paths-on-nix.patch similarity index 100% rename from pkgs/development/tools/build-managers/meson/boost-Do-not-add-system-paths-on-nix.patch rename to pkgs/development/tools/build-managers/meson/0.57/boost-Do-not-add-system-paths-on-nix.patch diff --git a/pkgs/development/tools/build-managers/meson/clear-old-rpath.patch b/pkgs/development/tools/build-managers/meson/0.57/clear-old-rpath.patch similarity index 100% rename from pkgs/development/tools/build-managers/meson/clear-old-rpath.patch rename to pkgs/development/tools/build-managers/meson/0.57/clear-old-rpath.patch diff --git a/pkgs/development/tools/build-managers/meson/default.nix b/pkgs/development/tools/build-managers/meson/0.57/default.nix similarity index 99% rename from pkgs/development/tools/build-managers/meson/default.nix rename to pkgs/development/tools/build-managers/meson/0.57/default.nix index de82609a5486..6fd93e8f86b1 100644 --- a/pkgs/development/tools/build-managers/meson/default.nix +++ b/pkgs/development/tools/build-managers/meson/0.57/default.nix @@ -1,6 +1,5 @@ { lib , python3 - , writeTextDir , substituteAll , fetchpatch diff --git a/pkgs/development/tools/build-managers/meson/fix-rpath.patch b/pkgs/development/tools/build-managers/meson/0.57/fix-rpath.patch similarity index 100% rename from pkgs/development/tools/build-managers/meson/fix-rpath.patch rename to pkgs/development/tools/build-managers/meson/0.57/fix-rpath.patch diff --git a/pkgs/development/tools/build-managers/meson/gir-fallback-path.patch b/pkgs/development/tools/build-managers/meson/0.57/gir-fallback-path.patch similarity index 100% rename from pkgs/development/tools/build-managers/meson/gir-fallback-path.patch rename to pkgs/development/tools/build-managers/meson/0.57/gir-fallback-path.patch diff --git a/pkgs/development/tools/build-managers/meson/more-env-vars.patch b/pkgs/development/tools/build-managers/meson/0.57/more-env-vars.patch similarity index 100% rename from pkgs/development/tools/build-managers/meson/more-env-vars.patch rename to pkgs/development/tools/build-managers/meson/0.57/more-env-vars.patch diff --git a/pkgs/development/tools/build-managers/meson/setup-hook.sh b/pkgs/development/tools/build-managers/meson/0.57/setup-hook.sh similarity index 100% rename from pkgs/development/tools/build-managers/meson/setup-hook.sh rename to pkgs/development/tools/build-managers/meson/0.57/setup-hook.sh diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c057511d2cb9..7d0fa820211f 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3366,7 +3366,8 @@ with pkgs; merriweather-sans = callPackage ../data/fonts/merriweather-sans { }; - meson = callPackage ../development/tools/build-managers/meson { }; + meson = meson_0_57; + meson_0_57 = callPackage ../development/tools/build-managers/meson/0.57 { }; meson-tools = callPackage ../misc/meson-tools { }; From e9c8925d1bc83625489dea6ef446f8218f9b25f8 Mon Sep 17 00:00:00 2001 From: AndersonTorres Date: Sun, 12 Dec 2021 18:35:10 -0300 Subject: [PATCH 15/49] meson: copy 0.57 to 0.60 A very ugly decision: in order to register the diff between 0.57 and 0.60 releases of Meson in Nixpkgs, I copied the whole directory before actually write it by hand. --- .../0.60/allow-dirs-outside-of-prefix.patch | 19 ++++ ...boost-Do-not-add-system-paths-on-nix.patch | 40 ++++++++ .../meson/0.60/clear-old-rpath.patch | 20 ++++ .../build-managers/meson/0.60/default.nix | 94 +++++++++++++++++++ .../build-managers/meson/0.60/fix-rpath.patch | 24 +++++ .../meson/0.60/gir-fallback-path.patch | 16 ++++ .../meson/0.60/more-env-vars.patch | 13 +++ .../build-managers/meson/0.60/setup-hook.sh | 37 ++++++++ 8 files changed, 263 insertions(+) create mode 100644 pkgs/development/tools/build-managers/meson/0.60/allow-dirs-outside-of-prefix.patch create mode 100644 pkgs/development/tools/build-managers/meson/0.60/boost-Do-not-add-system-paths-on-nix.patch create mode 100644 pkgs/development/tools/build-managers/meson/0.60/clear-old-rpath.patch create mode 100644 pkgs/development/tools/build-managers/meson/0.60/default.nix create mode 100644 pkgs/development/tools/build-managers/meson/0.60/fix-rpath.patch create mode 100644 pkgs/development/tools/build-managers/meson/0.60/gir-fallback-path.patch create mode 100644 pkgs/development/tools/build-managers/meson/0.60/more-env-vars.patch create mode 100644 pkgs/development/tools/build-managers/meson/0.60/setup-hook.sh diff --git a/pkgs/development/tools/build-managers/meson/0.60/allow-dirs-outside-of-prefix.patch b/pkgs/development/tools/build-managers/meson/0.60/allow-dirs-outside-of-prefix.patch new file mode 100644 index 000000000000..4eb292a2e529 --- /dev/null +++ b/pkgs/development/tools/build-managers/meson/0.60/allow-dirs-outside-of-prefix.patch @@ -0,0 +1,19 @@ +--- a/mesonbuild/coredata.py ++++ b/mesonbuild/coredata.py +@@ -506,7 +506,6 @@ class CoreData: + return value + if option.name.endswith('dir') and value.is_absolute() and \ + option not in BULITIN_DIR_NOPREFIX_OPTIONS: +- # Value must be a subdir of the prefix + # commonpath will always return a path in the native format, so we + # must use pathlib.PurePath to do the same conversion before + # comparing. +@@ -518,7 +517,7 @@ class CoreData: + try: + value = value.relative_to(prefix) + except ValueError: +- raise MesonException(msg.format(option, value, prefix)) ++ pass + if '..' in str(value): + raise MesonException(msg.format(option, value, prefix)) + return value.as_posix() diff --git a/pkgs/development/tools/build-managers/meson/0.60/boost-Do-not-add-system-paths-on-nix.patch b/pkgs/development/tools/build-managers/meson/0.60/boost-Do-not-add-system-paths-on-nix.patch new file mode 100644 index 000000000000..5b9020b3d540 --- /dev/null +++ b/pkgs/development/tools/build-managers/meson/0.60/boost-Do-not-add-system-paths-on-nix.patch @@ -0,0 +1,40 @@ +From 536108b10271f2f42d41c7d9ddb4ce2ea1851f4f Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Niklas=20Hamb=C3=BCchen?= +Date: Sat, 17 Oct 2020 19:27:08 +0200 +Subject: [PATCH] boost: Do not add system paths on nix + +--- + mesonbuild/dependencies/boost.py | 17 +---------------- + 1 file changed, 1 insertion(+), 16 deletions(-) + +diff --git a/mesonbuild/dependencies/boost.py b/mesonbuild/dependencies/boost.py +index 907c0c275..ecaf11b18 100644 +--- a/mesonbuild/dependencies/boost.py ++++ b/mesonbuild/dependencies/boost.py +@@ -643,22 +643,7 @@ class BoostDependency(ExternalDependency): + roots += [x for x in candidates if x.name.lower().startswith('boost') and x.is_dir()] + else: + tmp = [] # type: T.List[Path] +- +- # Homebrew +- brew_boost = Path('/usr/local/Cellar/boost') +- if brew_boost.is_dir(): +- tmp += [x for x in brew_boost.iterdir()] +- +- # Add some default system paths +- tmp += [Path('/opt/local')] +- tmp += [Path('/usr/local/opt/boost')] +- tmp += [Path('/usr/local')] +- tmp += [Path('/usr')] +- +- # Cleanup paths +- tmp = [x for x in tmp if x.is_dir()] +- tmp = [x.resolve() for x in tmp] +- roots += tmp ++ # Do not add any non-explicit paths on nix + + return roots + +-- +2.25.4 + diff --git a/pkgs/development/tools/build-managers/meson/0.60/clear-old-rpath.patch b/pkgs/development/tools/build-managers/meson/0.60/clear-old-rpath.patch new file mode 100644 index 000000000000..f1e3c76e8b53 --- /dev/null +++ b/pkgs/development/tools/build-managers/meson/0.60/clear-old-rpath.patch @@ -0,0 +1,20 @@ +diff --git a/mesonbuild/scripts/depfixer.py b/mesonbuild/scripts/depfixer.py +index 4176b9a03..faaabf616 100644 +--- a/mesonbuild/scripts/depfixer.py ++++ b/mesonbuild/scripts/depfixer.py +@@ -336,6 +336,15 @@ class Elf(DataSizes): + if not new_rpath: + self.remove_rpath_entry(entrynum) + else: ++ # Clear old rpath to avoid stale references, ++ # not heeding the warning above about de-duplication ++ # since it does not seem to cause issues for us ++ # and not doing so trips up Nix’s reference checker. ++ # See https://github.com/NixOS/nixpkgs/pull/46020 ++ # and https://github.com/NixOS/nixpkgs/issues/95163 ++ self.bf.seek(rp_off) ++ self.bf.write(b'\0'*len(old_rpath)) ++ + self.bf.seek(rp_off) + self.bf.write(new_rpath) + self.bf.write(b'\0') diff --git a/pkgs/development/tools/build-managers/meson/0.60/default.nix b/pkgs/development/tools/build-managers/meson/0.60/default.nix new file mode 100644 index 000000000000..6fd93e8f86b1 --- /dev/null +++ b/pkgs/development/tools/build-managers/meson/0.60/default.nix @@ -0,0 +1,94 @@ +{ lib +, python3 +, writeTextDir +, substituteAll +, fetchpatch +, installShellFiles +}: + +python3.pkgs.buildPythonApplication rec { + pname = "meson"; + version = "0.57.1"; + + src = python3.pkgs.fetchPypi { + inherit pname version; + sha256 = "19n8alcpzv6npgp27iqljkmvdmr7s2c7zm8y997j1nlvpa1cgqbj"; + }; + + patches = [ + # Upstream insists on not allowing bindir and other dir options + # outside of prefix for some reason: + # https://github.com/mesonbuild/meson/issues/2561 + # We remove the check so multiple outputs can work sanely. + ./allow-dirs-outside-of-prefix.patch + + # Meson is currently inspecting fewer variables than autoconf does, which + # makes it harder for us to use setup hooks, etc. Taken from + # https://github.com/mesonbuild/meson/pull/6827 + ./more-env-vars.patch + + # Unlike libtool, vanilla Meson does not pass any information + # about the path library will be installed to to g-ir-scanner, + # breaking the GIR when path other than ${!outputLib}/lib is used. + # We patch Meson to add a --fallback-library-path argument with + # library install_dir to g-ir-scanner. + ./gir-fallback-path.patch + + # In common distributions, RPATH is only needed for internal libraries so + # meson removes everything else. With Nix, the locations of libraries + # are not as predictable, therefore we need to keep them in the RPATH. + # At the moment we are keeping the paths starting with /nix/store. + # https://github.com/NixOS/nixpkgs/issues/31222#issuecomment-365811634 + (substituteAll { + src = ./fix-rpath.patch; + inherit (builtins) storeDir; + }) + + # When Meson removes build_rpath from DT_RUNPATH entry, it just writes + # the shorter NUL-terminated new rpath over the old one to reduce + # the risk of potentially breaking the ELF files. + # But this can cause much bigger problem for Nix as it can produce + # cut-in-half-by-\0 store path references. + # Let’s just clear the whole rpath and hope for the best. + ./clear-old-rpath.patch + + # Patch out default boost search paths to avoid impure builds on + # unsandboxed non-NixOS builds, see: + # https://github.com/NixOS/nixpkgs/issues/86131#issuecomment-711051774 + ./boost-Do-not-add-system-paths-on-nix.patch + ]; + + setupHook = ./setup-hook.sh; + + # 0.45 update enabled tests but they are failing + doCheck = false; + # checkInputs = [ ninja pkg-config ]; + # checkPhase = "python ./run_project_tests.py"; + + postFixup = '' + pushd $out/bin + # undo shell wrapper as meson tools are called with python + for i in *; do + mv ".$i-wrapped" "$i" + done + popd + + # Do not propagate Python + rm $out/nix-support/propagated-build-inputs + ''; + + nativeBuildInputs = [ installShellFiles ]; + + postInstall = '' + installShellCompletion --zsh data/shell-completions/zsh/_meson + installShellCompletion --bash data/shell-completions/bash/meson + ''; + + meta = with lib; { + homepage = "https://mesonbuild.com"; + description = "SCons-like build system that use python as a front-end language and Ninja as a building backend"; + license = licenses.asl20; + maintainers = with maintainers; [ jtojnar mbe ]; + platforms = platforms.all; + }; +} diff --git a/pkgs/development/tools/build-managers/meson/0.60/fix-rpath.patch b/pkgs/development/tools/build-managers/meson/0.60/fix-rpath.patch new file mode 100644 index 000000000000..d34b6c4c4345 --- /dev/null +++ b/pkgs/development/tools/build-managers/meson/0.60/fix-rpath.patch @@ -0,0 +1,24 @@ +--- a/mesonbuild/backend/backends.py ++++ b/mesonbuild/backend/backends.py +@@ -456,6 +456,21 @@ class Backend: + args.extend(self.environment.coredata.get_external_link_args(target.for_machine, lang)) + except Exception: + pass ++ ++ nix_ldflags = os.environ.get('NIX_LDFLAGS', '').split() ++ next_is_path = False ++ # Try to add rpaths set by user or ld-wrapper so that they are not removed. ++ # Based on https://github.com/NixOS/nixpkgs/blob/69711a2f5ffe8cda208163be5258266172ff527f/pkgs/build-support/bintools-wrapper/ld-wrapper.sh#L148-L177 ++ for flag in nix_ldflags: ++ if flag == '-rpath' or flag == '-L': ++ next_is_path = True ++ elif next_is_path or flag.startswith('-L/'): ++ if flag.startswith('-L/'): ++ flag = flag[2:] ++ if flag.startswith('@storeDir@'): ++ dirs.add(flag) ++ next_is_path = False ++ + # Match rpath formats: + # -Wl,-rpath= + # -Wl,-rpath, diff --git a/pkgs/development/tools/build-managers/meson/0.60/gir-fallback-path.patch b/pkgs/development/tools/build-managers/meson/0.60/gir-fallback-path.patch new file mode 100644 index 000000000000..0c924bacf73f --- /dev/null +++ b/pkgs/development/tools/build-managers/meson/0.60/gir-fallback-path.patch @@ -0,0 +1,16 @@ +--- a/mesonbuild/modules/gnome.py ++++ b/mesonbuild/modules/gnome.py +@@ -807,6 +807,13 @@ class GnomeModule(ExtensionModule): + if fatal_warnings: + scan_command.append('--warn-error') + ++ if len(set([girtarget.get_custom_install_dir()[0] for girtarget in girtargets])) > 1: ++ raise MesonException('generate_gir tries to build multiple libraries with different install_dir at once: {}'.format(','.join([str(girtarget) for girtarget in girtargets]))) ++ ++ fallback_libpath = girtargets[0].get_custom_install_dir()[0] ++ if fallback_libpath is not None and isinstance(fallback_libpath, str) and len(fallback_libpath) > 0 and fallback_libpath[0] == "/": ++ scan_command += ['--fallback-library-path=' + fallback_libpath] ++ + scan_target = self._make_gir_target(state, girfile, scan_command, depends, kwargs) + + typelib_output = '%s-%s.typelib' % (ns, nsversion) diff --git a/pkgs/development/tools/build-managers/meson/0.60/more-env-vars.patch b/pkgs/development/tools/build-managers/meson/0.60/more-env-vars.patch new file mode 100644 index 000000000000..4b2606e2d694 --- /dev/null +++ b/pkgs/development/tools/build-managers/meson/0.60/more-env-vars.patch @@ -0,0 +1,13 @@ +diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py +index 756dd8193..a5cc6ef8b 100644 +--- a/mesonbuild/environment.py ++++ b/mesonbuild/environment.py +@@ -151,7 +151,7 @@ def _get_env_var(for_machine: MachineChoice, is_cross: bool, var_name: str) -> T + # compiling we fall back on the unprefixed host version. This + # allows native builds to never need to worry about the 'BUILD_*' + # ones. +- ([var_name + '_FOR_BUILD'] if is_cross else [var_name]), ++ [var_name + '_FOR_BUILD'] + ([] if is_cross else [var_name]), + # Always just the unprefixed host verions + [var_name] + )[for_machine] diff --git a/pkgs/development/tools/build-managers/meson/0.60/setup-hook.sh b/pkgs/development/tools/build-managers/meson/0.60/setup-hook.sh new file mode 100644 index 000000000000..3d946fcffd52 --- /dev/null +++ b/pkgs/development/tools/build-managers/meson/0.60/setup-hook.sh @@ -0,0 +1,37 @@ +mesonConfigurePhase() { + runHook preConfigure + + if [ -z "${dontAddPrefix-}" ]; then + mesonFlags="--prefix=$prefix $mesonFlags" + fi + + # See multiple-outputs.sh and meson’s coredata.py + mesonFlags="\ + --libdir=${!outputLib}/lib --libexecdir=${!outputLib}/libexec \ + --bindir=${!outputBin}/bin --sbindir=${!outputBin}/sbin \ + --includedir=${!outputInclude}/include \ + --mandir=${!outputMan}/share/man --infodir=${!outputInfo}/share/info \ + --localedir=${!outputLib}/share/locale \ + -Dauto_features=${mesonAutoFeatures:-enabled} \ + -Dwrap_mode=${mesonWrapMode:-nodownload} \ + $mesonFlags" + + mesonFlags="${crossMesonFlags+$crossMesonFlags }--buildtype=${mesonBuildType:-plain} $mesonFlags" + + echo "meson flags: $mesonFlags ${mesonFlagsArray[@]}" + + meson build $mesonFlags "${mesonFlagsArray[@]}" + cd build + + if ! [[ -v enableParallelBuilding ]]; then + enableParallelBuilding=1 + echo "meson: enabled parallel building" + fi + + runHook postConfigure +} + +if [ -z "${dontUseMesonConfigure-}" -a -z "${configurePhase-}" ]; then + setOutputFlags= + configurePhase=mesonConfigurePhase +fi From fac4c247ca3f19400ddefce6a88d4c50b0a539e3 Mon Sep 17 00:00:00 2001 From: AndersonTorres Date: Sun, 12 Dec 2021 22:47:19 -0300 Subject: [PATCH 16/49] meson: 0.57.1 -> 0.60.2 --- ...boost-Do-not-add-system-paths-on-nix.patch | 33 ++++--------------- .../build-managers/meson/0.60/default.nix | 5 ++- .../meson/0.60/gir-fallback-path.patch | 17 ++++++---- .../meson/0.60/more-env-vars.patch | 13 ++++---- pkgs/top-level/all-packages.nix | 5 +-- 5 files changed, 29 insertions(+), 44 deletions(-) diff --git a/pkgs/development/tools/build-managers/meson/0.60/boost-Do-not-add-system-paths-on-nix.patch b/pkgs/development/tools/build-managers/meson/0.60/boost-Do-not-add-system-paths-on-nix.patch index 5b9020b3d540..0a2eda9de9ac 100644 --- a/pkgs/development/tools/build-managers/meson/0.60/boost-Do-not-add-system-paths-on-nix.patch +++ b/pkgs/development/tools/build-managers/meson/0.60/boost-Do-not-add-system-paths-on-nix.patch @@ -1,26 +1,10 @@ -From 536108b10271f2f42d41c7d9ddb4ce2ea1851f4f Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Niklas=20Hamb=C3=BCchen?= -Date: Sat, 17 Oct 2020 19:27:08 +0200 -Subject: [PATCH] boost: Do not add system paths on nix - ---- - mesonbuild/dependencies/boost.py | 17 +---------------- - 1 file changed, 1 insertion(+), 16 deletions(-) - -diff --git a/mesonbuild/dependencies/boost.py b/mesonbuild/dependencies/boost.py -index 907c0c275..ecaf11b18 100644 ---- a/mesonbuild/dependencies/boost.py -+++ b/mesonbuild/dependencies/boost.py -@@ -643,22 +643,7 @@ class BoostDependency(ExternalDependency): - roots += [x for x in candidates if x.name.lower().startswith('boost') and x.is_dir()] +diff -Naur meson-0.60.2-old/mesonbuild/dependencies/boost.py meson-0.60.2-new/mesonbuild/dependencies/boost.py +--- meson-0.60.2-old/mesonbuild/dependencies/boost.py 2021-11-02 16:58:07.000000000 -0300 ++++ meson-0.60.2-new/mesonbuild/dependencies/boost.py 2021-12-12 19:21:27.895705897 -0300 +@@ -682,16 +682,7 @@ else: tmp = [] # type: T.List[Path] -- -- # Homebrew -- brew_boost = Path('/usr/local/Cellar/boost') -- if brew_boost.is_dir(): -- tmp += [x for x in brew_boost.iterdir()] -- + - # Add some default system paths - tmp += [Path('/opt/local')] - tmp += [Path('/usr/local/opt/boost')] @@ -31,10 +15,7 @@ index 907c0c275..ecaf11b18 100644 - tmp = [x for x in tmp if x.is_dir()] - tmp = [x.resolve() for x in tmp] - roots += tmp -+ # Do not add any non-explicit paths on nix ++ # Remove such spurious, non-explicit "system" paths for Nix&Nixpkgs - return roots + self.check_and_set_roots(roots, use_system=True) --- -2.25.4 - diff --git a/pkgs/development/tools/build-managers/meson/0.60/default.nix b/pkgs/development/tools/build-managers/meson/0.60/default.nix index 6fd93e8f86b1..13ca80340d8b 100644 --- a/pkgs/development/tools/build-managers/meson/0.60/default.nix +++ b/pkgs/development/tools/build-managers/meson/0.60/default.nix @@ -1,6 +1,5 @@ { lib , python3 -, writeTextDir , substituteAll , fetchpatch , installShellFiles @@ -8,11 +7,11 @@ python3.pkgs.buildPythonApplication rec { pname = "meson"; - version = "0.57.1"; + version = "0.60.2"; src = python3.pkgs.fetchPypi { inherit pname version; - sha256 = "19n8alcpzv6npgp27iqljkmvdmr7s2c7zm8y997j1nlvpa1cgqbj"; + hash = "sha256-ZOaWhWW/G4FS9PnWyoFU77nhTKqaq/eyLnHmxdBT6SE="; }; patches = [ diff --git a/pkgs/development/tools/build-managers/meson/0.60/gir-fallback-path.patch b/pkgs/development/tools/build-managers/meson/0.60/gir-fallback-path.patch index 0c924bacf73f..e6d740265277 100644 --- a/pkgs/development/tools/build-managers/meson/0.60/gir-fallback-path.patch +++ b/pkgs/development/tools/build-managers/meson/0.60/gir-fallback-path.patch @@ -1,16 +1,21 @@ +diff --git a/mesonbuild/modules/gnome.py b/mesonbuild/modules/gnome.py +index 1c6952df7..9466a0b7d 100644 --- a/mesonbuild/modules/gnome.py +++ b/mesonbuild/modules/gnome.py -@@ -807,6 +807,13 @@ class GnomeModule(ExtensionModule): +@@ -923,6 +923,16 @@ class GnomeModule(ExtensionModule): if fatal_warnings: scan_command.append('--warn-error') - -+ if len(set([girtarget.get_custom_install_dir()[0] for girtarget in girtargets])) > 1: + ++ if len(set(girtarget.get_custom_install_dir()[0] for girtarget in girtargets if girtarget.get_custom_install_dir())) > 1: + raise MesonException('generate_gir tries to build multiple libraries with different install_dir at once: {}'.format(','.join([str(girtarget) for girtarget in girtargets]))) + -+ fallback_libpath = girtargets[0].get_custom_install_dir()[0] ++ if girtargets[0].get_custom_install_dir(): ++ fallback_libpath = girtargets[0].get_custom_install_dir()[0] ++ else: ++ fallback_libpath = None + if fallback_libpath is not None and isinstance(fallback_libpath, str) and len(fallback_libpath) > 0 and fallback_libpath[0] == "/": + scan_command += ['--fallback-library-path=' + fallback_libpath] + - scan_target = self._make_gir_target(state, girfile, scan_command, depends, kwargs) + generated_files = [f for f in libsources if isinstance(f, (GeneratedList, CustomTarget, CustomTargetIndex))] - typelib_output = '%s-%s.typelib' % (ns, nsversion) + scan_target = self._make_gir_target(state, girfile, scan_command, generated_files, depends, kwargs) diff --git a/pkgs/development/tools/build-managers/meson/0.60/more-env-vars.patch b/pkgs/development/tools/build-managers/meson/0.60/more-env-vars.patch index 4b2606e2d694..5628f1b27e4a 100644 --- a/pkgs/development/tools/build-managers/meson/0.60/more-env-vars.patch +++ b/pkgs/development/tools/build-managers/meson/0.60/more-env-vars.patch @@ -1,13 +1,12 @@ -diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py -index 756dd8193..a5cc6ef8b 100644 ---- a/mesonbuild/environment.py -+++ b/mesonbuild/environment.py -@@ -151,7 +151,7 @@ def _get_env_var(for_machine: MachineChoice, is_cross: bool, var_name: str) -> T +diff -Naur meson-0.60.2-old/mesonbuild/environment.py meson-0.60.2-new/mesonbuild/environment.py +--- meson-0.60.2-old/mesonbuild/environment.py 2021-11-02 16:58:13.000000000 -0300 ++++ meson-0.60.2-new/mesonbuild/environment.py 2021-12-12 17:44:00.350499307 -0300 +@@ -68,7 +68,7 @@ # compiling we fall back on the unprefixed host version. This # allows native builds to never need to worry about the 'BUILD_*' # ones. - ([var_name + '_FOR_BUILD'] if is_cross else [var_name]), -+ [var_name + '_FOR_BUILD'] + ([] if is_cross else [var_name]), - # Always just the unprefixed host verions ++ [var_name + '_FOR_BUILD'] ++ ([] if is_cross else [var_name]), + # Always just the unprefixed host versions [var_name] )[for_machine] diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 7d0fa820211f..6d16e1b8458d 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3366,8 +3366,9 @@ with pkgs; merriweather-sans = callPackage ../data/fonts/merriweather-sans { }; - meson = meson_0_57; - meson_0_57 = callPackage ../development/tools/build-managers/meson/0.57 { }; + # TODO: call a sprintable to deprecate Meson 0.57 as soon as possible + meson = callPackage ../development/tools/build-managers/meson/0.57 { }; + meson_0_60 = callPackage ../development/tools/build-managers/meson/0.60 { }; meson-tools = callPackage ../misc/meson-tools { }; From c401c98393d3ca0ce29ad09b7b9ba11b3856e825 Mon Sep 17 00:00:00 2001 From: AndersonTorres Date: Tue, 14 Dec 2021 12:15:43 -0300 Subject: [PATCH 17/49] meson 0.60: Fix more-env-vars.patch Concatenation of lists in Python is done by the `+` operator. --- .../tools/build-managers/meson/0.60/more-env-vars.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/tools/build-managers/meson/0.60/more-env-vars.patch b/pkgs/development/tools/build-managers/meson/0.60/more-env-vars.patch index 5628f1b27e4a..e4ad43550423 100644 --- a/pkgs/development/tools/build-managers/meson/0.60/more-env-vars.patch +++ b/pkgs/development/tools/build-managers/meson/0.60/more-env-vars.patch @@ -6,7 +6,7 @@ diff -Naur meson-0.60.2-old/mesonbuild/environment.py meson-0.60.2-new/mesonbuil # allows native builds to never need to worry about the 'BUILD_*' # ones. - ([var_name + '_FOR_BUILD'] if is_cross else [var_name]), -+ [var_name + '_FOR_BUILD'] ++ ([] if is_cross else [var_name]), ++ [var_name + '_FOR_BUILD'] + ([] if is_cross else [var_name]), # Always just the unprefixed host versions [var_name] )[for_machine] From 5dc14c358c96fb2eb54fbea4f10e8ba7d1032fd4 Mon Sep 17 00:00:00 2001 From: AndersonTorres Date: Sun, 12 Dec 2021 19:29:19 -0300 Subject: [PATCH 18/49] meson: add myself as maintainer --- .../tools/build-managers/meson/0.60/default.nix | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/build-managers/meson/0.60/default.nix b/pkgs/development/tools/build-managers/meson/0.60/default.nix index 13ca80340d8b..7babbba34001 100644 --- a/pkgs/development/tools/build-managers/meson/0.60/default.nix +++ b/pkgs/development/tools/build-managers/meson/0.60/default.nix @@ -85,9 +85,18 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { homepage = "https://mesonbuild.com"; - description = "SCons-like build system that use python as a front-end language and Ninja as a building backend"; + description = "An open source, fast and friendly build system made in Python"; + longDescription = '' + Meson is an open source build system meant to be both extremely fast, and, + even more importantly, as user friendly as possible. + + The main design point of Meson is that every moment a developer spends + writing or debugging build definitions is a second wasted. So is every + second spent waiting for the build system to actually start compiling + code. + ''; license = licenses.asl20; - maintainers = with maintainers; [ jtojnar mbe ]; - platforms = platforms.all; + maintainers = with maintainers; [ jtojnar mbe AndersonTorres ]; + inherit (python3.meta) platforms; }; } From 650c249d8f641c79623b80b0789feca42d2a30d5 Mon Sep 17 00:00:00 2001 From: AndersonTorres Date: Sun, 12 Dec 2021 22:50:23 -0300 Subject: [PATCH 19/49] meson: document the failed tests issue The comment should be self-explaining now. --- .../tools/build-managers/meson/0.60/default.nix | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/pkgs/development/tools/build-managers/meson/0.60/default.nix b/pkgs/development/tools/build-managers/meson/0.60/default.nix index 7babbba34001..79870cd4d128 100644 --- a/pkgs/development/tools/build-managers/meson/0.60/default.nix +++ b/pkgs/development/tools/build-managers/meson/0.60/default.nix @@ -1,8 +1,10 @@ { lib -, python3 -, substituteAll , fetchpatch , installShellFiles +, ninja +, pkg-config +, python3 +, substituteAll }: python3.pkgs.buildPythonApplication rec { @@ -59,10 +61,14 @@ python3.pkgs.buildPythonApplication rec { setupHook = ./setup-hook.sh; - # 0.45 update enabled tests but they are failing + # Meson included tests since 0.45, however they fail in Nixpkgs because they + # require a typical building environment (including C compiler and stuff). + # Just for the sake of documentation, the next lines are maintained here. doCheck = false; - # checkInputs = [ ninja pkg-config ]; - # checkPhase = "python ./run_project_tests.py"; + checkInputs = [ ninja pkg-config ]; + checkPhase = '' + python ./run_project_tests.py + ''; postFixup = '' pushd $out/bin @@ -100,3 +106,4 @@ python3.pkgs.buildPythonApplication rec { inherit (python3.meta) platforms; }; } +# TODO: a more Nixpkgs-tailoired test suite From d8c8e3f6d1df88d4b8c211d19e1ba4773085a7f7 Mon Sep 17 00:00:00 2001 From: oxalica Date: Wed, 15 Dec 2021 05:52:46 +0800 Subject: [PATCH 20/49] vscode-extensions.matklad.rust-analyzer: split from rust-analyzer Also remove oxalica from maintainers. --- .../tools/rust/rust-analyzer/update.sh | 42 ------------------- .../rust-analyzer/default.nix | 23 ++++++---- 2 files changed, 16 insertions(+), 49 deletions(-) diff --git a/pkgs/development/tools/rust/rust-analyzer/update.sh b/pkgs/development/tools/rust/rust-analyzer/update.sh index add400e4d0e8..920b36a5131e 100755 --- a/pkgs/development/tools/rust/rust-analyzer/update.sh +++ b/pkgs/development/tools/rust/rust-analyzer/update.sh @@ -28,50 +28,8 @@ sed -e "s#version = \".*\"#version = \"$ver\"#" \ -e "/fetchFromGitHub/,/}/ s#sha256 = \".*\"#sha256 = \"$sha256\"#" \ -e "s#cargoSha256 = \".*\"#cargoSha256 = \"sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=\"#" \ --in-place ./default.nix -node_src="$(nix-build "$nixpkgs" -A rust-analyzer.src --no-out-link)/editors/code" - -# Check vscode compatibility -req_vscode_ver="$(jq '.engines.vscode' "$node_src/package.json" --raw-output)" -req_vscode_ver="${req_vscode_ver#^}" -cur_vscode_ver="$(nix-instantiate --eval --strict "$nixpkgs" -A vscode.version | tr -d '"')" -if [[ "$(nix-instantiate --eval --strict -E "(builtins.compareVersions \"$req_vscode_ver\" \"$cur_vscode_ver\")")" -gt 0 ]]; then - echo "vscode $cur_vscode_ver is incompatible with the extension requiring ^$req_vscode_ver" - exit 1 -fi echo "Prebuilding for cargoSha256" cargo_sha256=$(nix-prefetch "{ sha256 }: (import $nixpkgs {}).rust-analyzer-unwrapped.cargoDeps.overrideAttrs (_: { outputHash = sha256; })") sed "s#cargoSha256 = \".*\"#cargoSha256 = \"$cargo_sha256\"#" \ --in-place ./default.nix - -# Update vscode extension - -extension_ver=$(curl "https://github.com/rust-analyzer/rust-analyzer/releases/download/$ver/rust-analyzer.vsix" -L | - bsdtar -xf - --to-stdout extension/package.json | # Use bsdtar to extract vsix(zip). - jq --raw-output '.version') -echo "Extension version: $extension_ver" - -build_deps="../../../../misc/vscode-extensions/rust-analyzer/build-deps" -# We need devDependencies to build vsix. -# `esbuild` is a binary package an is already in nixpkgs so we omit it here. -jq '{ name, version: $ver, dependencies: (.dependencies + .devDependencies | del(.esbuild)) }' "$node_src/package.json" \ - --arg ver "$extension_ver" \ - >"$build_deps/package.json.new" - -old_deps="$(jq '.dependencies' "$build_deps"/package.json)" -new_deps="$(jq '.dependencies' "$build_deps"/package.json.new)" -if [[ "$old_deps" == "$new_deps" ]]; then - echo "package.json dependencies not changed, do simple version change" - - sed -E '/^ "rust-analyzer-build-deps/,+3 s/version = ".*"/version = "'"$extension_ver"'"/' \ - --in-place ../../../node-packages/node-packages.nix - mv "$build_deps"/package.json{.new,} - -else - echo "package.json dependencies changed, updating nodePackages" - mv "$build_deps"/package.json{.new,} - - pushd "../../../node-packages" - ./generate.sh - popd -fi diff --git a/pkgs/misc/vscode-extensions/rust-analyzer/default.nix b/pkgs/misc/vscode-extensions/rust-analyzer/default.nix index 668d87767803..0580fc7d56ae 100644 --- a/pkgs/misc/vscode-extensions/rust-analyzer/default.nix +++ b/pkgs/misc/vscode-extensions/rust-analyzer/default.nix @@ -1,5 +1,5 @@ -# Update script: pkgs/development/tools/rust/rust-analyzer/update.sh { lib +, fetchFromGitHub , vscode-utils , jq , rust-analyzer @@ -15,14 +15,26 @@ let pname = "rust-analyzer"; publisher = "matklad"; + # Use the plugin version as in vscode marketplace, updated by update script. + inherit (vsix) version; + + releaseTag = "2021-11-29"; + + src = fetchFromGitHub { + owner = "rust-analyzer"; + repo = "rust-analyzer"; + rev = releaseTag; + sha256 = "sha256-vh7z8jupVxXPOko3sWUsOB7eji/7lKfwJ/CE3iw97Sw="; + }; + build-deps = nodePackages."rust-analyzer-build-deps-../../misc/vscode-extensions/rust-analyzer/build-deps"; # FIXME: Making a new derivation to link `node_modules` and run `npm run package` # will cause a build failure. vsix = build-deps.override { - src = "${rust-analyzer.src}/editors/code"; + src = "${src}/editors/code"; outputs = [ "vsix" "out" ]; - releaseTag = rust-analyzer.version; + inherit releaseTag; nativeBuildInputs = [ jq moreutils esbuild @@ -46,9 +58,6 @@ let ''; }; - # Use the plugin version as in vscode marketplace, updated by update script. - inherit (vsix) version; - in vscode-utils.buildVscodeExtension { inherit version vsix; @@ -68,7 +77,7 @@ vscode-utils.buildVscodeExtension { description = "An alternative rust language server to the RLS"; homepage = "https://github.com/rust-analyzer/rust-analyzer"; license = with licenses; [ mit asl20 ]; - maintainers = with maintainers; [ oxalica ]; + maintainers = with maintainers; [ ]; platforms = platforms.all; }; } From dfc31f4c83966325a0e1c003de6ad0bee80e8cc5 Mon Sep 17 00:00:00 2001 From: oxalica Date: Wed, 15 Dec 2021 06:17:45 +0800 Subject: [PATCH 21/49] rust-analyzer: 2021-11-29 -> 2021-12-13 --- .../tools/rust/rust-analyzer/default.nix | 9 ++++++--- .../rust-analyzer/no-1-57-map-while.patch | 20 +++++++++++++++++++ 2 files changed, 26 insertions(+), 3 deletions(-) create mode 100644 pkgs/development/tools/rust/rust-analyzer/no-1-57-map-while.patch diff --git a/pkgs/development/tools/rust/rust-analyzer/default.nix b/pkgs/development/tools/rust/rust-analyzer/default.nix index fdc91503ff5c..d08f2acb9dec 100644 --- a/pkgs/development/tools/rust/rust-analyzer/default.nix +++ b/pkgs/development/tools/rust/rust-analyzer/default.nix @@ -11,20 +11,23 @@ rustPlatform.buildRustPackage rec { pname = "rust-analyzer-unwrapped"; - version = "2021-11-29"; - cargoSha256 = "sha256-UgYR0e3Pt3lcbkSDnizlwtwjnqTaqGlXRgR724U4rSU="; + version = "2021-12-13"; + cargoSha256 = "sha256-VF4pwSl3Wei7KxyQFOPj7hVX/NG2zImRLv4iN+ijAs8="; src = fetchFromGitHub { owner = "rust-analyzer"; repo = "rust-analyzer"; rev = version; - sha256 = "sha256-vh7z8jupVxXPOko3sWUsOB7eji/7lKfwJ/CE3iw97Sw="; + sha256 = "sha256-xt7iDfIoaBhStgqsgttyOFF4NYPQ8jeVwDoYUwrvtrA="; }; patches = [ # Code format and git history check require more dependencies but don't really matter for packaging. # So just ignore them. ./ignore-git-and-rustfmt-tests.patch + + # Remove when we have rustc >= 1.57.0. + ./no-1-57-map-while.patch ]; buildAndTestSubdir = "crates/rust-analyzer"; diff --git a/pkgs/development/tools/rust/rust-analyzer/no-1-57-map-while.patch b/pkgs/development/tools/rust/rust-analyzer/no-1-57-map-while.patch new file mode 100644 index 000000000000..6114f51831be --- /dev/null +++ b/pkgs/development/tools/rust/rust-analyzer/no-1-57-map-while.patch @@ -0,0 +1,20 @@ +--- a/crates/ide_db/src/helpers.rs ++++ b/crates/ide_db/src/helpers.rs +@@ -309,7 +309,7 @@ pub fn lint_eq_or_in_group(lint: &str, lint_is: &str) -> bool { + pub fn parse_tt_as_comma_sep_paths(input: ast::TokenTree) -> Option> { + let r_paren = input.r_paren_token(); + let tokens = +- input.syntax().children_with_tokens().skip(1).map_while(|it| match it.into_token() { ++ input.syntax().children_with_tokens().skip(1).map(|it| match it.into_token() { + // seeing a keyword means the attribute is unclosed so stop parsing here + Some(tok) if tok.kind().is_keyword() => None, + // don't include the right token tree parenthesis if it exists +@@ -317,7 +317,7 @@ pub fn parse_tt_as_comma_sep_paths(input: ast::TokenTree) -> Option None, + Some(tok) => Some(tok), +- }); ++ }).take_while(|tok| tok.is_some()).map(|tok| tok.unwrap()); + let input_expressions = tokens.into_iter().group_by(|tok| tok.kind() == T![,]); + let paths = input_expressions + .into_iter() From abcc043ec4b9c9b49cff18d7e08c1d10faf83518 Mon Sep 17 00:00:00 2001 From: Luflosi Date: Wed, 15 Dec 2021 20:45:57 +0100 Subject: [PATCH 22/49] python3Packages.sphinxext-opengraph: enable tests --- .../python-modules/sphinxext-opengraph/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/sphinxext-opengraph/default.nix b/pkgs/development/python-modules/sphinxext-opengraph/default.nix index 08a87a2f7c02..ea348aece09e 100644 --- a/pkgs/development/python-modules/sphinxext-opengraph/default.nix +++ b/pkgs/development/python-modules/sphinxext-opengraph/default.nix @@ -2,6 +2,8 @@ , buildPythonPackage , fetchFromGitHub , sphinx +, pytestCheckHook +, beautifulsoup4 }: buildPythonPackage rec { @@ -19,7 +21,10 @@ buildPythonPackage rec { sphinx ]; - doCheck = false; # no tests + checkInputs = [ + pytestCheckHook + beautifulsoup4 + ]; pythonImportsCheck = [ "sphinxext.opengraph" ]; From e9832d5836fcfa0d3ef1fd1672fa4bd1196ce56e Mon Sep 17 00:00:00 2001 From: Luflosi Date: Wed, 15 Dec 2021 20:46:16 +0100 Subject: [PATCH 23/49] python3Packages.sphinxext-opengraph: 0.4.2 -> 0.5.1 https://github.com/wpilibsuite/sphinxext-opengraph/releases/tag/v0.5.1 --- .../python-modules/sphinxext-opengraph/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/sphinxext-opengraph/default.nix b/pkgs/development/python-modules/sphinxext-opengraph/default.nix index ea348aece09e..8b8cb4cdbb53 100644 --- a/pkgs/development/python-modules/sphinxext-opengraph/default.nix +++ b/pkgs/development/python-modules/sphinxext-opengraph/default.nix @@ -8,13 +8,13 @@ buildPythonPackage rec { pname = "sphinxext-opengraph"; - version = "0.4.2"; + version = "0.5.1"; src = fetchFromGitHub { owner = "wpilibsuite"; repo = "sphinxext-opengraph"; rev = "v${version}"; - sha256 = "sha256-978aPtaqUDHcswDdFynzi+IjDYaBmCZDZk+dmDkhajY="; + sha256 = "sha256-US0UXxcTlN7x5v2ilpL+umTr7tadqthqhvfaQnm7tCc="; }; propagatedBuildInputs = [ From 95db526b4df735ac1f317ec1494920048388f74b Mon Sep 17 00:00:00 2001 From: Daniel Olsen Date: Thu, 9 Dec 2021 12:22:17 +0100 Subject: [PATCH 24/49] hydrus: 464 -> 466 --- pkgs/applications/graphics/hydrus/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/graphics/hydrus/default.nix b/pkgs/applications/graphics/hydrus/default.nix index 45b3c5563771..79540466e291 100644 --- a/pkgs/applications/graphics/hydrus/default.nix +++ b/pkgs/applications/graphics/hydrus/default.nix @@ -10,14 +10,14 @@ python3Packages.buildPythonPackage rec { pname = "hydrus"; - version = "464"; + version = "466"; format = "other"; src = fetchFromGitHub { owner = "hydrusnetwork"; repo = "hydrus"; rev = "v${version}"; - sha256 = "sha256-ZAndODbl6cH0H1rA3Bhn3AlfIuba0LjxWxusGPDYvlA="; + sha256 = "sha256-ih2BctOC9cuTYP8A9ikhGBqNP0SToSAkqmZhtBvgpIo="; }; nativeBuildInputs = [ From bfbaae5daf1a1dc3a338059fb6b7f680ba40d314 Mon Sep 17 00:00:00 2001 From: Ingo Blechschmidt Date: Fri, 17 Dec 2021 19:31:25 +0100 Subject: [PATCH 25/49] whitebophir: 1.14.6 -> 1.16.0 --- .../whitebophir/node-packages-generated.nix | 961 +++--------------- .../web-apps/whitebophir/node-packages.json | 2 +- 2 files changed, 137 insertions(+), 826 deletions(-) diff --git a/pkgs/servers/web-apps/whitebophir/node-packages-generated.nix b/pkgs/servers/web-apps/whitebophir/node-packages-generated.nix index d5ecdf2f5d41..5a511da72a48 100644 --- a/pkgs/servers/web-apps/whitebophir/node-packages-generated.nix +++ b/pkgs/servers/web-apps/whitebophir/node-packages-generated.nix @@ -4,13 +4,13 @@ let sources = { - "@financial-times/polyfill-useragent-normaliser-1.10.0" = { + "@financial-times/polyfill-useragent-normaliser-1.10.1" = { name = "_at_financial-times_slash_polyfill-useragent-normaliser"; packageName = "@financial-times/polyfill-useragent-normaliser"; - version = "1.10.0"; + version = "1.10.1"; src = fetchurl { - url = "https://registry.npmjs.org/@financial-times/polyfill-useragent-normaliser/-/polyfill-useragent-normaliser-1.10.0.tgz"; - sha512 = "OQYm8qoegUzHZgpNjw0QSmcoH8Tu+fbY9/wTOqbK/2lj3qWNZpGdBimTV1qp8xwF+SVyL2vNzZEjTxSlbjNOSA=="; + url = "https://registry.npmjs.org/@financial-times/polyfill-useragent-normaliser/-/polyfill-useragent-normaliser-1.10.1.tgz"; + sha512 = "u+VCD2ISgkh6eoxdyb0L8bTApdU8t3fvHLS9ZXokC02b8iQD8nkRcpui5BIbuF+aYkWkTpaJhUInCueAGDBVAw=="; }; }; "@financial-times/useragent_parser-1.6.0" = { @@ -22,103 +22,13 @@ let sha512 = "v6Ucl//xSVhpyTtHMVCA9uv9W7CVwj8vBAQFKFDkfGC1DquBobOMhnzH9Odc+Tunf+i4WRnNgt90fQ7CSAbU3g=="; }; }; - "@formatjs/ecma402-abstract-1.8.0" = { - name = "_at_formatjs_slash_ecma402-abstract"; - packageName = "@formatjs/ecma402-abstract"; - version = "1.8.0"; - src = fetchurl { - url = "https://registry.npmjs.org/@formatjs/ecma402-abstract/-/ecma402-abstract-1.8.0.tgz"; - sha512 = "X+nxZcIQr0YfYNtw1ZkHjN3YSyi0fEmdAJqRzk24KwNvqLv7GmVfw70mf7ADnwOvkcrSaAdx24GfAqckGTv9ww=="; - }; - }; - "@formatjs/intl-datetimeformat-4.1.0" = { - name = "_at_formatjs_slash_intl-datetimeformat"; - packageName = "@formatjs/intl-datetimeformat"; - version = "4.1.0"; - src = fetchurl { - url = "https://registry.npmjs.org/@formatjs/intl-datetimeformat/-/intl-datetimeformat-4.1.0.tgz"; - sha512 = "rEAPnIIsiOpjXMqoMdxClJ4Q2uhKTN1WH2fQUCJrg4FYdqfevJeymSowdLcOi1AYARIoTXTmlqS8pHIJx62VEw=="; - }; - }; - "@formatjs/intl-displaynames-5.1.0" = { - name = "_at_formatjs_slash_intl-displaynames"; - packageName = "@formatjs/intl-displaynames"; - version = "5.1.0"; - src = fetchurl { - url = "https://registry.npmjs.org/@formatjs/intl-displaynames/-/intl-displaynames-5.1.0.tgz"; - sha512 = "2pwIlHcNBZ281ySsz/E6JURVDxWsIxHn/HyxmylxBQMeW2HeFq1YuP6ycAxSMfp+EtWAN4v8TgWJQM+YBI22FA=="; - }; - }; - "@formatjs/intl-getcanonicallocales-1.6.0" = { - name = "_at_formatjs_slash_intl-getcanonicallocales"; - packageName = "@formatjs/intl-getcanonicallocales"; - version = "1.6.0"; - src = fetchurl { - url = "https://registry.npmjs.org/@formatjs/intl-getcanonicallocales/-/intl-getcanonicallocales-1.6.0.tgz"; - sha512 = "1967VujZeow0K0NpzerdNOaskcE0KwnnchxT8TzlkLs4RjXx7Uz0bjQPtUYGV7kvbgMJ9qb6tWmCqIwe3sBKUw=="; - }; - }; - "@formatjs/intl-listformat-6.1.0" = { - name = "_at_formatjs_slash_intl-listformat"; - packageName = "@formatjs/intl-listformat"; - version = "6.1.0"; - src = fetchurl { - url = "https://registry.npmjs.org/@formatjs/intl-listformat/-/intl-listformat-6.1.0.tgz"; - sha512 = "NsDKO0U1mVFZmoyZ0ztFL+biqztDKv1qdSvPA1S5yOYZddDy6G9SpnBZgNjhxUFIBqycNW95ibO/jrI5Ou4s5Q=="; - }; - }; - "@formatjs/intl-locale-2.4.26" = { - name = "_at_formatjs_slash_intl-locale"; - packageName = "@formatjs/intl-locale"; - version = "2.4.26"; - src = fetchurl { - url = "https://registry.npmjs.org/@formatjs/intl-locale/-/intl-locale-2.4.26.tgz"; - sha512 = "f5NyHb5qdfA0oO2IGLhNU0k9BWq8xI26VqxzZqjTfEKnn8xJ+SBE9drwRfTqlRz6pmvztPmkDg3FSflmGdDKGw=="; - }; - }; - "@formatjs/intl-numberformat-7.1.0" = { - name = "_at_formatjs_slash_intl-numberformat"; - packageName = "@formatjs/intl-numberformat"; - version = "7.1.0"; - src = fetchurl { - url = "https://registry.npmjs.org/@formatjs/intl-numberformat/-/intl-numberformat-7.1.0.tgz"; - sha512 = "zwjacMSn+Ide2RXK2PN0veB7N7ay10tQ1Pb8eXeMB7zjRjJXHROi8O1ZA0dpJid0lw/5+5G2/lEdYvsPWLkaZA=="; - }; - }; - "@formatjs/intl-pluralrules-4.0.20" = { - name = "_at_formatjs_slash_intl-pluralrules"; - packageName = "@formatjs/intl-pluralrules"; - version = "4.0.20"; - src = fetchurl { - url = "https://registry.npmjs.org/@formatjs/intl-pluralrules/-/intl-pluralrules-4.0.20.tgz"; - sha512 = "ayyjvIh9ShXQxo0Y9GhUTyW9zyB3jiBFRIEhMmGowpIlTVRhOwl57XZ+YuUgo/yCvtJqnvGPu/4/fQTouxHuGw=="; - }; - }; - "@formatjs/intl-relativetimeformat-9.1.0" = { - name = "_at_formatjs_slash_intl-relativetimeformat"; - packageName = "@formatjs/intl-relativetimeformat"; - version = "9.1.0"; - src = fetchurl { - url = "https://registry.npmjs.org/@formatjs/intl-relativetimeformat/-/intl-relativetimeformat-9.1.0.tgz"; - sha512 = "F4HmAk/ZYy9VNbrNOayGfPKEnj2ey6M9kMKf+UKL6QL21FOxLyY6e4okSG6VbAjZ0cYgKvEiNDjSuWP86qSo0g=="; - }; - }; - "@juggle/resize-observer-3.3.1" = { - name = "_at_juggle_slash_resize-observer"; - packageName = "@juggle/resize-observer"; - version = "3.3.1"; - src = fetchurl { - url = "https://registry.npmjs.org/@juggle/resize-observer/-/resize-observer-3.3.1.tgz"; - sha512 = "zMM9Ds+SawiUkakS7y94Ymqx+S0ORzpG3frZirN3l+UlXUmSUR7hF4wxCVqW+ei94JzV5kt0uXBcoOEAuiydrw=="; - }; - }; - "@types/component-emitter-1.2.10" = { + "@types/component-emitter-1.2.11" = { name = "_at_types_slash_component-emitter"; packageName = "@types/component-emitter"; - version = "1.2.10"; + version = "1.2.11"; src = fetchurl { - url = "https://registry.npmjs.org/@types/component-emitter/-/component-emitter-1.2.10.tgz"; - sha512 = "bsjleuRKWmGqajMerkzox19aGbscQX5rmmvvXl3wlIp5gMG1HgkiwPxsN5p070fBDKTNSPgojVbuY1+HWMbFhg=="; + url = "https://registry.npmjs.org/@types/component-emitter/-/component-emitter-1.2.11.tgz"; + sha512 = "SRXjM+tfsSlA9VuG8hGO2nft2p8zjXCK1VcC6N4NXbBbYbSia9kzCChYQajIjzIqOOOuh5Ock6MmV2oux4jDZQ=="; }; }; "@types/cookie-0.4.1" = { @@ -139,40 +49,13 @@ let sha512 = "vt+kDhq/M2ayberEtJcIN/hxXy1Pk+59g2FV/ZQceeaTyCtCucjL2Q7FXlFjtWn4n15KCr1NE2lNNFhp0lEThw=="; }; }; - "@types/node-16.4.11" = { + "@types/node-17.0.0" = { name = "_at_types_slash_node"; packageName = "@types/node"; - version = "16.4.11"; + version = "17.0.0"; src = fetchurl { - url = "https://registry.npmjs.org/@types/node/-/node-16.4.11.tgz"; - sha512 = "nWSFUbuNiPKJEe1IViuodSI+9cM+vpM8SWF/O6dJK7wmGRNq55U7XavJHrlRrPkSMuUZUFzg1xaZ1B+ZZCrRWw=="; - }; - }; - "@webcomponents/template-1.5.0" = { - name = "_at_webcomponents_slash_template"; - packageName = "@webcomponents/template"; - version = "1.5.0"; - src = fetchurl { - url = "https://registry.npmjs.org/@webcomponents/template/-/template-1.5.0.tgz"; - sha512 = "DPQgBAedzjsFD7rgv7b6OKmpHq5VTBUCLmYfDiov2FC2C79QGaz+4iNmlVAem5iSicvN8DWTwU1kZ48XYLtuqg=="; - }; - }; - "Base64-1.1.0" = { - name = "Base64"; - packageName = "Base64"; - version = "1.1.0"; - src = fetchurl { - url = "https://registry.npmjs.org/Base64/-/Base64-1.1.0.tgz"; - sha512 = "qeacf8dvGpf+XAT27ESHMh7z84uRzj/ua2pQdJg483m3bEXv/kVFtDnMgvf70BQGqzbZhR9t6BmASzKvqfJf3Q=="; - }; - }; - "abort-controller-3.0.0" = { - name = "abort-controller"; - packageName = "abort-controller"; - version = "3.0.0"; - src = fetchurl { - url = "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz"; - sha512 = "h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg=="; + url = "https://registry.npmjs.org/@types/node/-/node-17.0.0.tgz"; + sha512 = "eMhwJXc931Ihh4tkU+Y7GiLzT/y/DBNpNtr4yU9O2w3SYBsr9NaOPhQlLKRmoWtI54uNwuo0IOUFQjVOTZYRvw=="; }; }; "accept-language-parser-1.5.0" = { @@ -193,49 +76,22 @@ let sha512 = "Il80Qs2WjYlJIBNzNkK6KYqlVMTbZLXgHx2oT0pU/fjRHyEp+PEfEPY0R3WCwAGVOtauxh1hOxNgIf5bv7dQpA=="; }; }; - "align-text-0.1.4" = { - name = "align-text"; - packageName = "align-text"; - version = "0.1.4"; - src = fetchurl { - url = "https://registry.npmjs.org/align-text/-/align-text-0.1.4.tgz"; - sha1 = "0cd90a561093f35d0a99256c22b7069433fad117"; - }; - }; - "async-mutex-0.3.1" = { + "async-mutex-0.3.2" = { name = "async-mutex"; packageName = "async-mutex"; - version = "0.3.1"; + version = "0.3.2"; src = fetchurl { - url = "https://registry.npmjs.org/async-mutex/-/async-mutex-0.3.1.tgz"; - sha512 = "vRfQwcqBnJTLzVQo72Sf7KIUbcSUP5hNchx6udI1U6LuPQpfePgdjJzlCe76yFZ8pxlLjn9lwcl/Ya0TSOv0Tw=="; + url = "https://registry.npmjs.org/async-mutex/-/async-mutex-0.3.2.tgz"; + sha512 = "HuTK7E7MT7jZEh1P9GtRW9+aTWiDWWi9InbZ5hjxrnRa39KS4BW04+xLBhYNS2aXhHUIKZSw3gj4Pn1pj+qGAA=="; }; }; - "audio-context-polyfill-1.0.0" = { - name = "audio-context-polyfill"; - packageName = "audio-context-polyfill"; - version = "1.0.0"; - src = fetchurl { - url = "https://registry.npmjs.org/audio-context-polyfill/-/audio-context-polyfill-1.0.0.tgz"; - sha1 = "4b728faf0a19555194d4fbd05582f833fdcd137b"; - }; - }; - "balanced-match-1.0.2" = { - name = "balanced-match"; - packageName = "balanced-match"; - version = "1.0.2"; - src = fetchurl { - url = "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz"; - sha512 = "3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw=="; - }; - }; - "base64-arraybuffer-0.1.4" = { + "base64-arraybuffer-1.0.1" = { name = "base64-arraybuffer"; packageName = "base64-arraybuffer"; - version = "0.1.4"; + version = "1.0.1"; src = fetchurl { - url = "https://registry.npmjs.org/base64-arraybuffer/-/base64-arraybuffer-0.1.4.tgz"; - sha1 = "9818c79e059b1355f97e0428a017c838e90ba812"; + url = "https://registry.npmjs.org/base64-arraybuffer/-/base64-arraybuffer-1.0.1.tgz"; + sha512 = "vFIUq7FdLtjZMhATwDul5RZWv2jpXQ09Pd6jcVEOvIsqCWTRFD/ONHNfyOS8dA/Ippi5dsIgpyKWKZaAKZltbA=="; }; }; "base64id-2.0.0" = { @@ -247,51 +103,6 @@ let sha512 = "lGe34o6EHj9y3Kts9R4ZYs/Gr+6N7MCaMlIFA3F1R2O5/m7K06AxfSeO5530PEERE6/WyEg3lsuyw4GHlPZHog=="; }; }; - "brace-expansion-1.1.11" = { - name = "brace-expansion"; - packageName = "brace-expansion"; - version = "1.1.11"; - src = fetchurl { - url = "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz"; - sha512 = "iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA=="; - }; - }; - "camelcase-1.2.1" = { - name = "camelcase"; - packageName = "camelcase"; - version = "1.2.1"; - src = fetchurl { - url = "https://registry.npmjs.org/camelcase/-/camelcase-1.2.1.tgz"; - sha1 = "9bb5304d2e0b56698b2c758b08a3eaa9daa58a39"; - }; - }; - "center-align-0.1.3" = { - name = "center-align"; - packageName = "center-align"; - version = "0.1.3"; - src = fetchurl { - url = "https://registry.npmjs.org/center-align/-/center-align-0.1.3.tgz"; - sha1 = "aa0d32629b6ee972200411cbd4461c907bc2b7ad"; - }; - }; - "cldr-core-38.1.0" = { - name = "cldr-core"; - packageName = "cldr-core"; - version = "38.1.0"; - src = fetchurl { - url = "https://registry.npmjs.org/cldr-core/-/cldr-core-38.1.0.tgz"; - sha512 = "Da9xKjDp4qGGIX0VDsBqTan09iR5nuYD2a/KkfEaUyqKhu6wFVNRiCpPDXeRbpVwPBY6PgemV8WiHatMhcpy4A=="; - }; - }; - "cliui-2.1.0" = { - name = "cliui"; - packageName = "cliui"; - version = "2.1.0"; - src = fetchurl { - url = "https://registry.npmjs.org/cliui/-/cliui-2.1.0.tgz"; - sha1 = "4b475760ff80264c762c3a1719032e91c7fea0d1"; - }; - }; "component-emitter-1.3.0" = { name = "component-emitter"; packageName = "component-emitter"; @@ -301,15 +112,6 @@ let sha512 = "Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg=="; }; }; - "concat-map-0.0.1" = { - name = "concat-map"; - packageName = "concat-map"; - version = "0.0.1"; - src = fetchurl { - url = "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz"; - sha1 = "d8a96bd77fd68df7793a73036a3ba0d5405d477b"; - }; - }; "cookie-0.4.1" = { name = "cookie"; packageName = "cookie"; @@ -319,13 +121,13 @@ let sha512 = "ZwrFkGJxUR3EIoXtO+yVE69Eb7KlixbaeAWfBQB9vVsNn/o+Yw69gBWSSDK825hQNdN+wF8zELf3dFNl/kxkUA=="; }; }; - "core-util-is-1.0.2" = { + "core-util-is-1.0.3" = { name = "core-util-is"; packageName = "core-util-is"; - version = "1.0.2"; + version = "1.0.3"; src = fetchurl { - url = "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz"; - sha1 = "b5fd54220aa2bc5ab57aab7140c940754503c1a7"; + url = "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz"; + sha512 = "ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ=="; }; }; "cors-2.8.5" = { @@ -337,15 +139,6 @@ let sha512 = "KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g=="; }; }; - "current-script-polyfill-1.0.0" = { - name = "current-script-polyfill"; - packageName = "current-script-polyfill"; - version = "1.0.0"; - src = fetchurl { - url = "https://registry.npmjs.org/current-script-polyfill/-/current-script-polyfill-1.0.0.tgz"; - sha1 = "f31cf7e4f3e218b0726e738ca92a02d3488ef615"; - }; - }; "debug-2.6.9" = { name = "debug"; packageName = "debug"; @@ -355,40 +148,13 @@ let sha512 = "bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA=="; }; }; - "debug-4.1.1" = { + "debug-4.3.3" = { name = "debug"; packageName = "debug"; - version = "4.1.1"; + version = "4.3.3"; src = fetchurl { - url = "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz"; - sha512 = "pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw=="; - }; - }; - "debug-4.3.2" = { - name = "debug"; - packageName = "debug"; - version = "4.3.2"; - src = fetchurl { - url = "https://registry.npmjs.org/debug/-/debug-4.3.2.tgz"; - sha512 = "mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw=="; - }; - }; - "decamelize-1.2.0" = { - name = "decamelize"; - packageName = "decamelize"; - version = "1.2.0"; - src = fetchurl { - url = "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz"; - sha1 = "f6534d15148269b20352e7bee26f501f9a191290"; - }; - }; - "deep-is-0.1.3" = { - name = "deep-is"; - packageName = "deep-is"; - version = "0.1.3"; - src = fetchurl { - url = "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz"; - sha1 = "b369d6fb5dbc13eecf524f91b070feedc357cf34"; + url = "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz"; + sha512 = "/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q=="; }; }; "depd-1.1.2" = { @@ -409,15 +175,6 @@ let sha1 = "978857442c44749e4206613e37946205826abd80"; }; }; - "diff-4.0.2" = { - name = "diff"; - packageName = "diff"; - version = "4.0.2"; - src = fetchurl { - url = "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz"; - sha512 = "58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A=="; - }; - }; "ee-first-1.1.1" = { name = "ee-first"; packageName = "ee-first"; @@ -436,22 +193,22 @@ let sha1 = "ad3ff4c86ec2d029322f5a02c3a9a606c95b3f59"; }; }; - "engine.io-5.1.1" = { + "engine.io-6.1.0" = { name = "engine.io"; packageName = "engine.io"; - version = "5.1.1"; + version = "6.1.0"; src = fetchurl { - url = "https://registry.npmjs.org/engine.io/-/engine.io-5.1.1.tgz"; - sha512 = "aMWot7H5aC8L4/T8qMYbLdvKlZOdJTH54FxfdFunTGvhMx1BHkJOntWArsVfgAZVwAO9LC2sryPWRcEeUzCe5w=="; + url = "https://registry.npmjs.org/engine.io/-/engine.io-6.1.0.tgz"; + sha512 = "ErhZOVu2xweCjEfYcTdkCnEYUiZgkAcBBAhW4jbIvNG8SLU3orAqoJCiytZjYF7eTpVmmCrLDjLIEaPlUAs1uw=="; }; }; - "engine.io-parser-4.0.2" = { + "engine.io-parser-5.0.2" = { name = "engine.io-parser"; packageName = "engine.io-parser"; - version = "4.0.2"; + version = "5.0.2"; src = fetchurl { - url = "https://registry.npmjs.org/engine.io-parser/-/engine.io-parser-4.0.2.tgz"; - sha512 = "sHfEQv6nmtJrq6TKuIz5kyEKH/qSdK56H/A+7DnAuUPWosnIZAS2NHNcPLmyjtY3cGS/MqJdZbUjW97JU72iYg=="; + url = "https://registry.npmjs.org/engine.io-parser/-/engine.io-parser-5.0.2.tgz"; + sha512 = "wuiO7qO/OEkPJSFueuATIXtrxF7/6GTbAO9QLv7nnbjwZ5tYhLm9zxvLwxstRs0dcT0KUlWTjtIOs1T86jt12g=="; }; }; "escape-html-1.0.3" = { @@ -472,33 +229,6 @@ let sha1 = "41ae2eeb65efa62268aebfea83ac7d79299b0887"; }; }; - "event-source-polyfill-1.0.24" = { - name = "event-source-polyfill"; - packageName = "event-source-polyfill"; - version = "1.0.24"; - src = fetchurl { - url = "https://registry.npmjs.org/event-source-polyfill/-/event-source-polyfill-1.0.24.tgz"; - sha512 = "aEtMhrH5ww3X6RgbsNcwu0whw8zjOoeRnwPqRKqKuxWS5KlAZhCY+rTm6wMlHOXbxmLGn8lW6Xox7rfpBExzGA=="; - }; - }; - "event-target-shim-5.0.1" = { - name = "event-target-shim"; - packageName = "event-target-shim"; - version = "5.0.1"; - src = fetchurl { - url = "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz"; - sha512 = "i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ=="; - }; - }; - "fastestsmallesttextencoderdecoder-1.0.22" = { - name = "fastestsmallesttextencoderdecoder"; - packageName = "fastestsmallesttextencoderdecoder"; - version = "1.0.22"; - src = fetchurl { - url = "https://registry.npmjs.org/fastestsmallesttextencoderdecoder/-/fastestsmallesttextencoderdecoder-1.0.22.tgz"; - sha512 = "Pb8d48e+oIuY4MaM64Cd7OW1gt4nxCHs7/ddPPZ/Ic3sg8yVGM7O9wDvZ7us6ScaUupzM+pfBolwtYhN1IxBIw=="; - }; - }; "fresh-0.5.2" = { name = "fresh"; packageName = "fresh"; @@ -526,31 +256,13 @@ let sha1 = "18282b27d08a267cb3030cd2b8b4b0f212af752a"; }; }; - "fs.realpath-1.0.0" = { - name = "fs.realpath"; - packageName = "fs.realpath"; - version = "1.0.0"; - src = fetchurl { - url = "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz"; - sha1 = "1504ad2523158caa40db4a2787cb01411994ea4f"; - }; - }; - "glob-7.1.7" = { - name = "glob"; - packageName = "glob"; - version = "7.1.7"; - src = fetchurl { - url = "https://registry.npmjs.org/glob/-/glob-7.1.7.tgz"; - sha512 = "OvD9ENzPLbegENnYP5UUfJIirTg4+XwMWGaQfQTY0JenxNvvIKP3U3/tAQSPIu/lHxXYSZmpXlUHeqAIdKzBLQ=="; - }; - }; - "graceful-fs-4.2.6" = { + "graceful-fs-4.2.8" = { name = "graceful-fs"; packageName = "graceful-fs"; - version = "4.2.6"; + version = "4.2.8"; src = fetchurl { - url = "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.6.tgz"; - sha512 = "nTnJ528pbqxYanhpDYsi4Rd8MAeaBA67+RZ10CM1m3bTAVFEDcd5AuA4a6W5YkGZ1iNXHzZz8T6TBKLeBuNriQ=="; + url = "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.8.tgz"; + sha512 = "qkIilPUYcNhJpd33n0GBXTB1MMPp14TxEsEs0pTrsSVucApsYzW5V+Q8Qxhik6KU3evy+qkAAowTByymK0avdg=="; }; }; "handlebars-4.7.7" = { @@ -562,31 +274,13 @@ let sha512 = "aAcXm5OAfE/8IXkcZvCepKU3VzW1/39Fb5ZuqMtgI/hT8X2YgoMvBY5dLhq/cpOvw7Lk1nK/UF71aLG/ZnVYRA=="; }; }; - "html5shiv-3.7.3" = { - name = "html5shiv"; - packageName = "html5shiv"; - version = "3.7.3"; - src = fetchurl { - url = "https://registry.npmjs.org/html5shiv/-/html5shiv-3.7.3.tgz"; - sha1 = "d78a84a367bcb9a710100d57802c387b084631d2"; - }; - }; - "http-errors-1.7.3" = { + "http-errors-1.8.1" = { name = "http-errors"; packageName = "http-errors"; - version = "1.7.3"; + version = "1.8.1"; src = fetchurl { - url = "https://registry.npmjs.org/http-errors/-/http-errors-1.7.3.tgz"; - sha512 = "ZTTX0MWrsQ2ZAhA1cejAwDLycFsd7I7nVtnkT3Ol0aqodaKW+0CTZDQ1uBv5whptCnc8e8HeRRJxRs0kmm/Qfw=="; - }; - }; - "inflight-1.0.6" = { - name = "inflight"; - packageName = "inflight"; - version = "1.0.6"; - src = fetchurl { - url = "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz"; - sha1 = "49bd6331d7d02d0c09bc910a1075ba8165b56df9"; + url = "https://registry.npmjs.org/http-errors/-/http-errors-1.8.1.tgz"; + sha512 = "Kpk9Sm7NmI+RHhnj6OIWDI1d6fIoFAtFt9RLaTMRlg/8w49juAStsrBgp0Dp4OdxdVbRIeKhtCUvoi/RuAhO4g=="; }; }; "inherits-2.0.4" = { @@ -598,42 +292,6 @@ let sha512 = "k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="; }; }; - "ip-regex-2.1.0" = { - name = "ip-regex"; - packageName = "ip-regex"; - version = "2.1.0"; - src = fetchurl { - url = "https://registry.npmjs.org/ip-regex/-/ip-regex-2.1.0.tgz"; - sha1 = "fa78bf5d2e6913c911ce9f819ee5146bb6d844e9"; - }; - }; - "is-buffer-1.1.6" = { - name = "is-buffer"; - packageName = "is-buffer"; - version = "1.1.6"; - src = fetchurl { - url = "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz"; - sha512 = "NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w=="; - }; - }; - "is-url-1.2.4" = { - name = "is-url"; - packageName = "is-url"; - version = "1.2.4"; - src = fetchurl { - url = "https://registry.npmjs.org/is-url/-/is-url-1.2.4.tgz"; - sha512 = "ITvGim8FhRiYe4IQ5uHSkj7pVaPDrCTkNd3yq3cV7iZAcJdHTUMPMEHcqSOy9xZ9qFenQCvi+2wjH9a1nXqHww=="; - }; - }; - "is2-2.0.1" = { - name = "is2"; - packageName = "is2"; - version = "2.0.1"; - src = fetchurl { - url = "https://registry.npmjs.org/is2/-/is2-2.0.1.tgz"; - sha512 = "+WaJvnaA7aJySz2q/8sLjMb2Mw14KTplHmSwcSpZ/fWJPkUmqw3YTzSWbPJ7OAwRvdYTWF2Wg+yYJ1AdP5Z8CA=="; - }; - }; "isarray-1.0.0" = { name = "isarray"; packageName = "isarray"; @@ -643,51 +301,6 @@ let sha1 = "bb935d48582cba168c06834957a54a3e07124f11"; }; }; - "js-polyfills-0.1.43" = { - name = "js-polyfills"; - packageName = "js-polyfills"; - version = "0.1.43"; - src = fetchurl { - url = "https://registry.npmjs.org/js-polyfills/-/js-polyfills-0.1.43.tgz"; - sha512 = "wWCJcw7uMA12uk7qcqZlIQy9nj+Evh1wVUmn5MOlJ7GPC8HT5PLjB9Uiqjw9ldAbbOuNOWJ6ENb7NwU6qqf48g=="; - }; - }; - "json3-3.3.3" = { - name = "json3"; - packageName = "json3"; - version = "3.3.3"; - src = fetchurl { - url = "https://registry.npmjs.org/json3/-/json3-3.3.3.tgz"; - sha512 = "c7/8mbUsKigAbLkD5B010BK4D9LZm7A1pNItkEwiUZRpIN66exu/e7YQWysGun+TRKaJp8MhemM+VkfWv42aCA=="; - }; - }; - "kind-of-3.2.2" = { - name = "kind-of"; - packageName = "kind-of"; - version = "3.2.2"; - src = fetchurl { - url = "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz"; - sha1 = "31ea21a734bab9bbb0f32466d893aea51e4a3c64"; - }; - }; - "lazy-cache-1.0.4" = { - name = "lazy-cache"; - packageName = "lazy-cache"; - version = "1.0.4"; - src = fetchurl { - url = "https://registry.npmjs.org/lazy-cache/-/lazy-cache-1.0.4.tgz"; - sha1 = "a1d78fc3a50474cb80845d3b3b6e1da49a446e8e"; - }; - }; - "longest-1.0.1" = { - name = "longest"; - packageName = "longest"; - version = "1.0.1"; - src = fetchurl { - url = "https://registry.npmjs.org/longest/-/longest-1.0.1.tgz"; - sha1 = "30a0b2da38f73770e8294a0d22e6625ed77d0097"; - }; - }; "lru-cache-6.0.0" = { name = "lru-cache"; packageName = "lru-cache"; @@ -715,31 +328,22 @@ let sha512 = "x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg=="; }; }; - "mime-db-1.49.0" = { + "mime-db-1.51.0" = { name = "mime-db"; packageName = "mime-db"; - version = "1.49.0"; + version = "1.51.0"; src = fetchurl { - url = "https://registry.npmjs.org/mime-db/-/mime-db-1.49.0.tgz"; - sha512 = "CIc8j9URtOVApSFCQIF+VBkX1RwXp/oMMOrqdyXSBXq5RWNEsRfyj1kiRnQgmNXmHxPoFIxOroKA3zcU9P+nAA=="; + url = "https://registry.npmjs.org/mime-db/-/mime-db-1.51.0.tgz"; + sha512 = "5y8A56jg7XVQx2mbv1lu49NR4dokRnhZYTtL+KGfaa27uq4pSTXkwQkFJl4pkRMyNFz/EtYDSkiiEHx3F7UN6g=="; }; }; - "mime-types-2.1.32" = { + "mime-types-2.1.34" = { name = "mime-types"; packageName = "mime-types"; - version = "2.1.32"; + version = "2.1.34"; src = fetchurl { - url = "https://registry.npmjs.org/mime-types/-/mime-types-2.1.32.tgz"; - sha512 = "hJGaVS4G4c9TSMYh2n6SQAGrC4RnfU+daP8G7cSCmaqNjiOoUY0VHCMS42pxnQmVF1GWwFhbHWn3RIxCqTmZ9A=="; - }; - }; - "minimatch-3.0.4" = { - name = "minimatch"; - packageName = "minimatch"; - version = "3.0.4"; - src = fetchurl { - url = "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz"; - sha512 = "yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA=="; + url = "https://registry.npmjs.org/mime-types/-/mime-types-2.1.34.tgz"; + sha512 = "6cP692WwGIs9XXdOO4++N+7qjqv0rqxxVvJ3VHPh/Sc9mVZcQP+ZGhkKiTvWMQRr2tbHkJP/Yn7Y0npb3ZBs4A=="; }; }; "minimist-1.2.5" = { @@ -751,22 +355,13 @@ let sha512 = "FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw=="; }; }; - "mkdirp-1.0.4" = { - name = "mkdirp"; - packageName = "mkdirp"; - version = "1.0.4"; - src = fetchurl { - url = "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz"; - sha512 = "vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw=="; - }; - }; - "mnemonist-0.38.3" = { + "mnemonist-0.38.5" = { name = "mnemonist"; packageName = "mnemonist"; - version = "0.38.3"; + version = "0.38.5"; src = fetchurl { - url = "https://registry.npmjs.org/mnemonist/-/mnemonist-0.38.3.tgz"; - sha512 = "2K9QYubXx/NAjv4VLq1d1Ly8pWNC5L3BrixtdkyTegXWJIqY+zLNDhhX/A+ZwWt70tB1S8H4BE8FLYEFyNoOBw=="; + url = "https://registry.npmjs.org/mnemonist/-/mnemonist-0.38.5.tgz"; + sha512 = "bZTFT5rrPKtPJxj8KSV0WkPyNxl72vQepqqVUAW2ARUpUSF2qXMB6jZj7hW5/k7C1rtpzqbD/IIbJwLXUjCHeg=="; }; }; "ms-2.0.0" = { @@ -778,15 +373,6 @@ let sha1 = "5608aeadfc00be6c2901df5f9861788de0d597c8"; }; }; - "ms-2.1.1" = { - name = "ms"; - packageName = "ms"; - version = "2.1.1"; - src = fetchurl { - url = "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz"; - sha512 = "tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg=="; - }; - }; "ms-2.1.2" = { name = "ms"; packageName = "ms"; @@ -805,15 +391,6 @@ let sha512 = "6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA=="; }; }; - "mutationobserver-shim-0.3.7" = { - name = "mutationobserver-shim"; - packageName = "mutationobserver-shim"; - version = "0.3.7"; - src = fetchurl { - url = "https://registry.npmjs.org/mutationobserver-shim/-/mutationobserver-shim-0.3.7.tgz"; - sha512 = "oRIDTyZQU96nAiz2AQyngwx1e89iApl2hN5AOYwyxLUB47UYsU3Wv9lJWqH5y/QdiYkc5HQLi23ZNB3fELdHcQ=="; - }; - }; "negotiator-0.6.2" = { name = "negotiator"; packageName = "negotiator"; @@ -841,13 +418,13 @@ let sha1 = "2109adc7965887cfc05cbbd442cac8bfbb360863"; }; }; - "obliterator-1.6.1" = { + "obliterator-2.0.1" = { name = "obliterator"; packageName = "obliterator"; - version = "1.6.1"; + version = "2.0.1"; src = fetchurl { - url = "https://registry.npmjs.org/obliterator/-/obliterator-1.6.1.tgz"; - sha512 = "9WXswnqINnnhOG/5SLimUlzuU1hFJUc8zkwyD59Sd+dPOMf05PmnYG/d6Q7HZ+KmgkZJa1PxRso6QdM3sTNHig=="; + url = "https://registry.npmjs.org/obliterator/-/obliterator-2.0.1.tgz"; + sha512 = "XnkiCrrBcIZQitJPAI36mrrpEUvatbte8hLcTcQwKA1v9NkCKasSi+UAguLsLDs/out7MoRzAlmz7VXvY6ph6w=="; }; }; "on-finished-2.3.0" = { @@ -859,15 +436,6 @@ let sha1 = "20f1336481b083cd75337992a16971aa2d906947"; }; }; - "once-1.4.0" = { - name = "once"; - packageName = "once"; - version = "1.4.0"; - src = fetchurl { - url = "https://registry.npmjs.org/once/-/once-1.4.0.tgz"; - sha1 = "583b1aa775961d4b113ac17d9c50baef9dd76bd1"; - }; - }; "parseurl-1.3.3" = { name = "parseurl"; packageName = "parseurl"; @@ -877,31 +445,13 @@ let sha512 = "CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ=="; }; }; - "path-is-absolute-1.0.1" = { - name = "path-is-absolute"; - packageName = "path-is-absolute"; - version = "1.0.1"; - src = fetchurl { - url = "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz"; - sha1 = "174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f"; - }; - }; - "picturefill-3.0.3" = { - name = "picturefill"; - packageName = "picturefill"; - version = "3.0.3"; - src = fetchurl { - url = "https://registry.npmjs.org/picturefill/-/picturefill-3.0.3.tgz"; - sha512 = "JDdx+3i4fs2pkqwWZJgGEM2vFWsq+01YsQFT9CKPGuv2Q0xSdrQZoxi9XwyNARTgxiOdgoAwWQRluLRe/JQX2g=="; - }; - }; - "polyfill-library-3.107.1" = { + "polyfill-library-3.110.1" = { name = "polyfill-library"; packageName = "polyfill-library"; - version = "3.107.1"; + version = "3.110.1"; src = fetchurl { - url = "https://registry.npmjs.org/polyfill-library/-/polyfill-library-3.107.1.tgz"; - sha512 = "HrN61Tp8Wjz1xcmYmstm0m6ySeiVSVqadDFhFMZmoiWlRoPQRfdeVWv88IqZKmxYITZ85z26wmOJdGYrGs6tjw=="; + url = "https://registry.npmjs.org/polyfill-library/-/polyfill-library-3.110.1.tgz"; + sha512 = "OTgQPd6If8DQSrAXcFU2soHXrCHAJpGkBgWRSqEEcydauxzmuU3T1s15wOPfSd1gj8mXbiIrPaDndt0zy4hFTA=="; }; }; "process-nextick-args-2.0.1" = { @@ -940,33 +490,6 @@ let sha512 = "Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw=="; }; }; - "repeat-string-1.6.1" = { - name = "repeat-string"; - packageName = "repeat-string"; - version = "1.6.1"; - src = fetchurl { - url = "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz"; - sha1 = "8dcae470e1c88abc2d600fff4a776286da75e637"; - }; - }; - "right-align-0.1.3" = { - name = "right-align"; - packageName = "right-align"; - version = "0.1.3"; - src = fetchurl { - url = "https://registry.npmjs.org/right-align/-/right-align-0.1.3.tgz"; - sha1 = "61339b722fe6a3515689210d24e14c96148613ef"; - }; - }; - "rimraf-3.0.2" = { - name = "rimraf"; - packageName = "rimraf"; - version = "3.0.2"; - src = fetchurl { - url = "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz"; - sha512 = "JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA=="; - }; - }; "safe-buffer-5.1.2" = { name = "safe-buffer"; packageName = "safe-buffer"; @@ -976,15 +499,6 @@ let sha512 = "Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="; }; }; - "seamless-scroll-polyfill-1.2.3" = { - name = "seamless-scroll-polyfill"; - packageName = "seamless-scroll-polyfill"; - version = "1.2.3"; - src = fetchurl { - url = "https://registry.npmjs.org/seamless-scroll-polyfill/-/seamless-scroll-polyfill-1.2.3.tgz"; - sha512 = "emnwZtu6NrlBlvT6HrlbAOs024JX4orWew8H5owBOyUJ7eFXn8lGe4bsXTBD6AAWzP/p7LL86AjVIH8Apqec5w=="; - }; - }; "semver-7.3.5" = { name = "semver"; packageName = "semver"; @@ -994,49 +508,49 @@ let sha512 = "PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ=="; }; }; - "send-0.17.1" = { + "send-0.17.2" = { name = "send"; packageName = "send"; - version = "0.17.1"; + version = "0.17.2"; src = fetchurl { - url = "https://registry.npmjs.org/send/-/send-0.17.1.tgz"; - sha512 = "BsVKsiGcQMFwT8UxypobUKyv7irCNRHk1T0G680vk88yf6LBByGcZJOTJCrTP2xVN6yI+XjPJcNuE3V4fT9sAg=="; + url = "https://registry.npmjs.org/send/-/send-0.17.2.tgz"; + sha512 = "UJYB6wFSJE3G00nEivR5rgWp8c2xXvJ3OPWPhmuteU0IKj8nKbG3DrjiOmLwpnHGYWAVwA69zmTm++YG0Hmwww=="; }; }; - "serve-static-1.14.1" = { + "serve-static-1.14.2" = { name = "serve-static"; packageName = "serve-static"; - version = "1.14.1"; + version = "1.14.2"; src = fetchurl { - url = "https://registry.npmjs.org/serve-static/-/serve-static-1.14.1.tgz"; - sha512 = "JMrvUwE54emCYWlTI+hGrGv5I8dEwmco/00EvkzIIsR7MqrHonbD9pO2MOfFnpFntl7ecpZs+3mW+XbQZu9QCg=="; + url = "https://registry.npmjs.org/serve-static/-/serve-static-1.14.2.tgz"; + sha512 = "+TMNA9AFxUEGuC0z2mevogSnn9MXKb4fa7ngeRMJaaGv8vTwnIEkKi+QGvPt33HSnf8pRS+WGM0EbMtCJLKMBQ=="; }; }; - "setprototypeof-1.1.1" = { + "setprototypeof-1.2.0" = { name = "setprototypeof"; packageName = "setprototypeof"; - version = "1.1.1"; + version = "1.2.0"; src = fetchurl { - url = "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.1.tgz"; - sha512 = "JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw=="; + url = "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz"; + sha512 = "E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw=="; }; }; - "socket.io-4.1.3" = { + "socket.io-4.4.0" = { name = "socket.io"; packageName = "socket.io"; - version = "4.1.3"; + version = "4.4.0"; src = fetchurl { - url = "https://registry.npmjs.org/socket.io/-/socket.io-4.1.3.tgz"; - sha512 = "tLkaY13RcO4nIRh1K2hT5iuotfTaIQw7cVIe0FUykN3SuQi0cm7ALxuyT5/CtDswOMWUzMGTibxYNx/gU7In+Q=="; + url = "https://registry.npmjs.org/socket.io/-/socket.io-4.4.0.tgz"; + sha512 = "bnpJxswR9ov0Bw6ilhCvO38/1WPtE3eA2dtxi2Iq4/sFebiDJQzgKNYA7AuVVdGW09nrESXd90NbZqtDd9dzRQ=="; }; }; - "socket.io-adapter-2.3.1" = { + "socket.io-adapter-2.3.3" = { name = "socket.io-adapter"; packageName = "socket.io-adapter"; - version = "2.3.1"; + version = "2.3.3"; src = fetchurl { - url = "https://registry.npmjs.org/socket.io-adapter/-/socket.io-adapter-2.3.1.tgz"; - sha512 = "8cVkRxI8Nt2wadkY6u60Y4rpW3ejA1rxgcK2JuyIhmF+RMNpTy1QRtkHIDUOf3B4HlQwakMsWbKftMv/71VMmw=="; + url = "https://registry.npmjs.org/socket.io-adapter/-/socket.io-adapter-2.3.3.tgz"; + sha512 = "Qd/iwn3VskrpNO60BeRyCyr8ZWw9CPZyitW4AQwmRZ8zCiyDiL+znRnWX6tDHXnWn1sJrM1+b6Mn6wEDJJ4aYQ=="; }; }; "socket.io-parser-4.0.4" = { @@ -1048,15 +562,6 @@ let sha512 = "t+b0SS+IxG7Rxzda2EVvyBZbvFPBCjJoyHuE0P//7OAsN23GItzDRdWa6ALxZI/8R5ygK7jAR6t028/z+7295g=="; }; }; - "source-map-0.5.7" = { - name = "source-map"; - packageName = "source-map"; - version = "0.5.7"; - src = fetchurl { - url = "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz"; - sha1 = "8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc"; - }; - }; "source-map-0.6.1" = { name = "source-map"; packageName = "source-map"; @@ -1066,15 +571,6 @@ let sha512 = "UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g=="; }; }; - "spdx-licenses-1.0.0" = { - name = "spdx-licenses"; - packageName = "spdx-licenses"; - version = "1.0.0"; - src = fetchurl { - url = "https://registry.npmjs.org/spdx-licenses/-/spdx-licenses-1.0.0.tgz"; - sha512 = "BmeFZRYH9XXf56omx0LuiG+gBXRqwmrKsOtcsGTJh8tw9U0cgRKTrOnyDpP1uvI1AVEkoRKYaAvR902ByotFOw=="; - }; - }; "statsd-client-0.4.7" = { name = "statsd-client"; packageName = "statsd-client"; @@ -1120,13 +616,13 @@ let sha512 = "n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg=="; }; }; - "toidentifier-1.0.0" = { + "toidentifier-1.0.1" = { name = "toidentifier"; packageName = "toidentifier"; - version = "1.0.0"; + version = "1.0.1"; src = fetchurl { - url = "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.0.tgz"; - sha512 = "yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw=="; + url = "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz"; + sha512 = "o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA=="; }; }; "toposort-2.0.2" = { @@ -1138,58 +634,22 @@ let sha1 = "ae21768175d1559d48bef35420b2f4962f09c330"; }; }; - "tslib-2.3.0" = { + "tslib-2.3.1" = { name = "tslib"; packageName = "tslib"; - version = "2.3.0"; + version = "2.3.1"; src = fetchurl { - url = "https://registry.npmjs.org/tslib/-/tslib-2.3.0.tgz"; - sha512 = "N82ooyxVNm6h1riLCoyS9e3fuJ3AMG2zIZs2Gd1ATcSFjSA23Q0fzjjZeh0jbJvWVDZ0cJT8yaNNaaXHzueNjg=="; + url = "https://registry.npmjs.org/tslib/-/tslib-2.3.1.tgz"; + sha512 = "77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw=="; }; }; - "uglify-js-2.8.29" = { + "uglify-js-3.14.5" = { name = "uglify-js"; packageName = "uglify-js"; - version = "2.8.29"; + version = "3.14.5"; src = fetchurl { - url = "https://registry.npmjs.org/uglify-js/-/uglify-js-2.8.29.tgz"; - sha1 = "29c5733148057bb4e1f75df35b7a9cb72e6a59dd"; - }; - }; - "uglify-js-3.14.1" = { - name = "uglify-js"; - packageName = "uglify-js"; - version = "3.14.1"; - src = fetchurl { - url = "https://registry.npmjs.org/uglify-js/-/uglify-js-3.14.1.tgz"; - sha512 = "JhS3hmcVaXlp/xSo3PKY5R0JqKs5M3IV+exdLHW99qKvKivPO4Z8qbej6mte17SOPqAOVMjt/XGgWacnFSzM3g=="; - }; - }; - "uglify-to-browserify-1.0.2" = { - name = "uglify-to-browserify"; - packageName = "uglify-to-browserify"; - version = "1.0.2"; - src = fetchurl { - url = "https://registry.npmjs.org/uglify-to-browserify/-/uglify-to-browserify-1.0.2.tgz"; - sha1 = "6e0924d6bda6b5afe349e39a6d632850a0f882b7"; - }; - }; - "unorm-1.6.0" = { - name = "unorm"; - packageName = "unorm"; - version = "1.6.0"; - src = fetchurl { - url = "https://registry.npmjs.org/unorm/-/unorm-1.6.0.tgz"; - sha512 = "b2/KCUlYZUeA7JFUuRJZPUtr4gZvBh7tavtv4fvk4+KV9pfGiR6CQAQAWl49ZpR3ts2dk4FYkP7EIgDJoiOLDA=="; - }; - }; - "usertiming-0.1.8" = { - name = "usertiming"; - packageName = "usertiming"; - version = "0.1.8"; - src = fetchurl { - url = "https://registry.npmjs.org/usertiming/-/usertiming-0.1.8.tgz"; - sha1 = "35378e7f41a248d40e658d05f80423469a7b0650"; + url = "https://registry.npmjs.org/uglify-js/-/uglify-js-3.14.5.tgz"; + sha512 = "qZukoSxOG0urUTvjc2ERMTcAy+BiFh3weWAkeurLwjrCba73poHmG3E36XEjd/JGukMzwTL7uCxZiAexj8ppvQ=="; }; }; "util-deprecate-1.0.2" = { @@ -1210,51 +670,6 @@ let sha1 = "2299f02c6ded30d4a5961b0b9f74524a18f634fc"; }; }; - "web-animations-js-2.3.2" = { - name = "web-animations-js"; - packageName = "web-animations-js"; - version = "2.3.2"; - src = fetchurl { - url = "https://registry.npmjs.org/web-animations-js/-/web-animations-js-2.3.2.tgz"; - sha512 = "TOMFWtQdxzjWp8qx4DAraTWTsdhxVSiWa6NkPFSaPtZ1diKUxTn4yTix73A1euG1WbSOMMPcY51cnjTIHrGtDA=="; - }; - }; - "whatwg-fetch-3.6.2" = { - name = "whatwg-fetch"; - packageName = "whatwg-fetch"; - version = "3.6.2"; - src = fetchurl { - url = "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-3.6.2.tgz"; - sha512 = "bJlen0FcuU/0EMLrdbJ7zOnW6ITZLrZMIarMUVmdKtsGvZna8vxKYaexICWPfZ8qwf9fzNq+UEIZrnSaApt6RA=="; - }; - }; - "wicg-inert-3.1.1" = { - name = "wicg-inert"; - packageName = "wicg-inert"; - version = "3.1.1"; - src = fetchurl { - url = "https://registry.npmjs.org/wicg-inert/-/wicg-inert-3.1.1.tgz"; - sha512 = "PhBaNh8ur9Xm4Ggy4umelwNIP6pPP1bv3EaWaKqfb/QNme2rdLjm7wIInvV4WhxVHhzA4Spgw9qNSqWtB/ca2A=="; - }; - }; - "window-size-0.1.0" = { - name = "window-size"; - packageName = "window-size"; - version = "0.1.0"; - src = fetchurl { - url = "https://registry.npmjs.org/window-size/-/window-size-0.1.0.tgz"; - sha1 = "5438cd2ea93b202efa3a19fe8887aee7c94f9c9d"; - }; - }; - "wordwrap-0.0.2" = { - name = "wordwrap"; - packageName = "wordwrap"; - version = "0.0.2"; - src = fetchurl { - url = "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.2.tgz"; - sha1 = "b79669bb42ecb409f83d583cad52ca17eaa1643f"; - }; - }; "wordwrap-1.0.0" = { name = "wordwrap"; packageName = "wordwrap"; @@ -1264,31 +679,13 @@ let sha1 = "27584810891456a4171c8d0226441ade90cbcaeb"; }; }; - "wrappy-1.0.2" = { - name = "wrappy"; - packageName = "wrappy"; - version = "1.0.2"; - src = fetchurl { - url = "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz"; - sha1 = "b5243d8f3ec1aa35f1364605bc0d1036e30ab69f"; - }; - }; - "ws-7.4.6" = { + "ws-8.2.3" = { name = "ws"; packageName = "ws"; - version = "7.4.6"; + version = "8.2.3"; src = fetchurl { - url = "https://registry.npmjs.org/ws/-/ws-7.4.6.tgz"; - sha512 = "YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A=="; - }; - }; - "yaku-1.0.1" = { - name = "yaku"; - packageName = "yaku"; - version = "1.0.1"; - src = fetchurl { - url = "https://registry.npmjs.org/yaku/-/yaku-1.0.1.tgz"; - sha512 = "uZCrhA5DEytGnFfw9XZKIoWRG43v6oCA20vInFS4anPJb3G5Hy+PKuaKSMTJ+aChvFdNDxY5K8jFx5wmlLbTjQ=="; + url = "https://registry.npmjs.org/ws/-/ws-8.2.3.tgz"; + sha512 = "wBuoj1BDpC6ZQ1B7DWQBYVLphPWkm8i9Y0/3YdHjHKHiohOJ1ws+3OccDWtH+PoC9DZD5WOTrJvNbWvjS6JWaA=="; }; }; "yallist-4.0.0" = { @@ -1300,198 +697,112 @@ let sha512 = "3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A=="; }; }; - "yargs-3.10.0" = { - name = "yargs"; - packageName = "yargs"; - version = "3.10.0"; - src = fetchurl { - url = "https://registry.npmjs.org/yargs/-/yargs-3.10.0.tgz"; - sha1 = "f7ee7bd857dd7c1d2d38c0e74efbd681d1431fd1"; - }; - }; }; in { - "whitebophir-git+https://github.com/lovasoa/whitebophir.git#v1.14.6" = nodeEnv.buildNodePackage { + "whitebophir-git+https://github.com/lovasoa/whitebophir.git#v1.16.0" = nodeEnv.buildNodePackage { name = "whitebophir"; packageName = "whitebophir"; - version = "1.14.6"; + version = "1.16.0"; src = fetchgit { url = "https://github.com/lovasoa/whitebophir.git"; - rev = "37d1d6811af911739d57520dc20dae6cac154464"; - sha256 = "bda4e0077ef64861146e073c91b7488edfc0290f37478da6563e9ea16e6e4824"; + rev = "8a3997b26419b3d510ad92c18071c4ce007b0081"; + sha256 = "8aab3d89c72589d60f956f83a8e33d9d52a5b4da3c13004f9ab75b6dcbdaadcc"; }; dependencies = [ - sources."@financial-times/polyfill-useragent-normaliser-1.10.0" + sources."@financial-times/polyfill-useragent-normaliser-1.10.1" sources."@financial-times/useragent_parser-1.6.0" - sources."@formatjs/ecma402-abstract-1.8.0" - sources."@formatjs/intl-datetimeformat-4.1.0" - sources."@formatjs/intl-displaynames-5.1.0" - sources."@formatjs/intl-getcanonicallocales-1.6.0" - sources."@formatjs/intl-listformat-6.1.0" - sources."@formatjs/intl-locale-2.4.26" - sources."@formatjs/intl-numberformat-7.1.0" - sources."@formatjs/intl-pluralrules-4.0.20" - sources."@formatjs/intl-relativetimeformat-9.1.0" - sources."@juggle/resize-observer-3.3.1" - sources."@types/component-emitter-1.2.10" + sources."@types/component-emitter-1.2.11" sources."@types/cookie-0.4.1" sources."@types/cors-2.8.12" - sources."@types/node-16.4.11" - sources."@webcomponents/template-1.5.0" - sources."Base64-1.1.0" - sources."abort-controller-3.0.0" + sources."@types/node-17.0.0" sources."accept-language-parser-1.5.0" sources."accepts-1.3.7" - sources."align-text-0.1.4" - sources."async-mutex-0.3.1" - sources."audio-context-polyfill-1.0.0" - sources."balanced-match-1.0.2" - sources."base64-arraybuffer-0.1.4" + sources."async-mutex-0.3.2" + sources."base64-arraybuffer-1.0.1" sources."base64id-2.0.0" - sources."brace-expansion-1.1.11" - sources."camelcase-1.2.1" - sources."center-align-0.1.3" - sources."cldr-core-38.1.0" - (sources."cliui-2.1.0" // { + sources."component-emitter-1.3.0" + sources."cookie-0.4.1" + sources."core-util-is-1.0.3" + sources."cors-2.8.5" + (sources."debug-2.6.9" // { dependencies = [ - sources."wordwrap-0.0.2" + sources."ms-2.0.0" ]; }) - sources."component-emitter-1.3.0" - sources."concat-map-0.0.1" - sources."cookie-0.4.1" - sources."core-util-is-1.0.2" - sources."cors-2.8.5" - sources."current-script-polyfill-1.0.0" - sources."debug-4.1.1" - sources."decamelize-1.2.0" - sources."deep-is-0.1.3" sources."depd-1.1.2" sources."destroy-1.0.4" - sources."diff-4.0.2" sources."ee-first-1.1.1" sources."encodeurl-1.0.2" - (sources."engine.io-5.1.1" // { + (sources."engine.io-6.1.0" // { dependencies = [ - sources."debug-4.3.2" + sources."debug-4.3.3" sources."ms-2.1.2" ]; }) - sources."engine.io-parser-4.0.2" + sources."engine.io-parser-5.0.2" sources."escape-html-1.0.3" sources."etag-1.8.1" - sources."event-source-polyfill-1.0.24" - sources."event-target-shim-5.0.1" - sources."fastestsmallesttextencoderdecoder-1.0.22" sources."fresh-0.5.2" sources."from2-2.3.0" sources."from2-string-1.1.0" - sources."fs.realpath-1.0.0" - sources."glob-7.1.7" - sources."graceful-fs-4.2.6" + sources."graceful-fs-4.2.8" sources."handlebars-4.7.7" - sources."html5shiv-3.7.3" - sources."http-errors-1.7.3" - sources."inflight-1.0.6" + sources."http-errors-1.8.1" sources."inherits-2.0.4" - sources."ip-regex-2.1.0" - sources."is-buffer-1.1.6" - sources."is-url-1.2.4" - sources."is2-2.0.1" sources."isarray-1.0.0" - sources."js-polyfills-0.1.43" - sources."json3-3.3.3" - sources."kind-of-3.2.2" - sources."lazy-cache-1.0.4" - sources."longest-1.0.1" sources."lru-cache-6.0.0" sources."merge2-1.4.1" sources."mime-1.6.0" - sources."mime-db-1.49.0" - sources."mime-types-2.1.32" - sources."minimatch-3.0.4" + sources."mime-db-1.51.0" + sources."mime-types-2.1.34" sources."minimist-1.2.5" - sources."mkdirp-1.0.4" - sources."mnemonist-0.38.3" + sources."mnemonist-0.38.5" sources."ms-2.1.3" - sources."mutationobserver-shim-0.3.7" sources."negotiator-0.6.2" sources."neo-async-2.6.2" sources."object-assign-4.1.1" - sources."obliterator-1.6.1" + sources."obliterator-2.0.1" sources."on-finished-2.3.0" - sources."once-1.4.0" sources."parseurl-1.3.3" - sources."path-is-absolute-1.0.1" - sources."picturefill-3.0.3" - (sources."polyfill-library-3.107.1" // { - dependencies = [ - sources."source-map-0.5.7" - sources."uglify-js-2.8.29" - ]; - }) + sources."polyfill-library-3.110.1" sources."process-nextick-args-2.0.1" sources."promise-polyfill-1.1.6" sources."range-parser-1.2.1" sources."readable-stream-2.3.7" - sources."repeat-string-1.6.1" - sources."right-align-0.1.3" - sources."rimraf-3.0.2" sources."safe-buffer-5.1.2" - sources."seamless-scroll-polyfill-1.2.3" sources."semver-7.3.5" - (sources."send-0.17.1" // { + sources."send-0.17.2" + sources."serve-static-1.14.2" + sources."setprototypeof-1.2.0" + (sources."socket.io-4.4.0" // { dependencies = [ - (sources."debug-2.6.9" // { - dependencies = [ - sources."ms-2.0.0" - ]; - }) - sources."ms-2.1.1" - ]; - }) - sources."serve-static-1.14.1" - sources."setprototypeof-1.1.1" - (sources."socket.io-4.1.3" // { - dependencies = [ - sources."debug-4.3.2" + sources."debug-4.3.3" sources."ms-2.1.2" ]; }) - sources."socket.io-adapter-2.3.1" + sources."socket.io-adapter-2.3.3" (sources."socket.io-parser-4.0.4" // { dependencies = [ - sources."debug-4.3.2" + sources."debug-4.3.3" sources."ms-2.1.2" ]; }) sources."source-map-0.6.1" - sources."spdx-licenses-1.0.0" sources."statsd-client-0.4.7" sources."statuses-1.5.0" sources."stream-from-promise-1.0.0" sources."stream-to-string-1.2.0" sources."string_decoder-1.1.1" - sources."toidentifier-1.0.0" + sources."toidentifier-1.0.1" sources."toposort-2.0.2" - sources."tslib-2.3.0" - sources."uglify-js-3.14.1" - sources."uglify-to-browserify-1.0.2" - sources."unorm-1.6.0" - sources."usertiming-0.1.8" + sources."tslib-2.3.1" + sources."uglify-js-3.14.5" sources."util-deprecate-1.0.2" sources."vary-1.1.2" - sources."web-animations-js-2.3.2" - sources."whatwg-fetch-3.6.2" - sources."wicg-inert-3.1.1" - sources."window-size-0.1.0" sources."wordwrap-1.0.0" - sources."wrappy-1.0.2" - sources."ws-7.4.6" - sources."yaku-1.0.1" + sources."ws-8.2.3" sources."yallist-4.0.0" - sources."yargs-3.10.0" ]; buildInputs = globalBuildInputs; meta = { diff --git a/pkgs/servers/web-apps/whitebophir/node-packages.json b/pkgs/servers/web-apps/whitebophir/node-packages.json index 72eabcc7ec11..0d0615804f5a 100644 --- a/pkgs/servers/web-apps/whitebophir/node-packages.json +++ b/pkgs/servers/web-apps/whitebophir/node-packages.json @@ -1,3 +1,3 @@ [ - { "whitebophir": "git+https://github.com/lovasoa/whitebophir.git#v1.14.6" } + { "whitebophir": "git+https://github.com/lovasoa/whitebophir.git#v1.16.0" } ] From c65302ee7afb99171887d7143975f13696af2821 Mon Sep 17 00:00:00 2001 From: Zhaofeng Li Date: Tue, 23 Nov 2021 12:57:52 -0800 Subject: [PATCH 26/49] python3Packages.flask-session: init at 0.4.0 --- .../python-modules/flask-session/default.nix | 27 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 29 insertions(+) create mode 100644 pkgs/development/python-modules/flask-session/default.nix diff --git a/pkgs/development/python-modules/flask-session/default.nix b/pkgs/development/python-modules/flask-session/default.nix new file mode 100644 index 000000000000..a9433fe0b871 --- /dev/null +++ b/pkgs/development/python-modules/flask-session/default.nix @@ -0,0 +1,27 @@ +{ lib, fetchPypi, buildPythonPackage, pytestCheckHook, flask, cachelib }: + +buildPythonPackage rec { + pname = "Flask-Session"; + version = "0.4.0"; + + src = fetchPypi { + inherit pname version; + sha256 = "sha256-ye1UMh+oxMoBMv/TNpWCdZ7aclL7SzvuSA5pDRukH0Y="; + }; + + propagatedBuildInputs = [ flask cachelib ]; + + checkInputs = [ pytestCheckHook ]; + + # The rest of the tests require database servers and optional db connector dependencies + pytestFlagsArray = [ "-k" "'null_session or filesystem_session'" ]; + + pythonImportsCheck = [ "flask_session" ]; + + meta = with lib; { + description = "A Flask extension that adds support for server-side sessions"; + homepage = "https://github.com/fengsp/flask-session"; + license = licenses.bsd3; + maintainers = with maintainers; [ zhaofengli ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index b56c7119a310..41656c24a549 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2877,6 +2877,8 @@ in { flask-seasurf = callPackage ../development/python-modules/flask-seasurf { }; + flask-session = callPackage ../development/python-modules/flask-session { }; + flask-silk = callPackage ../development/python-modules/flask-silk { }; flask-socketio = callPackage ../development/python-modules/flask-socketio { }; From b224518f59932221662c5b0b35ac81e0573b3133 Mon Sep 17 00:00:00 2001 From: Zhaofeng Li Date: Tue, 23 Nov 2021 13:00:08 -0800 Subject: [PATCH 27/49] powerdns-admin: 0.2.3 -> 0.2.4 Sadly the dnspython pin still needs to stay :( --- .../networking/powerdns-admin/default.nix | 8 ++++---- .../networking/powerdns-admin/package.json | 2 +- .../networking/powerdns-admin/yarndeps.nix | 16 ++++++++-------- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/pkgs/applications/networking/powerdns-admin/default.nix b/pkgs/applications/networking/powerdns-admin/default.nix index 8cc2ec83cd50..8ea5c4904f11 100644 --- a/pkgs/applications/networking/powerdns-admin/default.nix +++ b/pkgs/applications/networking/powerdns-admin/default.nix @@ -1,12 +1,12 @@ { lib, stdenv, fetchFromGitHub, mkYarnPackage, nixosTests, writeText, python3 }: let - version = "0.2.3"; + version = "0.2.4"; src = fetchFromGitHub { owner = "ngoduykhanh"; repo = "PowerDNS-Admin"; rev = "v${version}"; - sha256 = "16faz57d77mxkflkvwyi8gb9wvnq2vhw79b84v1fmqvxri1yaphw"; + sha256 = "sha256-xJ0NNnDVwGl+t9q1INPhCxcTmQayYBYdjEG0PbPCI9E="; }; python = python3.override { @@ -22,7 +22,7 @@ let }; pythonDeps = with python.pkgs; [ - flask flask_assets flask_login flask_sqlalchemy flask_migrate flask-seasurf flask_mail flask-sslify + flask flask_assets flask_login flask_sqlalchemy flask_migrate flask-seasurf flask_mail flask-session flask-sslify mysqlclient psycopg2 sqlalchemy cffi configobj cryptography bcrypt requests ldap pyotp qrcode dnspython gunicorn python3-saml pyopenssl pytz cssmin jsmin authlib bravado-core @@ -125,6 +125,6 @@ in stdenv.mkDerivation rec { description = "A PowerDNS web interface with advanced features"; homepage = "https://github.com/ngoduykhanh/PowerDNS-Admin"; license = licenses.mit; - maintainers = with maintainers; [ zhaofengli ]; + maintainers = with maintainers; [ Flakebi zhaofengli ]; }; } diff --git a/pkgs/applications/networking/powerdns-admin/package.json b/pkgs/applications/networking/powerdns-admin/package.json index cb21306308cf..84f495920744 100644 --- a/pkgs/applications/networking/powerdns-admin/package.json +++ b/pkgs/applications/networking/powerdns-admin/package.json @@ -12,5 +12,5 @@ "multiselect": "^0.9.12" }, "name": "powerdns-admin-assets", - "version": "0.2.3" + "version": "0.2.4" } diff --git a/pkgs/applications/networking/powerdns-admin/yarndeps.nix b/pkgs/applications/networking/powerdns-admin/yarndeps.nix index 02d9eb0046e3..7dcd54b53c21 100644 --- a/pkgs/applications/networking/powerdns-admin/yarndeps.nix +++ b/pkgs/applications/networking/powerdns-admin/yarndeps.nix @@ -114,11 +114,11 @@ }; } { - name = "bn.js___bn.js_4.11.9.tgz"; + name = "bn.js___bn.js_4.12.0.tgz"; path = fetchurl { - name = "bn.js___bn.js_4.11.9.tgz"; - url = "https://registry.yarnpkg.com/bn.js/-/bn.js-4.11.9.tgz"; - sha1 = "26d556829458f9d1e81fc48952493d0ba3507828"; + name = "bn.js___bn.js_4.12.0.tgz"; + url = "https://registry.yarnpkg.com/bn.js/-/bn.js-4.12.0.tgz"; + sha1 = "775b3f278efbb9718eec7361f483fb36fbbfea88"; }; } { @@ -530,11 +530,11 @@ }; } { - name = "elliptic___elliptic_6.5.3.tgz"; + name = "elliptic___elliptic_6.5.4.tgz"; path = fetchurl { - name = "elliptic___elliptic_6.5.3.tgz"; - url = "https://registry.yarnpkg.com/elliptic/-/elliptic-6.5.3.tgz"; - sha1 = "cb59eb2efdaf73a0bd78ccd7015a62ad6e0f93d6"; + name = "elliptic___elliptic_6.5.4.tgz"; + url = "https://registry.yarnpkg.com/elliptic/-/elliptic-6.5.4.tgz"; + sha1 = "da37cebd31e79a1367e941b592ed1fbebd58abbb"; }; } { From 860b4c92b87238dc7caba9c6b93f961bfa77e218 Mon Sep 17 00:00:00 2001 From: TredwellGit Date: Fri, 17 Dec 2021 23:07:50 +0000 Subject: [PATCH 28/49] linux: 4.14.257 -> 4.14.258 --- pkgs/os-specific/linux/kernel/linux-4.14.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/kernel/linux-4.14.nix b/pkgs/os-specific/linux/kernel/linux-4.14.nix index 1fd9c6f6bbb7..3d306725075f 100644 --- a/pkgs/os-specific/linux/kernel/linux-4.14.nix +++ b/pkgs/os-specific/linux/kernel/linux-4.14.nix @@ -3,7 +3,7 @@ with lib; buildLinux (args // rec { - version = "4.14.257"; + version = "4.14.258"; # modDirVersion needs to be x.y.z, will automatically add .0 if needed modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg; @@ -13,6 +13,6 @@ buildLinux (args // rec { src = fetchurl { url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz"; - sha256 = "0jnw02jphvm9zcviwwymxyhq8kd0bk0v1827ninnv6bdy3140izv"; + sha256 = "162bzhm0k8kipgk0ma745rjcl33rqhpwxdfdz3q6rkp48b82kbvi"; }; } // (args.argsOverride or {})) From 9eacb2bb44b449fb6edb7d76f3c6bf595f8247d7 Mon Sep 17 00:00:00 2001 From: TredwellGit Date: Fri, 17 Dec 2021 23:07:56 +0000 Subject: [PATCH 29/49] linux: 4.19.220 -> 4.19.221 --- pkgs/os-specific/linux/kernel/linux-4.19.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/kernel/linux-4.19.nix b/pkgs/os-specific/linux/kernel/linux-4.19.nix index 1b649138911b..c1247c995aa7 100644 --- a/pkgs/os-specific/linux/kernel/linux-4.19.nix +++ b/pkgs/os-specific/linux/kernel/linux-4.19.nix @@ -3,7 +3,7 @@ with lib; buildLinux (args // rec { - version = "4.19.220"; + version = "4.19.221"; # modDirVersion needs to be x.y.z, will automatically add .0 if needed modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg; @@ -13,6 +13,6 @@ buildLinux (args // rec { src = fetchurl { url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz"; - sha256 = "0q5hrh6q2f2r97nff136db7367p3hn0la2gl7q4knms3g8fis1jq"; + sha256 = "1yg1cibyn53gpjnxfgj2qxxi8k3l7gv1ri6kywvp6sk5bygx8jd3"; }; } // (args.argsOverride or {})) From 2deb4377d5ff1eee430327766df17a0974020099 Mon Sep 17 00:00:00 2001 From: TredwellGit Date: Fri, 17 Dec 2021 23:08:02 +0000 Subject: [PATCH 30/49] linux: 4.4.294 -> 4.4.295 --- pkgs/os-specific/linux/kernel/linux-4.4.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/kernel/linux-4.4.nix b/pkgs/os-specific/linux/kernel/linux-4.4.nix index ef4448021a28..a3c1bb1131d6 100644 --- a/pkgs/os-specific/linux/kernel/linux-4.4.nix +++ b/pkgs/os-specific/linux/kernel/linux-4.4.nix @@ -1,12 +1,12 @@ { buildPackages, fetchurl, perl, buildLinux, nixosTests, stdenv, ... } @ args: buildLinux (args // rec { - version = "4.4.294"; + version = "4.4.295"; extraMeta.branch = "4.4"; extraMeta.broken = stdenv.isAarch64; src = fetchurl { url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz"; - sha256 = "0k0h5m1ng2049d5ggrq4q81vgsfmdpkqla73vg2a3bf2v6ycjmc7"; + sha256 = "1h3i2lgm2sy325f58jildip7m6sb4hr2n9pm3gc3h2gash65kc2r"; }; } // (args.argsOverride or {})) From 837103a484869f29587fdbb652b1f41a95a2ef2c Mon Sep 17 00:00:00 2001 From: TredwellGit Date: Fri, 17 Dec 2021 23:08:08 +0000 Subject: [PATCH 31/49] linux: 4.9.292 -> 4.9.293 --- pkgs/os-specific/linux/kernel/linux-4.9.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/kernel/linux-4.9.nix b/pkgs/os-specific/linux/kernel/linux-4.9.nix index 2b1b53adb01b..f9c9226831e1 100644 --- a/pkgs/os-specific/linux/kernel/linux-4.9.nix +++ b/pkgs/os-specific/linux/kernel/linux-4.9.nix @@ -1,12 +1,12 @@ { buildPackages, fetchurl, perl, buildLinux, nixosTests, stdenv, ... } @ args: buildLinux (args // rec { - version = "4.9.292"; + version = "4.9.293"; extraMeta.branch = "4.9"; extraMeta.broken = stdenv.isAarch64; src = fetchurl { url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz"; - sha256 = "0y3b6qqv6vrh2p5wwv5bicvbqrvxf1y5xm4myy5pk6yp2igws3kd"; + sha256 = "0l64rz6ly5ls23lqq0cv98xb4z2mimp2jrsjrs6kq3zm4k2mm4gs"; }; } // (args.argsOverride or {})) From 72b54385a5ece0ccb87357dc189cc025f60d4f9e Mon Sep 17 00:00:00 2001 From: TredwellGit Date: Fri, 17 Dec 2021 23:08:15 +0000 Subject: [PATCH 32/49] linux: 5.10.84 -> 5.10.87 --- pkgs/os-specific/linux/kernel/linux-5.10.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/kernel/linux-5.10.nix b/pkgs/os-specific/linux/kernel/linux-5.10.nix index 43b0d7d1a323..908b863d145a 100644 --- a/pkgs/os-specific/linux/kernel/linux-5.10.nix +++ b/pkgs/os-specific/linux/kernel/linux-5.10.nix @@ -3,7 +3,7 @@ with lib; buildLinux (args // rec { - version = "5.10.84"; + version = "5.10.87"; # modDirVersion needs to be x.y.z, will automatically add .0 if needed modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg; @@ -13,6 +13,6 @@ buildLinux (args // rec { src = fetchurl { url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz"; - sha256 = "0g935v0khv0i2qlrwr656hxl28m6zlbclc9rv15nq46xf8fjg5kf"; + sha256 = "0jz6xhph7x0x11cjmypaw5gh8z4d53dcgx2gmg7k6d06ydq8n4h3"; }; } // (args.argsOverride or {})) From 8955b58c5ee023d49c225e9ae27b0187105316fc Mon Sep 17 00:00:00 2001 From: TredwellGit Date: Fri, 17 Dec 2021 23:08:22 +0000 Subject: [PATCH 33/49] linux: 5.15.7 -> 5.15.10 --- pkgs/os-specific/linux/kernel/linux-5.15.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/kernel/linux-5.15.nix b/pkgs/os-specific/linux/kernel/linux-5.15.nix index 603182325bb9..38405032e0d5 100644 --- a/pkgs/os-specific/linux/kernel/linux-5.15.nix +++ b/pkgs/os-specific/linux/kernel/linux-5.15.nix @@ -3,7 +3,7 @@ with lib; buildLinux (args // rec { - version = "5.15.7"; + version = "5.15.10"; # modDirVersion needs to be x.y.z, will automatically add .0 if needed modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg; @@ -13,6 +13,6 @@ buildLinux (args // rec { src = fetchurl { url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz"; - sha256 = "1caxpqmik6gkhk3437pcgfq6vvlbs962hylgbh64iizd76l5142x"; + sha256 = "0jsv8lialjwp91qg9c9rh8rhn49a70ryyhzl19bxq3fhz1fwyks8"; }; } // (args.argsOverride or { })) From a1470e23da3bd6c2e82155eb71d3676c9ee2db6f Mon Sep 17 00:00:00 2001 From: TredwellGit Date: Fri, 17 Dec 2021 23:08:29 +0000 Subject: [PATCH 34/49] linux: 5.4.164 -> 5.4.167 --- pkgs/os-specific/linux/kernel/linux-5.4.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/kernel/linux-5.4.nix b/pkgs/os-specific/linux/kernel/linux-5.4.nix index 9587229daa60..130728657187 100644 --- a/pkgs/os-specific/linux/kernel/linux-5.4.nix +++ b/pkgs/os-specific/linux/kernel/linux-5.4.nix @@ -3,7 +3,7 @@ with lib; buildLinux (args // rec { - version = "5.4.164"; + version = "5.4.167"; # modDirVersion needs to be x.y.z, will automatically add .0 if needed modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg; @@ -13,6 +13,6 @@ buildLinux (args // rec { src = fetchurl { url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz"; - sha256 = "0142nic300xjdz9s6w1cp6cyhk2c2wpks9wxzqca6jz4da7k0l9r"; + sha256 = "19x5f3s5f4nqzjb61g22rs0hnmk43q4b7sm7mc4j1q3y44b33r5l"; }; } // (args.argsOverride or {})) From d9fdc409d1e78f009c1a6140e52a430006805698 Mon Sep 17 00:00:00 2001 From: TredwellGit Date: Fri, 17 Dec 2021 23:09:18 +0000 Subject: [PATCH 35/49] linux/hardened/patches/4.14: 4.14.257-hardened1 -> 4.14.258-hardened1 --- pkgs/os-specific/linux/kernel/hardened/patches.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/os-specific/linux/kernel/hardened/patches.json b/pkgs/os-specific/linux/kernel/hardened/patches.json index faeff2148e18..0e4bfacfb7b3 100644 --- a/pkgs/os-specific/linux/kernel/hardened/patches.json +++ b/pkgs/os-specific/linux/kernel/hardened/patches.json @@ -2,12 +2,12 @@ "4.14": { "patch": { "extra": "-hardened1", - "name": "linux-hardened-4.14.257-hardened1.patch", - "sha256": "1jqd7drkjpfs9ajkvz0m0l6p0hp74ffchffcrkivqqc99cgzi666", - "url": "https://github.com/anthraxx/linux-hardened/releases/download/4.14.257-hardened1/linux-hardened-4.14.257-hardened1.patch" + "name": "linux-hardened-4.14.258-hardened1.patch", + "sha256": "0rni42mbvyw0f9032i6bkgcwnzfw472vimd5l1q7rp52m63z6vbk", + "url": "https://github.com/anthraxx/linux-hardened/releases/download/4.14.258-hardened1/linux-hardened-4.14.258-hardened1.patch" }, - "sha256": "0jnw02jphvm9zcviwwymxyhq8kd0bk0v1827ninnv6bdy3140izv", - "version": "4.14.257" + "sha256": "162bzhm0k8kipgk0ma745rjcl33rqhpwxdfdz3q6rkp48b82kbvi", + "version": "4.14.258" }, "4.19": { "patch": { From 8e317ff982dcca9659207b1c284a7772a52a6e30 Mon Sep 17 00:00:00 2001 From: TredwellGit Date: Fri, 17 Dec 2021 23:09:25 +0000 Subject: [PATCH 36/49] linux/hardened/patches/4.19: 4.19.220-hardened1 -> 4.19.221-hardened1 --- pkgs/os-specific/linux/kernel/hardened/patches.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/os-specific/linux/kernel/hardened/patches.json b/pkgs/os-specific/linux/kernel/hardened/patches.json index 0e4bfacfb7b3..41cb0e374a33 100644 --- a/pkgs/os-specific/linux/kernel/hardened/patches.json +++ b/pkgs/os-specific/linux/kernel/hardened/patches.json @@ -12,12 +12,12 @@ "4.19": { "patch": { "extra": "-hardened1", - "name": "linux-hardened-4.19.220-hardened1.patch", - "sha256": "0i2vcwcan23h6vq9xy2fpi95saw6cgk2l2sfmy7xspkff1avhnns", - "url": "https://github.com/anthraxx/linux-hardened/releases/download/4.19.220-hardened1/linux-hardened-4.19.220-hardened1.patch" + "name": "linux-hardened-4.19.221-hardened1.patch", + "sha256": "0lw4lysiv5h1vlkwlz2z1kv78wsszj1xc383i2qkzfsb4l9vsm7h", + "url": "https://github.com/anthraxx/linux-hardened/releases/download/4.19.221-hardened1/linux-hardened-4.19.221-hardened1.patch" }, - "sha256": "0q5hrh6q2f2r97nff136db7367p3hn0la2gl7q4knms3g8fis1jq", - "version": "4.19.220" + "sha256": "1yg1cibyn53gpjnxfgj2qxxi8k3l7gv1ri6kywvp6sk5bygx8jd3", + "version": "4.19.221" }, "5.10": { "patch": { From a900de356782d4d24ea08fbd3dca8ba2faeca929 Mon Sep 17 00:00:00 2001 From: TredwellGit Date: Fri, 17 Dec 2021 23:09:32 +0000 Subject: [PATCH 37/49] linux/hardened/patches/5.10: 5.10.84-hardened1 -> 5.10.87-hardened1 --- pkgs/os-specific/linux/kernel/hardened/patches.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/os-specific/linux/kernel/hardened/patches.json b/pkgs/os-specific/linux/kernel/hardened/patches.json index 41cb0e374a33..1bb31e5c1986 100644 --- a/pkgs/os-specific/linux/kernel/hardened/patches.json +++ b/pkgs/os-specific/linux/kernel/hardened/patches.json @@ -22,12 +22,12 @@ "5.10": { "patch": { "extra": "-hardened1", - "name": "linux-hardened-5.10.84-hardened1.patch", - "sha256": "1hl213iwf3gv81w68win2z4zwbkq6vxpg3dwy9h8md3kdm9pnhzr", - "url": "https://github.com/anthraxx/linux-hardened/releases/download/5.10.84-hardened1/linux-hardened-5.10.84-hardened1.patch" + "name": "linux-hardened-5.10.87-hardened1.patch", + "sha256": "1r1vyf9wy49s7pfskxlng17n0khi1dpxg5cm4yfnbbq0gdisnh1f", + "url": "https://github.com/anthraxx/linux-hardened/releases/download/5.10.87-hardened1/linux-hardened-5.10.87-hardened1.patch" }, - "sha256": "0g935v0khv0i2qlrwr656hxl28m6zlbclc9rv15nq46xf8fjg5kf", - "version": "5.10.84" + "sha256": "0jz6xhph7x0x11cjmypaw5gh8z4d53dcgx2gmg7k6d06ydq8n4h3", + "version": "5.10.87" }, "5.15": { "patch": { From f51d19746ae9645eca9fd2f33b470bc6660897f9 Mon Sep 17 00:00:00 2001 From: TredwellGit Date: Fri, 17 Dec 2021 23:09:39 +0000 Subject: [PATCH 38/49] linux/hardened/patches/5.15: 5.15.7-hardened1 -> 5.15.10-hardened1 --- pkgs/os-specific/linux/kernel/hardened/patches.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/os-specific/linux/kernel/hardened/patches.json b/pkgs/os-specific/linux/kernel/hardened/patches.json index 1bb31e5c1986..d7a10acac4a7 100644 --- a/pkgs/os-specific/linux/kernel/hardened/patches.json +++ b/pkgs/os-specific/linux/kernel/hardened/patches.json @@ -32,12 +32,12 @@ "5.15": { "patch": { "extra": "-hardened1", - "name": "linux-hardened-5.15.7-hardened1.patch", - "sha256": "0s3lh59lgl5ki5wvpigiv0n3psa9k0aq058aiyxykaw36qdwahy6", - "url": "https://github.com/anthraxx/linux-hardened/releases/download/5.15.7-hardened1/linux-hardened-5.15.7-hardened1.patch" + "name": "linux-hardened-5.15.10-hardened1.patch", + "sha256": "1fn37pg10w1m4cr4g0ibs5fvqs1yx3y776daxv836naffl1001fm", + "url": "https://github.com/anthraxx/linux-hardened/releases/download/5.15.10-hardened1/linux-hardened-5.15.10-hardened1.patch" }, - "sha256": "1caxpqmik6gkhk3437pcgfq6vvlbs962hylgbh64iizd76l5142x", - "version": "5.15.7" + "sha256": "0jsv8lialjwp91qg9c9rh8rhn49a70ryyhzl19bxq3fhz1fwyks8", + "version": "5.15.10" }, "5.4": { "patch": { From 8d4c0567235f84bb4b15c05884fc14e586ce93ed Mon Sep 17 00:00:00 2001 From: TredwellGit Date: Fri, 17 Dec 2021 23:09:47 +0000 Subject: [PATCH 39/49] linux/hardened/patches/5.4: 5.4.164-hardened1 -> 5.4.167-hardened1 --- pkgs/os-specific/linux/kernel/hardened/patches.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/os-specific/linux/kernel/hardened/patches.json b/pkgs/os-specific/linux/kernel/hardened/patches.json index d7a10acac4a7..1242aa8eba5a 100644 --- a/pkgs/os-specific/linux/kernel/hardened/patches.json +++ b/pkgs/os-specific/linux/kernel/hardened/patches.json @@ -42,11 +42,11 @@ "5.4": { "patch": { "extra": "-hardened1", - "name": "linux-hardened-5.4.164-hardened1.patch", - "sha256": "1kynk3979jx7b03gkan7b92vf3719wvkdzn5dmdrliy1g5pzx87k", - "url": "https://github.com/anthraxx/linux-hardened/releases/download/5.4.164-hardened1/linux-hardened-5.4.164-hardened1.patch" + "name": "linux-hardened-5.4.167-hardened1.patch", + "sha256": "03mj8nncfpqf5j6l66239saxv251rh5infhl0jjyx1znhfzavg0p", + "url": "https://github.com/anthraxx/linux-hardened/releases/download/5.4.167-hardened1/linux-hardened-5.4.167-hardened1.patch" }, - "sha256": "0142nic300xjdz9s6w1cp6cyhk2c2wpks9wxzqca6jz4da7k0l9r", - "version": "5.4.164" + "sha256": "19x5f3s5f4nqzjb61g22rs0hnmk43q4b7sm7mc4j1q3y44b33r5l", + "version": "5.4.167" } } From 192fcbd32a446dc9899dcf1d9f9b04ff43a3c366 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20St=C3=BChrk?= Date: Sat, 18 Dec 2021 14:05:46 +0100 Subject: [PATCH 40/49] docs: Fix markdown in Rust language section --- doc/languages-frameworks/rust.section.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/languages-frameworks/rust.section.md b/doc/languages-frameworks/rust.section.md index 7959685af6d5..56faf636df10 100644 --- a/doc/languages-frameworks/rust.section.md +++ b/doc/languages-frameworks/rust.section.md @@ -293,7 +293,7 @@ Test flags, e.g., `--package foo`, can be passed to `cargo test` via the Another attribute, called `checkFlags`, is used to pass arguments to the test binary itself, as stated -(here)[https://doc.rust-lang.org/cargo/commands/cargo-test.html]. +[here](https://doc.rust-lang.org/cargo/commands/cargo-test.html). #### Tests relying on the structure of the `target/` directory {#tests-relying-on-the-structure-of-the-target-directory} From c55e31a2ab88c60979422a45f849f2a4b0097ede Mon Sep 17 00:00:00 2001 From: "Konrad \"Unrooted\" Klawikowski" Date: Sat, 18 Dec 2021 14:07:49 +0100 Subject: [PATCH 41/49] maintainers: add redcodelabs team --- maintainers/maintainer-list.nix | 18 ++++++++++++++++++ maintainers/team-list.nix | 9 +++++++++ pkgs/tools/security/gosh/default.nix | 2 +- pkgs/tools/security/sammler/default.nix | 2 +- pkgs/tools/security/snowcrash/default.nix | 2 +- 5 files changed, 30 insertions(+), 3 deletions(-) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 68cf8b30d546..e003fc95ed32 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -12130,6 +12130,12 @@ githubId = 122319; name = "Renato Alves"; }; + unrooted = { + name = "Konrad Klawikowski"; + email = "konrad.root.klawikowski@gmail.com"; + github = "unrooted"; + githubId = 30440603; + }; uralbash = { email = "root@uralbash.ru"; github = "uralbash"; @@ -12579,6 +12585,12 @@ githubId = 78392041; name = "Winter"; }; + wintrmvte = { + name = "Jakub Lutczyn"; + email = "kubalutczyn@gmail.com"; + github = "wintrmvte"; + githubId = 41823252; + }; wirew0rm = { email = "alex@wirew0rm.de"; github = "wirew0rm"; @@ -12657,6 +12669,12 @@ githubId = 28888242; name = "WORLDofPEACE"; }; + wr0belj = { + name = "Jakub Wróbel"; + email = "wrobel.jakub@protonmail.com"; + github = "wr0belj"; + githubId = 40501814; + }; wscott = { email = "wsc9tt@gmail.com"; github = "wscott"; diff --git a/maintainers/team-list.nix b/maintainers/team-list.nix index 377fc02fef5a..0743c80ec4f6 100644 --- a/maintainers/team-list.nix +++ b/maintainers/team-list.nix @@ -247,6 +247,15 @@ with lib.maintainers; { scope = "Maintain Podman and CRI-O related packages and modules."; }; + redcodelabs = { + members = [ + unrooted + wr0belj + wintrmvte + ]; + scope = "Maintain Red Code Labs related packages and modules."; + }; + sage = { members = [ timokau diff --git a/pkgs/tools/security/gosh/default.nix b/pkgs/tools/security/gosh/default.nix index 5c5ad25e6d9e..20cdd25e7284 100644 --- a/pkgs/tools/security/gosh/default.nix +++ b/pkgs/tools/security/gosh/default.nix @@ -26,6 +26,6 @@ buildGoModule rec { description = "Reverse/bind shell generator"; homepage = "https://github.com/redcode-labs/GoSH"; license = licenses.mit; - maintainers = with maintainers; [ fab ]; + maintainers = with maintainers; [ fab ] ++ teams.redcodelabs.members; }; } diff --git a/pkgs/tools/security/sammler/default.nix b/pkgs/tools/security/sammler/default.nix index f5bfab987a17..f9567147e4e6 100644 --- a/pkgs/tools/security/sammler/default.nix +++ b/pkgs/tools/security/sammler/default.nix @@ -25,6 +25,6 @@ buildGoModule rec { description = "Tool to extract useful data from documents"; homepage = "https://github.com/redcode-labs/Sammler"; license = licenses.mit; - maintainers = with maintainers; [ fab ]; + maintainers = with maintainers; [ fab ] ++ teams.redcodelabs.members; }; } diff --git a/pkgs/tools/security/snowcrash/default.nix b/pkgs/tools/security/snowcrash/default.nix index cd85ff90bf91..18325e4094a3 100644 --- a/pkgs/tools/security/snowcrash/default.nix +++ b/pkgs/tools/security/snowcrash/default.nix @@ -28,6 +28,6 @@ buildGoModule rec { description = "Polyglot payload generator"; homepage = "https://github.com/redcode-labs/SNOWCRASH"; license = with licenses; [ mit ]; - maintainers = with maintainers; [ fab ]; + maintainers = with maintainers; [ fab ] ++ teams.redcodelabs.members; }; } From f8fa489193b5a1df728c2bb22b833b4e8b14b2b5 Mon Sep 17 00:00:00 2001 From: Mark Vainomaa Date: Sat, 18 Dec 2021 15:09:22 +0200 Subject: [PATCH 42/49] deno: fix sharedLibrary value usage stdenv.hostPlatform.extensions.sharedLibrary value always contains a dot, which means find command was trying to match libswc_common..(so|dylib) --- pkgs/development/web/deno/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/web/deno/default.nix b/pkgs/development/web/deno/default.nix index 5ed93c85ff0e..0c4f2a353725 100644 --- a/pkgs/development/web/deno/default.nix +++ b/pkgs/development/web/deno/default.nix @@ -44,7 +44,7 @@ rustPlatform.buildRustPackage rec { doCheck = false; preInstall = '' - find ./target -name libswc_common.${stdenv.hostPlatform.extensions.sharedLibrary} -delete + find ./target -name libswc_common${stdenv.hostPlatform.extensions.sharedLibrary} -delete ''; postInstall = '' From 609eb1fab9db58ecb9a1405a42bb62ad2115f9cf Mon Sep 17 00:00:00 2001 From: Lorenz Leutgeb Date: Sat, 18 Dec 2021 14:16:06 +0100 Subject: [PATCH 43/49] pdftk: 3.2.1 -> 3.3.1 --- pkgs/tools/typesetting/pdftk/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/typesetting/pdftk/default.nix b/pkgs/tools/typesetting/pdftk/default.nix index c1f04616729c..354ac0af0172 100644 --- a/pkgs/tools/typesetting/pdftk/default.nix +++ b/pkgs/tools/typesetting/pdftk/default.nix @@ -2,13 +2,13 @@ let pname = "pdftk"; - version = "3.2.1"; + version = "3.3.1"; src = fetchFromGitLab { owner = "pdftk-java"; repo = "pdftk"; rev = "v${version}"; - sha256 = "056db8rjczdfkq7fm3bv5g15y042rc9hb4zh5qccjrdw630vk9y4"; + sha256 = "1bah0y7nj4r0xwj74lxixhcsc51c93s6m6agkgciv4p1z69y0m66"; }; deps = stdenv.mkDerivation { @@ -32,7 +32,7 @@ let outputHashAlgo = "sha256"; outputHashMode = "recursive"; - outputHash = "0p59myc5m3ds7fh0zdz3n7l7hx6dj8bpyqxzlhdrqybsyxwpw4w3"; + outputHash = "06i2la72ag26phlcl52qnjnkscg6adyydwbdylnwbij73q5g15v4"; }; # Point to our local deps repo From b9d1f44354bfbde79bcf8b54fa62838de86bfb53 Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Sat, 18 Dec 2021 14:22:18 +0100 Subject: [PATCH 44/49] python2Packages.filelock: use correct version instead of 0.0.0 when setuptools-scm is not used. This broke virtualenv. --- pkgs/development/python-modules/filelock/3.2.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/filelock/3.2.nix b/pkgs/development/python-modules/filelock/3.2.nix index 3929361f7d8c..401fdf582ffb 100644 --- a/pkgs/development/python-modules/filelock/3.2.nix +++ b/pkgs/development/python-modules/filelock/3.2.nix @@ -1,4 +1,4 @@ -{ lib, buildPythonPackage, fetchPypi }: +{ lib, buildPythonPackage, fetchPypi, setuptools-scm }: buildPythonPackage rec { pname = "filelock"; @@ -9,6 +9,10 @@ buildPythonPackage rec { sha256 = "1qry67zv2pmz8px6wdfbjqv75nmryy2ac7asqgs6q6db2722kpcw"; }; + nativeBuildInputs = [ + setuptools-scm + ]; + meta = with lib; { homepage = "https://github.com/benediktschmitt/py-filelock"; description = "A platform independent file lock for Python"; From e4ab3d72b814f7d4d66cb578f106e541fd1d8686 Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Sat, 18 Dec 2021 14:30:54 +0100 Subject: [PATCH 45/49] python2Packages.virtualenv: disable two failing tests --- pkgs/development/python-modules/virtualenv/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/python-modules/virtualenv/default.nix b/pkgs/development/python-modules/virtualenv/default.nix index c5aa9f0bac94..f23764a5107d 100644 --- a/pkgs/development/python-modules/virtualenv/default.nix +++ b/pkgs/development/python-modules/virtualenv/default.nix @@ -74,6 +74,9 @@ buildPythonPackage rec { disabledTests = [ # Permission Error "test_bad_exe_py_info_no_raise" + ] ++ lib.optionals isPy27 [ + "test_python_via_env_var" + "test_python_multi_value_prefer_newline_via_env_var" ]; pythonImportsCheck = [ "virtualenv" ]; From 2e5cfa6de751cc2e7d75a0fd3060af63cf37a427 Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Sat, 18 Dec 2021 14:31:13 +0100 Subject: [PATCH 46/49] python2Packages.platformdirs: init at 2.0.2 needed for python2Packages.virtualenv --- .../python-modules/platformdirs/2.nix | 43 +++++++++++++++++++ pkgs/top-level/python2-packages.nix | 2 + 2 files changed, 45 insertions(+) create mode 100644 pkgs/development/python-modules/platformdirs/2.nix diff --git a/pkgs/development/python-modules/platformdirs/2.nix b/pkgs/development/python-modules/platformdirs/2.nix new file mode 100644 index 000000000000..6fe2bcbde60a --- /dev/null +++ b/pkgs/development/python-modules/platformdirs/2.nix @@ -0,0 +1,43 @@ +{ lib +, appdirs +, buildPythonPackage +, fetchFromGitHub +, platformdirs +, pytest-mock +, pytestCheckHook +, pythonOlder +, setuptools-scm +}: + +buildPythonPackage rec { + pname = "platformdirs"; + version = "2.0.2"; + + src = fetchFromGitHub { + owner = pname; + repo = pname; + rev = version; + sha256 = "sha256-yCvfOPuX9hbQO9gbFHfeu+dGH+Vb9FM7wng1XU2D8hE="; + }; + + SETUPTOOLS_SCM_PRETEND_VERSION = version; + + nativeBuildInputs = [ + setuptools-scm + ]; + + checkInputs = [ + appdirs + pytest-mock + pytestCheckHook + ]; + + pythonImportsCheck = [ "platformdirs" ]; + + meta = with lib; { + description = "Python module for determining appropriate platform-specific directories"; + homepage = "https://platformdirs.readthedocs.io/"; + license = licenses.mit; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/python2-packages.nix b/pkgs/top-level/python2-packages.nix index df66908d5135..64e8abd224b6 100644 --- a/pkgs/top-level/python2-packages.nix +++ b/pkgs/top-level/python2-packages.nix @@ -396,6 +396,8 @@ with self; with super; { pip = callPackage ../development/python-modules/pip/20.nix { }; + platformdirs = callPackage ../development/python-modules/platformdirs/2.nix { }; + pluggy = callPackage ../development/python-modules/pluggy/0.nix { }; postorius = disabled super.postorius; From 4853c2d3759bb5d7a894a3457684b71bd8b9c79c Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Sat, 18 Dec 2021 14:43:50 +0100 Subject: [PATCH 47/49] python2.tests.nixenv-virtualenv: fix test by using a python env that ignores collisions in the backports packages. --- pkgs/development/interpreters/python/tests.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pkgs/development/interpreters/python/tests.nix b/pkgs/development/interpreters/python/tests.nix index 764ab29e919b..49dfe0e4644e 100644 --- a/pkgs/development/interpreters/python/tests.nix +++ b/pkgs/development/interpreters/python/tests.nix @@ -20,7 +20,15 @@ let envs = let inherit python; pythonEnv = python.withPackages(ps: with ps; [ ]); - pythonVirtualEnv = python.withPackages(ps: with ps; [ virtualenv ]); + pythonVirtualEnv = if python.isPy3k + then + python.withPackages(ps: with ps; [ virtualenv ]) + else + python.buildEnv.override { + extraLibs = with python.pkgs; [ virtualenv ]; + # Collisions because of namespaces __init__.py + ignoreCollisions = true; + }; in { # Plain Python interpreter plain = rec { From c8aed5f960e567a5c48ce1b54bb8c85722fda49d Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Sat, 18 Dec 2021 15:47:05 +0100 Subject: [PATCH 48/49] nim: 1.6.0 -> 1.6.2 --- pkgs/development/compilers/nim/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/compilers/nim/default.nix b/pkgs/development/compilers/nim/default.nix index c4be7c27d85c..06b19b547b67 100644 --- a/pkgs/development/compilers/nim/default.nix +++ b/pkgs/development/compilers/nim/default.nix @@ -98,12 +98,12 @@ in { nim-unwrapped = stdenv.mkDerivation rec { pname = "nim-unwrapped"; - version = "1.6.0"; + version = "1.6.2"; strictDeps = true; src = fetchurl { url = "https://nim-lang.org/download/nim-${version}.tar.xz"; - hash = "sha256-UgZdSNcqcnAuwa/l96mDHhFnNTHiec3/nK7AGgfuxj0="; + hash = "sha256-msRxT6bDFdaR2n9diUHBsZDU1Dc5fZdC4yfC1RiT43M="; }; buildInputs = [ boehmgc openssl pcre readline sqlite ]; From f7775a4c2c9cd5b24890194a4644ae06a4d4fd1c Mon Sep 17 00:00:00 2001 From: Dmitry Kalinkin Date: Sat, 18 Dec 2021 10:05:55 -0500 Subject: [PATCH 49/49] hercules-ci-cnix-store: fix darwin build --- pkgs/development/haskell-modules/configuration-darwin.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-darwin.nix b/pkgs/development/haskell-modules/configuration-darwin.nix index 5248523e0cd1..13367c61be30 100644 --- a/pkgs/development/haskell-modules/configuration-darwin.nix +++ b/pkgs/development/haskell-modules/configuration-darwin.nix @@ -30,6 +30,10 @@ self: super: ({ double-conversion = addExtraLibrary pkgs.libcxx super.double-conversion; + hercules-ci-cnix-store = super.hercules-ci-cnix-store.overrideAttrs (drv: { + NIX_CFLAGS_COMPILE = "-D_LIBCPP_DISABLE_AVAILABILITY"; + }); + apecs-physics = addPkgconfigDepends [ darwin.apple_sdk.frameworks.ApplicationServices ] super.apecs-physics;