Merge master into staging-next

authored by github-actions[bot] and committed by GitHub bfb0bc04 e71c1249

+971 -307
+1
maintainers/team-list.nix
··· 50 50 DianaOlympos 51 51 gleber 52 52 happysalada 53 + minijackson 53 54 yurrriq 54 55 ]; 55 56 scope = "Maintain BEAM-related packages and modules.";
+45
nixos/doc/manual/development/settings-options.section.md
··· 66 66 and returning a set with TOML-specific attributes `type` and 67 67 `generate` as specified [below](#pkgs-formats-result). 68 68 69 + `pkgs.formats.elixirConf { elixir ? pkgs.elixir }` 70 + 71 + : A function taking an attribute set with values 72 + 73 + `elixir` 74 + 75 + : The Elixir package which will be used to format the generated output 76 + 77 + It returns a set with Elixir-Config-specific attributes `type`, `lib`, and 78 + `generate` as specified [below](#pkgs-formats-result). 79 + 80 + The `lib` attribute contains functions to be used in settings, for 81 + generating special Elixir values: 82 + 83 + `mkRaw elixirCode` 84 + 85 + : Outputs the given string as raw Elixir code 86 + 87 + `mkGetEnv { envVariable, fallback ? null }` 88 + 89 + : Makes the configuration fetch an environment variable at runtime 90 + 91 + `mkAtom atom` 92 + 93 + : Outputs the given string as an Elixir atom, instead of the default 94 + Elixir binary string. Note: lowercase atoms still needs to be prefixed 95 + with `:` 96 + 97 + `mkTuple array` 98 + 99 + : Outputs the given array as an Elixir tuple, instead of the default 100 + Elixir list 101 + 102 + `mkMap attrset` 103 + 104 + : Outputs the given attribute set as an Elixir map, instead of the 105 + default Elixir keyword list 106 + 107 + 69 108 ::: {#pkgs-formats-result} 70 109 These functions all return an attribute set with these values: 71 110 ::: ··· 73 112 `type` 74 113 75 114 : A module system type representing a value of the format 115 + 116 + `lib` 117 + 118 + : Utility functions for convenience, or special interactions with the format. 119 + This attribute is optional. It may contain inside a `types` attribute 120 + containing types specific to this format. 76 121 77 122 `generate` *`filename jsonValue`* 78 123
+104
nixos/doc/manual/from_md/development/settings-options.section.xml
··· 137 137 </para> 138 138 </listitem> 139 139 </varlistentry> 140 + <varlistentry> 141 + <term> 142 + <literal>pkgs.formats.elixirConf { elixir ? pkgs.elixir }</literal> 143 + </term> 144 + <listitem> 145 + <para> 146 + A function taking an attribute set with values 147 + </para> 148 + <variablelist> 149 + <varlistentry> 150 + <term> 151 + <literal>elixir</literal> 152 + </term> 153 + <listitem> 154 + <para> 155 + The Elixir package which will be used to format the 156 + generated output 157 + </para> 158 + </listitem> 159 + </varlistentry> 160 + </variablelist> 161 + <para> 162 + It returns a set with Elixir-Config-specific attributes 163 + <literal>type</literal>, <literal>lib</literal>, and 164 + <literal>generate</literal> as specified 165 + <link linkend="pkgs-formats-result">below</link>. 166 + </para> 167 + <para> 168 + The <literal>lib</literal> attribute contains functions to 169 + be used in settings, for generating special Elixir values: 170 + </para> 171 + <variablelist> 172 + <varlistentry> 173 + <term> 174 + <literal>mkRaw elixirCode</literal> 175 + </term> 176 + <listitem> 177 + <para> 178 + Outputs the given string as raw Elixir code 179 + </para> 180 + </listitem> 181 + </varlistentry> 182 + <varlistentry> 183 + <term> 184 + <literal>mkGetEnv { envVariable, fallback ? null }</literal> 185 + </term> 186 + <listitem> 187 + <para> 188 + Makes the configuration fetch an environment variable 189 + at runtime 190 + </para> 191 + </listitem> 192 + </varlistentry> 193 + <varlistentry> 194 + <term> 195 + <literal>mkAtom atom</literal> 196 + </term> 197 + <listitem> 198 + <para> 199 + Outputs the given string as an Elixir atom, instead of 200 + the default Elixir binary string. Note: lowercase 201 + atoms still needs to be prefixed with 202 + <literal>:</literal> 203 + </para> 204 + </listitem> 205 + </varlistentry> 206 + <varlistentry> 207 + <term> 208 + <literal>mkTuple array</literal> 209 + </term> 210 + <listitem> 211 + <para> 212 + Outputs the given array as an Elixir tuple, instead of 213 + the default Elixir list 214 + </para> 215 + </listitem> 216 + </varlistentry> 217 + <varlistentry> 218 + <term> 219 + <literal>mkMap attrset</literal> 220 + </term> 221 + <listitem> 222 + <para> 223 + Outputs the given attribute set as an Elixir map, 224 + instead of the default Elixir keyword list 225 + </para> 226 + </listitem> 227 + </varlistentry> 228 + </variablelist> 229 + </listitem> 230 + </varlistentry> 140 231 </variablelist> 141 232 <para xml:id="pkgs-formats-result"> 142 233 These functions all return an attribute set with these values: ··· 149 240 <listitem> 150 241 <para> 151 242 A module system type representing a value of the format 243 + </para> 244 + </listitem> 245 + </varlistentry> 246 + <varlistentry> 247 + <term> 248 + <literal>lib</literal> 249 + </term> 250 + <listitem> 251 + <para> 252 + Utility functions for convenience, or special interactions 253 + with the format. This attribute is optional. It may contain 254 + inside a <literal>types</literal> attribute containing types 255 + specific to this format. 152 256 </para> 153 257 </listitem> 154 258 </varlistentry>
+1 -1
pkgs/applications/audio/plujain-ramp/default.nix
··· 1 1 { lib, stdenv, fetchFromGitHub, lv2 }: 2 2 3 3 stdenv.mkDerivation rec { 4 - version = "v1.1.3"; 4 + version = "1.1.3"; 5 5 pname = "plujain-ramp"; 6 6 7 7 src = fetchFromGitHub {
+70
pkgs/applications/editors/pinegrow/default.nix
··· 1 + { stdenv 2 + , lib 3 + , fetchurl 4 + , unzip 5 + , udev 6 + , nwjs 7 + , gcc-unwrapped 8 + , autoPatchelfHook 9 + , gsettings-desktop-schemas 10 + , gtk3 11 + , wrapGAppsHook 12 + }: 13 + 14 + stdenv.mkDerivation rec { 15 + pname = "pinegrow"; 16 + version = "6.3"; 17 + 18 + src = fetchurl { 19 + url = "https://download.pinegrow.com/PinegrowLinux64.${version}.zip"; 20 + sha256 = "0wldj633p67da077nfc67gr9xhq580rkfd0r3904sjq7x01r0kaz"; 21 + }; 22 + 23 + nativeBuildInputs = [ 24 + unzip 25 + autoPatchelfHook 26 + wrapGAppsHook 27 + ]; 28 + 29 + buildInputs = [ 30 + udev 31 + nwjs 32 + gcc-unwrapped 33 + gsettings-desktop-schemas 34 + gtk3 35 + ]; 36 + 37 + sourceRoot = "."; 38 + 39 + dontUnpack = true; 40 + 41 + # Extract and copy executable in $out/bin 42 + installPhase = '' 43 + runHook preInstall 44 + 45 + mkdir -p $out/share/applications $out/bin $out/opt/bin 46 + # we can't unzip it in $out/lib, because nw.js will start with 47 + # an empty screen. Therefore it will be unzipped in a non-typical 48 + # folder and symlinked. 49 + unzip $src -d $out/opt/pinegrow 50 + substituteInPlace $out/opt/pinegrow/Pinegrow.desktop \ 51 + --replace 'Exec=sh -c "$(dirname %k)/PinegrowLibrary"' 'Exec=sh -c "$out/bin/Pinegrow"' 52 + mv $out/opt/pinegrow/Pinegrow.desktop $out/share/applications/Pinegrow.desktop 53 + ln -s $out/opt/pinegrow/PinegrowLibrary $out/bin/Pinegrow 54 + 55 + runHook postInstall 56 + ''; 57 + 58 + preFixup = '' 59 + export XDG_DATA_DIRS=${gsettings-desktop-schemas}/share/gsettings-schemas/${gsettings-desktop-schemas.name}:${gtk3}/share/gsettings-schemas/${gtk3.name}:$XDG_DATA_DIRS 60 + wrapGApp "$out/opt/pinegrow/PinegrowLibrary" --prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ udev ]} 61 + ''; 62 + 63 + meta = with lib; { 64 + homepage = "https://pinegrow.com"; 65 + description = "UI Web Editor"; 66 + platforms = platforms.linux; 67 + license = with licenses; [ unfreeRedistributable ]; 68 + maintainers = with maintainers; [ gador ]; 69 + }; 70 + }
+71
pkgs/applications/misc/emojipick/default.nix
··· 1 + { stdenvNoCC 2 + , fetchFromGitHub 3 + , lib 4 + , python3 5 + , xclip 6 + , libnotify 7 + , dmenu 8 + , rofi 9 + , emojipick-use-rofi ? false 10 + , emojipick-copy-to-clipboard ? true 11 + , emojipick-show-notifications ? true 12 + , emojipick-print-emoji ? true 13 + , emojipick-font-family ? "Noto Color Emoji" 14 + , emojipick-font-size ? "18" 15 + }: 16 + 17 + let 18 + boolToInt = b: if b then "1" else "0"; # Convert boolean to integer string 19 + in 20 + stdenvNoCC.mkDerivation { 21 + pname = "emojipick"; 22 + version = "2021-01-27"; 23 + 24 + src = fetchFromGitHub { 25 + owner = "thingsiplay"; 26 + repo = "emojipick"; 27 + rev = "20210127"; 28 + sha256 = "1kib3cyx6z9v9qw6yrfx5sklanpk5jbxjc317wi7i7ljrg0vdazp"; 29 + }; 30 + 31 + dontConfigure = true; 32 + dontBuild = true; 33 + 34 + # Patch configuration 35 + # notify-send has to be patched in a bash file 36 + postPatch = '' 37 + substituteInPlace emojipick \ 38 + --replace "use_rofi=0" "use_rofi=${boolToInt emojipick-use-rofi}" \ 39 + --replace "copy_to_clipboard=1" "copy_to_clipboard=${boolToInt emojipick-copy-to-clipboard}" \ 40 + --replace "show_notification=1" "show_notification=${boolToInt emojipick-show-notifications}" \ 41 + --replace "print_emoji=1" "print_emoji=${boolToInt emojipick-print-emoji}" \ 42 + --replace "font_family='\"Noto Color Emoji\"'" "font_family='\"${emojipick-font-family}\"'" \ 43 + --replace 'font_size="18"' 'font_size="${emojipick-font-size}"' \ 44 + ${lib.optionalString emojipick-use-rofi "--replace 'rofi ' '${rofi}/bin/rofi '"} \ 45 + --replace notify-send ${libnotify}/bin/notify-send 46 + ''; 47 + 48 + buildInputs = [ 49 + python3 50 + xclip 51 + libnotify 52 + ] ++ (if emojipick-use-rofi then [rofi] else [dmenu]); 53 + 54 + installPhase = '' 55 + runHook preInstall 56 + 57 + mkdir -p $out/bin 58 + cp ./emojipick $out/bin 59 + cp ./emojiget.py $out/bin 60 + 61 + runHook postInstall 62 + ''; 63 + 64 + meta = with lib; { 65 + description = "Get a selection of emojis with dmenu or rofi"; 66 + homepage = "https://github.com/thingsiplay/emojipick"; 67 + license = licenses.mit; 68 + maintainers = with maintainers; [ alexnortung ]; 69 + platforms = platforms.linux; 70 + }; 71 + }
+47
pkgs/applications/misc/gometer/default.nix
··· 1 + { lib, stdenv, fetchurl, rpmextract, wrapGAppsHook, nwjs }: 2 + 3 + stdenv.mkDerivation rec { 4 + pname = "gometer"; 5 + version = "5.2.0"; 6 + 7 + src = fetchurl { 8 + url = "https://gometer-prod-new-apps.s3-accelerate.amazonaws.com/${version}/goMeter-linux64.rpm"; 9 + sha256 = "sha256-E53sVvneW2EMPz9HNCgbGuHnDlVihE+Lf+DkFIP+j28="; 10 + }; 11 + 12 + nativeBuildInputs = [ 13 + rpmextract 14 + wrapGAppsHook 15 + ]; 16 + 17 + dontBuild = true; 18 + dontConfigure = true; 19 + 20 + unpackPhase = '' 21 + rpmextract ${src} 22 + ''; 23 + 24 + installPhase = '' 25 + runHook preInstall 26 + 27 + mv usr $out 28 + mv opt $out 29 + 30 + mkdir $out/share/applications 31 + mv $out/opt/goMeter/goMeter.desktop $out/share/applications/gometer.desktop 32 + substituteInPlace $out/share/applications/gometer.desktop \ 33 + --replace '/opt/goMeter/' "" 34 + 35 + makeWrapper ${nwjs}/bin/nw $out/bin/goMeter \ 36 + --add-flags $out/opt/goMeter/package.nw 37 + 38 + runHook postInstall 39 + ''; 40 + 41 + meta = with lib; { 42 + description = "Analytic-Tracking tool for GoLance"; 43 + homepage = "https://golance.com/download-gometer"; 44 + license = licenses.unfree; 45 + maintainers = with maintainers; [ wolfangaukang ]; 46 + }; 47 + }
+9 -8
pkgs/applications/misc/nerd-font-patcher/default.nix
··· 4 4 pname = "nerd-font-patcher"; 5 5 version = "2.1.0"; 6 6 7 - # The size of the nerd fonts repository is bigger than 2GB, because it 8 - # contains a lot of fonts and the patcher. 9 - # until https://github.com/ryanoasis/nerd-fonts/issues/484 is not fixed, 10 - # we download the patcher from an alternative repository 7 + # This uses a sparse checkout because the repo is >2GB without it 11 8 src = fetchFromGitHub { 12 - owner = "betaboon"; 13 - repo = "nerd-fonts-patcher"; 14 - rev = "180684d7a190f75fd2fea7ca1b26c6540db8d3c0"; 15 - sha256 = "sha256-FAbdLf0XiUXGltAgmq33Wqv6PFo/5qCv62UxXnj3SgI="; 9 + owner = "ryanoasis"; 10 + repo = "nerd-fonts"; 11 + rev = "v${version}"; 12 + sparseCheckout = '' 13 + font-patcher 14 + /src/glyphs 15 + ''; 16 + sha256 = "sha256-ePBlEVjzAJ7g6iAGIqPfgZ8bwtNILmyEVm0zD+xNN6k="; 16 17 }; 17 18 18 19 propagatedBuildInputs = with python3Packages; [ fontforge ];
+2 -1
pkgs/applications/misc/openlp/default.nix
··· 37 37 # base pkg/lib 38 38 baseLib = python3Packages.callPackage ./lib.nix { }; 39 39 in mkDerivation { 40 - inherit (baseLib) pname version src; 40 + pname = baseLib.pname + lib.optionalString (pdfSupport && presentationSupport && vlcSupport && gstreamerSupport) "-full"; 41 + inherit (baseLib) version src; 41 42 42 43 nativeBuildInputs = [ python3Packages.wrapPython wrapGAppsHook ]; 43 44 buildInputs = [ qtbase ] ++ optionals gstreamerSupport
+1 -1
pkgs/applications/networking/browsers/chromium/common.nix
··· 96 96 "libpng" 97 97 "libwebp" 98 98 "libxslt" 99 - "opus" 99 + # "opus" 100 100 ]; 101 101 102 102 opusWithCustomModes = libopus.override {
+4 -1
pkgs/applications/networking/browsers/chromium/default.nix
··· 1 1 { newScope, config, stdenv, fetchurl, makeWrapper 2 - , llvmPackages_13, ed, gnugrep, coreutils, xdg-utils 2 + , llvmPackages_13, llvmPackages_14, ed, gnugrep, coreutils, xdg-utils 3 3 , glib, gtk3, gnome, gsettings-desktop-schemas, gn, fetchgit 4 4 , libva, pipewire, wayland 5 5 , gcc, nspr, nss, runCommand ··· 54 54 inherit (upstream-info.deps.gn) url rev sha256; 55 55 }; 56 56 }); 57 + } // lib.optionalAttrs (chromiumVersionAtLeast "99") rec { 58 + llvmPackages = llvmPackages_14; 59 + stdenv = llvmPackages_14.stdenv; 57 60 }); 58 61 59 62 browser = callPackage ./browser.nix {
+35
pkgs/applications/networking/instant-messengers/signald/0001-Fetch-buildconfig-during-gradle-build-inside-Nix-FOD.patch
··· 1 + From 232c692240b9c52b95bd38ba7aecb11e7077cf31 Mon Sep 17 00:00:00 2001 2 + From: Maximilian Bosch <maximilian@mbosch.me> 3 + Date: Sat, 26 Feb 2022 12:33:13 +0100 4 + Subject: [PATCH] Fetch buildconfig during gradle build inside Nix FOD 5 + 6 + --- 7 + build.gradle | 5 +++++ 8 + 1 file changed, 5 insertions(+) 9 + 10 + diff --git a/build.gradle b/build.gradle 11 + index cbb587f..3b06e80 100644 12 + --- a/build.gradle 13 + +++ b/build.gradle 14 + @@ -82,6 +82,9 @@ static String getVersion() { 15 + 16 + repositories { 17 + maven {url "https://gitlab.com/api/v4/groups/6853927/-/packages/maven"} // https://gitlab.com/groups/signald/-/packages 18 + + maven { 19 + + url "https://plugins.gradle.org/m2/" 20 + + } 21 + mavenCentral() 22 + } 23 + 24 + @@ -102,6 +105,8 @@ dependencies { 25 + implementation 'io.prometheus:simpleclient_httpserver:0.14.1' 26 + implementation 'com.squareup.okhttp3:logging-interceptor:4.9.3' 27 + implementation 'io.sentry:sentry:5.6.1' 28 + + implementation 'com.github.gmazzo.buildconfig:com.github.gmazzo.buildconfig.gradle.plugin:3.0.3' 29 + + implementation 'org.jetbrains.kotlin:kotlin-scripting-jvm:1.4.31' 30 + testImplementation 'org.junit.jupiter:junit-jupiter:5.8.2' 31 + } 32 + 33 + -- 34 + 2.33.1 35 +
+60
pkgs/applications/networking/instant-messengers/signald/0002-buildconfig-local-deps-fixes.patch
··· 1 + From 80277ce9e24d9efa8dfd6eb775187c823e0e528e Mon Sep 17 00:00:00 2001 2 + From: Maximilian Bosch <maximilian@mbosch.me> 3 + Date: Sat, 26 Feb 2022 12:36:15 +0100 4 + Subject: [PATCH 2/2] buildconfig/local deps fixes 5 + 6 + --- 7 + build.gradle | 20 ++++++++++++++++++-- 8 + 1 file changed, 18 insertions(+), 2 deletions(-) 9 + 10 + diff --git a/build.gradle b/build.gradle 11 + index cbb587f..ad836cf 100644 12 + --- a/build.gradle 13 + +++ b/build.gradle 14 + @@ -9,10 +9,21 @@ import org.gradle.nativeplatform.platform.internal.ArchitectureInternal 15 + import org.gradle.nativeplatform.platform.internal.OperatingSystemInternal 16 + import org.gradle.nativeplatform.platform.internal.DefaultNativePlatform 17 + 18 + +buildscript { 19 + + repositories { 20 + + maven { 21 + + url(uri("@deps@")) 22 + + } 23 + + } 24 + + dependencies { 25 + + classpath "com.github.gmazzo:gradle-buildconfig-plugin:3.0.3" 26 + + } 27 + +} 28 + + 29 + plugins { 30 + - id 'com.github.gmazzo.buildconfig' version '3.0.3' 31 + id 'application' 32 + } 33 + +apply plugin: "com.github.gmazzo.buildconfig" 34 + 35 + compileJava.options.encoding = 'UTF-8' 36 + 37 + @@ -82,7 +93,10 @@ static String getVersion() { 38 + 39 + repositories { 40 + maven {url "https://gitlab.com/api/v4/groups/6853927/-/packages/maven"} // https://gitlab.com/groups/signald/-/packages 41 + - mavenCentral() 42 + + mavenLocal() 43 + + maven { 44 + + url uri("@deps@") 45 + + } 46 + } 47 + 48 + dependencies { 49 + @@ -102,6 +116,8 @@ dependencies { 50 + implementation 'io.prometheus:simpleclient_httpserver:0.14.1' 51 + implementation 'com.squareup.okhttp3:logging-interceptor:4.9.3' 52 + implementation 'io.sentry:sentry:5.6.1' 53 + + implementation 'com.github.gmazzo.buildconfig:com.github.gmazzo.buildconfig.gradle.plugin:3.0.3' 54 + + implementation 'org.jetbrains.kotlin:kotlin-scripting-jvm:1.4.31' 55 + testImplementation 'org.junit.jupiter:junit-jupiter:5.8.2' 56 + } 57 + 58 + -- 59 + 2.33.1 60 +
+12 -27
pkgs/applications/networking/instant-messengers/signald/default.nix
··· 1 1 { lib, stdenv, fetchurl, fetchFromGitLab, jdk17_headless, coreutils, gradle_6, git, perl 2 - , makeWrapper, fetchpatch 2 + , makeWrapper, fetchpatch, substituteAll 3 3 }: 4 4 5 5 let 6 6 pname = "signald"; 7 - version = "0.15.0"; 7 + version = "0.17.0"; 8 8 9 9 src = fetchFromGitLab { 10 10 owner = pname; 11 11 repo = pname; 12 12 rev = version; 13 - sha256 = "ftK+oeqzJ+TxrlvqivFkAi5RCcyJ5Y0oQAJuo0YheBg="; 14 - }; 15 - 16 - log4j-update-cve-2021-44228 = fetchpatch { 17 - url = "https://gitlab.com/signald/signald/-/commit/7f668062ab9ffa09a49d171e995f57cf0a0803a7.patch"; 18 - sha256 = "sha256-504je6hKciUGelVCGZjxGjHi1qZQaovagXD5PBQP+mM="; 19 - }; 20 - 21 - buildConfigJar = fetchurl { 22 - url = "https://dl.bintray.com/mfuerstenau/maven/gradle/plugin/de/fuerstenau/BuildConfigPlugin/1.1.8/BuildConfigPlugin-1.1.8.jar"; 23 - sha256 = "0y1f42y7ilm3ykgnm6s3ks54d71n8lsy5649xgd9ahv28lj05x9f"; 13 + sha256 = "sha256-eN6lEs6PuRczbzQZmGlNf6Ahp4FbWpA3EArlATEiZHU="; 24 14 }; 25 15 26 16 # fake build to pre-download deps into fixed-output derivation 27 17 deps = stdenv.mkDerivation { 28 18 pname = "${pname}-deps"; 29 19 inherit src version; 30 - patches = [ log4j-update-cve-2021-44228 ]; 31 20 nativeBuildInputs = [ gradle_6 perl ]; 21 + patches = [ ./0001-Fetch-buildconfig-during-gradle-build-inside-Nix-FOD.patch ]; 32 22 buildPhase = '' 33 23 export GRADLE_USER_HOME=$(mktemp -d) 34 24 gradle --no-daemon build ··· 36 26 # perl code mavenizes pathes (com.squareup.okio/okio/1.13.0/a9283170b7305c8d92d25aff02a6ab7e45d06cbe/okio-1.13.0.jar -> com/squareup/okio/okio/1.13.0/okio-1.13.0.jar) 37 27 installPhase = '' 38 28 find $GRADLE_USER_HOME/caches/modules-2 -type f -regex '.*\.\(jar\|pom\)' \ 39 - | perl -pe 's#(.*/([^/]+)/([^/]+)/([^/]+)/[0-9a-f]{30,40}/([^/\s]+))$# ($x = $2) =~ tr|\.|/|; "install -Dm444 $1 \$out/$x/$3/$4/''${\($5 =~ s/-jvm//r)}" #e' \ 29 + | perl -pe 's#(.*/([^/]+)/([^/]+)/([^/]+)/[0-9a-f]{30,40}/([^/\s]+))$# ($x = $2) =~ tr|\.|/|; "install -Dm444 $1 \$out/$x/$3/$4/''${\($5 =~ s/okio-jvm/okio/r)}" #e' \ 40 30 | sh 41 31 ''; 42 32 # Don't move info to share/ ··· 45 35 outputHashMode = "recursive"; 46 36 # Downloaded jars differ by platform 47 37 outputHash = { 48 - x86_64-linux = "sha256-e2Tehtznc+VsvQzD3lQ50Lg7ipQc7P3ekOnb8XLORO8="; 49 - aarch64-linux = "sha256-P48s3vG5vUNxCCga5FhzpODhlvvc+F2ZZGX/G0FVGWc="; 38 + x86_64-linux = "sha256-kZ25p+lIkOqNoFFBgJRYFcvKJenKICVa1PasaaEHmRA="; 39 + aarch64-linux = "sha256-CbFNigp3R7ETX0uXv6PNuhDpmPc4sowbWmwZ+5txXQs="; 50 40 }.${stdenv.system} or (throw "Unsupported platform"); 51 41 }; 52 42 ··· 54 44 inherit pname src version; 55 45 56 46 patches = [ 57 - ./gradle-plugin.patch 58 - log4j-update-cve-2021-44228 47 + (substituteAll { 48 + src = ./0002-buildconfig-local-deps-fixes.patch; 49 + inherit deps; 50 + }) 59 51 ]; 60 52 61 - postPatch = '' 62 - sed -i 's|BuildConfig.jar|${buildConfigJar}|' build.gradle 63 - ''; 64 - 65 53 buildPhase = '' 66 54 runHook preBuild 67 55 68 56 export GRADLE_USER_HOME=$(mktemp -d) 69 - 70 - # Use the local packages from -deps 71 - sed -i -e 's|mavenCentral()|mavenLocal(); maven { url uri("${deps}") }|' build.gradle 72 57 73 58 gradle --offline --no-daemon distTar 74 59 ··· 100 85 ''; 101 86 homepage = "https://signald.org"; 102 87 license = licenses.gpl3Plus; 103 - maintainers = with maintainers; [ expipiplus1 ]; 88 + maintainers = with maintainers; [ expipiplus1 ma27 ]; 104 89 platforms = [ "x86_64-linux" "aarch64-linux" ]; 105 90 }; 106 91 }
-19
pkgs/applications/networking/instant-messengers/signald/gradle-plugin.patch
··· 1 - diff --git a/build.gradle b/build.gradle 2 - index 11d7a99..66805bb 100644 3 - --- a/build.gradle 4 - +++ b/build.gradle 5 - @@ -18,9 +18,12 @@ import org.gradle.nativeplatform.platform.internal.OperatingSystemInternal 6 - import org.gradle.nativeplatform.platform.internal.DefaultNativePlatform 7 - import org.xml.sax.SAXParseException 8 - 9 - -plugins { 10 - - id 'de.fuerstenau.buildconfig' version '1.1.8' 11 - +buildscript { 12 - + dependencies { 13 - + classpath files ("BuildConfig.jar") 14 - + } 15 - } 16 - +apply plugin: 'de.fuerstenau.buildconfig' 17 - 18 - apply plugin: 'java' 19 - apply plugin: 'application'
+87 -63
pkgs/applications/networking/n8n/node-packages.nix
··· 265 265 sha512 = "Ups2dShK52xXa8w6iBWLgcjPJWjais6KPJQq3gQ/88AY6BXoTX+MIGFPrWQO1KLMiQfoTpcLnUwloN4brrVUHw=="; 266 266 }; 267 267 }; 268 - "@oclif/parser-3.8.6" = { 268 + "@oclif/parser-3.8.7" = { 269 269 name = "_at_oclif_slash_parser"; 270 270 packageName = "@oclif/parser"; 271 - version = "3.8.6"; 271 + version = "3.8.7"; 272 272 src = fetchurl { 273 - url = "https://registry.npmjs.org/@oclif/parser/-/parser-3.8.6.tgz"; 274 - sha512 = "tXb0NKgSgNxmf6baN6naK+CCwOueaFk93FG9u202U7mTBHUKsioOUlw1SG/iPi9aJM3WE4pHLXmty59pci0OEw=="; 273 + url = "https://registry.npmjs.org/@oclif/parser/-/parser-3.8.7.tgz"; 274 + sha512 = "b11xBmIUK+LuuwVGJpFs4LwQN2xj2cBWj2c4z1FtiXGrJ85h9xV6q+k136Hw0tGg1jQoRXuvuBnqQ7es7vO9/Q=="; 275 275 }; 276 276 }; 277 277 "@opentelemetry/api-1.1.0" = { ··· 445 445 sha512 = "zm6xBQpFDIDM6o9r6HSgDeIcLy82TKWctCXEPbJJcXb5AKmi5BNNdLXneixK4lplX3PqIVcwLBCGE/kAGnlD4A=="; 446 446 }; 447 447 }; 448 - "@types/lodash-4.14.178" = { 448 + "@types/lodash-4.14.179" = { 449 449 name = "_at_types_slash_lodash"; 450 450 packageName = "@types/lodash"; 451 - version = "4.14.178"; 451 + version = "4.14.179"; 452 452 src = fetchurl { 453 - url = "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.178.tgz"; 454 - sha512 = "0d5Wd09ItQWH1qFbEyQ7oTQ3GZrMfth5JkbN3EvTKLXcHLRDSXeLnlvlOn0wvxVIwK5o2M8JzP/OWz7T3NRsbw=="; 453 + url = "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.179.tgz"; 454 + sha512 = "uwc1x90yCKqGcIOAT6DwOSuxnrAbpkdPsUOZtwrXb4D/6wZs+6qG7QnIawDuZWg0sWpxl+ltIKCaLoMlna678w=="; 455 455 }; 456 456 }; 457 457 "@types/lossless-json-1.0.1" = { ··· 481 481 sha512 = "cPjLXj8d6anFPzFvOPxS3fvly3Shm5nTfl6g8X5smexixbuGUf7hfr21J5tX9JW+UPStp/5P5R8qrKL5IyVJ+A=="; 482 482 }; 483 483 }; 484 - "@types/node-17.0.18" = { 484 + "@types/node-17.0.21" = { 485 485 name = "_at_types_slash_node"; 486 486 packageName = "@types/node"; 487 - version = "17.0.18"; 487 + version = "17.0.21"; 488 488 src = fetchurl { 489 - url = "https://registry.npmjs.org/@types/node/-/node-17.0.18.tgz"; 490 - sha512 = "eKj4f/BsN/qcculZiRSujogjvp5O/k4lOW5m35NopjZM/QwLOR075a8pJW5hD+Rtdm2DaCVPENS6KtSQnUD6BA=="; 489 + url = "https://registry.npmjs.org/@types/node/-/node-17.0.21.tgz"; 490 + sha512 = "DBZCJbhII3r90XbQxI8Y9IjjiiOGlZ0Hr32omXIZvwwZ7p4DMMXGrKXVyPfuoBOri9XNtL0UK69jYIBIsRX3QQ=="; 491 491 }; 492 492 }; 493 493 "@types/node-fetch-2.6.1" = { ··· 976 976 sha512 = "uUbetCWczQHbsKyX1C99XpQHBM8SWfovvaZhPIj23/1uV7SQf0WeRZbiLpw0JZm+LHTChfNgrLfDJOVoU2kU+A=="; 977 977 }; 978 978 }; 979 - "aws-sdk-2.1077.0" = { 979 + "aws-sdk-2.1082.0" = { 980 980 name = "aws-sdk"; 981 981 packageName = "aws-sdk"; 982 - version = "2.1077.0"; 982 + version = "2.1082.0"; 983 983 src = fetchurl { 984 - url = "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1077.0.tgz"; 985 - sha512 = "orJvJROs8hJaQRfHsX7Zl5PxEgrD/uTXyqXz9Yu9Io5VVxzvnOty9oHmvEMSlgTIf1qd01gnev/vpvP1HgzKtw=="; 984 + url = "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1082.0.tgz"; 985 + sha512 = "aDrUZ63O/ocuC827ursDqFQAm3jhqsJu1DvMCCFg73y+FK9pXXNHp2mwdi3UeeHvtfxISCLCjuyO3VFd/tpVfA=="; 986 986 }; 987 987 }; 988 988 "aws-sign2-0.7.0" = { ··· 1892 1892 src = fetchurl { 1893 1893 url = "https://registry.npmjs.org/css-what/-/css-what-5.1.0.tgz"; 1894 1894 sha512 = "arSMRWIIFY0hV8pIxZMEfmMI47Wj3R/aWpZDDxWYCPEiOMv6tfOrnpDtgxBYPEQD4V0Y/958+1TdC3iWTFcUPw=="; 1895 + }; 1896 + }; 1897 + "cssfilter-0.0.10" = { 1898 + name = "cssfilter"; 1899 + packageName = "cssfilter"; 1900 + version = "0.0.10"; 1901 + src = fetchurl { 1902 + url = "https://registry.npmjs.org/cssfilter/-/cssfilter-0.0.10.tgz"; 1903 + sha1 = "c6d2672632a2e5c83e013e6864a42ce8defd20ae"; 1895 1904 }; 1896 1905 }; 1897 1906 "dashdash-1.14.1" = { ··· 4441 4450 sha512 = "6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA=="; 4442 4451 }; 4443 4452 }; 4444 - "mssql-6.4.0" = { 4453 + "mssql-6.4.1" = { 4445 4454 name = "mssql"; 4446 4455 packageName = "mssql"; 4447 - version = "6.4.0"; 4456 + version = "6.4.1"; 4448 4457 src = fetchurl { 4449 - url = "https://registry.npmjs.org/mssql/-/mssql-6.4.0.tgz"; 4450 - sha512 = "Mtgu3PXqoaL7aHCMurttvEHibjvz5XKjlR6ZCDyAeKtDBORpxm88JyzEU2EESVf7588GulYKc7Gr+Txf5CICBQ=="; 4458 + url = "https://registry.npmjs.org/mssql/-/mssql-6.4.1.tgz"; 4459 + sha512 = "G1I7mM0gfxcH5TGSNoVmxq13Mve5YnQgRAlonqaMlHEjHjMn1g04bsrIQbVHFRdI6++dw/FGWlh8GoItJMoUDw=="; 4451 4460 }; 4452 4461 }; 4453 4462 "mute-stream-0.0.8" = { ··· 4477 4486 sha512 = "z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q=="; 4478 4487 }; 4479 4488 }; 4480 - "n8n-core-0.105.0" = { 4489 + "n8n-core-0.106.0" = { 4481 4490 name = "n8n-core"; 4482 4491 packageName = "n8n-core"; 4483 - version = "0.105.0"; 4492 + version = "0.106.0"; 4484 4493 src = fetchurl { 4485 - url = "https://registry.npmjs.org/n8n-core/-/n8n-core-0.105.0.tgz"; 4486 - sha512 = "rYAtchFf7V94M9UP1ZCu9ie9O6OWncNconuzO9I1D/QLjBNVGzu0+SsG8be5bGTrAWO0WiNYdj84qMqqJS4NWg=="; 4494 + url = "https://registry.npmjs.org/n8n-core/-/n8n-core-0.106.0.tgz"; 4495 + sha512 = "0aEoY00VPKNodcQl9NN2hTvqQysCNPeg/Ex1UKlt4b0xeqhkIEJ2KMILexXwHitPnTyJwXhn7ewqK7YafdKBcw=="; 4487 4496 }; 4488 4497 }; 4489 - "n8n-design-system-0.11.0" = { 4498 + "n8n-design-system-0.12.0" = { 4490 4499 name = "n8n-design-system"; 4491 4500 packageName = "n8n-design-system"; 4492 - version = "0.11.0"; 4501 + version = "0.12.0"; 4493 4502 src = fetchurl { 4494 - url = "https://registry.npmjs.org/n8n-design-system/-/n8n-design-system-0.11.0.tgz"; 4495 - sha512 = "KL64XTr9sqqiBEEV7on2cdLooleHPyXClFL+THUy2oXDbGqdlyCGykukU7S4aX+nSjrJEQEDMaMcbw3NCHrumg=="; 4503 + url = "https://registry.npmjs.org/n8n-design-system/-/n8n-design-system-0.12.0.tgz"; 4504 + sha512 = "ZMPcOVL/yzsIut7mvHbIx03OxLa2z+jE3CtaZjSyK4tk2NQ8gVc+BOBAasmVCkO4CeJbdDMGDF+ktnUaC4ougw=="; 4496 4505 }; 4497 4506 }; 4498 - "n8n-editor-ui-0.131.0" = { 4507 + "n8n-editor-ui-0.132.0" = { 4499 4508 name = "n8n-editor-ui"; 4500 4509 packageName = "n8n-editor-ui"; 4501 - version = "0.131.0"; 4510 + version = "0.132.0"; 4502 4511 src = fetchurl { 4503 - url = "https://registry.npmjs.org/n8n-editor-ui/-/n8n-editor-ui-0.131.0.tgz"; 4504 - sha512 = "Sexo31sn8PdiNjDckNfDCXBs9MBR/hF5NzuFtUCUNaXPR6Z5gql6EhPT+fJfG9Wdsj09L3vV+j3gTAbXqRgPIw=="; 4512 + url = "https://registry.npmjs.org/n8n-editor-ui/-/n8n-editor-ui-0.132.0.tgz"; 4513 + sha512 = "WOH1Lh+2VYTqBL75pe+WB0H2K8O/6BSW/Wsl5zXbrI0YXmaC9YEvSTAcmjxvjW+oYnYLfQR3p3j6g3AtNldiJQ=="; 4505 4514 }; 4506 4515 }; 4507 - "n8n-nodes-base-0.162.0" = { 4516 + "n8n-nodes-base-0.163.0" = { 4508 4517 name = "n8n-nodes-base"; 4509 4518 packageName = "n8n-nodes-base"; 4510 - version = "0.162.0"; 4519 + version = "0.163.0"; 4511 4520 src = fetchurl { 4512 - url = "https://registry.npmjs.org/n8n-nodes-base/-/n8n-nodes-base-0.162.0.tgz"; 4513 - sha512 = "bi7vs//5OHrW6RowouusBwUzKutFKnysLWdDrlxlCENGtRDtI+7ELrLMWnKs6PYTRWz0OSBHpEMN64MDEIoEZg=="; 4521 + url = "https://registry.npmjs.org/n8n-nodes-base/-/n8n-nodes-base-0.163.0.tgz"; 4522 + sha512 = "kLndPbDemejOGROHrf5KHs7E1yQ5JwwAdyhJpzWX4M2C2Od52YRk4G97r5FZsaxW/e6vJawY6tw1O6PVM1H6nw=="; 4514 4523 }; 4515 4524 }; 4516 - "n8n-workflow-0.87.0" = { 4525 + "n8n-workflow-0.88.0" = { 4517 4526 name = "n8n-workflow"; 4518 4527 packageName = "n8n-workflow"; 4519 - version = "0.87.0"; 4528 + version = "0.88.0"; 4520 4529 src = fetchurl { 4521 - url = "https://registry.npmjs.org/n8n-workflow/-/n8n-workflow-0.87.0.tgz"; 4522 - sha512 = "ei5fvQK4jM3NotOA36d267o243m2MdlSPlG6cIutqx4lgUd1oXX7mYyCJzF3/kNcWbiI8QjdhUoURgdCOEzn8g=="; 4530 + url = "https://registry.npmjs.org/n8n-workflow/-/n8n-workflow-0.88.0.tgz"; 4531 + sha512 = "Rrlw7MqzPS0Q8T2AIe+aDioIkxC9v1aDbs5L0L/SDlGe54W2uG9qmLZ9/TTfzZZ4qzXX6fTEMNbICVmlmbEaUQ=="; 4523 4532 }; 4524 4533 }; 4525 4534 "named-placeholders-1.1.2" = { ··· 7015 7024 sha1 = "021e4d9c7705f21bbf37d03ceb58767402774c64"; 7016 7025 }; 7017 7026 }; 7018 - "url-parse-1.5.9" = { 7027 + "url-parse-1.5.10" = { 7019 7028 name = "url-parse"; 7020 7029 packageName = "url-parse"; 7021 - version = "1.5.9"; 7030 + version = "1.5.10"; 7022 7031 src = fetchurl { 7023 - url = "https://registry.npmjs.org/url-parse/-/url-parse-1.5.9.tgz"; 7024 - sha512 = "HpOvhKBvre8wYez+QhHcYiVvVmeF6DVnuSOOPhe3cTum3BnqHhvKaZm8FU5yTiOu/Jut2ZpB2rA/SbBA1JIGlQ=="; 7032 + url = "https://registry.npmjs.org/url-parse/-/url-parse-1.5.10.tgz"; 7033 + sha512 = "WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ=="; 7025 7034 }; 7026 7035 }; 7027 7036 "utf7-1.0.2" = { ··· 7141 7150 sha1 = "3a105ca17053af55d6e270c1f8288682e18da400"; 7142 7151 }; 7143 7152 }; 7144 - "vm2-3.9.8" = { 7153 + "vm2-3.9.9" = { 7145 7154 name = "vm2"; 7146 7155 packageName = "vm2"; 7147 - version = "3.9.8"; 7156 + version = "3.9.9"; 7148 7157 src = fetchurl { 7149 - url = "https://registry.npmjs.org/vm2/-/vm2-3.9.8.tgz"; 7150 - sha512 = "/1PYg/BwdKzMPo8maOZ0heT7DLI0DAFTm7YQaz/Lim9oIaFZsJs3EdtalvXuBfZwczNwsYhju75NW4d6E+4q+w=="; 7158 + url = "https://registry.npmjs.org/vm2/-/vm2-3.9.9.tgz"; 7159 + sha512 = "xwTm7NLh/uOjARRBs8/95H0e8fT3Ukw5D/JJWhxMbhKzNh1Nu981jQKvkep9iKYNxzlVrdzD0mlBGkDKZWprlw=="; 7151 7160 }; 7152 7161 }; 7153 7162 "vue-fragment-1.5.2" = { ··· 7366 7375 sha1 = "52a63e56ca0b84a7f3a5f3d61872f126ad7a5943"; 7367 7376 }; 7368 7377 }; 7378 + "xss-1.0.10" = { 7379 + name = "xss"; 7380 + packageName = "xss"; 7381 + version = "1.0.10"; 7382 + src = fetchurl { 7383 + url = "https://registry.npmjs.org/xss/-/xss-1.0.10.tgz"; 7384 + sha512 = "qmoqrRksmzqSKvgqzN0055UFWY7OKx1/9JWeRswwEVX9fCG5jcYRxa/A2DHcmZX6VJvjzHRQ2STeeVcQkrmLSw=="; 7385 + }; 7386 + }; 7369 7387 "xtend-4.0.2" = { 7370 7388 name = "xtend"; 7371 7389 packageName = "xtend"; ··· 7462 7480 n8n = nodeEnv.buildNodePackage { 7463 7481 name = "n8n"; 7464 7482 packageName = "n8n"; 7465 - version = "0.164.1"; 7483 + version = "0.165.0"; 7466 7484 src = fetchurl { 7467 - url = "https://registry.npmjs.org/n8n/-/n8n-0.164.1.tgz"; 7468 - sha512 = "8eUhHHikLspebbc1AjatdSQeaQAVgeYMIMFZmiUPMUw8FVtQ67otse6t/RvBE2RXTzxKer54Nr8eA+cF5dHi8g=="; 7485 + url = "https://registry.npmjs.org/n8n/-/n8n-0.165.0.tgz"; 7486 + sha512 = "PYg5cXEeH6YzVZaSDD9yOZbPtTM/yfaohbZjijyyzVmlOBnI6teQsaY+aLqK6ST4LfMfpB0ZkXpaiBj6xE9azA=="; 7469 7487 }; 7470 7488 dependencies = [ 7471 7489 (sources."@azure/abort-controller-1.0.5" // { ··· 7551 7569 ]; 7552 7570 }) 7553 7571 sources."@oclif/linewrap-1.0.0" 7554 - (sources."@oclif/parser-3.8.6" // { 7572 + (sources."@oclif/parser-3.8.7" // { 7555 7573 dependencies = [ 7556 7574 sources."tslib-2.3.1" 7557 7575 ]; ··· 7574 7592 sources."@types/ftp-0.3.33" 7575 7593 sources."@types/json-diff-0.5.2" 7576 7594 sources."@types/jsonwebtoken-8.5.8" 7577 - sources."@types/lodash-4.14.178" 7595 + sources."@types/lodash-4.14.179" 7578 7596 sources."@types/lossless-json-1.0.1" 7579 7597 sources."@types/mime-1.3.2" 7580 - sources."@types/node-17.0.18" 7598 + sources."@types/node-17.0.21" 7581 7599 (sources."@types/node-fetch-2.6.1" // { 7582 7600 dependencies = [ 7583 7601 sources."form-data-3.0.1" ··· 7646 7664 ]; 7647 7665 }) 7648 7666 sources."avsc-5.7.3" 7649 - (sources."aws-sdk-2.1077.0" // { 7667 + (sources."aws-sdk-2.1082.0" // { 7650 7668 dependencies = [ 7651 7669 sources."buffer-4.9.2" 7652 7670 sources."events-1.1.1" ··· 7839 7857 sources."csrf-3.1.0" 7840 7858 sources."css-select-4.2.1" 7841 7859 sources."css-what-5.1.0" 7860 + sources."cssfilter-0.0.10" 7842 7861 sources."dashdash-1.14.1" 7843 7862 sources."date-utils-1.2.21" 7844 7863 sources."debug-4.3.3" ··· 8196 8215 ]; 8197 8216 }) 8198 8217 sources."ms-2.1.2" 8199 - sources."mssql-6.4.0" 8218 + sources."mssql-6.4.1" 8200 8219 sources."mute-stream-0.0.8" 8201 8220 (sources."mysql2-2.3.3" // { 8202 8221 dependencies = [ ··· 8205 8224 ]; 8206 8225 }) 8207 8226 sources."mz-2.7.0" 8208 - (sources."n8n-core-0.105.0" // { 8227 + (sources."n8n-core-0.106.0" // { 8209 8228 dependencies = [ 8210 8229 sources."qs-6.10.3" 8211 8230 ]; 8212 8231 }) 8213 - sources."n8n-design-system-0.11.0" 8214 - sources."n8n-editor-ui-0.131.0" 8215 - (sources."n8n-nodes-base-0.162.0" // { 8232 + sources."n8n-design-system-0.12.0" 8233 + sources."n8n-editor-ui-0.132.0" 8234 + (sources."n8n-nodes-base-0.163.0" // { 8216 8235 dependencies = [ 8217 8236 sources."iconv-lite-0.6.3" 8218 8237 ]; 8219 8238 }) 8220 - sources."n8n-workflow-0.87.0" 8239 + sources."n8n-workflow-0.88.0" 8221 8240 (sources."named-placeholders-1.1.2" // { 8222 8241 dependencies = [ 8223 8242 sources."lru-cache-4.1.5" ··· 8627 8646 sources."punycode-1.3.2" 8628 8647 ]; 8629 8648 }) 8630 - sources."url-parse-1.5.9" 8649 + sources."url-parse-1.5.10" 8631 8650 (sources."utf7-1.0.2" // { 8632 8651 dependencies = [ 8633 8652 sources."semver-5.3.0" ··· 8643 8662 sources."validator-13.7.0" 8644 8663 sources."vary-1.1.2" 8645 8664 sources."verror-1.10.0" 8646 - sources."vm2-3.9.8" 8665 + sources."vm2-3.9.9" 8647 8666 sources."vue-fragment-1.5.2" 8648 8667 sources."vue-i18n-8.27.0" 8649 8668 sources."webidl-conversions-3.0.1" ··· 8676 8695 sources."xmlbuilder-11.0.1" 8677 8696 sources."xpath.js-1.1.0" 8678 8697 sources."xregexp-2.0.0" 8698 + (sources."xss-1.0.10" // { 8699 + dependencies = [ 8700 + sources."commander-2.20.3" 8701 + ]; 8702 + }) 8679 8703 sources."xtend-4.0.2" 8680 8704 sources."y18n-5.0.8" 8681 8705 sources."yallist-4.0.0"
+2 -2
pkgs/applications/networking/nextcloud-client/default.nix
··· 22 22 23 23 mkDerivation rec { 24 24 pname = "nextcloud-client"; 25 - version = "3.4.2"; 25 + version = "3.4.3"; 26 26 27 27 src = fetchFromGitHub { 28 28 owner = "nextcloud"; 29 29 repo = "desktop"; 30 30 rev = "v${version}"; 31 - sha256 = "sha256-cqpdn2STxJtUTBRFrUh1lRIDaFZfrRkJMxcJuTKxgk8="; 31 + sha256 = "sha256-nryoueoqnbBAJaU11OUXKP5PNrYf4515ojBkdMFIEMA="; 32 32 }; 33 33 34 34 patches = [
+1 -1
pkgs/applications/science/biology/neuron/default.nix
··· 14 14 }: 15 15 16 16 stdenv.mkDerivation rec { 17 - pname = "neuron"; 17 + pname = "neuron${lib.optionalString useMpi "-mpi"}"; 18 18 version = "7.5"; 19 19 20 20 nativeBuildInputs = [ which pkg-config automake autoconf libtool ];
+2 -2
pkgs/applications/science/biology/raxml/default.nix
··· 5 5 }: 6 6 7 7 stdenv.mkDerivation rec { 8 - pname = "RAxML"; 8 + pname = "RAxML${lib.optionalString useMpi "-mpi"}"; 9 9 version = "8.2.12"; 10 10 11 11 src = fetchFromGitHub { 12 12 owner = "stamatak"; 13 - repo = "standard-${pname}"; 13 + repo = "standard-RAxML"; 14 14 rev = "v${version}"; 15 15 sha256 = "1jqjzhch0rips0vp04prvb8vmc20c5pdmsqn8knadcf91yy859fh"; 16 16 };
+2 -2
pkgs/applications/science/chemistry/d-seams/default.nix
··· 2 2 , eigen, lua, luaPackages, liblapack, blas, lib, boost, gsl }: 3 3 4 4 clangStdenv.mkDerivation rec { 5 - version = "v1.0.1"; 5 + version = "1.0.1"; 6 6 pname = "d-SEAMS"; 7 7 8 8 src = fetchFromGitHub { 9 9 owner = "d-SEAMS"; 10 10 repo = "seams-core"; 11 - rev = "v1.0.1"; 11 + rev = "v${version}"; 12 12 sha256 = "03zhhl9vhi3rhc3qz1g3zb89jksgpdlrk15fcr8xcz8pkj6r5b1i"; 13 13 }; 14 14
+3 -3
pkgs/applications/version-management/mercurial/default.nix
··· 20 20 inherit (python3Packages) docutils python fb-re2 pygit2 pygments; 21 21 22 22 self = python3Packages.buildPythonApplication rec { 23 - pname = "mercurial"; 23 + pname = "mercurial${lib.optionalString fullBuild "-full"}"; 24 24 version = "6.0.3"; 25 25 26 26 src = fetchurl { ··· 34 34 35 35 cargoDeps = if rustSupport then rustPlatform.fetchCargoTarball { 36 36 inherit src; 37 - name = "${pname}-${version}"; 37 + name = "mercurial-${version}"; 38 38 sha256 = "sha256-i4WROxezeqLX4hTdcPrqsf6dBqsNZz6fFAPzItYuklE="; 39 - sourceRoot = "${pname}-${version}/rust"; 39 + sourceRoot = "mercurial-${version}/rust"; 40 40 } else null; 41 41 cargoRoot = if rustSupport then "rust" else null; 42 42
+2 -2
pkgs/applications/window-managers/jwm/default.nix
··· 4 4 5 5 stdenv.mkDerivation rec { 6 6 pname = "jwm"; 7 - version = "2.4.0"; 7 + version = "2.4.1"; 8 8 9 9 src = fetchFromGitHub { 10 10 owner = "joewing"; 11 11 repo = "jwm"; 12 12 rev = "v${version}"; 13 - sha256 = "19fnrlw05njib13ljh7pmi48myfclra1xhy4b6hi74c6w6yz2fgj"; 13 + sha256 = "sha256-7CEL2ddlABM7SYjMVUs3pu0O+2cVsz04slsdUIbgZuM="; 14 14 }; 15 15 16 16 nativeBuildInputs = [ pkg-config gettext which autoreconfHook ];
+22 -11
pkgs/data/fonts/agave/default.nix
··· 1 - { lib, fetchurl }: 1 + { lib, fetchurl, stdenv }: 2 2 3 3 let 4 4 pname = "agave"; 5 - version = "35"; 6 - in fetchurl { 7 - name = "${pname}-${version}"; 8 - url = "https://github.com/agarick/agave/releases/download/v${version}/Agave-Regular.ttf"; 5 + version = "37"; 6 + 7 + mkAg = name: hash: fetchurl { 8 + url = "https://github.com/agarick/agave/releases/download/v${version}/Agave-${name}.ttf"; 9 + sha256 = hash; 10 + name = "Agave-${name}.ttf"; 11 + }; 12 + # There are slashed variants, but with same name so only bundle the default versions for now: 13 + fonts = [ 14 + (mkAg "Regular" "sha256-vX1VhEgqy9rQ7hPmAgBGxKyIs2QSAYqZC/mL/2BIOrA=") 15 + (mkAg "Bold" "sha256-Ax/l/RKyc03law0ThiLac/7HHV4+YxibKzcZnjZs6VI=") 16 + ]; 17 + 18 + in stdenv.mkDerivation { 19 + inherit pname version; 20 + srcs = fonts; 21 + sourceRoot = "."; 9 22 10 - downloadToTemp = true; 11 - recursiveHash = true; 12 - postFetch = '' 13 - install -D $downloadedFile $out/share/fonts/truetype/Agave-Regular.ttf 14 - ''; 23 + dontUnpack = true; 15 24 16 - sha256 = "10shwsl1illdafnc352j439lklrxksip1vlh4jc934cr9qf4c1fz"; 25 + installPhase = '' 26 + install -D $srcs -t $out/share/fonts/truetype/ 27 + ''; 17 28 18 29 meta = with lib; { 19 30 description = "truetype monospaced typeface designed for X environments";
+38 -3
pkgs/data/themes/whitesur/default.nix
··· 4 4 , glib 5 5 , gnome-shell 6 6 , gnome-themes-extra 7 + , jdupes 7 8 , libxml2 8 9 , sassc 9 10 , util-linux 11 + , altVariants ? [] # default: normal 12 + , colorVariants ? [] # default: all 13 + , opacityVariants ? [] # default: all 14 + , themeVariants ? [] # default: default (BigSur-like theme) 15 + , nautilusSize ? null # default: 200px 16 + , panelOpacity ? null # default: 15% 17 + , panelSize ? null # default: 32px 10 18 }: 19 + 20 + let 21 + pname = "whitesur-gtk-theme"; 22 + single = x: lib.optional (x != null) x; 23 + 24 + in 25 + lib.checkListOfEnum "${pname}: alt variants" [ "normal" "alt" "all" ] altVariants 26 + lib.checkListOfEnum "${pname}: color variants" [ "light" "dark" ] colorVariants 27 + lib.checkListOfEnum "${pname}: opacity variants" [ "normal" "solid" ] opacityVariants 28 + lib.checkListOfEnum "${pname}: theme variants" [ "default" "blue" "purple" "pink" "red" "orange" "yellow" "green" "grey" "all" ] themeVariants 29 + lib.checkListOfEnum "${pname}: nautilus sidebar minimum width" [ "default" "180" "220" "240" "260" "280" ] (single nautilusSize) 30 + lib.checkListOfEnum "${pname}: panel opacity" [ "default" "30" "45" "60" "75" ] (single panelOpacity) 31 + lib.checkListOfEnum "${pname}: panel size" [ "default" "smaller" "bigger" ] (single panelSize) 11 32 12 33 stdenv.mkDerivation rec { 13 34 pname = "whitesur-gtk-theme"; 14 - version = "2021-12-28"; 35 + version = "2022-02-21"; 15 36 16 37 src = fetchFromGitHub { 17 38 owner = "vinceliuice"; 18 39 repo = pname; 19 40 rev = version; 20 - sha256 = "0i81aickccfp8fffilhi335hj5ijz2n38yj3zw2fnbwgm667i0fc"; 41 + sha256 = "1bqgbkx7qhpj9vbqcxb69p67m8ix3avxr81pdpdi56g9gqbnkpfc"; 21 42 }; 22 43 23 44 nativeBuildInputs = [ 24 45 glib 25 46 gnome-shell 47 + jdupes 26 48 libxml2 27 49 sassc 28 50 util-linux ··· 48 70 49 71 installPhase = '' 50 72 runHook preInstall 73 + 51 74 mkdir -p $out/share/themes 52 - ./install.sh --dest $out/share/themes --alt all --theme all 75 + 76 + ./install.sh \ 77 + ${toString (map (x: "--alt " + x) altVariants)} \ 78 + ${toString (map (x: "--color " + x) colorVariants)} \ 79 + ${toString (map (x: "--opacity " + x) opacityVariants)} \ 80 + ${toString (map (x: "--theme " + x) themeVariants)} \ 81 + ${lib.optionalString (nautilusSize != null) ("--size " + nautilusSize)} \ 82 + ${lib.optionalString (panelOpacity != null) ("--panel-opacity " + panelOpacity)} \ 83 + ${lib.optionalString (panelSize != null) ("--panel-size " + panelSize)} \ 84 + --dest $out/share/themes 85 + 86 + jdupes --link-soft --recurse $out/share 87 + 53 88 runHook postInstall 54 89 ''; 55 90
+8 -8
pkgs/development/compilers/llvm/14/lld/fix-root-src-dir.patch
··· 1 - diff --git a/lld/CMakeLists.txt b/lld/CMakeLists.txt 2 - index e1a29b884d17..9d542f8fbfc1 100644 1 + diff --git a/CMakeLists.txt b/CMakeLists.txt 2 + index 9bcc135665d0..d38679ed41e9 100644 3 3 --- a/CMakeLists.txt 4 4 +++ b/CMakeLists.txt 5 - @@ -64,7 +64,7 @@ if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR) 6 - 7 - set(LLVM_MAIN_INCLUDE_DIR ${MAIN_INCLUDE_DIR} CACHE PATH "Path to llvm/include") 8 - set(LLVM_BINARY_DIR ${LLVM_OBJ_ROOT} CACHE PATH "Path to LLVM build tree") 9 - - set(LLVM_MAIN_SRC_DIR ${MAIN_SRC_DIR} CACHE PATH "Path to LLVM source tree") 5 + @@ -74,7 +74,7 @@ if(LLD_BUILT_STANDALONE) 6 + 7 + set(LLVM_MAIN_INCLUDE_DIR "${MAIN_INCLUDE_DIR}" CACHE PATH "Path to llvm/include") 8 + set(LLVM_BINARY_DIR "${LLVM_OBJ_ROOT}" CACHE PATH "Path to LLVM build tree") 9 + - set(LLVM_MAIN_SRC_DIR "${MAIN_SRC_DIR}" CACHE PATH "Path to LLVM source tree") 10 10 + set(LLVM_MAIN_SRC_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../llvm" CACHE PATH "Path to LLVM source tree") 11 - 11 + 12 12 find_program(LLVM_TABLEGEN_EXE "llvm-tblgen" ${LLVM_TOOLS_BINARY_DIR} 13 13 NO_DEFAULT_PATH)
+15 -17
pkgs/development/libraries/bamf/default.nix
··· 1 - { lib, stdenv 2 - , pantheon 3 - , autoconf 4 - , automake 5 - , libtool 1 + { stdenv 2 + , lib 3 + , autoreconfHook 4 + , gitUpdater 6 5 , gnome 7 6 , which 8 7 , fetchgit ··· 23 22 24 23 stdenv.mkDerivation rec { 25 24 pname = "bamf"; 26 - version = "0.5.5"; 25 + version = "0.5.6"; 27 26 28 27 outputs = [ "out" "dev" "devdoc" ]; 29 28 30 29 src = fetchgit { 31 30 url = "https://git.launchpad.net/~unity-team/bamf"; 32 - rev = "${version}+21.10.20210710-0ubuntu1"; 33 - sha256 = "0iwz5z5cz9r56pmfjvjd2kcjlk416dw6g38svs33ynssjgsqbdm0"; 31 + rev = version; 32 + sha256 = "7U+2GcuDjPU8quZjkd8bLADGlG++tl6wSo0mUQkjAXQ="; 34 33 }; 35 34 36 35 nativeBuildInputs = [ 37 36 (python3.withPackages (ps: with ps; [ lxml ])) # Tests 38 - autoconf 39 - automake 37 + autoreconfHook 40 38 dbus 41 39 docbook_xsl 42 40 gnome.gnome-common 43 41 gobject-introspection 44 42 gtk-doc 45 - libtool 46 43 pkg-config 47 44 vala 48 45 which ··· 69 66 "--enable-headless-tests" 70 67 ]; 71 68 72 - # fix paths 69 + # Fix paths 73 70 makeFlags = [ 74 71 "INTROSPECTION_GIRDIR=${placeholder "dev"}/share/gir-1.0/" 75 72 "INTROSPECTION_TYPELIBDIR=${placeholder "out"}/lib/girepository-1.0" 76 73 ]; 77 74 78 - preConfigure = '' 79 - ./autogen.sh 80 - ''; 81 - 82 75 # TODO: Requires /etc/machine-id 83 76 doCheck = false; 84 77 85 - # glib-2.62 deprecations 78 + # Ignore deprecation errors 86 79 NIX_CFLAGS_COMPILE = "-DGLIB_DISABLE_DEPRECATION_WARNINGS"; 80 + 81 + passthru.updateScript = gitUpdater { 82 + inherit pname version; 83 + ignoredVersions = ".ubuntu.*"; 84 + }; 87 85 88 86 meta = with lib; { 89 87 description = "Application matching framework";
+1 -1
pkgs/development/libraries/highfive/default.nix
··· 11 11 assert mpiSupport -> mpi != null; 12 12 13 13 stdenv.mkDerivation rec { 14 - pname = "highfive"; 14 + pname = "highfive${lib.optionalString mpiSupport "-mpi"}"; 15 15 version = "2.3.1"; 16 16 17 17 src = fetchFromGitHub {
+2 -2
pkgs/development/libraries/netcdf/default.nix
··· 10 10 let 11 11 inherit (hdf5) mpiSupport mpi; 12 12 in stdenv.mkDerivation rec { 13 - pname = "netcdf"; 13 + pname = "netcdf" + lib.optionalString mpiSupport "-mpi"; 14 14 version = "4.8.0"; # Remove patch mentioned below on upgrade 15 15 16 16 src = fetchurl { 17 - url = "https://www.unidata.ucar.edu/downloads/netcdf/ftp/${pname}-c-${version}.tar.gz"; 17 + url = "https://www.unidata.ucar.edu/downloads/netcdf/ftp/netcdf-c-${version}.tar.gz"; 18 18 sha256 = "1mfn8qi4k0b8pyar3wa8v0npj69c7rhgfdlppdwmq5jqk88kb5k7"; 19 19 }; 20 20
+1 -1
pkgs/development/libraries/ngt/default.nix
··· 7 7 8 8 stdenv.mkDerivation rec { 9 9 pname = "NGT"; 10 - version = "v1.12.3-alpha"; 10 + version = "1.12.3-alpha"; 11 11 12 12 src = fetchFromGitHub { 13 13 owner = "yahoojapan";
+4 -4
pkgs/development/libraries/rang/default.nix
··· 1 1 { lib, stdenv, fetchFromGitHub, cmake }: 2 2 stdenv.mkDerivation rec { 3 3 pname = "rang"; 4 - version = "v3.1.0"; 4 + version = "3.1.0"; 5 5 src = fetchFromGitHub { 6 - "owner" = "agauniyal"; 6 + owner = "agauniyal"; 7 7 repo = "rang"; 8 - "rev" = "cabe04d6d6b05356fa8f9741704924788f0dd762"; 9 - "sha256" = "0v2pz0l2smagr3j4abjccshg4agaccfz79m5ayvrvqq5d4rlds0s"; 8 + rev = "cabe04d6d6b05356fa8f9741704924788f0dd762"; 9 + sha256 = "0v2pz0l2smagr3j4abjccshg4agaccfz79m5ayvrvqq5d4rlds0s"; 10 10 }; 11 11 nativeBuildInputs = [ cmake ]; 12 12 meta = with lib; {
+1 -1
pkgs/development/libraries/sqlite/default.nix
··· 10 10 in 11 11 12 12 stdenv.mkDerivation rec { 13 - pname = "sqlite"; 13 + pname = "sqlite${optionalString interactive "-interactive"}"; 14 14 version = "3.37.2"; 15 15 16 16 # nixpkgs-update: no auto update
+4 -13
pkgs/development/python-modules/aioitertools/default.nix
··· 17 17 18 18 buildPythonPackage rec { 19 19 pname = "aioitertools"; 20 - version = "0.8.0"; 20 + version = "0.10.0"; 21 21 format = "pyproject"; 22 22 23 23 disabled = pythonOlder "3.6"; 24 24 25 25 src = fetchPypi { 26 26 inherit pname version; 27 - sha256 = "8b02facfbc9b0f1867739949a223f3d3267ed8663691cc95abd94e2c1d8c2b46"; 27 + hash = "sha256-fR0dSgPUYsWghAeH098JjxJYR+DTi4M7MPj4y8RaFCA="; 28 28 }; 29 29 30 - patches = lib.optionals (pythonAtLeast "3.10") [ 31 - (fetchpatch { 32 - # Fix TypeError: wait() got an unexpected keyword argument 'loop' 33 - # See https://github.com/omnilib/aioitertools/issues/84 34 - url = "https://raw.githubusercontent.com/archlinux/svntogit-community/packages/python-aioitertools/trunk/python310.patch"; 35 - sha256 = "sha256-F10sduGaLBcxEoP83N/lGpZIlzkM2JTnQnhHKFwc7P0="; 36 - }) 37 - ]; 38 - 39 30 nativeBuildInputs = [ 40 31 flit-core 41 32 ]; 42 33 43 - propagatedBuildInputs = lib.optionals (pythonOlder "3.8") [ 34 + propagatedBuildInputs = lib.optionals (pythonOlder "3.10") [ 44 35 typing-extensions 45 36 ]; 46 37 ··· 53 44 ''; 54 45 55 46 meta = with lib; { 56 - description = "Implementation of itertools, builtins, and more for AsyncIO and mixed-type iterables."; 47 + description = "Implementation of itertools, builtins, and more for AsyncIO and mixed-type iterables"; 57 48 license = licenses.mit; 58 49 homepage = "https://pypi.org/project/aioitertools/"; 59 50 maintainers = with maintainers; [ teh ];
+2 -2
pkgs/development/python-modules/bandit/default.nix
··· 13 13 14 14 buildPythonPackage rec { 15 15 pname = "bandit"; 16 - version = "1.7.2"; 16 + version = "1.7.3"; 17 17 disabled = !isPy3k; 18 18 19 19 src = fetchPypi { 20 20 inherit pname version; 21 - sha256 = "sha256-bRGt6gIUpDgTiHv+caN3tamVXkyCbI/9NBtJTjqyUmA="; 21 + sha256 = "sha256-WHcsqVG/ESndqKKA01FUfegycgv3tcKfrDEDknmAuKY="; 22 22 }; 23 23 24 24 propagatedBuildInputs = [
+19 -7
pkgs/development/python-modules/portpicker/default.nix
··· 1 - { buildPythonPackage 2 - , lib 1 + { lib 2 + , buildPythonPackage 3 3 , fetchPypi 4 + , psutil 5 + , pythonOlder 4 6 }: 5 7 6 8 buildPythonPackage rec { ··· 8 10 version = "1.5.0"; 9 11 format = "pyproject"; 10 12 13 + disabled = pythonOlder "3.7"; 14 + 11 15 src = fetchPypi { 12 16 inherit pname version; 13 - sha256 = "e13b148008adeb2793cf8b55bcd20fdcec4f763f2d3bf3c45f5e5e5d1df7d228"; 17 + hash = "sha256-4TsUgAit6yeTz4tVvNIP3OxPdj8tO/PEX15eXR330ig="; 14 18 }; 15 19 16 - meta = { 17 - description = "A library to choose unique available network ports."; 20 + propagatedBuildInputs = [ 21 + psutil 22 + ]; 23 + 24 + pythonImportsCheck = [ 25 + "portpicker" 26 + ]; 27 + 28 + meta = with lib; { 29 + description = "Library to choose unique available network ports"; 18 30 homepage = "https://github.com/google/python_portpicker"; 19 - license = lib.licenses.asl20; 20 - maintainers = with lib.maintainers; [ danharaj ]; 31 + license = licenses.asl20; 32 + maintainers = with maintainers; [ danharaj ]; 21 33 }; 22 34 }
+20 -6
pkgs/development/python-modules/pyface/default.nix
··· 1 - { lib, fetchPypi, buildPythonPackage 2 - , importlib-metadata, importlib-resources, six, traits 1 + { lib 2 + , fetchPypi 3 + , buildPythonPackage 4 + , importlib-metadata 5 + , importlib-resources 6 + , traits 7 + , pythonOlder 3 8 }: 4 9 5 10 buildPythonPackage rec { 6 11 pname = "pyface"; 7 - version = "7.4.0"; 12 + version = "7.4.1"; 13 + format = "setuptools"; 14 + 15 + disabled = pythonOlder "3.6"; 8 16 9 17 src = fetchPypi { 10 18 inherit pname version; 11 - sha256 = "sha256-r8Awj9dOYPWxh1Ar2JK/nhuY8hAGFO4+6yr9yq7Pb6s="; 19 + sha256 = "sha256-UtzzZ5yj5hCjynxLmQSpbGkWiASNtdflKvjlAZ5HrbY="; 12 20 }; 13 21 14 - propagatedBuildInputs = [ importlib-metadata importlib-resources six traits ]; 22 + propagatedBuildInputs = [ 23 + importlib-metadata 24 + importlib-resources 25 + traits 26 + ]; 15 27 16 28 doCheck = false; # Needs X server 17 29 18 - pythonImportsCheck = [ "pyface" ]; 30 + pythonImportsCheck = [ 31 + "pyface" 32 + ]; 19 33 20 34 meta = with lib; { 21 35 description = "Traits-capable windowing framework";
+2 -2
pkgs/development/python-modules/rstcheck/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "rstcheck"; 5 - version = "v3.3.1"; 5 + version = "3.3.1"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "myint"; 9 9 repo = pname; 10 - rev = version; 10 + rev = "v${version}"; 11 11 sha256 = "sha256-4AhENuT+LtUMCi+aaI/rKa2gHti8sKGLdVGjdRithXI="; 12 12 }; 13 13
+2 -2
pkgs/development/tools/analysis/radare2/default.nix
··· 44 44 in 45 45 stdenv.mkDerivation rec { 46 46 pname = "radare2"; 47 - version = "5.6.2"; 47 + version = "5.6.4"; 48 48 49 49 src = fetchFromGitHub { 50 50 owner = "radare"; 51 51 repo = "radare2"; 52 52 rev = version; 53 - sha256 = "sha256-R53S2+v0qCY5Q7Uf2gQ4veaOzYN2iE6F00+ERvknD2g="; 53 + sha256 = "sha256-rqGlp9fHTF1z8A+DROYfzHXi5xfLMdUWzssGN5uHQmE="; 54 54 }; 55 55 56 56 preBuild = ''
+3 -9
pkgs/development/tools/misc/qtspim/default.nix
··· 1 1 { lib, stdenv, fetchsvn, wrapQtAppsHook, qtbase, qttools, qmake, bison, flex, ... }: 2 2 stdenv.mkDerivation rec { 3 3 pname = "qtspim"; 4 - version = "9.1.22"; 4 + version = "9.1.23"; 5 5 6 6 src = fetchsvn { 7 7 url = "https://svn.code.sf.net/p/spimsimulator/code/"; 8 - rev = "r739"; 9 - sha256 = "1kazfgrbmi4xq7nrkmnqw1280rhdyc1hmr82flrsa3g1b1rlmj1s"; 8 + rev = "r749"; 9 + sha256 = "0iazl7mlcilrdbw8gb98v868a8ldw2lmkn1xs8hnfvr93l6aj0rp"; 10 10 }; 11 11 12 12 postPatch = '' 13 13 cd QtSpim 14 - 15 - # Patches from https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=qtspim 16 - sed -i 's/zero_imm/is_zero_imm/g' parser_yacc.cpp 17 - sed -i 's/^int data_dir/bool data_dir/g' parser_yacc.cpp 18 - sed -i 's/^int text_dir/bool text_dir/g' parser_yacc.cpp 19 - sed -i 's/^int parse_error_occurred/bool parse_error_occurred/g' parser_yacc.cpp 20 14 21 15 substituteInPlace QtSpim.pro --replace /usr/lib/qtspim/lib $out/lib 22 16 substituteInPlace menu.cpp \
+2 -2
pkgs/development/tools/packet/default.nix
··· 3 3 4 4 buildGoPackage rec { 5 5 pname = "packet"; 6 - version = "v2.2.2"; 6 + version = "2.2.2"; 7 7 8 8 goPackagePath = "github.com/ebsarr/packet"; 9 9 10 10 src = fetchgit { 11 - rev = version; 11 + rev = "v${version}"; 12 12 url = "https://github.com/ebsarr/packet"; 13 13 sha256 = "18n8f2rlab4icb28k1b9gnh30zy382v792x07fmcdqq4nkw6wvwf"; 14 14 };
+3 -3
pkgs/development/tools/yq-go/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "yq-go"; 5 - version = "4.20.2"; 5 + version = "4.21.1"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "mikefarah"; 9 9 repo = "yq"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-vhHT9re35aT+TUYhl4rxv4PE/sd7Vp1PoFbS8s5lWLE="; 11 + sha256 = "sha256-283xe7FVHYSsRl4cZD7WDzIW1gqNAFsNrWYJkthZheU="; 12 12 }; 13 13 14 - vendorSha256 = "sha256-samz70Dybu/Xf9+ftgIKgd2pyQcXw6Ybs/0oJN47IFE="; 14 + vendorSha256 = "sha256-F11FnDYJ59aKrdRXDPpKlhX52yQXdaN1sblSkVI2j9w="; 15 15 16 16 doCheck = false; 17 17
+3 -3
pkgs/development/web/flyctl/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "flyctl"; 5 - version = "0.0.300"; 5 + version = "0.0.301"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "superfly"; 9 9 repo = "flyctl"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-hwFnS8GLqGS28AdBgpIn2gRCKgJQSALDVLh5QdObV6g="; 11 + sha256 = "sha256-UwouKnUfEcYpwtLXxwe93mHzVvj/+72FSQ0OW55oztE="; 12 12 }; 13 13 14 14 preBuild = '' ··· 17 17 18 18 subPackages = [ "." ]; 19 19 20 - vendorSha256 = "sha256-o5c3wbETEwnQ7IH8YM0xHSCXTnWTvZ5kvqRqoA3QkGc="; 20 + vendorSha256 = "sha256-VKX/Wt7CQy3w4Zv51M/IF1RIPpn7nTCL1T6jJ+oxti4="; 21 21 22 22 doCheck = false; 23 23
+2 -2
pkgs/misc/screensavers/physlock/default.nix
··· 1 1 { lib, stdenv, fetchFromGitHub, pam, systemd }: 2 2 3 3 stdenv.mkDerivation rec { 4 - version = "v13"; 4 + version = "13"; 5 5 pname = "physlock"; 6 6 src = fetchFromGitHub { 7 7 owner = "muennich"; 8 8 repo = pname; 9 - rev = version; 9 + rev = "v${version}"; 10 10 sha256 = "1mz4xxjip5ldiw9jgfq9zvqb6w10bcjfx6939w1appqg8f521a7s"; 11 11 }; 12 12
+207
pkgs/pkgs-lib/formats.nix
··· 14 14 # The description needs to be overwritten for recursive types 15 15 type = ...; 16 16 17 + # Utility functions for convenience, or special interactions with the 18 + # format (optional) 19 + lib = { 20 + exampleFunction = ... 21 + # Types specific to the format (optional) 22 + types = { ... }; 23 + ... 24 + }; 25 + 17 26 # generate :: Name -> Value -> Path 18 27 # A function for generating a file with a value of such a type 19 28 generate = ...; ··· 147 156 ''; 148 157 149 158 }; 159 + 160 + /* For configurations of Elixir project, like config.exs or runtime.exs 161 + 162 + Most Elixir project are configured using the [Config] Elixir DSL 163 + 164 + Since Elixir has more types than Nix, we need a way to map Nix types to 165 + more than 1 Elixir type. To that end, this format provides its own library, 166 + and its own set of types. 167 + 168 + To be more detailed, a Nix attribute set could correspond in Elixir to a 169 + [Keyword list] (the more common type), or it could correspond to a [Map]. 170 + 171 + A Nix string could correspond in Elixir to a [String] (also called 172 + "binary"), an [Atom], or a list of chars (usually discouraged). 173 + 174 + A Nix array could correspond in Elixir to a [List] or a [Tuple]. 175 + 176 + Some more types exists, like records, regexes, but since they are less used, 177 + we can leave the `mkRaw` function as an escape hatch. 178 + 179 + For more information on how to use this format in modules, please refer to 180 + the Elixir section of the Nixos documentation. 181 + 182 + TODO: special Elixir values doesn't show up nicely in the documentation 183 + 184 + [Config]: <https://hexdocs.pm/elixir/Config.html> 185 + [Keyword list]: <https://hexdocs.pm/elixir/Keyword.html> 186 + [Map]: <https://hexdocs.pm/elixir/Map.html> 187 + [String]: <https://hexdocs.pm/elixir/String.html> 188 + [Atom]: <https://hexdocs.pm/elixir/Atom.html> 189 + [List]: <https://hexdocs.pm/elixir/List.html> 190 + [Tuple]: <https://hexdocs.pm/elixir/Tuple.html> 191 + */ 192 + elixirConf = { elixir ? pkgs.elixir }: 193 + with lib; let 194 + toElixir = value: with builtins; 195 + if value == null then "nil" else 196 + if value == true then "true" else 197 + if value == false then "false" else 198 + if isInt value || isFloat value then toString value else 199 + if isString value then string value else 200 + if isAttrs value then attrs value else 201 + if isList value then list value else 202 + abort "formats.elixirConf: should never happen (value = ${value})"; 203 + 204 + escapeElixir = escape [ "\\" "#" "\"" ]; 205 + string = value: "\"${escapeElixir value}\""; 206 + 207 + attrs = set: 208 + if set ? _elixirType then specialType set 209 + else 210 + let 211 + toKeyword = name: value: "${name}: ${toElixir value}"; 212 + keywordList = concatStringsSep ", " (mapAttrsToList toKeyword set); 213 + in 214 + "[" + keywordList + "]"; 215 + 216 + listContent = values: concatStringsSep ", " (map toElixir values); 217 + 218 + list = values: "[" + (listContent values) + "]"; 219 + 220 + specialType = { value, _elixirType }: 221 + if _elixirType == "raw" then value else 222 + if _elixirType == "atom" then value else 223 + if _elixirType == "map" then elixirMap value else 224 + if _elixirType == "tuple" then tuple value else 225 + abort "formats.elixirConf: should never happen (_elixirType = ${_elixirType})"; 226 + 227 + elixirMap = set: 228 + let 229 + toEntry = name: value: "${toElixir name} => ${toElixir value}"; 230 + entries = concatStringsSep ", " (mapAttrsToList toEntry set); 231 + in 232 + "%{${entries}}"; 233 + 234 + tuple = values: "{${listContent values}}"; 235 + 236 + toConf = values: 237 + let 238 + keyConfig = rootKey: key: value: 239 + "config ${rootKey}, ${key}, ${toElixir value}"; 240 + keyConfigs = rootKey: values: mapAttrsToList (keyConfig rootKey) values; 241 + rootConfigs = flatten (mapAttrsToList keyConfigs values); 242 + in 243 + '' 244 + import Config 245 + 246 + ${concatStringsSep "\n" rootConfigs} 247 + ''; 248 + in 249 + { 250 + type = with lib.types; let 251 + valueType = nullOr 252 + (oneOf [ 253 + bool 254 + int 255 + float 256 + str 257 + (attrsOf valueType) 258 + (listOf valueType) 259 + ]) // { 260 + description = "Elixir value"; 261 + }; 262 + in 263 + attrsOf (attrsOf (valueType)); 264 + 265 + lib = 266 + let 267 + mkRaw = value: { 268 + inherit value; 269 + _elixirType = "raw"; 270 + }; 271 + 272 + in 273 + { 274 + inherit mkRaw; 275 + 276 + /* Fetch an environment variable at runtime, with optional fallback 277 + */ 278 + mkGetEnv = { envVariable, fallback ? null }: 279 + mkRaw "System.get_env(${toElixir envVariable}, ${toElixir fallback})"; 280 + 281 + /* Make an Elixir atom. 282 + 283 + Note: lowercase atoms still need to be prefixed by ':' 284 + */ 285 + mkAtom = value: { 286 + inherit value; 287 + _elixirType = "atom"; 288 + }; 289 + 290 + /* Make an Elixir tuple out of a list. 291 + */ 292 + mkTuple = value: { 293 + inherit value; 294 + _elixirType = "tuple"; 295 + }; 296 + 297 + /* Make an Elixir map out of an attribute set. 298 + */ 299 + mkMap = value: { 300 + inherit value; 301 + _elixirType = "map"; 302 + }; 303 + 304 + /* Contains Elixir types. Every type it exports can also be replaced 305 + by raw Elixir code (i.e. every type is `either type rawElixir`). 306 + 307 + It also reexports standard types, wrapping them so that they can 308 + also be raw Elixir. 309 + */ 310 + types = with lib.types; let 311 + isElixirType = type: x: (x._elixirType or "") == type; 312 + 313 + rawElixir = mkOptionType { 314 + name = "rawElixir"; 315 + description = "raw elixir"; 316 + check = isElixirType "raw"; 317 + }; 318 + 319 + elixirOr = other: either other rawElixir; 320 + in 321 + { 322 + inherit rawElixir elixirOr; 323 + 324 + atom = elixirOr (mkOptionType { 325 + name = "elixirAtom"; 326 + description = "elixir atom"; 327 + check = isElixirType "atom"; 328 + }); 329 + 330 + tuple = elixirOr (mkOptionType { 331 + name = "elixirTuple"; 332 + description = "elixir tuple"; 333 + check = isElixirType "tuple"; 334 + }); 335 + 336 + map = elixirOr (mkOptionType { 337 + name = "elixirMap"; 338 + description = "elixir map"; 339 + check = isElixirType "map"; 340 + }); 341 + # Wrap standard types, since anything in the Elixir configuration 342 + # can be raw Elixir 343 + } // lib.mapAttrs (_name: type: elixirOr type) lib.types; 344 + }; 345 + 346 + generate = name: value: pkgs.runCommandNoCC name 347 + { 348 + value = toConf value; 349 + passAsFile = [ "value" ]; 350 + nativeBuildInputs = [ elixir ]; 351 + } '' 352 + cp "$valuePath" "$out" 353 + mix format "$out" 354 + ''; 355 + }; 356 + 150 357 }
+5 -1
pkgs/servers/bird/default.nix
··· 13 13 buildInputs = [ readline libssh ]; 14 14 15 15 patches = [ 16 - (./. + "/dont-create-sysconfdir-${builtins.substring 0 1 version}.patch") 16 + ./dont-create-sysconfdir-2.patch 17 + (fetchurl { 18 + url = "https://gitlab.nic.cz/labs/bird/-/commit/fcb4dd0c831339c4374ace17d8f2ae6ebfeed279.patch"; 19 + sha256 = "sha256-PEgpRnOGLa1orHJDEHlblnVhBVv7XOKPR70M1wUMxMQ="; 20 + }) 17 21 ]; 18 22 19 23 CPP="${stdenv.cc.targetPrefix}cpp -E";
-6
pkgs/servers/bird/dont-create-sysconfdir-1.patch
··· 1 - --- a/tools/Makefile.in 2 - +++ b/tools/Makefile.in 3 - @@ -68,2 +68,2 @@ 4 - install: all 5 - - $(INSTALL) -d $(DESTDIR)/$(sbindir) $(DESTDIR)/$(sysconfdir) $(DESTDIR)/$(runstatedir) 6 - + $(INSTALL) -d $(DESTDIR)/$(sbindir) $(DESTDIR)/$(sysconfdir)
+4 -5
pkgs/tools/admin/pebble/default.nix
··· 4 4 , nixosTests 5 5 }: 6 6 7 - let 8 - version = "v2.3.0"; 7 + buildGoPackage rec { 9 8 pname = "pebble"; 10 - in buildGoPackage { 11 - inherit pname version; 9 + version = "2.3.0"; 10 + 12 11 goPackagePath = "github.com/letsencrypt/${pname}"; 13 12 14 13 src = fetchFromGitHub { 15 14 owner = "letsencrypt"; 16 15 repo = pname; 17 - rev = version; 16 + rev = "v${version}"; 18 17 sha256 = "1piwzzfqsdx6s2niczzp4mf4r3qn9nfdgpn7882g52cmmm0vzks2"; 19 18 }; 20 19
+1 -1
pkgs/tools/graphics/snapdragon-profiler/default.nix
··· 27 27 28 28 stdenv.mkDerivation rec { 29 29 pname = "snapdragon-profiler"; 30 - version = "v2021.2"; 30 + version = "2021.2"; 31 31 32 32 src = archive; 33 33
+3 -4
pkgs/tools/graphics/structure-synth/default.nix
··· 1 1 { lib, stdenv, fetchurl, qt4, qmake4Hook, unzip, libGLU, makeWrapper }: 2 2 3 - stdenv.mkDerivation { 4 - 3 + stdenv.mkDerivation rec { 5 4 pname = "structure-synth"; 6 - version = "v1.5"; 5 + version = "1.5.0"; 7 6 8 7 src = fetchurl { 9 - url = "mirror://sourceforge/structuresynth/StructureSynth-Source-v1.5.0.zip"; 8 + url = "mirror://sourceforge/structuresynth/StructureSynth-Source-v${version}.zip"; 10 9 sha256 = "1kiammx46719az6jzrav8yrwz82nk4m72ybj0kpbnvp9wfl3swbb"; 11 10 }; 12 11
+2 -2
pkgs/tools/networking/davix/default.nix
··· 30 30 in 31 31 stdenv.mkDerivation rec { 32 32 version = "0.8.0"; 33 - pname = "davix"; 33 + pname = "davix" + lib.optionalString enableThirdPartyCopy "-copy"; 34 34 nativeBuildInputs = [ cmake pkg-config python3 ]; 35 35 buildInputs = [ 36 36 openssl ··· 44 44 # "please ignore the GitHub-generated tarballs, as they are incomplete" 45 45 # https://github.com/cern-fts/davix/releases/tag/R_0_8_0 46 46 src = fetchurl { 47 - url = "https://github.com/cern-fts/${pname}/releases/download/R_${lib.replaceStrings ["."] ["_"] version}/${pname}-${version}.tar.gz"; 47 + url = "https://github.com/cern-fts/davix/releases/download/R_${lib.replaceStrings ["."] ["_"] version}/davix-${version}.tar.gz"; 48 48 sha256 = "LxCNoECKg/tbnwxoFQ02C6cz5LOg/imNRbDTLSircSQ="; 49 49 }; 50 50
+9 -11
pkgs/tools/system/pcstat/default.nix
··· 1 - { lib, buildGoPackage, fetchFromGitHub }: 2 - 3 - buildGoPackage { 4 - pname = "pcstat-unstable"; 5 - version = "2017-05-28"; 1 + { lib, buildGoModule, fetchFromGitHub }: 6 2 7 - goPackagePath = "github.com/tobert/pcstat"; 3 + buildGoModule rec { 4 + pname = "pcstat"; 5 + version = "0.0.1"; 8 6 9 7 src = fetchFromGitHub { 10 - rev = "91a7346e5b462a61e876c0574cb1ba331a6a5ac5"; 11 - owner = "tobert"; 12 - repo = "pcstat"; 13 - sha256 = "88853e42d16c05e580af4fb8aa815a84ea0fc43e3a25e19c85e649a5f5a2874c"; 8 + owner = "tobert"; 9 + repo = "pcstat"; 10 + rev = "v${version}"; 11 + sha256 = "sha256-rN6oqhvrzMBhwNLm8+r4rZWZYZUhOq2h764KVhSycNo="; 14 12 }; 15 13 16 - goDeps = ./deps.nix; 14 + vendorSha256 = "sha256-1y6rzarkFNX8G4E9FzCLfWxULbdNYK3DeelNCJ+7Y9Q="; 17 15 18 16 meta = with lib; { 19 17 description = "Page Cache stat: get page cache stats for files on Linux";
-11
pkgs/tools/system/pcstat/deps.nix
··· 1 - [ 2 - { 3 - goPackagePath = "golang.org/x/sys"; 4 - fetch = { 5 - type = "git"; 6 - url = "https://go.googlesource.com/sys"; 7 - rev = "d38bf781f16e180a1b2ad82697d2f81d7b7ecfac"; 8 - sha256 = "0eedd518ab68c6dfd431a41709d9888bbc13ed31ff64d69dcbd947442b3aaa04"; 9 - }; 10 - } 11 - ]
+2 -2
pkgs/tools/text/diffr/default.nix
··· 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "diffr"; 5 - version = "v0.1.4"; 5 + version = "0.1.4"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "mookid"; 9 9 repo = pname; 10 - rev = version; 10 + rev = "v${version}"; 11 11 sha256 = "18ks5g4bx6iz9hdjxmi6a41ncxpb1hnsscdlddp2gr40k3vgd0pa"; 12 12 }; 13 13
+1 -1
pkgs/tools/text/gawk/default.nix
··· 16 16 assert (doCheck && stdenv.isLinux) -> glibcLocales != null; 17 17 18 18 stdenv.mkDerivation rec { 19 - pname = "gawk"; 19 + pname = "gawk" + lib.optionalString interactive "-interactive"; 20 20 version = "5.1.1"; 21 21 22 22 src = fetchurl {
+1 -1
pkgs/tools/typesetting/tex/dblatex/default.nix
··· 14 14 # enable any extra features. 15 15 16 16 stdenv.mkDerivation rec { 17 - pname = "dblatex"; 17 + pname = "dblatex${lib.optionalString enableAllFeatures "-full"}"; 18 18 version = "0.3.12"; 19 19 20 20 src = fetchurl {
+21 -30
pkgs/top-level/all-packages.nix
··· 4074 4074 4075 4075 davix = callPackage ../tools/networking/davix { }; 4076 4076 4077 - davix-copy = appendToName "copy" (davix.override { enableThirdPartyCopy = true; }); 4077 + davix-copy = davix.override { enableThirdPartyCopy = true; }; 4078 4078 4079 4079 cantata = libsForQt5.callPackage ../applications/audio/cantata { }; 4080 4080 ··· 5686 5686 }; 5687 5687 gawkextlib = callPackage ../tools/text/gawk/gawkextlib.nix {}; 5688 5688 5689 - gawkInteractive = appendToName "interactive" 5690 - (gawk.override { interactive = true; }); 5689 + gawkInteractive = gawk.override { interactive = true; }; 5691 5690 5692 5691 gawp = callPackage ../tools/misc/gawp { }; 5693 5692 ··· 8090 8089 hdf5 = hdf5.override { usev110Api = true; }; 8091 8090 }; 8092 8091 8093 - netcdf-mpi = appendToName "mpi" (netcdf.override { 8092 + netcdf-mpi = netcdf.override { 8094 8093 hdf5 = hdf5-mpi.override { usev110Api = true; }; 8095 - }); 8094 + }; 8096 8095 8097 8096 netcdfcxx4 = callPackage ../development/libraries/netcdf-cxx4 { }; 8098 8097 ··· 15771 15770 texinfo6_7 = callPackage ../development/tools/misc/texinfo/6.7.nix { }; # needed for gpm, iksemel and fwknop 15772 15771 texinfo6 = callPackage ../development/tools/misc/texinfo/6.8.nix { }; 15773 15772 texinfo = texinfo6; 15774 - texinfoInteractive = appendToName "interactive" ( 15775 - texinfo.override { interactive = true; } 15776 - ); 15773 + texinfoInteractive = texinfo.override { interactive = true; }; 15777 15774 15778 15775 texi2html = callPackage ../development/tools/misc/texi2html { }; 15779 15776 ··· 17291 17288 17292 17289 highfive = callPackage ../development/libraries/highfive { }; 17293 17290 17294 - highfive-mpi = appendToName "mpi" (highfive.override { 17295 - hdf5 = hdf5-mpi; 17296 - }); 17291 + highfive-mpi = highfive.override { hdf5 = hdf5-mpi; }; 17297 17292 17298 17293 hiredis = callPackage ../development/libraries/hiredis { }; 17299 17294 ··· 20175 20170 20176 20171 sqlitecpp = callPackage ../development/libraries/sqlitecpp { }; 20177 20172 20178 - sqlite-interactive = appendToName "interactive" (sqlite.override { interactive = true; }).bin; 20173 + sqlite-interactive = (sqlite.override { interactive = true; }).bin; 20179 20174 20180 20175 sqlite-jdbc = callPackage ../servers/sql/sqlite/jdbc { }; 20181 20176 ··· 22420 22415 22421 22416 gmailctl = callPackage ../applications/networking/gmailctl { }; 22422 22417 22418 + gometer = callPackage ../applications/misc/gometer { }; 22419 + 22423 22420 gomp = callPackage ../applications/version-management/gomp { }; 22424 22421 22425 22422 gomplate = callPackage ../development/tools/gomplate {}; ··· 23601 23598 emojione = callPackage ../data/fonts/emojione { 23602 23599 inherit (nodePackages) svgo; 23603 23600 }; 23601 + 23602 + emojipick = callPackage ../applications/misc/emojipick { }; 23604 23603 23605 23604 encode-sans = callPackage ../data/fonts/encode-sans { }; 23606 23605 ··· 27319 27318 inherit (darwin.apple_sdk.frameworks) ApplicationServices; 27320 27319 }; 27321 27320 27322 - mercurialFull = appendToName "full" (mercurial.override { fullBuild = true; }); 27321 + mercurialFull = mercurial.override { fullBuild = true; }; 27323 27322 27324 27323 merkaartor = libsForQt5.callPackage ../applications/misc/merkaartor { }; 27325 27324 ··· 27710 27709 27711 27710 pijuice = with python3Packages; toPythonApplication pijuice; 27712 27711 27712 + pinegrow = callPackage ../applications/editors/pinegrow { }; 27713 + 27713 27714 ping = callPackage ../applications/networking/ping { }; 27714 27715 27715 27716 piper = callPackage ../os-specific/linux/piper { }; ··· 31821 31822 octopus = callPackage ../applications/science/chemistry/octopus { }; 31822 31823 31823 31824 openlp = libsForQt5.callPackage ../applications/misc/openlp { }; 31824 - openlpFull = appendToName "full" (openlp.override { 31825 + openlpFull = openlp.override { 31825 31826 pdfSupport = true; 31826 31827 presentationSupport = true; 31827 31828 vlcSupport = true; 31828 31829 gstreamerSupport = true; 31829 - }); 31830 + }; 31830 31831 31831 31832 dkh = callPackage ../applications/science/chemistry/dkh { }; 31832 31833 ··· 31978 31979 31979 31980 n3 = callPackage ../applications/science/biology/N3 { }; 31980 31981 31981 - neuron = callPackage ../applications/science/biology/neuron { 31982 - python = null; 31983 - }; 31982 + neuron = callPackage ../applications/science/biology/neuron { python = null; }; 31984 31983 31985 - neuron-mpi = appendToName "mpi" (neuron.override { 31986 - useMpi = true; 31987 - }); 31984 + neuron-mpi = neuron.override {useMpi = true; }; 31988 31985 31989 31986 neuron-full = neuron-mpi.override { python = python2; }; 31990 31987 ··· 32034 32031 32035 32032 raxml = callPackage ../applications/science/biology/raxml { }; 32036 32033 32037 - raxml-mpi = appendToName "mpi" (raxml.override { 32038 - useMpi = true; 32039 - }); 32034 + raxml-mpi = raxml.override { useMpi = true; }; 32040 32035 32041 32036 sambamba = callPackage ../applications/science/biology/sambamba { }; 32042 32037 ··· 33015 33010 33016 33011 dbacl = callPackage ../tools/misc/dbacl { }; 33017 33012 33018 - dblatex = callPackage ../tools/typesetting/tex/dblatex { 33019 - enableAllFeatures = false; 33020 - }; 33013 + dblatex = callPackage ../tools/typesetting/tex/dblatex { }; 33021 33014 33022 - dblatexFull = appendToName "full" (dblatex.override { 33023 - enableAllFeatures = true; 33024 - }); 33015 + dblatexFull = dblatex.override { enableAllFeatures = true; }; 33025 33016 33026 33017 dbus-map = callPackage ../tools/misc/dbus-map { }; 33027 33018