From 05ed13f835e0b0f2c3117179791b08dd759b7ec7 Mon Sep 17 00:00:00 2001 From: matthewcroughan Date: Tue, 8 Jun 2021 03:23:33 +0100 Subject: [PATCH 01/43] survex: init at 1.2.44 Co-authored-by: Fabian Affolter Co-authored-by: Christoph Neidahl --- pkgs/applications/misc/survex/default.nix | 60 +++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + 2 files changed, 62 insertions(+) create mode 100644 pkgs/applications/misc/survex/default.nix diff --git a/pkgs/applications/misc/survex/default.nix b/pkgs/applications/misc/survex/default.nix new file mode 100644 index 000000000000..e905e44e098f --- /dev/null +++ b/pkgs/applications/misc/survex/default.nix @@ -0,0 +1,60 @@ +{ lib +, stdenv +, fetchgit +, autoreconfHook +, pkg-config +, wxGTK30-gtk3 +, ffmpeg +, proj +, perl532 +, unscii +, python +, libGL +, libGLU +, xlibsWrapper +, docbook2x +, docbook5 +}: + +stdenv.mkDerivation rec { + pname = "survex"; + version = "1.2.44"; + + nativeBuildInputs = [ docbook5 x11 libGL libGLU docbook2x autoreconfHook pkg-config wxGTK30-gtk3 ffmpeg proj python (perl532.withPackages (perlPackages: with perlPackages; [ LocalePO ] )) ]; + + src = fetchgit { + url = "git://git.survex.com/survex"; + rev = version; + sha256 = "11gaqmabrf3av665jy3mr0m8hg76fmvnd0g3rghzmyh8d8v6xk34"; + }; + + # Docs rely on sgmltools-lite, a package that would be quite complex to + # provide as it is quite old. So this preConfigure hook effectively disables + # the doc generation. An example of packaging sgmltools-lite from Gentoo can + # be found here: + # https://gitweb.gentoo.org/repo/gentoo.git/tree/app-text/sgmltools-lite/sgmltools-lite-3.0.3-r15.ebuild?id=0b8b716331049599ea3299981e3a9ea6e258c5e0 + + preConfigure = '' + echo "" > doc/Makefile.am + ''; + + postConfigure = '' + # substituteInPlace doc/Makefile --replace "docbook2man" "docbook2man --sgml" # Will be needed once sgmltools-lite is packaged. + substituteInPlace lib/make-pixel-font --replace /usr/share/unifont/unifont.hex ${unscii.extra}/share/fonts/misc/unifont.hex + patchShebangs . + ''; + + meta = with lib; { + description = "Free Software/Open Source software package for mapping caves"; + longDescription = '' + Survex is a Free Software/Open Source software package for mapping caves, + licensed under the GPL. It is designed to be portable and can be run on a + variety of platforms, including Linux/Unix, macOS, and Microsoft Windows. + ''; + homepage = "https://survex.com/"; + changelog = "https://github.com/ojwb/survex/blob/${version}/NEWS"; + license = licenses.gpl2Plus; + maintainers = [ maintainers.matthewcroughan ]; + platforms = platforms.all; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 4988effa1769..86eab6704c48 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -26738,6 +26738,8 @@ in git = gitMinimal; }; + survex = callPackage ../applications/misc/survex { }; + sunvox = callPackage ../applications/audio/sunvox { }; svkbd = callPackage ../applications/accessibility/svkbd { }; From 9b794eb21af842bda137bf9f1ecc95c2d2affc8c Mon Sep 17 00:00:00 2001 From: sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> Date: Fri, 11 Jun 2021 19:27:02 +0200 Subject: [PATCH 02/43] pass: 1.7.3 -> 1.7.4 Mostly bug fixes, the following changes were required in the package: * set-correct-program-name-for-sleep.patch needed to be rebased, b08781e2a6e183986eb1c24f51cdeff879b7a6af partially implemented the changes done in this patch, so we don't need to touch password-store.sh anymore. * Remove wayland patch since it is part of the release now * Reworked assert logic wrt to x11-/wayland- and dmenuSupport: passmenu now supports wayland as well via dmenu-wayland. Sadly the choice of menu is not changeable, pending https://lists.zx2c4.com/pipermail/password-store/2021-January/004363.html * Rebased no-darwin-getopt.patch * Note that f.el is no longer required Reviews would be appreciated, I might've missed something. --- .../security/pass/clip-wayland-support.patch | 113 ------------------ pkgs/tools/security/pass/default.nix | 33 ++--- .../security/pass/no-darwin-getopt.patch | 14 ++- .../set-correct-program-name-for-sleep.patch | 19 --- 4 files changed, 25 insertions(+), 154 deletions(-) delete mode 100644 pkgs/tools/security/pass/clip-wayland-support.patch diff --git a/pkgs/tools/security/pass/clip-wayland-support.patch b/pkgs/tools/security/pass/clip-wayland-support.patch deleted file mode 100644 index 7b8d2eb010d2..000000000000 --- a/pkgs/tools/security/pass/clip-wayland-support.patch +++ /dev/null @@ -1,113 +0,0 @@ -From b0b784b1a57c0b06936e6f5d6560712b4b810cd3 Mon Sep 17 00:00:00 2001 -From: Brett Cornwall -Date: Wed, 27 Feb 2019 00:08:33 -0700 -Subject: clip: Add support for wl-clipboard - -Edited to properly apply with -`set-correct-program-name-for-sleep.patch`. - ---- - README | 4 +++- - man/pass.1 | 5 +++++ - src/password-store.sh | 26 +++++++++++++++++++++----- - 3 files changed, 29 insertions(+), 6 deletions(-) - -diff --git a/README b/README -index 6b59965..1a46242 100644 ---- a/README -+++ b/README -@@ -19,8 +19,10 @@ Depends on: - http://www.gnupg.org/ - - git - http://www.git-scm.com/ --- xclip -+- xclip (for X11 environments) - http://sourceforge.net/projects/xclip/ -+- wl-clipboard (for wlroots Wayland-based environments) -+ https://github.com/bugaevc/wl-clipboard - - tree >= 1.7.0 - http://mama.indstate.edu/users/ice/tree/ - - GNU getopt -diff --git a/man/pass.1 b/man/pass.1 -index 01a3fbe..a555dcb 100644 ---- a/man/pass.1 -+++ b/man/pass.1 -@@ -99,6 +99,8 @@ Decrypt and print a password named \fIpass-name\fP. If \fI--clip\fP or \fI-c\fP - is specified, do not print the password but instead copy the first (or otherwise specified) - line to the clipboard using - .BR xclip (1) -+or -+.BR wl-clipboard(1) - and then restore the clipboard after 45 (or \fIPASSWORD_STORE_CLIP_TIME\fP) seconds. If \fI--qrcode\fP - or \fI-q\fP is specified, do not print the password but instead display a QR code using - .BR qrencode (1) -@@ -132,6 +134,8 @@ in generating passwords can be changed with the \fIPASSWORD_STORE_CHARACTER_SET\ - If \fI--clip\fP or \fI-c\fP is specified, do not print the password but instead copy - it to the clipboard using - .BR xclip (1) -+or -+.BR wl-clipboard(1) - and then restore the clipboard after 45 (or \fIPASSWORD_STORE_CLIP_TIME\fP) seconds. If \fI--qrcode\fP - or \fI-q\fP is specified, do not print the password but instead display a QR code using - .BR qrencode (1) -@@ -466,6 +470,7 @@ The location of the text editor used by \fBedit\fP. - .BR tr (1), - .BR git (1), - .BR xclip (1), -+.BR wl-clipboard (1), - .BR qrencode (1). - - .SH AUTHOR -diff --git a/src/password-store.sh b/src/password-store.sh -index d89d455..284eabf 100755 ---- a/src/password-store.sh -+++ b/src/password-store.sh -@@ -152,16 +152,32 @@ check_sneaky_paths() { - # - - clip() { -+ if [[ -n $WAYLAND_DISPLAY ]]; then -+ local copy_cmd=( wl-copy ) -+ local paste_cmd=( wl-paste -n ) -+ if [[ $X_SELECTION == primary ]]; then -+ copy_cmd+=( --primary ) -+ paste_cmd+=( --primary ) -+ fi -+ local display_name="$WAYLAND_DISPLAY" -+ elif [[ -n $DISPLAY ]]; then -+ local copy_cmd=( xclip -selection "$X_SELECTION" ) -+ local paste_cmd=( xclip -o -selection "$X_SELECTION" ) -+ local display_name="$DISPLAY" -+ else -+ die "Error: No X11 or Wayland display detected" -+ fi -+ local sleep_argv0="password store sleep on display $display_name" -+ - # This base64 business is because bash cannot store binary data in a shell - # variable. Specifically, it cannot store nulls nor (non-trivally) store - # trailing new lines. -- local sleep_argv0="password store sleep on display $DISPLAY" - pkill -P $(pgrep -f "^$sleep_argv0") 2>/dev/null && sleep 0.5 -- local before="$(xclip -o -selection "$X_SELECTION" 2>/dev/null | $BASE64)" -- echo -n "$1" | xclip -selection "$X_SELECTION" || die "Error: Could not copy data to the clipboard" -+ local before="$("${paste_cmd[@]}" 2>/dev/null | $BASE64)" -+ echo -n "$1" | "${copy_cmd[@]}" || die "Error: Could not copy data to the clipboard" - ( - ( exec -a "$sleep_argv0" bash <(echo trap 'kill %1' TERM\; sleep "$CLIP_TIME & wait") ) -- local now="$(xclip -o -selection "$X_SELECTION" | $BASE64)" -+ local now="$("${paste_cmd[@]}" | $BASE64)" - [[ $now != $(echo -n "$1" | $BASE64) ]] && before="$now" - - # It might be nice to programatically check to see if klipper exists, -@@ -173,7 +189,7 @@ clip() { - # so we axe it here: - qdbus org.kde.klipper /klipper org.kde.klipper.klipper.clearClipboardHistory &>/dev/null - -- echo "$before" | $BASE64 -d | xclip -selection "$X_SELECTION" -+ echo "$before" | $BASE64 -d | "${copy_cmd[@]}" - ) >/dev/null 2>&1 & disown - echo "Copied $2 to clipboard. Will clear in $CLIP_TIME seconds." - } --- -cgit v1.2.1-28-gf32c - diff --git a/pkgs/tools/security/pass/default.nix b/pkgs/tools/security/pass/default.nix index a7872c50fb3b..7468b5dcc8d3 100644 --- a/pkgs/tools/security/pass/default.nix +++ b/pkgs/tools/security/pass/default.nix @@ -3,8 +3,9 @@ , which, procps , qrencode , makeWrapper, pass, symlinkJoin , xclip ? null, xdotool ? null, dmenu ? null -, x11Support ? !stdenv.isDarwin , dmenuSupport ? x11Support +, x11Support ? !stdenv.isDarwin , dmenuSupport ? (x11Support || waylandSupport) , waylandSupport ? false, wl-clipboard ? null +, ydotool ? null, dmenu-wayland ? null # For backwards-compatibility , tombPluginSupport ? false @@ -13,13 +14,15 @@ with lib; assert x11Support -> xclip != null; - -assert dmenuSupport -> dmenu != null - && xdotool != null - && x11Support; - assert waylandSupport -> wl-clipboard != null; +assert dmenuSupport -> x11Support || waylandSupport; +assert dmenuSupport && x11Support + -> dmenu != null && xdotool != null; +assert dmenuSupport && waylandSupport + -> dmenu-wayland != null && ydotool != null; + + let passExtensions = import ./extensions { inherit pkgs; }; @@ -52,21 +55,18 @@ let in stdenv.mkDerivation rec { - version = "1.7.3"; + version = "1.7.4"; pname = "password-store"; src = fetchurl { url = "https://git.zx2c4.com/password-store/snapshot/${pname}-${version}.tar.xz"; - sha256 = "1x53k5dn3cdmvy8m4fqdld4hji5n676ksl0ql4armkmsds26av1b"; + sha256 = "1h4k6w7g8pr169p5w9n6mkdhxl3pw51zphx7www6pvgjb7vgmafg"; }; patches = [ ./set-correct-program-name-for-sleep.patch ./extension-dir.patch - ] ++ lib.optional stdenv.isDarwin ./no-darwin-getopt.patch - # TODO (@Ma27) this patch adds support for wl-clipboard and can be removed during the next - # version bump. - ++ lib.optional waylandSupport ./clip-wayland-support.patch; + ] ++ lib.optional stdenv.isDarwin ./no-darwin-getopt.patch; nativeBuildInputs = [ makeWrapper ]; @@ -74,8 +74,7 @@ stdenv.mkDerivation rec { postInstall = '' # Install Emacs Mode. NOTE: We can't install the necessary - # dependencies (s.el and f.el) here. The user has to do this - # himself. + # dependencies (s.el) here. The user has to do this themselves. mkdir -p "$out/share/emacs/site-lisp" cp "contrib/emacs/password-store.el" "$out/share/emacs/site-lisp/" '' + optionalString dmenuSupport '' @@ -96,8 +95,10 @@ stdenv.mkDerivation rec { procps ] ++ optional stdenv.isDarwin openssl ++ optional x11Support xclip - ++ optionals dmenuSupport [ xdotool dmenu ] - ++ optional waylandSupport wl-clipboard); + ++ optional waylandSupport wl-clipboard + ++ optionals (waylandSupport && dmenuSupport) [ ydotool dmenu-wayland ] + ++ optionals (x11Support && dmenuSupport) [ xdotool dmenu ] + ); postFixup = '' # Fix program name in --help diff --git a/pkgs/tools/security/pass/no-darwin-getopt.patch b/pkgs/tools/security/pass/no-darwin-getopt.patch index e8f7e138ff02..7e8b66dd7f1a 100644 --- a/pkgs/tools/security/pass/no-darwin-getopt.patch +++ b/pkgs/tools/security/pass/no-darwin-getopt.patch @@ -1,9 +1,11 @@ -diff -Naur password-store-1.6.5-orig/src/platform/darwin.sh password-store-1.6.5/src/platform/darwin.sh ---- password-store-1.6.5-orig/src/platform/darwin.sh 2015-01-28 16:43:02.000000000 +0000 -+++ password-store-1.6.5/src/platform/darwin.sh 2015-02-15 16:09:02.000000000 +0000 -@@ -31,5 +31,4 @@ - mount -t hfs -o noatime -o nobrowse "$DARWIN_RAMDISK_DEV" "$SECURE_TMPDIR" || die "Error: could not mount filesystem on ramdisk." +diff --git a/src/platform/darwin.sh b/src/platform/darwin.sh +index f6cc471..e2e8bba 100644 +--- a/src/platform/darwin.sh ++++ b/src/platform/darwin.sh +@@ -39,6 +39,5 @@ qrcode() { + fi } --GETOPT="$(brew --prefix gnu-getopt 2>/dev/null || { which port &>/dev/null && echo /opt/local; } || echo /usr/local)/bin/getopt" +-GETOPT="$({ test -x /usr/local/opt/gnu-getopt/bin/getopt && echo /usr/local/opt/gnu-getopt; } || brew --prefix gnu-getopt 2>/dev/null || { which port &>/dev/null && echo /opt/local; } || echo /usr/local)/bin/getopt" SHRED="srm -f -z" + BASE64="openssl base64" diff --git a/pkgs/tools/security/pass/set-correct-program-name-for-sleep.patch b/pkgs/tools/security/pass/set-correct-program-name-for-sleep.patch index f3a844ad2d6d..a71a279c1ef7 100644 --- a/pkgs/tools/security/pass/set-correct-program-name-for-sleep.patch +++ b/pkgs/tools/security/pass/set-correct-program-name-for-sleep.patch @@ -5,29 +5,10 @@ Subject: [PATCH] Patch the clip() function to work even when using single-binary coreutils --- - src/password-store.sh | 4 ++-- src/platform/cygwin.sh | 4 ++-- src/platform/darwin.sh | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) -diff --git a/src/password-store.sh b/src/password-store.sh -index 7264ffc..68551a4 100755 ---- a/src/password-store.sh -+++ b/src/password-store.sh -@@ -155,11 +155,11 @@ clip() { - # variable. Specifically, it cannot store nulls nor (non-trivally) store - # trailing new lines. - local sleep_argv0="password store sleep on display $DISPLAY" -- pkill -f "^$sleep_argv0" 2>/dev/null && sleep 0.5 -+ pkill -P $(pgrep -f "^$sleep_argv0") 2>/dev/null && sleep 0.5 - local before="$(xclip -o -selection "$X_SELECTION" 2>/dev/null | $BASE64)" - echo -n "$1" | xclip -selection "$X_SELECTION" || die "Error: Could not copy data to the clipboard" - ( -- ( exec -a "$sleep_argv0" bash <<<"trap 'kill %1' TERM; sleep '$CLIP_TIME' & wait" ) -+ ( exec -a "$sleep_argv0" bash <(echo trap 'kill %1' TERM\; sleep "$CLIP_TIME & wait") ) - local now="$(xclip -o -selection "$X_SELECTION" | $BASE64)" - [[ $now != $(echo -n "$1" | $BASE64) ]] && before="$now" - diff --git a/src/platform/cygwin.sh b/src/platform/cygwin.sh index 5a8d5ea..423e0ce 100644 --- a/src/platform/cygwin.sh From fb41ef3aaf69dd35677463bff729b6961e0a904c Mon Sep 17 00:00:00 2001 From: OPNA2608 Date: Mon, 14 Jun 2021 02:22:25 +0100 Subject: [PATCH 03/43] survex: support Darwin build --- pkgs/applications/misc/survex/default.nix | 35 +++++++++++++++++------ pkgs/top-level/all-packages.nix | 4 ++- 2 files changed, 30 insertions(+), 9 deletions(-) diff --git a/pkgs/applications/misc/survex/default.nix b/pkgs/applications/misc/survex/default.nix index e905e44e098f..f6865f877d7d 100644 --- a/pkgs/applications/misc/survex/default.nix +++ b/pkgs/applications/misc/survex/default.nix @@ -4,6 +4,7 @@ , autoreconfHook , pkg-config , wxGTK30-gtk3 +, wxmac , ffmpeg , proj , perl532 @@ -14,13 +15,26 @@ , xlibsWrapper , docbook2x , docbook5 +, Carbon +, Cocoa }: +let + perlenv = perl532.withPackages (perlPackages: with perlPackages; [ LocalePO ] ); +in stdenv.mkDerivation rec { pname = "survex"; version = "1.2.44"; - nativeBuildInputs = [ docbook5 x11 libGL libGLU docbook2x autoreconfHook pkg-config wxGTK30-gtk3 ffmpeg proj python (perl532.withPackages (perlPackages: with perlPackages; [ LocalePO ] )) ]; + nativeBuildInputs = [ docbook5 docbook2x autoreconfHook pkg-config perlenv python ]; + + buildInputs = [ + libGL libGLU ffmpeg proj + ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ + wxmac Carbon Cocoa + ] ++ lib.optionals stdenv.hostPlatform.isLinux [ + wxGTK30-gtk3 xlibsWrapper + ]; src = fetchgit { url = "git://git.survex.com/survex"; @@ -28,20 +42,25 @@ stdenv.mkDerivation rec { sha256 = "11gaqmabrf3av665jy3mr0m8hg76fmvnd0g3rghzmyh8d8v6xk34"; }; + enableParallelBuilding = true; + # Docs rely on sgmltools-lite, a package that would be quite complex to # provide as it is quite old. So this preConfigure hook effectively disables # the doc generation. An example of packaging sgmltools-lite from Gentoo can # be found here: # https://gitweb.gentoo.org/repo/gentoo.git/tree/app-text/sgmltools-lite/sgmltools-lite-3.0.3-r15.ebuild?id=0b8b716331049599ea3299981e3a9ea6e258c5e0 - preConfigure = '' - echo "" > doc/Makefile.am - ''; - - postConfigure = '' - # substituteInPlace doc/Makefile --replace "docbook2man" "docbook2man --sgml" # Will be needed once sgmltools-lite is packaged. - substituteInPlace lib/make-pixel-font --replace /usr/share/unifont/unifont.hex ${unscii.extra}/share/fonts/misc/unifont.hex + postPatch = '' patchShebangs . + echo "" > doc/Makefile.am + # substituteInPlace doc/Makefile --replace "docbook2man" "docbook2man --sgml" # Will be needed once sgmltools-lite is packaged. + for perltool in './extract-msgs.pl' './gettexttomsg.pl' '$(srcdir)/gdtconvert' '$(srcdir)/gen_img2aven'; do + substituteInPlace src/Makefile.am \ + --replace "$perltool" "${perlenv}/bin/perl $perltool" + done + substituteInPlace lib/Makefile.am \ + --replace '$(srcdir)/make-pixel-font' '${perlenv}/bin/perl $(srcdir)/make-pixel-font' + substituteInPlace lib/make-pixel-font --replace /usr/share/unifont/unifont.hex ${unscii.extra}/share/fonts/misc/unifont.hex ''; meta = with lib; { diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 86eab6704c48..088e1decffe6 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -26738,7 +26738,9 @@ in git = gitMinimal; }; - survex = callPackage ../applications/misc/survex { }; + survex = callPackage ../applications/misc/survex { + inherit (darwin.apple_sdk.frameworks) Carbon Cocoa; + }; sunvox = callPackage ../applications/audio/sunvox { }; From 27ad6c8f2d15a8e6811e84c026a26c74a0fb16e7 Mon Sep 17 00:00:00 2001 From: OPNA2608 Date: Mon, 14 Jun 2021 02:23:25 +0100 Subject: [PATCH 04/43] unscii: fix Darwin build --- pkgs/data/fonts/unscii/default.nix | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/pkgs/data/fonts/unscii/default.nix b/pkgs/data/fonts/unscii/default.nix index 066a4d4d9221..6fdeadf3776f 100644 --- a/pkgs/data/fonts/unscii/default.nix +++ b/pkgs/data/fonts/unscii/default.nix @@ -2,6 +2,11 @@ , fontforge, SDL, SDL_image, mkfontscale }: +let + perlenv = perl.withPackages (p: with p; [ + TextCharWidth + ]); +in stdenv.mkDerivation rec { pname = "unscii"; version = "1.1"; @@ -12,11 +17,23 @@ stdenv.mkDerivation rec { }; nativeBuildInputs = - [ (perl.withPackages (p: [ p.TextCharWidth ])) + [ perlenv bdftopcf fontforge SDL SDL_image mkfontscale ]; + # Fixes shebang -> wrapper problem on Darwin + postPatch = '' + for perltool in *.pl; do + substituteInPlace Makefile \ + --replace "./$perltool" "${perlenv}/bin/perl ./$perltool" + done + ''; + + makeFlags = [ + "CC=${stdenv.cc.targetPrefix}cc" + ]; + preConfigure = '' patchShebangs . ''; From 120dfe62173840ed564f2d95d70dcce384d70194 Mon Sep 17 00:00:00 2001 From: Aaron Andersen Date: Wed, 16 Jun 2021 21:52:26 -0400 Subject: [PATCH 05/43] tomcat9: 9.0.31 -> 9.0.46 --- pkgs/servers/http/tomcat/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/http/tomcat/default.nix b/pkgs/servers/http/tomcat/default.nix index 78e108d8c8da..5b695c9e2090 100644 --- a/pkgs/servers/http/tomcat/default.nix +++ b/pkgs/servers/http/tomcat/default.nix @@ -44,7 +44,7 @@ in { tomcat9 = common { versionMajor = "9"; - versionMinor = "0.31"; - sha256 = "0hybcy280qhhp9if58xw0rmyyqz1m1bzby7qnwz3y2wc1y4is48v"; + versionMinor = "0.46"; + sha256 = "02p1d7xkmfna5brwi5imjz83g5va1g6fxkiaj4q22l8jpkr6xf6h"; }; } From 40ab59df3960bdf21e8d455fbc4f4a1a1510c4c1 Mon Sep 17 00:00:00 2001 From: Aaron Andersen Date: Wed, 16 Jun 2021 21:55:00 -0400 Subject: [PATCH 06/43] tomcat-native: 1.2.28 -> 1.2.30 --- pkgs/servers/http/tomcat/tomcat-native.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/http/tomcat/tomcat-native.nix b/pkgs/servers/http/tomcat/tomcat-native.nix index c9c4453cf5f7..dfcbe5d0f18b 100644 --- a/pkgs/servers/http/tomcat/tomcat-native.nix +++ b/pkgs/servers/http/tomcat/tomcat-native.nix @@ -2,11 +2,11 @@ stdenv.mkDerivation rec { pname = "tomcat-native"; - version = "1.2.28"; + version = "1.2.30"; src = fetchurl { url = "mirror://apache/tomcat/tomcat-connectors/native/${version}/source/${pname}-${version}-src.tar.gz"; - sha512 = "16b8659dcd228ea153d05c9ae19e3d97add944315f3b8b42905162d0e4e8a28fd51a172d59d7da8508271ecad0b8ac025a386895565acaf8e2ba11fba77492bb"; + sha512 = "51a8c55214de166cace193c3330abe77cabea56c2d05efc8c3408bc06369c328899376c94c572725ebe2887f2faf99fea05d1819fa84c712d57fd309d0476953"; }; sourceRoot = "${pname}-${version}-src/native"; From d2080550e3b4c2fd492576e558b0f81022ffe436 Mon Sep 17 00:00:00 2001 From: Aaron Andersen Date: Wed, 16 Jun 2021 22:04:58 -0400 Subject: [PATCH 07/43] tomcat10: init at 10.0.6 --- pkgs/servers/http/tomcat/default.nix | 6 ++++++ pkgs/top-level/all-packages.nix | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/pkgs/servers/http/tomcat/default.nix b/pkgs/servers/http/tomcat/default.nix index 5b695c9e2090..5e0fe279b8ef 100644 --- a/pkgs/servers/http/tomcat/default.nix +++ b/pkgs/servers/http/tomcat/default.nix @@ -47,4 +47,10 @@ in { versionMinor = "0.46"; sha256 = "02p1d7xkmfna5brwi5imjz83g5va1g6fxkiaj4q22l8jpkr6xf6h"; }; + + tomcat10 = common { + versionMajor = "10"; + versionMinor = "0.6"; + sha256 = "1bpcxpsfws3b8ykq53vrcx3f04mvs5if80p329jm3x2dvdvj3d9n"; + }; } diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 2cb0404e139e..c51b7caaccf3 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -20014,7 +20014,8 @@ in inherit (callPackages ../servers/http/tomcat { }) tomcat7 tomcat8 - tomcat9; + tomcat9 + tomcat10; tomcat_mysql_jdbc = callPackage ../servers/http/tomcat/jdbc/mysql { }; From b6ce336775238977d4f8f050efc9b4f97d912128 Mon Sep 17 00:00:00 2001 From: Aaron Andersen Date: Wed, 16 Jun 2021 21:58:10 -0400 Subject: [PATCH 08/43] tomcat7: drop package --- pkgs/servers/http/tomcat/default.nix | 6 ------ pkgs/top-level/aliases.nix | 1 + pkgs/top-level/all-packages.nix | 1 - 3 files changed, 1 insertion(+), 7 deletions(-) diff --git a/pkgs/servers/http/tomcat/default.nix b/pkgs/servers/http/tomcat/default.nix index 5e0fe279b8ef..7684b9ef41fd 100644 --- a/pkgs/servers/http/tomcat/default.nix +++ b/pkgs/servers/http/tomcat/default.nix @@ -30,12 +30,6 @@ let }); in { - tomcat7 = common { - versionMajor = "7"; - versionMinor = "0.100"; - sha256 = "0wjjnvxjz0xbnsfgyp0xc7nlij4z093v54hg59vww2nmkz5mg01v"; - }; - tomcat8 = common { versionMajor = "8"; versionMinor = "5.51"; diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index eedf4fc75efc..7704bb953984 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -834,6 +834,7 @@ mapAliases ({ tex-gyre-termes-math = tex-gyre-math.termes; # added 2018-04-03 tftp_hpa = tftp-hpa; # added 2015-04-03 timescale-prometheus = promscale; # added 2020-09-29 + tomcat7 = throw "tomcat7 has been removed from nixpkgs as it has reached end of life."; # added 2022-06-16 tomcat85 = tomcat8; # added 2020-03-11 torbrowser = tor-browser-bundle-bin; # added 2017-04-05 torch = throw "torch has been removed, as the upstream project has been abandoned"; # added 2020-03-28 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c51b7caaccf3..b82b89211dff 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -20012,7 +20012,6 @@ in trafficserver = callPackage ../servers/http/trafficserver { }; inherit (callPackages ../servers/http/tomcat { }) - tomcat7 tomcat8 tomcat9 tomcat10; From fa60c16dfce4d57edd04e5a1ba8d8cb05575723d Mon Sep 17 00:00:00 2001 From: Aaron Andersen Date: Wed, 16 Jun 2021 22:07:10 -0400 Subject: [PATCH 09/43] tomcat8: drop package --- pkgs/servers/http/tomcat/default.nix | 6 ------ pkgs/top-level/aliases.nix | 3 ++- pkgs/top-level/all-packages.nix | 1 - 3 files changed, 2 insertions(+), 8 deletions(-) diff --git a/pkgs/servers/http/tomcat/default.nix b/pkgs/servers/http/tomcat/default.nix index 7684b9ef41fd..6994f1bc6f9b 100644 --- a/pkgs/servers/http/tomcat/default.nix +++ b/pkgs/servers/http/tomcat/default.nix @@ -30,12 +30,6 @@ let }); in { - tomcat8 = common { - versionMajor = "8"; - versionMinor = "5.51"; - sha256 = "1zmg0hi4nw4y5sknd0jgq9lb3bncjjscay5fdiiq3qh5cs0wsvl3"; - }; - tomcat9 = common { versionMajor = "9"; versionMinor = "0.46"; diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index 7704bb953984..484fb298f438 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -835,7 +835,8 @@ mapAliases ({ tftp_hpa = tftp-hpa; # added 2015-04-03 timescale-prometheus = promscale; # added 2020-09-29 tomcat7 = throw "tomcat7 has been removed from nixpkgs as it has reached end of life."; # added 2022-06-16 - tomcat85 = tomcat8; # added 2020-03-11 + tomcat8 = throw "tomcat8 has been removed from nixpkgs as it has reached end of life."; # added 2022-06-16 + tomcat85 = throw "tomcat85 has been removed from nixpkgs as it has reached end of life."; # added 2020-03-11 torbrowser = tor-browser-bundle-bin; # added 2017-04-05 torch = throw "torch has been removed, as the upstream project has been abandoned"; # added 2020-03-28 torch-hdf5 = throw "torch-hdf5 has been removed, as the upstream project has been abandoned"; # added 2020-03-28 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index b82b89211dff..13a40f747f73 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -20012,7 +20012,6 @@ in trafficserver = callPackage ../servers/http/trafficserver { }; inherit (callPackages ../servers/http/tomcat { }) - tomcat8 tomcat9 tomcat10; From c802ded7fcc0559da97b68d033fdc083fffc57cb Mon Sep 17 00:00:00 2001 From: Aaron Andersen Date: Wed, 16 Jun 2021 22:01:43 -0400 Subject: [PATCH 10/43] tomcat9: remove danbst as maintainer --- pkgs/servers/http/tomcat/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/servers/http/tomcat/default.nix b/pkgs/servers/http/tomcat/default.nix index 6994f1bc6f9b..506b692e68af 100644 --- a/pkgs/servers/http/tomcat/default.nix +++ b/pkgs/servers/http/tomcat/default.nix @@ -20,12 +20,12 @@ let mv $out/webapps $webapps/ ''; - meta = { + meta = with lib; { homepage = "https://tomcat.apache.org/"; description = "An implementation of the Java Servlet and JavaServer Pages technologies"; - platforms = with lib.platforms; all; - maintainers = with lib.maintainers; [ danbst ]; - license = [ lib.licenses.asl20 ]; + platforms = platforms.all; + maintainers = [ ]; + license = [ licenses.asl20 ]; }; }); From 9f695b8d1aa213571aa74f27369aed2aba7ae9fd Mon Sep 17 00:00:00 2001 From: "R. RyanTM" Date: Thu, 17 Jun 2021 02:11:32 +0000 Subject: [PATCH 11/43] cargo-msrv: 0.6.0 -> 0.7.0 --- pkgs/development/tools/rust/cargo-msrv/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/rust/cargo-msrv/default.nix b/pkgs/development/tools/rust/cargo-msrv/default.nix index 74c2d9e680f0..216e83622158 100644 --- a/pkgs/development/tools/rust/cargo-msrv/default.nix +++ b/pkgs/development/tools/rust/cargo-msrv/default.nix @@ -11,16 +11,16 @@ rustPlatform.buildRustPackage rec { pname = "cargo-msrv"; - version = "0.6.0"; + version = "0.7.0"; src = fetchFromGitHub { owner = "foresterre"; repo = pname; rev = "v${version}"; - sha256 = "sha256-DpgZrKy2rEKnI0/t4l3sDtNUhAwwFFSzq4CdRFqAkzY="; + sha256 = "sha256-yTUYMLVjzbuHqQxW68snxQ0CzoOwEBGXWFR/4yfDZ34="; }; - cargoSha256 = "sha256-ny8EA3dkirxEiFYiSFRxHnjf3mVO2LCWVR8fPHX87Ek="; + cargoSha256 = "sha256-WXvl+Xbu/oGTEFhbn6GuLoiNX+DxwhtT6cuucCOQsC4="; passthru = { updateScript = nix-update-script { From ddbe10693427d2c1b9ecd7c00ab582c172ed10ff Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 17 Jun 2021 05:22:28 +0200 Subject: [PATCH 12/43] python3Packages.typing_inspect: 0.6.0 -> 0.7.1 --- pkgs/development/python-modules/typing-inspect/default.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/typing-inspect/default.nix b/pkgs/development/python-modules/typing-inspect/default.nix index 569096cb466c..4f09d6002d5c 100644 --- a/pkgs/development/python-modules/typing-inspect/default.nix +++ b/pkgs/development/python-modules/typing-inspect/default.nix @@ -8,12 +8,12 @@ buildPythonPackage rec { pname = "typing-inspect"; - version = "0.6.0"; + version = "0.7.1"; src = fetchPypi { inherit version; pname = "typing_inspect"; - sha256 = "1dzs9a1pr23dhbvmnvms2jv7l7jk26023g5ysf0zvnq8b791s6wg"; + sha256 = "1al2lyi3r189r5xgw90shbxvd88ic4si9w7n3d9lczxiv6bl0z84"; }; propagatedBuildInputs = [ @@ -26,6 +26,5 @@ buildPythonPackage rec { homepage = "https://github.com/ilevkivskyi/typing_inspect"; license = licenses.mit; maintainers = with maintainers; [ albakham ]; - broken = isPy39; # see https://github.com/ilevkivskyi/typing_inspect/issues/65 }; } From 22c65eb4d19ec6eaeb3d6c9df108a45fbfd06e6f Mon Sep 17 00:00:00 2001 From: JesusMtnez Date: Thu, 17 Jun 2021 05:29:14 +0200 Subject: [PATCH 13/43] slack: 4.16.0 -> 4.17.0 --- .../networking/instant-messengers/slack/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/applications/networking/instant-messengers/slack/default.nix b/pkgs/applications/networking/instant-messengers/slack/default.nix index 137783552112..15943d34e426 100644 --- a/pkgs/applications/networking/instant-messengers/slack/default.nix +++ b/pkgs/applications/networking/instant-messengers/slack/default.nix @@ -42,11 +42,11 @@ let pname = "slack"; - x86_64-darwin-version = "4.16.0"; - x86_64-darwin-sha256 = "078f49sgazfa99vn0yyacfya3jl2vhqz7kgxh0qp56b66pnzwbxz"; + x86_64-darwin-version = "4.17.0"; + x86_64-darwin-sha256 = "0r5cafxw73qnn14ljprn7w8bfn67zbkcniq60k9pf2zbqgb4cyj9"; - x86_64-linux-version = "4.16.0"; - x86_64-linux-sha256 = "0dj5k7r044mibis0zymh6wryhbw2fzsch30nddfrnn6ij89hhirv"; + x86_64-linux-version = "4.17.0"; + x86_64-linux-sha256 = "07ccms58pq27ilkyhcf6cgwb7qrddwil5kgy8yv95ljikqzi5rxi"; version = { x86_64-darwin = x86_64-darwin-version; From 63625b213a6ce8f66fcdb2b557c884b2cc301a1b Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 17 Jun 2021 06:09:39 +0200 Subject: [PATCH 14/43] python3Packages.aioguardian: remove version boundary --- pkgs/development/python-modules/aioguardian/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/aioguardian/default.nix b/pkgs/development/python-modules/aioguardian/default.nix index 388c856fc619..74ff8fb3fde6 100644 --- a/pkgs/development/python-modules/aioguardian/default.nix +++ b/pkgs/development/python-modules/aioguardian/default.nix @@ -16,7 +16,6 @@ buildPythonPackage rec { pname = "aioguardian"; version = "1.0.7"; - disabled = pythonAtLeast "3.9"; src = fetchFromGitHub { owner = "bachya"; From d7ba66af1541c2ce375d450e02eae090be3f95ad Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 17 Jun 2021 06:10:33 +0200 Subject: [PATCH 15/43] python3Packages.aiohomekit: remove version boundary --- pkgs/development/python-modules/aiohomekit/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/aiohomekit/default.nix b/pkgs/development/python-modules/aiohomekit/default.nix index 6d77598c863e..a94cdf865b03 100644 --- a/pkgs/development/python-modules/aiohomekit/default.nix +++ b/pkgs/development/python-modules/aiohomekit/default.nix @@ -13,7 +13,6 @@ buildPythonPackage rec { pname = "aiohomekit"; version = "0.2.67"; format = "pyproject"; - disabled = pythonAtLeast "3.9"; src = fetchFromGitHub { owner = "Jc2k"; From 54bf6c078305798a1ea631d3b53d7a38caa4a402 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 17 Jun 2021 06:11:00 +0200 Subject: [PATCH 16/43] python3Packags.pytile: remove version boundary --- pkgs/development/python-modules/pytile/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/python-modules/pytile/default.nix b/pkgs/development/python-modules/pytile/default.nix index c1901a750864..0d269522e1a0 100644 --- a/pkgs/development/python-modules/pytile/default.nix +++ b/pkgs/development/python-modules/pytile/default.nix @@ -14,7 +14,6 @@ buildPythonPackage rec { pname = "pytile"; version = "5.2.1"; - disabled = pythonAtLeast "3.9"; src = fetchFromGitHub { owner = "bachya"; From b362f002cac9e7ca78e1cc054f09b3de782160f9 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 17 Jun 2021 06:19:49 +0200 Subject: [PATCH 17/43] home-assistant: disable test_hue_events test It is prone to race conditions. --- pkgs/servers/home-assistant/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/servers/home-assistant/default.nix b/pkgs/servers/home-assistant/default.nix index 58d7898132b3..e2c943c2f4c7 100644 --- a/pkgs/servers/home-assistant/default.nix +++ b/pkgs/servers/home-assistant/default.nix @@ -782,6 +782,8 @@ in with py.pkgs; buildPythonApplication rec { # onboarding tests rpi_power component, for which we are lacking rpi_bad_power library "test_onboarding_core_sets_up_rpi_power" "test_onboarding_core_no_rpi_power" + # hue/test_sensor_base.py: Race condition when counting events + "test_hue_events" ]; preCheck = '' From a45931787c3a5967d8df7847c25c545975b5f1df Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 17 Jun 2021 06:27:07 +0200 Subject: [PATCH 18/43] home-assistant: unpin sqlalchemy --- pkgs/servers/home-assistant/default.nix | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/pkgs/servers/home-assistant/default.nix b/pkgs/servers/home-assistant/default.nix index e2c943c2f4c7..b88e73c51d3b 100644 --- a/pkgs/servers/home-assistant/default.nix +++ b/pkgs/servers/home-assistant/default.nix @@ -134,19 +134,6 @@ let }); }) - # Remove after https://github.com/NixOS/nixpkgs/pull/121854 has passed staging-next - (self: super: { - sqlalchemy = super.sqlalchemy.overridePythonAttrs (oldAttrs: rec { - version = "1.4.13"; - src = oldAttrs.src.override { - inherit version; - sha256 = "0npsg38d11skv04zvsi90j93f6jdgm8666ds2ri7shr1pz1732hx"; - }; - patches = []; - propagatedBuildInputs = [ python3.pkgs.greenlet ]; - }); - }) - # home-assistant-frontend does not exist in python3.pkgs (self: super: { home-assistant-frontend = self.callPackage ./frontend.nix { }; From 04bf5a47a506d7904c5afe6c4c3cd058d525e55c Mon Sep 17 00:00:00 2001 From: "R. RyanTM" Date: Thu, 17 Jun 2021 07:09:37 +0000 Subject: [PATCH 19/43] chezmoi: 2.0.13 -> 2.0.14 --- pkgs/tools/misc/chezmoi/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/misc/chezmoi/default.nix b/pkgs/tools/misc/chezmoi/default.nix index b7a717b5b2f3..46efe896bf27 100644 --- a/pkgs/tools/misc/chezmoi/default.nix +++ b/pkgs/tools/misc/chezmoi/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "chezmoi"; - version = "2.0.13"; + version = "2.0.14"; src = fetchFromGitHub { owner = "twpayne"; repo = "chezmoi"; rev = "v${version}"; - sha256 = "sha256-ApgprU8PC5sn62D6eM1JG3s4DD2+e8SfyPpiC/6ANmQ="; + sha256 = "sha256-nOXp7NdSZaWivrYd6TsmTtS2c8eBvEY7Ba0zZEEEI0A="; }; - vendorSha256 = "sha256-07v+JzOYtfaaL2M/z5FOWlhhaEwWwc0wui3RLynP5N8="; + vendorSha256 = "sha256-7SfqBxCfOYwePK/6SsWS5StuVr0png6WjQXIDuQW0EE="; doCheck = false; From c562271f72de447603e4b6029ab1724056825751 Mon Sep 17 00:00:00 2001 From: "R. RyanTM" Date: Thu, 17 Jun 2021 09:53:14 +0000 Subject: [PATCH 20/43] earthly: 0.5.16 -> 0.5.17 --- pkgs/development/tools/earthly/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/earthly/default.nix b/pkgs/development/tools/earthly/default.nix index 1e71c63272fd..b46a97df20a3 100644 --- a/pkgs/development/tools/earthly/default.nix +++ b/pkgs/development/tools/earthly/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "earthly"; - version = "0.5.16"; + version = "0.5.17"; src = fetchFromGitHub { owner = "earthly"; repo = "earthly"; rev = "v${version}"; - sha256 = "sha256-p2O9GkXrRCxgOnVVmtBFUpbg0w9b3LB0PNOlK1gxYAY="; + sha256 = "sha256-SuHHeO2KFjB3HbLv1ODBGaXzNaDi/FNPOGg/lX8JLJE="; }; - vendorSha256 = "sha256-avxNVTPcJ5HjeN7Q9rVmmSud1i3Yb8cSFTAUtNPYbBg="; + vendorSha256 = "sha256-D62fG+T3G1W7xteSGlTtEkXbQfGAmBTYJeATH2CVtwY="; buildFlagsArray = '' -ldflags= From 3a9f72ba859aebc5c02e685ef320175bb0774804 Mon Sep 17 00:00:00 2001 From: "R. RyanTM" Date: Thu, 17 Jun 2021 09:59:51 +0000 Subject: [PATCH 21/43] fsmon: 1.8.2 -> 1.8.4 --- pkgs/tools/misc/fsmon/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/misc/fsmon/default.nix b/pkgs/tools/misc/fsmon/default.nix index c845c3de8e95..94b209bcd000 100644 --- a/pkgs/tools/misc/fsmon/default.nix +++ b/pkgs/tools/misc/fsmon/default.nix @@ -2,13 +2,13 @@ stdenv.mkDerivation rec { pname = "fsmon"; - version = "1.8.2"; + version = "1.8.4"; src = fetchFromGitHub { owner = "nowsecure"; repo = "fsmon"; rev = version; - sha256 = "0y0gqb07girhz3r7gn9yrrysvhj5fapdafim0q8n7krk5y23hmh0"; + sha256 = "sha256-4KF8h+YdCMrF9Yk/9y71WqNjzyoEZnddriDZAdpIaa4="; }; installPhase = '' From 86f8bbcc9c9242066c861d979508dcd243ccc24c Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 17 Jun 2021 12:28:47 +0200 Subject: [PATCH 22/43] python3Packages.archinfo: 9.0.7912 -> 9.0.8021 --- pkgs/development/python-modules/archinfo/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/archinfo/default.nix b/pkgs/development/python-modules/archinfo/default.nix index 601dd954bc42..96cbf539fd18 100644 --- a/pkgs/development/python-modules/archinfo/default.nix +++ b/pkgs/development/python-modules/archinfo/default.nix @@ -7,13 +7,13 @@ buildPythonPackage rec { pname = "archinfo"; - version = "9.0.7912"; + version = "9.0.8021"; src = fetchFromGitHub { owner = "angr"; repo = pname; rev = "v${version}"; - sha256 = "sha256-nHXF6Il6rHHrnGYEmv4FPQr6MsurzH1exkJS9UXThBs="; + sha256 = "sha256-j8sPrSaKam5gv1ZlTA3fF1u3UMei9jy843O0n8Hsibc="; }; checkInputs = [ From e4214957cb7ef02a17f024409390caceee1018ac Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 17 Jun 2021 12:28:49 +0200 Subject: [PATCH 23/43] python3Packages.ailment: 9.0.7912 -> 9.0.8021 --- pkgs/development/python-modules/ailment/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/ailment/default.nix b/pkgs/development/python-modules/ailment/default.nix index e555d69169b5..388880cda0b3 100644 --- a/pkgs/development/python-modules/ailment/default.nix +++ b/pkgs/development/python-modules/ailment/default.nix @@ -7,14 +7,14 @@ buildPythonPackage rec { pname = "ailment"; - version = "9.0.7912"; + version = "9.0.8021"; disabled = pythonOlder "3.6"; src = fetchFromGitHub { owner = "angr"; repo = pname; rev = "v${version}"; - sha256 = "sha256-q1mi8ZNvjb3XM3le4ysy58bb978102OFKypTp9mSzxo="; + sha256 = "sha256-DeQvYuVRYOxyVPqHzTSNtEUUN4tHhSVMZoex6SUWik8="; }; propagatedBuildInputs = [ pyvex ]; From 82b9c2ace647f7b179df4c489973b6e96dbb2c0c Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 17 Jun 2021 12:28:55 +0200 Subject: [PATCH 24/43] python3Packages.pyvex: 9.0.7912 -> 9.0.8021 --- pkgs/development/python-modules/pyvex/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pyvex/default.nix b/pkgs/development/python-modules/pyvex/default.nix index cb0547dfe4ce..b2696b101b42 100644 --- a/pkgs/development/python-modules/pyvex/default.nix +++ b/pkgs/development/python-modules/pyvex/default.nix @@ -11,11 +11,11 @@ buildPythonPackage rec { pname = "pyvex"; - version = "9.0.7912"; + version = "9.0.8021"; src = fetchPypi { inherit pname version; - sha256 = "sha256-KqTfu49Muicr5oJcXcoYpz3S7+0hk7dxbU7GMCDlJQA="; + sha256 = "sha256-Bx6A258LgmmRBbrwY2pgf0DXdMwh9QjaA4sVbxj+kBo="; }; postPatch = lib.optionalString stdenv.isDarwin '' From 25774c71a06a61f138a4d5af3bdea4ed61eda85b Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 17 Jun 2021 12:28:57 +0200 Subject: [PATCH 25/43] python3Packages.claripy: 9.0.7912 -> 9.0.8021 --- pkgs/development/python-modules/claripy/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/claripy/default.nix b/pkgs/development/python-modules/claripy/default.nix index ad3c97b920d7..03be293a5674 100644 --- a/pkgs/development/python-modules/claripy/default.nix +++ b/pkgs/development/python-modules/claripy/default.nix @@ -13,14 +13,14 @@ buildPythonPackage rec { pname = "claripy"; - version = "9.0.7912"; + version = "9.0.8021"; disabled = pythonOlder "3.6"; src = fetchFromGitHub { owner = "angr"; repo = pname; rev = "v${version}"; - sha256 = "sha256-p9i3ajN/CpLdwcg8HLhtION0ghgs1fcnqjzUrxu1wDw="; + sha256 = "sha256-btV6J5r4ogb4yC0G3lyXXkCTnx55nfBkWFH1wgiWtjs="; }; # Use upstream z3 implementation From 4d16b2230bd8956b7ac4acb41c2a51199831b70a Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 17 Jun 2021 12:29:00 +0200 Subject: [PATCH 26/43] python3Packages.cle: 9.0.7912 -> 9.0.8021 --- pkgs/development/python-modules/cle/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/cle/default.nix b/pkgs/development/python-modules/cle/default.nix index 45e619b25c6d..bb99365e33fa 100644 --- a/pkgs/development/python-modules/cle/default.nix +++ b/pkgs/development/python-modules/cle/default.nix @@ -15,7 +15,7 @@ let # The binaries are following the argr projects release cycle - version = "9.0.7912"; + version = "9.0.8021"; # Binary files from https://github.com/angr/binaries (only used for testing and only here) binaries = fetchFromGitHub { @@ -35,7 +35,7 @@ buildPythonPackage rec { owner = "angr"; repo = pname; rev = "v${version}"; - sha256 = "sha256-AHJk40uRhrlQbfzRmMJXremKxnxjpmxLLAAYxNV9vkc="; + sha256 = "sha256-pgOeNAzAq2x7MEnheV6txmXISFY/0sWw4cVzs51k4eM="; }; propagatedBuildInputs = [ From 9a122609e1aaeda325973150a1de568aec0b2837 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 17 Jun 2021 12:29:03 +0200 Subject: [PATCH 27/43] python3Packages.angr: 9.0.7912 -> 9.0.8021 --- pkgs/development/python-modules/angr/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/angr/default.nix b/pkgs/development/python-modules/angr/default.nix index 0ea298e06e19..89cdc5c55f0b 100644 --- a/pkgs/development/python-modules/angr/default.nix +++ b/pkgs/development/python-modules/angr/default.nix @@ -42,14 +42,14 @@ in buildPythonPackage rec { pname = "angr"; - version = "9.0.7912"; + version = "9.0.8021"; disabled = pythonOlder "3.6"; src = fetchFromGitHub { owner = pname; repo = pname; rev = "v${version}"; - sha256 = "sha256-261fk0JM37Hq+xsMF95VqLyidWE4ZUeygp8BP/DBXG4="; + sha256 = "sha256-brX/HdeZSPOnZKuD1v086GwyWSV8yA/FaMC3CbeI4Xk="; }; propagatedBuildInputs = [ From fa053ec78b323b15eda0d1310ce77b524421045a Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 17 Jun 2021 12:29:06 +0200 Subject: [PATCH 28/43] python3Packages.angrop: 9.0.7912 -> 9.0.8021 --- pkgs/development/python-modules/angrop/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/angrop/default.nix b/pkgs/development/python-modules/angrop/default.nix index cbe2ed9db2ad..09d1388c25ec 100644 --- a/pkgs/development/python-modules/angrop/default.nix +++ b/pkgs/development/python-modules/angrop/default.nix @@ -9,14 +9,14 @@ buildPythonPackage rec { pname = "angrop"; - version = "9.0.7912"; + version = "9.0.8021"; disabled = pythonOlder "3.6"; src = fetchFromGitHub { owner = "angr"; repo = pname; rev = "v${version}"; - sha256 = "sha256-nbVvgbTk9LFA376alu4Cxqcu9b9CT9yutnfE5fVT8gY="; + sha256 = "sha256-wkCgVVHulu1hGdbUSEi38aMWy2UfR3g/7jj+o+NLI44="; }; propagatedBuildInputs = [ From 709de4aef6dbf252041a09bf9e8daa9790716bf0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Thu, 17 Jun 2021 12:32:39 +0200 Subject: [PATCH 29/43] python3Packages.directv: init at 0.4.0 --- .../python-modules/directv/default.nix | 41 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 43 insertions(+) create mode 100644 pkgs/development/python-modules/directv/default.nix diff --git a/pkgs/development/python-modules/directv/default.nix b/pkgs/development/python-modules/directv/default.nix new file mode 100644 index 000000000000..5f8c40c075aa --- /dev/null +++ b/pkgs/development/python-modules/directv/default.nix @@ -0,0 +1,41 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +, aiohttp +, yarl +, aresponses +, pytest-asyncio +, pytestCheckHook +}: + +buildPythonPackage rec { + pname = "directv"; + version = "0.4.0"; + + src = fetchFromGitHub { + owner = "ctalkington"; + repo = "python-directv"; + rev = version; + sha256 = "19jckf6qvl8fwi8yff1qy8c44xdz3zpi1ip1md6zl2c503qc91mk"; + }; + + propagatedBuildInputs = [ + aiohttp + yarl + ]; + + checkInputs = [ + aresponses + pytest-asyncio + pytestCheckHook + ]; + + pythonImportsCheck = [ "directv" ]; + + meta = with lib; { + description = "Asynchronous Python client for DirecTV (SHEF)"; + homepage = "https://github.com/ctalkington/python-directv"; + license = licenses.mit; + maintainers = with maintainers; [ dotlambda ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 4ef474667680..1b42003c32dc 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -1919,6 +1919,8 @@ in { dipy = callPackage ../development/python-modules/dipy { }; + directv = callPackage ../development/python-modules/directv { }; + discid = callPackage ../development/python-modules/discid { }; discogs_client = callPackage ../development/python-modules/discogs_client { }; From 114bbde8639df89d37317c94b1b651f5c6ff9665 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Thu, 17 Jun 2021 12:33:08 +0200 Subject: [PATCH 30/43] home-assistant: update component-packages.nix --- pkgs/servers/home-assistant/component-packages.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/servers/home-assistant/component-packages.nix b/pkgs/servers/home-assistant/component-packages.nix index e45df624dfe8..12606f75f486 100644 --- a/pkgs/servers/home-assistant/component-packages.nix +++ b/pkgs/servers/home-assistant/component-packages.nix @@ -175,7 +175,7 @@ "dialogflow" = ps: with ps; [ aiohttp-cors ]; "digital_ocean" = ps: with ps; [ digital-ocean ]; "digitalloggers" = ps: with ps; [ ]; # missing inputs: dlipower - "directv" = ps: with ps; [ ]; # missing inputs: directv + "directv" = ps: with ps; [ directv ]; "discogs" = ps: with ps; [ discogs_client ]; "discord" = ps: with ps; [ discordpy ]; "discovery" = ps: with ps; [ aiohttp-cors ifaddr netdisco zeroconf ]; From ce5b81ea53aecb976aac180bb2f7990793a0e212 Mon Sep 17 00:00:00 2001 From: "R. RyanTM" Date: Thu, 17 Jun 2021 10:53:11 +0000 Subject: [PATCH 31/43] exoscale-cli: 1.31.0 -> 1.32.0 --- pkgs/tools/admin/exoscale-cli/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/admin/exoscale-cli/default.nix b/pkgs/tools/admin/exoscale-cli/default.nix index c2671646cb6b..62d07486214a 100644 --- a/pkgs/tools/admin/exoscale-cli/default.nix +++ b/pkgs/tools/admin/exoscale-cli/default.nix @@ -2,13 +2,13 @@ buildGoPackage rec { pname = "exoscale-cli"; - version = "1.31.0"; + version = "1.32.0"; src = fetchFromGitHub { owner = "exoscale"; repo = "cli"; rev = "v${version}"; - sha256 = "sha256-2CK/W8h0xfReqYt4a3qQ88Ydr8u9Ky6DfttJJaGu9kM="; + sha256 = "sha256-SQWGFF43J730XFj32ZU2N8PQMP2yIiSLLfEIAbeJvBg="; }; goPackagePath = "github.com/exoscale/cli"; From cbb342facfda58659e3b77a743c8d65a06561ada Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Thu, 17 Jun 2021 12:34:28 +0200 Subject: [PATCH 32/43] home-assistant: test directv component --- pkgs/servers/home-assistant/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/servers/home-assistant/default.nix b/pkgs/servers/home-assistant/default.nix index 13daf4fb8211..e7bd65ebf914 100644 --- a/pkgs/servers/home-assistant/default.nix +++ b/pkgs/servers/home-assistant/default.nix @@ -355,6 +355,7 @@ in with py.pkgs; buildPythonApplication rec { "dexcom" "dhcp" "dialogflow" + "directv" "discovery" "dsmr" "dte_energy_bridge" From 0cdc3ca96b6137ae53cb40e36433cad3dda85cd8 Mon Sep 17 00:00:00 2001 From: Michael Adler Date: Thu, 17 Jun 2021 12:16:10 +0200 Subject: [PATCH 33/43] thinkfan: 1.2.1 -> 1.2.2 --- pkgs/tools/system/thinkfan/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/system/thinkfan/default.nix b/pkgs/tools/system/thinkfan/default.nix index 97c61d2da0e7..a53ef4ae9f85 100644 --- a/pkgs/tools/system/thinkfan/default.nix +++ b/pkgs/tools/system/thinkfan/default.nix @@ -11,13 +11,13 @@ stdenv.mkDerivation rec { pname = "thinkfan"; - version = "1.2.1"; + version = "1.2.2"; src = fetchFromGitHub { owner = "vmatare"; repo = "thinkfan"; rev = version; - sha256 = "18vgm5w5pjnpipa34j4x87q10695w2jnqwvc2f027afy7mnzw7kz"; + sha256 = "01l1pnj1cgy3dwgyys2s5iqzyv6kk47vlpy09qjafk8py21ijik3"; }; postPatch = '' From 87343c08c6a0b5a09ab4a66eba934eecc812ec0e Mon Sep 17 00:00:00 2001 From: Michael Weiss Date: Thu, 17 Jun 2021 10:55:57 +0200 Subject: [PATCH 34/43] llvmPackages_git: 2021-06-04 -> 2021-06-11 llvm/gnu-install-dirs.patch: I've dropped most of the changes to docs/CMake.rst as they aren't relevant for Nixpkgs and the restructuring of that file makes it a bit annoying to resolve them via Git. --- .../compilers/llvm/git/default.nix | 6 +- .../llvm/git/llvm/gnu-install-dirs.patch | 86 ++++++------------- 2 files changed, 27 insertions(+), 65 deletions(-) diff --git a/pkgs/development/compilers/llvm/git/default.nix b/pkgs/development/compilers/llvm/git/default.nix index 9a5d34107fb4..1bbbbd963f68 100644 --- a/pkgs/development/compilers/llvm/git/default.nix +++ b/pkgs/development/compilers/llvm/git/default.nix @@ -21,8 +21,8 @@ let release_version = "13.0.0"; candidate = ""; # empty or "rcN" dash-candidate = lib.optionalString (candidate != "") "-${candidate}"; - rev = "50c0aaed47b518beea550a6858c2967eaeaef7eb"; # When using a Git commit - rev-version = "unstable-2021-06-04"; # When using a Git commit + rev = "643b6407faf460915679f304420cfbee87c47734"; # When using a Git commit + rev-version = "unstable-2021-06-11"; # When using a Git commit version = if rev != "" then rev-version else "${release_version}${dash-candidate}"; targetConfig = stdenv.targetPlatform.config; @@ -30,7 +30,7 @@ let owner = "llvm"; repo = "llvm-project"; rev = if rev != "" then rev else "llvmorg-${version}"; - sha256 = "1w1ahcg707yh3xiy6y28b90ag03dwjplj0bg39l4w72krqr28661"; + sha256 = "0b06qqbks20m1cy9g1k8y4w8vh9zcbh9ag2bpk9xgg2xkmbq42az"; }; llvm_meta = { diff --git a/pkgs/development/compilers/llvm/git/llvm/gnu-install-dirs.patch b/pkgs/development/compilers/llvm/git/llvm/gnu-install-dirs.patch index f62a23716987..18fa5fc6d89c 100644 --- a/pkgs/development/compilers/llvm/git/llvm/gnu-install-dirs.patch +++ b/pkgs/development/compilers/llvm/git/llvm/gnu-install-dirs.patch @@ -1,5 +1,5 @@ diff --git a/CMakeLists.txt b/CMakeLists.txt -index e5febba8043c..3cf530c341b0 100644 +index 135036f509d2..265c36f8211b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -270,15 +270,21 @@ if (CMAKE_BUILD_TYPE AND @@ -37,7 +37,7 @@ index e5febba8043c..3cf530c341b0 100644 CACHE STRING "OCamldoc-generated HTML documentation install directory") option (LLVM_BUILD_EXTERNAL_COMPILER_RT -@@ -1046,7 +1052,7 @@ endif() +@@ -1048,7 +1054,7 @@ endif() if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY) install(DIRECTORY include/llvm include/llvm-c @@ -46,7 +46,7 @@ index e5febba8043c..3cf530c341b0 100644 COMPONENT llvm-headers FILES_MATCHING PATTERN "*.def" -@@ -1057,7 +1063,7 @@ if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY) +@@ -1059,7 +1065,7 @@ if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY) ) install(DIRECTORY ${LLVM_INCLUDE_DIR}/llvm ${LLVM_INCLUDE_DIR}/llvm-c @@ -55,7 +55,7 @@ index e5febba8043c..3cf530c341b0 100644 COMPONENT llvm-headers FILES_MATCHING PATTERN "*.def" -@@ -1071,13 +1077,13 @@ if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY) +@@ -1073,13 +1079,13 @@ if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY) if (LLVM_INSTALL_MODULEMAPS) install(DIRECTORY include/llvm include/llvm-c @@ -72,10 +72,10 @@ index e5febba8043c..3cf530c341b0 100644 RENAME "module.extern.modulemap" ) diff --git a/cmake/modules/AddLLVM.cmake b/cmake/modules/AddLLVM.cmake -index 1c419cddbe93..fa0be670986b 100644 +index 9c2b85374307..5531ceeb2eeb 100644 --- a/cmake/modules/AddLLVM.cmake +++ b/cmake/modules/AddLLVM.cmake -@@ -801,9 +801,9 @@ macro(add_llvm_library name) +@@ -818,9 +818,9 @@ macro(add_llvm_library name) get_target_export_arg(${name} LLVM export_to_llvmexports ${umbrella}) install(TARGETS ${name} ${export_to_llvmexports} @@ -88,7 +88,7 @@ index 1c419cddbe93..fa0be670986b 100644 if (NOT LLVM_ENABLE_IDE) add_llvm_install_targets(install-${name} -@@ -1019,7 +1019,7 @@ function(process_llvm_pass_plugins) +@@ -1036,7 +1036,7 @@ function(process_llvm_pass_plugins) "set(LLVM_STATIC_EXTENSIONS ${LLVM_STATIC_EXTENSIONS})") install(FILES ${llvm_cmake_builddir}/LLVMConfigExtensions.cmake @@ -97,7 +97,7 @@ index 1c419cddbe93..fa0be670986b 100644 COMPONENT cmake-exports) set(ExtensionDef "${LLVM_BINARY_DIR}/include/llvm/Support/Extension.def") -@@ -1233,7 +1233,7 @@ macro(add_llvm_example name) +@@ -1250,7 +1250,7 @@ macro(add_llvm_example name) endif() add_llvm_executable(${name} ${ARGN}) if( LLVM_BUILD_EXAMPLES ) @@ -106,7 +106,7 @@ index 1c419cddbe93..fa0be670986b 100644 endif() set_target_properties(${name} PROPERTIES FOLDER "Examples") endmacro(add_llvm_example name) -@@ -1851,7 +1851,7 @@ function(llvm_install_library_symlink name dest type) +@@ -1868,7 +1868,7 @@ function(llvm_install_library_symlink name dest type) set(full_name ${CMAKE_${type}_LIBRARY_PREFIX}${name}${CMAKE_${type}_LIBRARY_SUFFIX}) set(full_dest ${CMAKE_${type}_LIBRARY_PREFIX}${dest}${CMAKE_${type}_LIBRARY_SUFFIX}) @@ -115,7 +115,7 @@ index 1c419cddbe93..fa0be670986b 100644 if(WIN32 AND "${type}" STREQUAL "SHARED") set(output_dir bin) endif() -@@ -1862,7 +1862,7 @@ function(llvm_install_library_symlink name dest type) +@@ -1879,7 +1879,7 @@ function(llvm_install_library_symlink name dest type) endfunction() @@ -124,7 +124,7 @@ index 1c419cddbe93..fa0be670986b 100644 cmake_parse_arguments(ARG "ALWAYS_GENERATE" "COMPONENT" "" ${ARGN}) foreach(path ${CMAKE_MODULE_PATH}) if(EXISTS ${path}/LLVMInstallSymlink.cmake) -@@ -1885,7 +1885,7 @@ function(llvm_install_symlink name dest) +@@ -1902,7 +1902,7 @@ function(llvm_install_symlink name dest) set(full_dest ${dest}${CMAKE_EXECUTABLE_SUFFIX}) install(SCRIPT ${INSTALL_SYMLINK} @@ -133,7 +133,7 @@ index 1c419cddbe93..fa0be670986b 100644 COMPONENT ${component}) if (NOT LLVM_ENABLE_IDE AND NOT ARG_ALWAYS_GENERATE) -@@ -1968,7 +1968,8 @@ function(add_llvm_tool_symlink link_name target) +@@ -1985,7 +1985,8 @@ function(add_llvm_tool_symlink link_name target) endif() if ((TOOL_IS_TOOLCHAIN OR NOT LLVM_INSTALL_TOOLCHAIN_ONLY) AND LLVM_BUILD_TOOLS) @@ -143,7 +143,7 @@ index 1c419cddbe93..fa0be670986b 100644 endif() endif() endfunction() -@@ -2097,9 +2098,9 @@ function(llvm_setup_rpath name) +@@ -2114,9 +2115,9 @@ function(llvm_setup_rpath name) # Since BUILD_SHARED_LIBS is only recommended for use by developers, # hardcode the rpath to build/install lib dir first in this mode. # FIXME: update this when there is better solution. @@ -227,19 +227,19 @@ index 3e6a2c9a2648..52e14d955c60 100644 message(STATUS "Creating ${name}") diff --git a/docs/CMake.rst b/docs/CMake.rst -index 589b09f28281..af43b082f755 100644 +index f1ac2c7d4934..c6e1469b5e13 100644 --- a/docs/CMake.rst +++ b/docs/CMake.rst -@@ -196,7 +196,7 @@ CMake manual, or execute ``cmake --help-variable VARIABLE_NAME``. +@@ -202,7 +202,7 @@ CMake manual, or execute ``cmake --help-variable VARIABLE_NAME``. **LLVM_LIBDIR_SUFFIX**:STRING Extra suffix to append to the directory where libraries are to be installed. On a 64-bit architecture, one could use ``-DLLVM_LIBDIR_SUFFIX=64`` - to install libraries to ``/usr/lib64``. + to install libraries to ``/usr/lib64``. See also ``CMAKE_INSTALL_LIBDIR``. - **CMAKE_C_FLAGS**:STRING - Extra flags to use when compiling C source files. -@@ -555,8 +555,8 @@ LLVM-specific variables + Rarely-used CMake variables + --------------------------- +@@ -551,8 +551,8 @@ LLVM-specific variables **LLVM_INSTALL_DOXYGEN_HTML_DIR**:STRING The path to install Doxygen-generated HTML documentation to. This path can @@ -248,47 +248,9 @@ index 589b09f28281..af43b082f755 100644 + either be absolute or relative to the ``CMAKE_INSTALL_PREFIX``. Defaults to + `${CMAKE_INSTALL_DOCDIR}/${project}/doxygen-html`. - **LLVM_ENABLE_SPHINX**:BOOL - If specified, CMake will search for the ``sphinx-build`` executable and will make -@@ -587,13 +587,33 @@ LLVM-specific variables - - **LLVM_INSTALL_SPHINX_HTML_DIR**:STRING - The path to install Sphinx-generated HTML documentation to. This path can -- either be absolute or relative to the CMAKE_INSTALL_PREFIX. Defaults to -- `share/doc/llvm/html`. -+ either be absolute or relative to the ``CMAKE_INSTALL_PREFIX``. Defaults to -+ `${CMAKE_INSTALL_DOCDIR}/${project}/html`. - - **LLVM_INSTALL_OCAMLDOC_HTML_DIR**:STRING - The path to install OCamldoc-generated HTML documentation to. This path can -- either be absolute or relative to the CMAKE_INSTALL_PREFIX. Defaults to -- `share/doc/llvm/ocaml-html`. -+ either be absolute or relative to the ``CMAKE_INSTALL_PREFIX``. Defaults to -+ `${CMAKE_INSTALL_DOCDIR}/${project}/ocaml-html`. -+ -+**CMAKE_INSTALL_BINDIR**:STRING -+ The path to install binary tools, relative to the ``CMAKE_INSTALL_PREFIX``. -+ Defaults to `bin`. -+ -+**CMAKE_INSTALL_LIBDIR**:STRING -+ The path to install libraries, relative to the ``CMAKE_INSTALL_PREFIX``. -+ Defaults to `lib`. -+ -+**CMAKE_INSTALL_INCLUDEDIR**:STRING -+ The path to install header files, relative to the ``CMAKE_INSTALL_PREFIX``. -+ Defaults to `include`. -+ -+**CMAKE_INSTALL_DOCDIR**:STRING -+ The path to install documentation, relative to the ``CMAKE_INSTALL_PREFIX``. -+ Defaults to `share/doc`. -+ -+**CMAKE_INSTALL_MANDIR**:STRING -+ The path to install manpage files, relative to the ``CMAKE_INSTALL_PREFIX``. -+ Defaults to `share/man`. - - **LLVM_CREATE_XCODE_TOOLCHAIN**:BOOL - macOS Only: If enabled CMake will generate a target named -@@ -791,9 +811,11 @@ the ``cmake`` command or by setting it directly in ``ccmake`` or ``cmake-gui``). + **LLVM_LINK_LLVM_DYLIB**:BOOL + If enabled, tools will be linked with the libLLVM shared library. Defaults +@@ -792,9 +792,11 @@ the ``cmake`` command or by setting it directly in ``ccmake`` or ``cmake-gui``). This file is available in two different locations. @@ -379,11 +341,11 @@ index 1a2f04552d13..44fa7d3eec6b 100644 } diff --git a/tools/lto/CMakeLists.txt b/tools/lto/CMakeLists.txt -index 2963f97cad88..69d66c9c9ca1 100644 +index 0af29ad762c5..37b99b83e35c 100644 --- a/tools/lto/CMakeLists.txt +++ b/tools/lto/CMakeLists.txt -@@ -25,7 +25,7 @@ add_llvm_library(LTO SHARED INSTALL_WITH_TOOLCHAIN ${SOURCES} DEPENDS - intrinsics_gen) +@@ -33,7 +33,7 @@ add_llvm_library(${LTO_LIBRARY_NAME} ${LTO_LIBRARY_TYPE} INSTALL_WITH_TOOLCHAIN + ${SOURCES} DEPENDS intrinsics_gen) install(FILES ${LLVM_MAIN_INCLUDE_DIR}/llvm-c/lto.h - DESTINATION include/llvm-c From 7ff166f50ff6b4a15fe7a4faeba6948c53537628 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Thu, 10 Jun 2021 19:00:51 +0000 Subject: [PATCH 35/43] libgpgerror: clean up The missing gen-lock-obj.sh was resolved a long time ago. Change the Git URL to the official location while I'm doing libgpgerror things. --- pkgs/development/libraries/libgpg-error/default.nix | 10 ---------- pkgs/top-level/all-packages.nix | 2 +- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/pkgs/development/libraries/libgpg-error/default.nix b/pkgs/development/libraries/libgpg-error/default.nix index da53a9916d05..1f6fd4835afa 100644 --- a/pkgs/development/libraries/libgpg-error/default.nix +++ b/pkgs/development/libraries/libgpg-error/default.nix @@ -34,16 +34,6 @@ in stdenv.mkDerivation (rec { '' + lib.optionalString (stdenv.hostPlatform.isAarch32 && stdenv.hostPlatform.isMusl) '' ln -s src/syscfg/lock-obj-pub.arm-unknown-linux-gnueabi.h src/syscfg/lock-obj-pub.arm-unknown-linux-musleabihf.h ln -s src/syscfg/lock-obj-pub.arm-unknown-linux-gnueabi.h src/syscfg/lock-obj-pub.linux-musleabihf.h - '' - # This file was accidentally excluded from the sdist until - # 013720333c6ec1d38791689bc49ba039d98e16b3, post release. - # TODO make unconditional next mass rebuild - + lib.optionalString (stdenv.buildPlatform != stdenv.hostPlatform) '' - cp ${fetchurl { - url = "https://raw.githubusercontent.com/gpg/libgpg-error/50e62b36ea01ed25d12c443088b85d4f41a2b3e1/src/gen-lock-obj.sh"; - sha256 = "10cslipa6npalj869asaamj0w941dhmx0yjafpyyh69ypsg2m2c3"; - }} ./src/gen-lock-obj.sh - chmod +x ./src/gen-lock-obj.sh ''; outputs = [ "out" "dev" "info" ]; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 2cb0404e139e..23ac18a9e9cc 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -16305,7 +16305,7 @@ in libgpgerror = callPackage ../development/libraries/libgpg-error { }; - # https://github.com/gpg/libgpg-error/blob/70058cd9f944d620764e57c838209afae8a58c78/README#L118-L140 + # https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgpg-error.git;a=blob;f=README;h=fd6e1a83f55696c1f7a08f6dfca08b2d6b7617ec;hb=70058cd9f944d620764e57c838209afae8a58c78#l118 libgpgerror-gen-posix-lock-obj = libgpgerror.override { genPosixLockObjOnly = true; }; From 818201e4b515c1a4e0fe5fa1e10d7d9d2651e482 Mon Sep 17 00:00:00 2001 From: "R. RyanTM" Date: Thu, 17 Jun 2021 01:02:13 +0000 Subject: [PATCH 36/43] bazel-remote: 2.0.1 -> 2.1.0 --- .../tools/build-managers/bazel/bazel-remote/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/build-managers/bazel/bazel-remote/default.nix b/pkgs/development/tools/build-managers/bazel/bazel-remote/default.nix index 711b971c2d88..cbc2ceb21abc 100644 --- a/pkgs/development/tools/build-managers/bazel/bazel-remote/default.nix +++ b/pkgs/development/tools/build-managers/bazel/bazel-remote/default.nix @@ -5,16 +5,16 @@ buildGoModule rec { pname = "bazel-remote"; - version = "2.0.1"; + version = "2.1.0"; src = fetchFromGitHub { owner = "buchgr"; repo = pname; rev = "v${version}"; - sha256 = "193amcx4nk7mr51jcawym46gizqmfkvksjxm64pf7s3wraf00v01"; + sha256 = "sha256-GpbweI/grJNIRg/7lFd4tMhr9E2SPX+YUrzPJs0Gsik="; }; - vendorSha256 = "1sxv9mya8plkn3hpjgfpzgwlh4m3cbhpywqv86brj2h9i4ad0gl5"; + vendorSha256 = "sha256-dXBGWTgUaVJCwf2LB1QdmSPP3BlKqZ28HUnq1oervNg="; doCheck = false; From 8cb2782859ee4dcafbf0f7403c9e41fe7958b91b Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Sat, 12 Jun 2021 11:01:53 +0000 Subject: [PATCH 37/43] grafanaPlugins.grafana-clock-panel: fix meta.license --- .../monitoring/grafana/plugins/grafana-clock-panel/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/servers/monitoring/grafana/plugins/grafana-clock-panel/default.nix b/pkgs/servers/monitoring/grafana/plugins/grafana-clock-panel/default.nix index 024825c9abe0..365c188541b4 100644 --- a/pkgs/servers/monitoring/grafana/plugins/grafana-clock-panel/default.nix +++ b/pkgs/servers/monitoring/grafana/plugins/grafana-clock-panel/default.nix @@ -6,7 +6,7 @@ grafanaPlugin rec { zipHash = "sha256-80JaMhY/EduSWvFrScfua99DGhT/FJUqY/kl0CafKCs="; meta = with lib; { description = "Clock panel for Grafana"; - license = licenses.asl20; + license = licenses.mit; maintainers = with maintainers; [ lukegb ]; platforms = platforms.unix; }; From f605757f38b386a24867c7bcb03d795956d21aa4 Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Sat, 12 Jun 2021 11:02:01 +0000 Subject: [PATCH 38/43] grafanaPlugins.grafana-piechart-panel: fix meta.license --- .../grafana/plugins/grafana-piechart-panel/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/servers/monitoring/grafana/plugins/grafana-piechart-panel/default.nix b/pkgs/servers/monitoring/grafana/plugins/grafana-piechart-panel/default.nix index 2c44d3a4a062..7b8c210909b3 100644 --- a/pkgs/servers/monitoring/grafana/plugins/grafana-piechart-panel/default.nix +++ b/pkgs/servers/monitoring/grafana/plugins/grafana-piechart-panel/default.nix @@ -6,7 +6,7 @@ grafanaPlugin rec { zipHash = "sha256-64K/efoBKuBFp8Jw79hTdMyTurTZsL0qfgPDcUWz2jg="; meta = with lib; { description = "Pie chart panel for Grafana"; - license = licenses.asl20; + license = licenses.mit; maintainers = with maintainers; [ lukegb ]; platforms = platforms.unix; }; From c444468ff69cb8f0dcc3c1b909643fdb6219334f Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Sat, 12 Jun 2021 11:02:09 +0000 Subject: [PATCH 39/43] grafanaPlugins.grafana-worldmap-panel: fix meta.license --- .../grafana/plugins/grafana-worldmap-panel/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/servers/monitoring/grafana/plugins/grafana-worldmap-panel/default.nix b/pkgs/servers/monitoring/grafana/plugins/grafana-worldmap-panel/default.nix index 2f1671750fa5..8fdee1226fba 100644 --- a/pkgs/servers/monitoring/grafana/plugins/grafana-worldmap-panel/default.nix +++ b/pkgs/servers/monitoring/grafana/plugins/grafana-worldmap-panel/default.nix @@ -6,7 +6,7 @@ grafanaPlugin rec { zipHash = "sha256-MGAJzS9X91x6wt305jH1chLoW3zd7pIYDwRnPg9qrgE="; meta = with lib; { description = "World Map panel for Grafana"; - license = licenses.asl20; + license = licenses.mit; maintainers = with maintainers; [ lukegb ]; platforms = platforms.unix; }; From cd48bd0f9abc4486655965ffeb293b82eb55f8f0 Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Wed, 9 Jun 2021 10:18:04 +0000 Subject: [PATCH 40/43] =?UTF-8?q?grafanaPlugins.grafana-piechart-panel:=20?= =?UTF-8?q?1.6.1=20=E2=86=92=201.6.2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../grafana/plugins/grafana-piechart-panel/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/monitoring/grafana/plugins/grafana-piechart-panel/default.nix b/pkgs/servers/monitoring/grafana/plugins/grafana-piechart-panel/default.nix index 7b8c210909b3..3787c6cc5e1d 100644 --- a/pkgs/servers/monitoring/grafana/plugins/grafana-piechart-panel/default.nix +++ b/pkgs/servers/monitoring/grafana/plugins/grafana-piechart-panel/default.nix @@ -2,8 +2,8 @@ grafanaPlugin rec { pname = "grafana-piechart-panel"; - version = "1.6.1"; - zipHash = "sha256-64K/efoBKuBFp8Jw79hTdMyTurTZsL0qfgPDcUWz2jg="; + version = "1.6.2"; + zipHash = "sha256-xKyVT092Ffgzl0BewQw5iZ14I/q6CviUR5t9BVM0bf0="; meta = with lib; { description = "Pie chart panel for Grafana"; license = licenses.mit; From e32dc55ffa89cc3ec9c4fc3026166991cd8958b7 Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Wed, 9 Jun 2021 10:18:06 +0000 Subject: [PATCH 41/43] =?UTF-8?q?grafanaPlugins.grafana-worldmap-panel:=20?= =?UTF-8?q?0.3.2=20=E2=86=92=200.3.3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../grafana/plugins/grafana-worldmap-panel/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/monitoring/grafana/plugins/grafana-worldmap-panel/default.nix b/pkgs/servers/monitoring/grafana/plugins/grafana-worldmap-panel/default.nix index 8fdee1226fba..4060a1c8dd88 100644 --- a/pkgs/servers/monitoring/grafana/plugins/grafana-worldmap-panel/default.nix +++ b/pkgs/servers/monitoring/grafana/plugins/grafana-worldmap-panel/default.nix @@ -2,8 +2,8 @@ grafanaPlugin rec { pname = "grafana-worldmap-panel"; - version = "0.3.2"; - zipHash = "sha256-MGAJzS9X91x6wt305jH1chLoW3zd7pIYDwRnPg9qrgE="; + version = "0.3.3"; + zipHash = "sha256-3n1p3SvcBQMmnbnHimLBP7hauVV1IS3SMwttUWTNvb8="; meta = with lib; { description = "World Map panel for Grafana"; license = licenses.mit; From f69ee1e3feef02bbe0a797bbede55435083a096b Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Sat, 12 Jun 2021 11:07:11 +0000 Subject: [PATCH 42/43] grafanaPlugins: use callPackages This drops dontRecurseIntoAttrs at the same time. --- pkgs/top-level/all-packages.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index bd885a03b8e7..c5fd86d0ebf5 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -19247,7 +19247,7 @@ in gofish = callPackage ../servers/gopher/gofish { }; grafana = callPackage ../servers/monitoring/grafana { }; - grafanaPlugins = dontRecurseIntoAttrs (callPackage ../servers/monitoring/grafana/plugins { }); + grafanaPlugins = callPackages ../servers/monitoring/grafana/plugins { }; grafana-agent = callPackage ../servers/monitoring/grafana-agent { }; From 56f08c070d1e7bc170cce570a791a32089a3e8fa Mon Sep 17 00:00:00 2001 From: zimbatm Date: Thu, 17 Jun 2021 18:31:16 +0200 Subject: [PATCH 43/43] Revert "terraform: drop old versions" Leave a bit of breathing rooms for users to upgrade. This reverts commit 3919d7303074924cdc6ca941eb0424829d4fec54. --- .../networking/cluster/terraform/default.nix | 37 +++++++++++++++++++ pkgs/top-level/aliases.nix | 4 -- pkgs/top-level/all-packages.nix | 4 ++ 3 files changed, 41 insertions(+), 4 deletions(-) diff --git a/pkgs/applications/networking/cluster/terraform/default.nix b/pkgs/applications/networking/cluster/terraform/default.nix index 739b1e2737d1..2d351eebde24 100644 --- a/pkgs/applications/networking/cluster/terraform/default.nix +++ b/pkgs/applications/networking/cluster/terraform/default.nix @@ -156,6 +156,43 @@ rec { # Constructor for other terraform versions mkTerraform = attrs: pluggable (generic attrs); + terraform_0_12 = mkTerraform { + version = "0.12.31"; + sha256 = "03p698xdbk5gj0f9v8v1fpd74zng3948dyy4f2hv7zgks9hid7fg"; + patches = [ + ./provider-path.patch + (fetchpatch { + name = "fix-mac-mojave-crashes.patch"; + url = "https://github.com/hashicorp/terraform/commit/cd65b28da051174a13ac76e54b7bb95d3051255c.patch"; + sha256 = "1k70kk4hli72x8gza6fy3vpckdm3sf881w61fmssrah3hgmfmbrs"; + }) + ]; + passthru = { inherit plugins; }; + }; + + terraform_0_13 = mkTerraform { + version = "0.13.7"; + sha256 = "1cahnmp66dk21g7ga6454yfhaqrxff7hpwpdgc87cswyq823fgjn"; + patches = [ ./provider-path.patch ]; + passthru = { inherit plugins; }; + }; + + terraform_0_14 = mkTerraform { + version = "0.14.11"; + sha256 = "1yi1jj3n61g1kn8klw6l78shd23q79llb7qqwigqrx3ki2mp279j"; + vendorSha256 = "1d93aqkjdrvabkvix6h1qaxpjzv7w1wa7xa44czdnjs2lapx4smm"; + patches = [ ./provider-path.patch ]; + passthru = { inherit plugins; }; + }; + + terraform_0_15 = mkTerraform { + version = "0.15.5"; + sha256 = "18f4a6l24s3cym7gk40agxikd90i56q84wziskw1spy9rgv2yx6d"; + vendorSha256 = "12hrpxay6k3kz89ihyhl91c4lw4wp821ppa245w9977fq09fhnx0"; + patches = [ ./provider-path-0_15.patch ]; + passthru = { inherit plugins; }; + }; + terraform_1_0 = mkTerraform { version = "1.0.0"; sha256 = "sha256-ddcT/I2Qn1pKFyhXgh+CcD3fSv2steSNmjyyiS2SE/o="; diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index 484fb298f438..ed0f82e9404f 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -818,10 +818,6 @@ mapAliases ({ telepathy_salut = telepathy-salut; # added 2018-02-25 telnet = inetutils; # added 2018-05-15 terraform_1_0_0 = terraform_1_0; # added 2021-06-15 - terraform_0_12 = throw "terraform 0.12 has been removed"; # added 2021-06-15 - terraform_0_13 = throw "terraform 0.13 has been removed"; # added 2021-06-15 - terraform_0_14 = throw "terraform 0.14 has been removed"; # added 2021-06-15 - terraform_0_15 = throw "terraform 0.15 has been removed"; # added 2021-06-15 terraform-provider-ibm = terraform-providers.ibm; # added 2018-09-28 terraform-provider-libvirt = terraform-providers.libvirt; # added 2018-09-28 terraform-provider-lxd = terraform-providers.lxd; # added 2020-03-16 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index bd885a03b8e7..140b6e23129a 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -31269,6 +31269,10 @@ in inherit (callPackage ../applications/networking/cluster/terraform { }) mkTerraform + terraform_0_12 + terraform_0_13 + terraform_0_14 + terraform_0_15 terraform_1_0 terraform_plugins_test ;