Merge master into staging-next

authored by github-actions[bot] and committed by GitHub 44904015 e7703dd1

+503 -399
+6
maintainers/maintainer-list.nix
··· 11316 11316 githubId = 307899; 11317 11317 name = "Gurkan Gur"; 11318 11318 }; 11319 + serge = { 11320 + email = "sb@canva.com"; 11321 + github = "serge-belov"; 11322 + githubId = 38824235; 11323 + name = "Serge Belov"; 11324 + }; 11319 11325 sersorrel = { 11320 11326 email = "ash@sorrel.sh"; 11321 11327 github = "sersorrel";
+12
pkgs/applications/editors/vscode/extensions/default.nix
··· 67 67 }; 68 68 }; 69 69 70 + adpyke.codesnap = buildVscodeMarketplaceExtension { 71 + mktplcRef = { 72 + name = "codesnap"; 73 + publisher = "adpyke"; 74 + version = "1.3.4"; 75 + sha256 = "sha256-dR6qODSTK377OJpmUqG9R85l1sf9fvJJACjrYhSRWgQ="; 76 + }; 77 + meta = { 78 + license = lib.licenses.mit; 79 + }; 80 + }; 81 + 70 82 alefragnani.project-manager = buildVscodeMarketplaceExtension { 71 83 mktplcRef = { 72 84 name = "project-manager";
+12 -1
pkgs/applications/misc/barrier/default.nix
··· 1 1 { lib, fetchFromGitHub, cmake, curl, xorg, avahi, qtbase, mkDerivation, 2 2 openssl, wrapGAppsHook, 3 - avahiWithLibdnssdCompat ? avahi.override { withLibdnssdCompat = true; } 3 + avahiWithLibdnssdCompat ? avahi.override { withLibdnssdCompat = true; }, 4 + fetchpatch 4 5 }: 5 6 6 7 mkDerivation rec { ··· 14 15 sha256 = "sha256-2tHqLF3zS3C4UnOVIZfpcuzaemC9++nC7lXgFnFSfKU="; 15 16 fetchSubmodules = true; 16 17 }; 18 + 19 + patches = [ 20 + # This patch can be removed when a new version of barrier (greater than 2.4.0) 21 + # is released, which will contain this commit. 22 + (fetchpatch { 23 + name = "add-missing-cstddef-header.patch"; 24 + url = "https://github.com/debauchee/barrier/commit/4b12265ae5d324b942698a3177e1d8b1749414d7.patch"; 25 + sha256 = "sha256-ajMxP7szBFi4h8cMT3qswfa3k/QiJ1FGI3q9fkCFQQk="; 26 + }) 27 + ]; 17 28 18 29 buildInputs = [ curl xorg.libX11 xorg.libXext xorg.libXtst avahiWithLibdnssdCompat qtbase ]; 19 30 nativeBuildInputs = [ cmake wrapGAppsHook ];
+2 -2
pkgs/applications/networking/instant-messengers/jitsi-meet-electron/default.nix
··· 9 9 10 10 stdenv.mkDerivation rec { 11 11 pname = "jitsi-meet-electron"; 12 - version = "2022.1.1"; 12 + version = "2022.3.1"; 13 13 14 14 src = fetchurl { 15 15 url = "https://github.com/jitsi/jitsi-meet-electron/releases/download/v${version}/jitsi-meet-x86_64.AppImage"; 16 - sha256 = "0x3fdqgjnsd570b7nszfx3h8l5c8x2kg32ig85n2a2g481c7xi6l"; 16 + sha256 = "sha256-/5WpjmTLwQN73m7nHg4DKPbXIbD9WyJ+YBbFMD4ZDfg="; 17 17 name = "${pname}-${version}.AppImage"; 18 18 }; 19 19
+2 -2
pkgs/applications/networking/instant-messengers/session-desktop-appimage/default.nix
··· 7 7 }: 8 8 9 9 let 10 - version = "1.7.9"; 10 + version = "1.8.4"; 11 11 pname = "session-desktop-appimage"; 12 12 13 13 src = fetchurl { 14 14 url = "https://github.com/oxen-io/session-desktop/releases/download/v${version}/session-desktop-linux-x86_64-${version}.AppImage"; 15 - sha256 = "ca7754e59146633b71e66b02a90cff87e4f2574e57ff831ca4a5f983b7e2fbef"; 15 + sha256 = "Az9NEsqU4ZcmuSno38zflT4M4lI6/4ShEh3FVTcyRJg="; 16 16 }; 17 17 appimage = appimageTools.wrapType2 { 18 18 inherit version pname src;
+1
pkgs/applications/networking/instant-messengers/telegram/kotatogram-desktop/default.nix
··· 98 98 }; 99 99 100 100 patches = [ 101 + ./kf594.patch 101 102 ./shortcuts-binary-path.patch 102 103 # let it build with nixpkgs 10.12 sdk 103 104 ./kotato-10.12-sdk.patch
+57
pkgs/applications/networking/instant-messengers/telegram/kotatogram-desktop/kf594.patch
··· 1 + diff --git a/Telegram/SourceFiles/platform/linux/linux_wayland_integration.cpp b/Telegram/SourceFiles/platform/linux/linux_wayland_integration.cpp 2 + index 7641579aa..3c195e397 100644 3 + --- a/Telegram/SourceFiles/platform/linux/linux_wayland_integration.cpp 4 + +++ b/Telegram/SourceFiles/platform/linux/linux_wayland_integration.cpp 5 + @@ -9,10 +9,10 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL 6 + 7 + #include "base/platform/base_platform_info.h" 8 + 9 + -#include <connection_thread.h> 10 + -#include <registry.h> 11 + -#include <surface.h> 12 + -#include <plasmashell.h> 13 + +#include <KWayland/Client/connection_thread.h> 14 + +#include <KWayland/Client/registry.h> 15 + +#include <KWayland/Client/surface.h> 16 + +#include <KWayland/Client/plasmashell.h> 17 + 18 + using namespace KWayland::Client; 19 + 20 + Submodule Telegram/lib_base contains modified content 21 + diff --git a/Telegram/lib_base/base/platform/linux/base_linux_wayland_integration.cpp b/Telegram/lib_base/base/platform/linux/base_linux_wayland_integration.cpp 22 + index 32f0de6..30a087f 100644 23 + --- a/Telegram/lib_base/base/platform/linux/base_linux_wayland_integration.cpp 24 + +++ b/Telegram/lib_base/base/platform/linux/base_linux_wayland_integration.cpp 25 + @@ -13,11 +13,11 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL 26 + #include <QtCore/QPointer> 27 + #include <QtGui/QWindow> 28 + 29 + -#include <connection_thread.h> 30 + -#include <registry.h> 31 + -#include <surface.h> 32 + -#include <xdgforeign.h> 33 + -#include <idleinhibit.h> 34 + +#include <KWayland/Client/connection_thread.h> 35 + +#include <KWayland/Client/registry.h> 36 + +#include <KWayland/Client/surface.h> 37 + +#include <KWayland/Client/xdgforeign.h> 38 + +#include <KWayland/Client/idleinhibit.h> 39 + 40 + using namespace KWayland::Client; 41 + 42 + Submodule Telegram/lib_ui contains modified content 43 + diff --git a/Telegram/lib_ui/ui/platform/linux/ui_linux_wayland_integration.cpp b/Telegram/lib_ui/ui/platform/linux/ui_linux_wayland_integration.cpp 44 + index 01f1e80..163cb6a 100644 45 + --- a/Telegram/lib_ui/ui/platform/linux/ui_linux_wayland_integration.cpp 46 + +++ b/Telegram/lib_ui/ui/platform/linux/ui_linux_wayland_integration.cpp 47 + @@ -24,8 +24,8 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL 48 + #include <private/qwaylandwindow_p.h> 49 + #include <private/qwaylandshellsurface_p.h> 50 + 51 + -#include <connection_thread.h> 52 + -#include <registry.h> 53 + +#include <KWayland/Client/connection_thread.h> 54 + +#include <KWayland/Client/registry.h> 55 + 56 + Q_DECLARE_METATYPE(QMargins); 57 +
+3 -6
pkgs/applications/networking/instant-messengers/telegram/kotatogram-desktop/tg_owt.nix
··· 63 63 64 64 postPatch = lib.optionalString stdenv.isLinux '' 65 65 substituteInPlace src/modules/desktop_capture/linux/egl_dmabuf.cc \ 66 - --replace '"libEGL.so.1"' '"${libGL}/lib/libEGL.so.1"' 67 - substituteInPlace src/modules/desktop_capture/linux/egl_dmabuf.cc \ 68 - --replace '"libGL.so.1"' '"${libGL}/lib/libGL.so.1"' 69 - substituteInPlace src/modules/desktop_capture/linux/egl_dmabuf.cc \ 70 - --replace '"libgbm.so.1"' '"${mesa}/lib/libgbm.so.1"' 71 - substituteInPlace src/modules/desktop_capture/linux/egl_dmabuf.cc \ 66 + --replace '"libEGL.so.1"' '"${libGL}/lib/libEGL.so.1"' \ 67 + --replace '"libGL.so.1"' '"${libGL}/lib/libGL.so.1"' \ 68 + --replace '"libgbm.so.1"' '"${mesa}/lib/libgbm.so.1"' \ 72 69 --replace '"libdrm.so.2"' '"${libdrm}/lib/libdrm.so.2"' 73 70 ''; 74 71
+46 -7
pkgs/applications/networking/instant-messengers/zoom-us/default.nix
··· 2 2 , lib 3 3 , fetchurl 4 4 , makeWrapper 5 + , xar 6 + , cpio 5 7 # Dynamic libraries 6 8 , alsa-lib 7 9 , atk ··· 28 30 }: 29 31 30 32 let 31 - version = "5.9.6.2225"; 33 + inherit (stdenv.hostPlatform) system; 34 + throwSystem = throw "Unsupported system: ${system}"; 35 + 36 + # Zoom versions are released at different times for each platform and linux 37 + # is stuck on 5.9.6 until https://github.com/NixOS/nixpkgs/pull/166085 is 38 + # resolved 39 + version = { 40 + aarch64-darwin = "5.10.4.6592"; 41 + x86_64-darwin = "5.10.4.6592"; 42 + x86_64-linux = "5.9.6.2225"; 43 + }.${system} or throwSystem; 44 + 32 45 srcs = { 46 + aarch64-darwin = fetchurl { 47 + url = "https://zoom.us/client/${version}/Zoom.pkg?archType=arm64"; 48 + sha256 = "0jg5f9hvb67hhfnifpx5fzz65fcijldy1znlia6pqflxwci3m5rq"; 49 + }; 50 + x86_64-darwin = fetchurl { 51 + url = "https://zoom.us/client/${version}/Zoom.pkg"; 52 + sha256 = "1p83691bid8kz5mw09x6l9zvjglfszi5vbhfmbbpiqhiqcxlfz83"; 53 + }; 33 54 x86_64-linux = fetchurl { 34 55 url = "https://zoom.us/client/${version}/zoom_x86_64.pkg.tar.xz"; 35 56 sha256 = "0rynpw2fjn9j75f34rk0rgqn9wzyzgzmwh1a3xcx7hqingv45k53"; ··· 69 90 pname = "zoom"; 70 91 inherit version; 71 92 72 - src = srcs.${stdenv.hostPlatform.system}; 93 + src = srcs.${system} or throwSystem; 73 94 74 - dontUnpack = true; 95 + dontUnpack = stdenv.isLinux; 96 + unpackPhase = lib.optionalString stdenv.isDarwin '' 97 + xar -xf $src 98 + zcat < zoomus.pkg/Payload | cpio -i 99 + ''; 75 100 76 101 nativeBuildInputs = [ 77 102 makeWrapper 103 + ] 104 + ++ lib.optionals stdenv.isDarwin [ 105 + xar 106 + cpio 78 107 ]; 79 108 80 109 installPhase = '' 81 110 runHook preInstall 82 - mkdir $out 83 - tar -C $out -xf $src 84 - mv $out/usr/* $out/ 111 + ${rec { 112 + aarch64-darwin = '' 113 + mkdir -p $out/Applications/zoom.us.app 114 + cp -R . $out/Applications/zoom.us.app 115 + ''; 116 + # darwin steps same on both architectures 117 + x86_64-darwin = aarch64-darwin; 118 + x86_64-linux = '' 119 + mkdir $out 120 + tar -C $out -xf $src 121 + mv $out/usr/* $out/ 122 + ''; 123 + }.${system} or throwSystem} 85 124 runHook postInstall 86 125 ''; 87 126 88 - postFixup = '' 127 + postFixup = lib.optionalString stdenv.isLinux '' 89 128 # Desktop File 90 129 substituteInPlace $out/share/applications/Zoom.desktop \ 91 130 --replace "Exec=/usr/bin/zoom" "Exec=$out/bin/zoom"
+1 -1
pkgs/applications/office/paperwork/paperwork-gtk.nix
··· 138 138 passthru.updateScript = writeScript "update.sh" '' 139 139 #!/usr/bin/env nix-shell 140 140 #!nix-shell -i bash -p curl common-updater-scripts 141 - version=$(list-git-tags https://gitlab.gnome.org/World/OpenPaperwork/paperwork.git | sed 's/^v//' | sort -V | tail -n1) 141 + version=$(list-git-tags | sed 's/^v//' | sort -V | tail -n1) 142 142 update-source-version paperwork "$version" --file=pkgs/applications/office/paperwork/src.nix 143 143 docs_version="$(curl https://gitlab.gnome.org/World/OpenPaperwork/paperwork/-/raw/$version/paperwork-gtk/src/paperwork_gtk/model/help/screenshot.sh | grep TEST_DOCS_TAG= | cut -d'"' -f2)" 144 144 update-source-version paperwork.sample_docs "$docs_version" --file=pkgs/applications/office/paperwork/src.nix --version-key=rev
+2 -4
pkgs/applications/video/epgstation/default.nix
··· 1 1 { lib 2 2 , stdenv 3 3 , fetchFromGitHub 4 - , common-updater-scripts 5 - , genericUpdater 4 + , gitUpdater 6 5 , writers 7 6 , makeWrapper 8 7 , bash ··· 130 129 inherit 131 130 pname 132 131 version 133 - common-updater-scripts 134 - genericUpdater 132 + gitUpdater 135 133 writers 136 134 jq 137 135 yq;
+2 -4
pkgs/applications/video/epgstation/update.nix
··· 2 2 , version 3 3 , homepage 4 4 , lib 5 - , common-updater-scripts 6 - , genericUpdater 5 + , gitUpdater 7 6 , writers 8 7 , jq 9 8 , yq 10 9 }: 11 10 12 11 let 13 - updater = genericUpdater { 12 + updater = gitUpdater { 14 13 inherit pname version; 15 14 attrPath = lib.toLower pname; 16 15 rev-prefix = "v"; 17 - versionLister = "${common-updater-scripts}/bin/list-git-tags --url=${homepage}"; 18 16 }; 19 17 updateScript = builtins.elemAt updater 0; 20 18 updateArgs = map (lib.escapeShellArg) (builtins.tail updater);
+2 -4
pkgs/applications/video/mirakurun/default.nix
··· 6 6 { lib 7 7 , stdenvNoCC 8 8 , bash 9 - , common-updater-scripts 10 9 , fetchFromGitHub 11 - , genericUpdater 10 + , gitUpdater 12 11 , jq 13 12 , makeWrapper 14 13 , mkYarnPackage ··· 80 79 inherit 81 80 pname 82 81 version 83 - common-updater-scripts 84 - genericUpdater 82 + gitUpdater 85 83 writers 86 84 jq 87 85 yarn
+3 -7
pkgs/applications/video/mirakurun/update.nix
··· 2 2 , version 3 3 , homepage 4 4 , lib 5 - , common-updater-scripts 6 - , genericUpdater 5 + , gitUpdater 7 6 , writers 8 7 , jq 9 8 , yarn ··· 11 10 }: 12 11 13 12 let 14 - updater = genericUpdater { 13 + updater = gitUpdater { 15 14 inherit pname version; 16 15 attrPath = lib.toLower pname; 17 16 18 17 # exclude prerelease versions 19 - versionLister = writers.writeBash "list-mirakurun-versions" '' 20 - ${common-updater-scripts}/bin/list-git-tags --url=${homepage} \ 21 - | grep '^[0-9]\+\.[0-9]\+\.[0-9]\+$' 22 - ''; 18 + ignoredVersions = "-"; 23 19 }; 24 20 updateScript = builtins.elemAt updater 0; 25 21 updateArgs = map (lib.escapeShellArg) (builtins.tail updater);
-46
pkgs/applications/window-managers/wmii-hg/default.nix
··· 1 - { lib, stdenv, fetchurl, unzip, pkg-config, libixp_hg, txt2tags, dash, python2, which 2 - , libX11 , libXrender, libXext, libXinerama, libXrandr, libXft }: 3 - 4 - stdenv.mkDerivation rec { 5 - rev = "2823"; 6 - version = "hg-2012-12-09"; 7 - pname = "wmii"; 8 - 9 - src = fetchurl { 10 - url = "https://storage.googleapis.com/google-code-archive-source/v2/code.google.com/wmii/source-archive.zip"; 11 - sha256 = "1wmkq14zvmfrmydl8752xz852cy7agrx3qp4fy2cc5asb2r9abaz"; 12 - }; 13 - 14 - # for dlopen-ing 15 - patchPhase = '' 16 - substituteInPlace lib/libstuff/x11/xft.c --replace "libXft.so" "$(pkg-config --variable=libdir xft)/libXft.so.2" 17 - substituteInPlace cmd/wmii.sh.sh --replace "\$(which which)" "${which}/bin/which" 18 - ''; 19 - 20 - configurePhase = '' 21 - for file in $(grep -lr '#!.*sh'); do 22 - sed -i 's|#!.*sh|#!${dash}/bin/dash|' $file 23 - done 24 - 25 - cat <<EOF >> config.mk 26 - PREFIX = $out 27 - LIBIXP = ${libixp_hg}/lib/libixp.a 28 - BINSH = ${dash}/bin/dash 29 - EOF 30 - ''; 31 - 32 - nativeBuildInputs = [ pkg-config unzip ]; 33 - buildInputs = [ libixp_hg txt2tags dash python2 which 34 - libX11 libXrender libXext libXinerama libXrandr libXft ]; 35 - 36 - # For some reason including mercurial in buildInputs did not help 37 - makeFlags = [ "WMII_HGVERSION=hg${rev}" ]; 38 - 39 - meta = { 40 - homepage = "https://suckless.org/"; # https://wmii.suckless.org/ does not exist anymore 41 - description = "A small window manager controlled by a 9P filesystem"; 42 - maintainers = with lib.maintainers; [ kovirobi ]; 43 - license = lib.licenses.mit; 44 - platforms = with lib.platforms; linux; 45 - }; 46 - }
+72
pkgs/applications/window-managers/wmii/default.nix
··· 1 + { lib, stdenv 2 + , fetchFromGitHub 3 + , dash 4 + , libX11 5 + , libXext 6 + , libXft 7 + , libXinerama 8 + , libXrandr 9 + , libXrender 10 + , libixp 11 + , pkg-config 12 + , txt2tags 13 + , unzip 14 + , which 15 + }: 16 + 17 + stdenv.mkDerivation rec { 18 + pname = "wmii"; 19 + version = "unstable-2022-04-04"; 20 + 21 + src = fetchFromGitHub { 22 + owner = "0intro"; 23 + repo = "wmii"; 24 + rev = "ff120c7fee6e1b3a30a4a800074394327fb1da9d"; 25 + hash = "sha256-KEmWnobpT/5TdgT2HGPCpG1duz9Q6Z6PFSEBs2Ce+7g="; 26 + }; 27 + 28 + # for dlopen-ing 29 + postPatch = '' 30 + substituteInPlace lib/libstuff/x11/xft.c --replace "libXft.so" "$(pkg-config --variable=libdir xft)/libXft.so.2" 31 + substituteInPlace cmd/wmii.sh.sh --replace "\$(which which)" "${which}/bin/which" 32 + ''; 33 + 34 + postConfigure = '' 35 + for file in $(grep -lr '#!.*sh'); do 36 + sed -i 's|#!.*sh|#!${dash}/bin/dash|' $file 37 + done 38 + 39 + cat <<EOF >> config.mk 40 + PREFIX = $out 41 + LIBIXP = ${libixp}/lib/libixp.a 42 + BINSH = ${dash}/bin/dash 43 + EOF 44 + ''; 45 + 46 + # Remove optional python2 functionality 47 + postInstall = '' 48 + rm -rf $out/lib/python* $out/etc/wmii-hg/python 49 + ''; 50 + 51 + nativeBuildInputs = [ pkg-config unzip ]; 52 + buildInputs = [ 53 + dash 54 + libX11 55 + libXext 56 + libXft 57 + libXinerama 58 + libXrandr 59 + libXrender 60 + libixp 61 + txt2tags 62 + which 63 + ]; 64 + 65 + meta = { 66 + homepage = "https://github.com/0intro/wmii"; 67 + description = "A small, scriptable window manager, with a 9P filesystem interface and an acme-like layout"; 68 + maintainers = with lib.maintainers; [ kovirobi ]; 69 + license = lib.licenses.mit; 70 + platforms = with lib.platforms; linux; 71 + }; 72 + }
+2 -2
pkgs/common-updater/git-updater.nix
··· 10 10 , rev-prefix ? "" 11 11 , odd-unstable ? false 12 12 , patchlevel-unstable ? false 13 - # explicit url is useful when git protocol is used only for tags listing 14 - # while actual release is referred by tarball 13 + # an explicit url is needed when src.meta.homepage or src.url don't 14 + # point to a git repo (eg. when using fetchurl, fetchzip, ...) 15 15 , url ? null 16 16 }: 17 17
+1 -1
pkgs/common-updater/scripts/list-git-tags
··· 31 31 # By default we set url to src.url or src.meta.homepage 32 32 if [[ -z "$url" ]]; then 33 33 url="$(nix-instantiate $systemArg --eval -E \ 34 - "with import ./. {}; $UPDATE_NIX_ATTR_PATH.src.url or $UPDATE_NIX_ATTR_PATH.src.meta.homepage" \ 34 + "with import ./. {}; $UPDATE_NIX_ATTR_PATH.src.meta.homepage or $UPDATE_NIX_ATTR_PATH.src.url" \ 35 35 | tr -d '"')" 36 36 fi 37 37
+22
pkgs/data/fonts/kacst/default.nix
··· 1 + { fetchzip, lib }: 2 + 3 + let 4 + version = "2.01"; 5 + in 6 + fetchzip { 7 + name = "kacst-${version}"; 8 + url = "mirror://debian/pool/main/f/fonts-kacst/fonts-kacst_${version}+mry.orig.tar.bz2"; 9 + sha256 = "sha256-pIO58CXfmKYRKYJ1oI+tjTwlKBRnkZ/CpIM2Xa0CDA4="; 10 + 11 + postFetch = '' 12 + mkdir -p $out/share/fonts 13 + tar xjf $downloadedFile --strip-components=1 -C $out/share/fonts 14 + ''; 15 + 16 + meta = with lib; { 17 + description = "KACST Latin-Arabic TrueType fonts"; 18 + license = licenses.gpl2Only; 19 + maintainers = with lib.maintainers; [ serge ]; 20 + platforms = platforms.all; 21 + }; 22 + }
+1 -1
pkgs/development/beam-modules/elvis-erlang/default.nix
··· 24 24 25 25 set -euo pipefail 26 26 27 - latest=$(list-git-tags --url=https://github.com/${owner}/${repo}.git | sort -V | tail -1) 27 + latest=$(list-git-tags | sort -V | tail -1) 28 28 if [ "$latest" != "${version}" ]; then 29 29 nixpkgs="$(git rev-parse --show-toplevel)" 30 30 nix_path="$nixpkgs/pkgs/development/beam-modules/elvis-erlang"
+1 -1
pkgs/development/beam-modules/erlang-ls/default.nix
··· 51 51 #! nix-shell -i bash -p common-updater-scripts coreutils git gnused gnutar gzip "rebar3WithPlugins { globalPlugins = [ beamPackages.rebar3-nix ]; }" 52 52 53 53 set -ox errexit 54 - latest=$(list-git-tags --url=https://github.com/${owner}/${repo}.git | sed -n '/[\d\.]\+/p' | sort -V | tail -1) 54 + latest=$(list-git-tags | sed -n '/[\d\.]\+/p' | sort -V | tail -1) 55 55 if [[ "$latest" != "${version}" ]]; then 56 56 nixpkgs="$(git rev-parse --show-toplevel)" 57 57 nix_path="$nixpkgs/pkgs/development/beam-modules/erlang-ls"
+8 -5
pkgs/development/compilers/openjdk/11.nix
··· 11 11 let 12 12 major = "11"; 13 13 minor = "0"; 14 - update = "12"; 15 - build = "7"; 14 + update = "15"; 15 + build = "10"; 16 16 17 17 openjdk = stdenv.mkDerivation rec { 18 18 pname = "openjdk" + lib.optionalString headless "-headless"; ··· 22 22 owner = "openjdk"; 23 23 repo = "jdk${major}u"; 24 24 rev = "jdk-${version}"; 25 - sha256 = "0s8g6gj5vhm7hbp05cqaxasjrkwr41fm634qim8q6slklm4pkkli"; 25 + sha256 = "le2JDxPJPSuga4JxLJNRZwCaodptSb2kh4TsJXumTXs="; 26 26 }; 27 27 28 28 nativeBuildInputs = [ pkg-config autoconf unzip ]; ··· 40 40 ./currency-date-range-jdk10.patch 41 41 ./increase-javadoc-heap.patch 42 42 ./fix-library-path-jdk11.patch 43 - ./fix-glibc-2.34.patch 44 43 ] ++ lib.optionals (!headless && enableGnome2) [ 45 44 ./swing-use-gtk-jdk10.patch 46 45 ]; ··· 61 60 "--with-zlib=system" 62 61 "--with-lcms=system" 63 62 "--with-stdc++lib=dynamic" 63 + "--disable-warnings-as-errors" 64 64 ] ++ lib.optional stdenv.isx86_64 "--with-jvm-features=zgc" 65 65 ++ lib.optional headless "--enable-headless-only" 66 66 ++ lib.optional (!headless && enableJavaFX) "--with-import-modules=${openjfx}"; 67 67 68 68 separateDebugInfo = true; 69 69 70 - NIX_CFLAGS_COMPILE = "-Wno-error"; 70 + # Workaround for 71 + # `cc1plus: error: '-Wformat-security' ignored without '-Wformat' [-Werror=format-security]` 72 + # when building jtreg 73 + NIX_CFLAGS_COMPILE = "-Wformat"; 71 74 72 75 NIX_LDFLAGS = toString (lib.optionals (!headless) [ 73 76 "-lfontconfig" "-lcups" "-lXinerama" "-lXrandr" "-lmagic"
+3 -3
pkgs/development/compilers/openjdk/17.nix
··· 11 11 let 12 12 version = { 13 13 feature = "17"; 14 - interim = ".0.1"; 15 - build = "12"; 14 + interim = ".0.3"; 15 + build = "7"; 16 16 }; 17 17 18 18 openjdk = stdenv.mkDerivation { ··· 23 23 owner = "openjdk"; 24 24 repo = "jdk${version.feature}u"; 25 25 rev = "jdk-${version.feature}${version.interim}+${version.build}"; 26 - sha256 = "1l1jgbz8q7zq66npfg88r0l5xga427vrz35iys09j44b6qllrldd"; 26 + sha256 = "qxiKz8HCNZXFdfgfiA16q5z0S65cZE/u7e+QxLlplWo="; 27 27 }; 28 28 29 29 nativeBuildInputs = [ pkg-config autoconf unzip ];
+21 -3
pkgs/development/compilers/openjdk/fix-library-path-jdk11.patch
··· 1 + From 83f97773ea99fe2191a49e551ea43d51c9a765cd Mon Sep 17 00:00:00 2001 2 + Subject: [PATCH] strip some hard-coded default paths for libs and extensions 3 + 4 + --- 5 + src/hotspot/os/linux/os_linux.cpp | 12 ++++++------ 6 + 1 file changed, 6 insertions(+), 6 deletions(-) 7 + 1 8 diff --git a/src/hotspot/os/linux/os_linux.cpp b/src/hotspot/os/linux/os_linux.cpp 2 - index 0dbe03349e..847d56778d 100644 9 + index 476b1c2175..2695ed2301 100644 3 10 --- a/src/hotspot/os/linux/os_linux.cpp 4 11 +++ b/src/hotspot/os/linux/os_linux.cpp 5 - @@ -326,13 +326,13 @@ void os::init_system_properties_values() { 12 + @@ -417,20 +417,20 @@ void os::init_system_properties_values() { 6 13 // ... 7 14 // 7: The default directories, normally /lib and /usr/lib. 8 15 #if defined(AMD64) || (defined(_LP64) && defined(SPARC)) || defined(PPC64) || defined(S390) 9 16 - #define DEFAULT_LIBPATH "/usr/lib64:/lib64:/lib:/usr/lib" 10 17 + #define DEFAULT_LIBPATH "" 11 18 #else 19 + #if defined(AARCH64) 20 + // Use 32-bit locations first for AARCH64 (a 64-bit architecture), since some systems 21 + // might not adhere to the FHS and it would be a change in behaviour if we used 22 + // DEFAULT_LIBPATH of other 64-bit architectures which prefer the 64-bit paths. 23 + - #define DEFAULT_LIBPATH "/lib:/usr/lib:/usr/lib64:/lib64" 24 + + #define DEFAULT_LIBPATH "" 25 + #else 12 26 - #define DEFAULT_LIBPATH "/lib:/usr/lib" 13 27 + #define DEFAULT_LIBPATH "" 28 + #endif // AARCH64 14 29 #endif 15 30 16 31 // Base path of extensions installed on the system. ··· 19 34 #define EXTENSIONS_DIR "/lib/ext" 20 35 21 36 // Buffer that fits several sprintfs. 22 - @@ -392,13 +392,13 @@ void os::init_system_properties_values() { 37 + @@ -490,13 +490,13 @@ void os::init_system_properties_values() { 23 38 strlen(v) + 1 + 24 39 sizeof(SYS_EXT_DIR) + sizeof("/lib/") + sizeof(DEFAULT_LIBPATH) + 1, 25 40 mtInternal); ··· 35 50 Arguments::set_ext_dirs(buf); 36 51 37 52 FREE_C_HEAP_ARRAY(char, buf); 53 + -- 54 + 2.35.1 55 +
-27
pkgs/development/libraries/libixp-hg/default.nix
··· 1 - { lib, stdenv, fetchurl, unzip, txt2tags }: 2 - 3 - stdenv.mkDerivation rec { 4 - rev = "148"; 5 - version = "hg-2012-12-02"; 6 - pname = "libixp"; 7 - 8 - src = fetchurl { 9 - url = "https://storage.googleapis.com/google-code-archive-source/v2/code.google.com/libixp/source-archive.zip"; 10 - sha256 = "0kcdvdcrkw6q39v563ncis6d7ini64xbgn5fd3b4aa95fp9sj3is"; 11 - }; 12 - 13 - configurePhase = '' 14 - sed -i -e "s|^PREFIX.*=.*$|PREFIX = $out|" config.mk 15 - ''; 16 - 17 - nativeBuildInputs = [ unzip ]; 18 - buildInputs = [ txt2tags ]; 19 - 20 - meta = { 21 - homepage = "http://repo.cat-v.org/libixp/"; # see also https://libs.suckless.org/deprecated/libixp 22 - description = "Portable, simple C-language 9P client and server libary"; 23 - maintainers = with lib.maintainers; [ kovirobi ]; 24 - license = lib.licenses.mit; 25 - platforms = with lib.platforms; unix; 26 - }; 27 - }
+28
pkgs/development/libraries/libixp/default.nix
··· 1 + { lib, stdenv, fetchFromGitHub, unzip, txt2tags }: 2 + 3 + stdenv.mkDerivation rec { 4 + pname = "libixp"; 5 + version = "unstable-2022-04-04"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "0intro"; 9 + repo = "libixp"; 10 + rev = "ca2acb2988e4f040022f0e2094c69ab65fa6ec53"; 11 + hash = "sha256-S25DmXJ7fN0gXLV0IzUdz8hXPTYEHmaSG7Mnli6GQVc="; 12 + }; 13 + 14 + postConfigure = '' 15 + sed -i -e "s|^PREFIX.*=.*$|PREFIX = $out|" config.mk 16 + ''; 17 + 18 + nativeBuildInputs = [ unzip ]; 19 + buildInputs = [ txt2tags ]; 20 + 21 + meta = { 22 + homepage = "https://github.com/0intro/libixp"; 23 + description = "Portable, simple C-language 9P client and server libary"; 24 + maintainers = with lib.maintainers; [ kovirobi ]; 25 + license = lib.licenses.mit; 26 + platforms = with lib.platforms; unix; 27 + }; 28 + }
+1
pkgs/development/libraries/mlt/qt-5.nix
··· 71 71 72 72 passthru.updateScript = gitUpdater { 73 73 inherit pname version; 74 + attrPath = "libsForQt5.mlt"; 74 75 rev-prefix = "v"; 75 76 }; 76 77
+2
pkgs/development/libraries/simpleitk/default.nix
··· 4 4 pname = "simpleitk"; 5 5 version = "2.1.1"; 6 6 7 + outputs = [ "out" "dev" ]; 8 + 7 9 src = fetchFromGitHub { 8 10 owner = "SimpleITK"; 9 11 repo = "SimpleITK";
+3 -6
pkgs/development/libraries/vapoursynth/default.nix
··· 4 4 , ApplicationServices 5 5 }: 6 6 7 - with lib; 8 - 9 7 stdenv.mkDerivation rec { 10 8 pname = "vapoursynth"; 11 - version = "R58"; 9 + version = "58"; 12 10 13 11 src = fetchFromGitHub { 14 12 owner = "vapoursynth"; 15 13 repo = "vapoursynth"; 16 - rev = version; 14 + rev = "R${version}"; 17 15 sha256 = "sha256-LIjNfyfpyvE+Ec6f4aGzRA4ZGoWPFhjtUw4yrenDsUQ="; 18 16 }; 19 17 ··· 25 23 buildInputs = [ 26 24 zimg libass 27 25 (python3.withPackages (ps: with ps; [ sphinx cython ])) 28 - ] ++ optionals stdenv.isDarwin [ libiconv ApplicationServices ]; 26 + ] ++ lib.optionals stdenv.isDarwin [ libiconv ApplicationServices ]; 29 27 30 28 enableParallelBuilding = true; 31 29 ··· 58 56 platforms = platforms.x86_64; 59 57 maintainers = with maintainers; [ rnhmjoj sbruder tadeokondrak ]; 60 58 }; 61 - 62 59 }
+2 -2
pkgs/development/python-modules/ansible-compat/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchPypi 4 - , ansible 4 + , ansible-core 5 5 , flaky 6 6 , pytest-mock 7 7 , pytestCheckHook ··· 35 35 ''; 36 36 37 37 checkInputs = [ 38 - ansible 38 + ansible-core 39 39 flaky 40 40 pytest-mock 41 41 pytestCheckHook
+3 -3
pkgs/development/python-modules/ansible-runner/default.nix
··· 1 1 { lib 2 2 , stdenv 3 - , ansible 3 + , ansible-core 4 4 , buildPythonPackage 5 5 , fetchPypi 6 6 , mock ··· 32 32 ]; 33 33 34 34 propagatedBuildInputs = [ 35 - ansible 35 + ansible-core 36 36 psutil 37 37 pexpect 38 38 python-daemon ··· 41 41 ]; 42 42 43 43 checkInputs = [ 44 - ansible # required to place ansible CLI onto the PATH in tests 44 + ansible-core # required to place ansible CLI onto the PATH in tests 45 45 pytestCheckHook 46 46 pytest-mock 47 47 pytest-timeout
-88
pkgs/development/python-modules/ansible/base.nix
··· 1 - { lib 2 - , callPackage 3 - , buildPythonPackage 4 - , fetchPypi 5 - , installShellFiles 6 - , cryptography 7 - , jinja2 8 - , junit-xml 9 - , lxml 10 - , ncclient 11 - , packaging 12 - , paramiko 13 - , pexpect 14 - , psutil 15 - , pycrypto 16 - , pyyaml 17 - , requests 18 - , scp 19 - , windowsSupport ? false, pywinrm 20 - , xmltodict 21 - }: 22 - 23 - let 24 - ansible-collections = callPackage ./collections.nix { 25 - version = "3.4.0"; # must be < 4.0 26 - sha256 = "096rbgz730njk0pg8qnc27mmz110wqrw354ca9gasb7rqg0f4d6a"; 27 - }; 28 - in 29 - buildPythonPackage rec { 30 - pname = "ansible-base"; 31 - version = "2.10.17"; 32 - 33 - src = fetchPypi { 34 - inherit pname version; 35 - sha256 = "sha256-75JYgsqNTDwszQkc3hmeDIaQJMytDQejN9zyB7/zLzQ="; 36 - }; 37 - 38 - # ansible_connection is already wrapped, so don't pass it through 39 - # the python interpreter again, as it would break execution of 40 - # connection plugins. 41 - postPatch = '' 42 - substituteInPlace lib/ansible/executor/task_executor.py \ 43 - --replace "[python," "[" 44 - ''; 45 - 46 - nativeBuildInputs = [ 47 - installShellFiles 48 - ]; 49 - 50 - propagatedBuildInputs = [ 51 - # depend on ansible-collections instead of the other way around 52 - ansible-collections 53 - # from requirements.txt 54 - cryptography 55 - jinja2 56 - packaging 57 - pyyaml 58 - # optional dependencies 59 - junit-xml 60 - lxml 61 - ncclient 62 - paramiko 63 - pexpect 64 - psutil 65 - pycrypto 66 - requests 67 - scp 68 - xmltodict 69 - ] ++ lib.optional windowsSupport pywinrm; 70 - 71 - postInstall = '' 72 - installManPage docs/man/man1/*.1 73 - ''; 74 - 75 - # internal import errors, missing dependencies 76 - doCheck = false; 77 - 78 - passthru = { 79 - collections = ansible-collections; 80 - }; 81 - 82 - meta = with lib; { 83 - description = "Radically simple IT automation"; 84 - homepage = "https://www.ansible.com"; 85 - license = licenses.gpl3Plus; 86 - maintainers = with maintainers; [ hexa ]; 87 - }; 88 - }
+14 -8
pkgs/development/python-modules/ansible/collections.nix pkgs/development/python-modules/ansible/default.nix
··· 1 1 { lib 2 + , pythonOlder 2 3 , buildPythonPackage 3 4 , fetchPypi 4 5 , jsonschema ··· 11 12 , textfsm 12 13 , ttp 13 14 , xmltodict 15 + 16 + # optionals 14 17 , withJunos ? false 15 18 , withNetbox ? false 16 - 17 - , version 18 - , sha256 19 19 }: 20 20 21 - buildPythonPackage rec { 21 + let 22 22 pname = "ansible"; 23 - inherit version; 23 + version = "5.6.0"; 24 + in 25 + buildPythonPackage { 26 + inherit pname version; 24 27 format = "setuptools"; 25 28 29 + disabled = pythonOlder "3.8"; 30 + 26 31 src = fetchPypi { 27 - inherit pname version sha256; 32 + inherit pname version; 33 + sha256 = "sha256-rNMHMUNBVNo3bO7rQW7hVBzfuOo8ZIAjpVo0yz7K+fM="; 28 34 }; 29 35 30 36 postPatch = '' 31 - # make ansible-base depend on ansible-collection, not the other way around 32 - sed -Ei '/ansible-(base|core)/d' setup.py 37 + # we make ansible-core depend on ansible, not the other way around 38 + sed -Ei '/ansible-core/d' setup.py 33 39 ''; 34 40 35 41 propagatedBuildInputs = lib.unique ([
+3 -12
pkgs/development/python-modules/ansible/core.nix
··· 3 3 , buildPythonPackage 4 4 , fetchPypi 5 5 , installShellFiles 6 + , ansible 6 7 , cryptography 7 8 , jinja2 8 9 , junit-xml ··· 21 22 , xmltodict 22 23 }: 23 24 24 - let 25 - ansible-collections = callPackage ./collections.nix { 26 - version = "5.6.0"; 27 - sha256 = "sha256-rNMHMUNBVNo3bO7rQW7hVBzfuOo8ZIAjpVo0yz7K+fM="; 28 - }; 29 - in 30 25 buildPythonPackage rec { 31 26 pname = "ansible-core"; 32 27 version = "2.12.5"; ··· 49 44 ]; 50 45 51 46 propagatedBuildInputs = [ 52 - # depend on ansible-collections instead of the other way around 53 - ansible-collections 47 + # depend on ansible instead of the other way around 48 + ansible 54 49 # from requirements.txt 55 50 cryptography 56 51 jinja2 ··· 76 71 77 72 # internal import errors, missing dependencies 78 73 doCheck = false; 79 - 80 - passthru = { 81 - collections = ansible-collections; 82 - }; 83 74 84 75 meta = with lib; { 85 76 description = "Radically simple IT automation";
-55
pkgs/development/python-modules/ansible/legacy.nix
··· 1 - { lib 2 - , fetchPypi 3 - , buildPythonPackage 4 - , pycrypto 5 - , paramiko 6 - , jinja2 7 - , pyyaml 8 - , httplib2 9 - , six 10 - , netaddr 11 - , dnspython 12 - , jmespath 13 - , dopy 14 - , ncclient 15 - , windowsSupport ? false 16 - , pywinrm 17 - }: 18 - 19 - buildPythonPackage rec { 20 - pname = "ansible"; 21 - version = "2.9.27"; 22 - 23 - src = fetchPypi { 24 - inherit pname version; 25 - sha256 = "sha256-R5FZ5Qs72Qkg0GvFlBDDpR0/m+m04QKeEdHkotBwVzY="; 26 - }; 27 - 28 - prePatch = '' 29 - # ansible-connection is wrapped, so make sure it's not passed 30 - # through the python interpreter. 31 - sed -i "s/\[python, /[/" lib/ansible/executor/task_executor.py 32 - ''; 33 - 34 - postInstall = '' 35 - for m in docs/man/man1/*; do 36 - install -vD $m -t $out/share/man/man1 37 - done 38 - ''; 39 - 40 - propagatedBuildInputs = [ 41 - pycrypto paramiko jinja2 pyyaml httplib2 42 - six netaddr dnspython jmespath dopy ncclient 43 - ] ++ lib.optional windowsSupport pywinrm; 44 - 45 - # dificult to test 46 - doCheck = false; 47 - 48 - meta = with lib; { 49 - homepage = "https://www.ansible.com"; 50 - description = "Radically simple IT automation"; 51 - license = [ licenses.gpl3 ] ; 52 - maintainers = with maintainers; [ joamaki costrouc hexa ]; 53 - platforms = platforms.linux ++ platforms.darwin; 54 - }; 55 - }
+11 -4
pkgs/development/python-modules/boxx/default.nix
··· 13 13 , pyopengl 14 14 , seaborn 15 15 , pytorch 16 + , pythonOlder 16 17 , torchvision 17 18 }: 18 19 19 20 buildPythonPackage rec { 20 21 pname = "boxx"; 21 - version = "0.9.11"; 22 + version = "0.10.0"; 23 + format = "setuptools"; 24 + 25 + disabled = pythonOlder "3.7"; 22 26 23 27 src = fetchPypi { 24 28 inherit pname version; 25 - sha256 = "sha256-xB/bCSIzT0JF5ZPWqSn3P8soBJnzDTfCyan+iOrfWzw="; 29 + hash = "sha256-1Q6wCloOCfyDmvC8VbK6GgfnxuliJ6Ze7UEvsNFBVa0="; 26 30 }; 27 31 28 32 propagatedBuildInputs = [ ··· 37 41 seaborn 38 42 ]; 39 43 40 - pythonImportsCheck = [ "boxx" ]; 41 44 checkInputs = [ 42 45 xvfb-run 43 46 pytorch 44 47 torchvision 45 48 ]; 46 49 50 + pythonImportsCheck = [ 51 + "boxx" 52 + ]; 53 + 47 54 checkPhase = '' 48 55 xvfb-run ${python.interpreter} -m unittest 49 56 ''; 50 57 51 58 meta = with lib; { 52 - description = "Tool-box for efficient build and debug in Python. Especially for Scientific Computing and Computer Vision."; 59 + description = "Tool-box for efficient build and debug for Scientific Computing and Computer Vision"; 53 60 homepage = "https://github.com/DIYer22/boxx"; 54 61 license = licenses.mit; 55 62 maintainers = with maintainers; [ lucasew ];
+2
pkgs/development/python-modules/labgrid/default.nix
··· 6 6 , jinja2 7 7 , lib 8 8 , mock 9 + , packaging 9 10 , pexpect 10 11 , psutil 11 12 , pyserial ··· 44 45 attrs 45 46 autobahn 46 47 jinja2 48 + packaging 47 49 pexpect 48 50 pyserial 49 51 pyudev
+2
pkgs/development/python-modules/pytest-ansible/default.nix
··· 40 40 description = "Plugin for py.test to simplify calling ansible modules from tests or fixtures"; 41 41 license = licenses.mit; 42 42 maintainers = [ maintainers.costrouc ]; 43 + # https://github.com/ansible-community/pytest-ansible/blob/v2.2.4/setup.py#L124 44 + broken = lib.versionAtLeast ansible.version "2.10"; 43 45 }; 44 46 }
+9 -11
pkgs/development/python-modules/svdtools/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "svdtools"; 14 - version = "0.1.21"; 14 + version = "0.1.22"; 15 + format = "setuptools"; 15 16 16 17 disabled = pythonOlder "3.8"; 17 18 18 19 src = fetchPypi { 19 20 inherit version pname; 20 - sha256 = "0qc94haqkj4dbhify1l3x0ji1dx34m79nfnsk1c7l1kl2zjvz6bz"; 21 + hash = "sha256-5zMuCFCvh7BXr9BbyyDhWw1Lt/Fomv0SALiPJQbxJNQ="; 21 22 }; 22 23 23 - # remove upon next release 24 - # see: https://github.com/stm32-rs/svdtools/pull/96 25 - prePatch = '' 26 - substituteInPlace setup.py \ 27 - --replace 'PyYAML ~= 5.3' 'PyYAML >= 5.3' 28 - ''; 29 - 30 24 propagatedBuildInputs = [ 31 25 braceexpand 32 26 click ··· 34 28 lxml 35 29 ]; 36 30 37 - checkInputs = [ pytestCheckHook ]; 31 + checkInputs = [ 32 + pytestCheckHook 33 + ]; 38 34 39 - pythonImportsCheck = [ "svdtools" ]; 35 + pythonImportsCheck = [ 36 + "svdtools" 37 + ]; 40 38 41 39 meta = with lib; { 42 40 description = "Python package to handle vendor-supplied, often buggy SVD files";
+1 -1
pkgs/development/tools/build-managers/rebar3/default.nix
··· 81 81 (rebar3WithPlugins { globalPlugins = [rebar3-nix]; }) 82 82 ] 83 83 } 84 - latest=$(list-git-tags --url=https://github.com/${owner}/${pname}.git | sed -n '/[\d\.]\+/p' | sort -V | tail -1) 84 + latest=$(list-git-tags | sed -n '/[\d\.]\+/p' | sort -V | tail -1) 85 85 if [ "$latest" != "${version}" ]; then 86 86 nixpkgs="$(git rev-parse --show-toplevel)" 87 87 nix_path="$nixpkgs/pkgs/development/tools/build-managers/rebar3"
+1 -1
pkgs/development/tools/hcloud/default.nix
··· 15 15 16 16 ldflags = [ 17 17 "-s" "-w" 18 - "-X github.com/hetznercloud/cli/cli.Version=${version}" 18 + "-X github.com/hetznercloud/cli/internal/version.Version=${version}" 19 19 ]; 20 20 21 21 nativeBuildInputs = [ installShellFiles ];
+30
pkgs/development/tools/wp4nix/default.nix
··· 1 + { lib, buildGoModule, fetchFromGitLab, nix, subversion }: 2 + 3 + buildGoModule rec { 4 + pname = "wp4nix"; 5 + version = "1.0.0"; 6 + 7 + src = fetchFromGitLab { 8 + domain = "git.helsinki.tools"; 9 + owner = "helsinki-systems"; 10 + repo = "wp4nix"; 11 + rev = "v${version}"; 12 + sha256 = "sha256-WJteeFUMr684yZEtUP13MqRjJ1UAeo48AzOPdLEE65w="; 13 + }; 14 + 15 + vendorSha256 = "sha256-pQpattmS9VmO3ZIQUFn66az8GSmB4IvYhTTCFn6SUmo="; 16 + 17 + postPatch = '' 18 + substituteInPlace main.go --replace nix-hash ${nix}/bin/nix-hash 19 + substituteInPlace svn.go --replace '"svn"' '"${subversion}/bin/svn"' 20 + ''; 21 + 22 + meta = with lib; { 23 + description = "Packaging helper for Wordpress themes and plugins"; 24 + homepage = "https://git.helsinki.tools/helsinki-systems/wp4nix"; 25 + license = licenses.mit; 26 + maintainers = with maintainers; [ onny ]; 27 + platforms = platforms.linux; 28 + }; 29 + } 30 +
+2 -2
pkgs/development/web/cypress/default.nix
··· 16 16 17 17 stdenv.mkDerivation rec { 18 18 pname = "cypress"; 19 - version = "9.5.4"; 19 + version = "9.6.0"; 20 20 21 21 src = fetchzip { 22 22 url = "https://cdn.cypress.io/desktop/${version}/linux-x64/cypress.zip"; 23 - sha256 = "F4BSIA3ImXwmmki8/FK0t08Gf5S8KMpXNNBIPPJQNsM="; 23 + sha256 = "Mac6lmwQqbj9EPfpG0iLI8Qx04q7E0swmTqXx0J+Sdc="; 24 24 }; 25 25 26 26 # don't remove runtime deps
+53 -27
pkgs/games/assaultcube/default.nix
··· 1 - { fetchFromGitHub, lib, stdenv, makeDesktopItem, openal, pkg-config, libogg, 2 - libvorbis, SDL, SDL_image, makeWrapper, zlib, file, 3 - client ? true, server ? true }: 4 - 5 - with lib; 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , makeDesktopItem 5 + , copyDesktopItems 6 + , openal 7 + , pkg-config 8 + , libogg 9 + , libvorbis 10 + , SDL2 11 + , SDL2_image 12 + , makeWrapper 13 + , zlib 14 + , file 15 + , client ? true, server ? true 16 + }: 6 17 7 18 stdenv.mkDerivation rec { 8 - 9 - # master branch has legacy (1.2.0.2) protocol 1201 and gcc 6 fix. 10 19 pname = "assaultcube"; 11 - version = "unstable-2018-05-20"; 20 + version = "1.3.0.2"; 12 21 13 22 src = fetchFromGitHub { 14 23 owner = "assaultcube"; 15 24 repo = "AC"; 16 - rev = "f58ea22b46b5013a520520670434b3c235212371"; 17 - sha256 = "1vfn3d55vmmipdykrcfvgk6dddi9y95vlclsliirm7jdp20f15hd"; 25 + rev = "v${version}"; 26 + sha256 = "0qv339zw9q5q1y7bghca03gw7z4v89sl4lbr6h3b7siy08mcwiz9"; 18 27 }; 19 28 20 - nativeBuildInputs = [ makeWrapper pkg-config ]; 29 + nativeBuildInputs = [ 30 + makeWrapper 31 + pkg-config 32 + copyDesktopItems 33 + ]; 21 34 22 - buildInputs = [ file zlib ] ++ optionals client [ openal SDL SDL_image libogg libvorbis ]; 35 + buildInputs = [ 36 + file 37 + zlib 38 + ] ++ lib.optionals client [ 39 + openal 40 + SDL2 41 + SDL2_image 42 + libogg 43 + libvorbis 44 + ]; 23 45 24 - targets = (optionalString server "server") + (optionalString client " client"); 46 + targets = (lib.optionalString server "server") + (lib.optionalString client " client"); 25 47 makeFlags = [ "-C source/src" "CXX=${stdenv.cc.targetPrefix}c++" targets ]; 26 48 27 - desktop = makeDesktopItem { 28 - name = "AssaultCube"; 29 - desktopName = "AssaultCube"; 30 - comment = "A multiplayer, first-person shooter game, based on the CUBE engine. Fast, arcade gameplay."; 31 - genericName = "First-person shooter"; 32 - categories = [ "Game" "ActionGame" "Shooter" ]; 33 - icon = "assaultcube.png"; 34 - exec = pname; 35 - }; 49 + desktopItems = [ 50 + (makeDesktopItem { 51 + name = pname; 52 + desktopName = "AssaultCube"; 53 + comment = "A multiplayer, first-person shooter game, based on the CUBE engine. Fast, arcade gameplay."; 54 + genericName = "First-person shooter"; 55 + categories = [ "Game" "ActionGame" "Shooter" ]; 56 + icon = "assaultcube"; 57 + exec = pname; 58 + }) 59 + ]; 36 60 37 61 gamedatadir = "/share/games/${pname}"; 38 62 39 63 installPhase = '' 64 + runHook preInstall 40 65 41 66 bindir=$out/bin 42 67 ··· 47 72 if (test -e source/src/ac_client) then 48 73 cp source/src/ac_client $bindir 49 74 mkdir -p $out/share/applications 50 - cp ${desktop}/share/applications/* $out/share/applications 51 75 install -Dpm644 packages/misc/icon.png $out/share/icons/assaultcube.png 52 76 install -Dpm644 packages/misc/icon.png $out/share/pixmaps/assaultcube.png 53 77 ··· 60 84 makeWrapper $out/bin/ac_server $out/bin/${pname}-server \ 61 85 --chdir "$out/$gamedatadir" --add-flags "-Cconfig/servercmdline.txt" 62 86 fi 63 - ''; 87 + 88 + runHook postInstall 89 + ''; 64 90 65 - meta = { 91 + meta = with lib; { 66 92 description = "Fast and fun first-person-shooter based on the Cube fps"; 67 93 homepage = "https://assault.cubers.net"; 68 - maintainers = [ ]; 69 94 platforms = platforms.linux; # should work on darwin with a little effort. 70 - license = lib.licenses.unfree; 95 + license = licenses.unfree; 96 + maintainers = with maintainers; [ darkonion0 ]; 71 97 }; 72 98 }
+13
pkgs/servers/mail/opensmtpd/cross_fix.diff
··· 1 + diff --git a/configure.ac b/configure.ac 2 + index c215f3bf..f5aa25d8 100644 3 + --- a/configure.ac 4 + +++ b/configure.ac 5 + @@ -67,7 +67,7 @@ AC_C_BIGENDIAN 6 + AC_PROG_CPP 7 + AC_PROG_INSTALL 8 + AC_PROG_LIBTOOL 9 + -AC_PATH_PROG([AR], [ar]) 10 + +AC_PATH_TOOL([AR], [ar]) 11 + AC_PATH_PROG([CAT], [cat]) 12 + AC_PATH_PROG([CHMOD], [chmod]) 13 + AC_PATH_PROG([CHOWN], [chown])
+1
pkgs/servers/mail/opensmtpd/default.nix
··· 16 16 17 17 patches = [ 18 18 ./proc_path.diff # TODO: upstream to OpenSMTPD, see https://github.com/NixOS/nixpkgs/issues/54045 19 + ./cross_fix.diff # TODO: remove when https://github.com/OpenSMTPD/OpenSMTPD/pull/1177 will have made it into a release 19 20 ]; 20 21 21 22 # See https://github.com/OpenSMTPD/OpenSMTPD/issues/885 for the `sh bootstrap`
+3 -3
pkgs/servers/vouch-proxy/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "vouch-proxy"; 5 - version = "0.36.0"; 5 + version = "0.37.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "vouch"; 9 9 repo = "vouch-proxy"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-pgoxRzYc5PIrxnRwWpthFmpsxDfvWTmLT7upQVIFoQo="; 11 + sha256 = "0rcc5b3v5d9v4y78z5fnjbn1k10xy8cpgxjhqc7j22k9wkic05mh"; 12 12 }; 13 13 14 - vendorSha256 = "sha256-ifH+420FIrib+zQtzzHtMMYd84BED+vgnRw4xToYIl4="; 14 + vendorSha256 = "0pi230xcaf0wkphfn3s4h3riviihxlqwyb9lzfdvh8h5dpizxwc9"; 15 15 16 16 ldflags = [ 17 17 "-s" "-w"
-24
pkgs/tools/admin/ansible/default.nix
··· 1 - { python3Packages, fetchFromGitHub }: 2 - 3 - rec { 4 - ansible = ansible_2_12; 5 - 6 - ansible_2_12 = python3Packages.toPythonApplication python3Packages.ansible-core; 7 - 8 - ansible_2_11 = python3Packages.toPythonApplication (python3Packages.ansible-core.overridePythonAttrs (old: rec { 9 - pname = "ansible-core"; 10 - version = "2.11.6"; 11 - 12 - src = python3Packages.fetchPypi { 13 - inherit pname version; 14 - sha256 = "sha256-k9UCg8fFtHbev4PcCJs/Z5uTmouae11ijSjar7s9MDo="; 15 - }; 16 - })); 17 - 18 - ansible_2_10 = python3Packages.toPythonApplication python3Packages.ansible-base; 19 - 20 - # End of support 2021/10/02, End of life 2021/12/31 21 - ansible_2_9 = python3Packages.toPythonApplication python3Packages.ansible; 22 - 23 - ansible_2_8 = throw "Ansible 2.8 went end of life on 2021/01/03 and has subsequently been dropped"; 24 - }
+1 -1
pkgs/tools/misc/kargo/default.nix
··· 12 12 }; 13 13 14 14 propagatedBuildInputs = [ 15 - ansible 15 + ansible-core 16 16 boto 17 17 cffi 18 18 cryptography
+2 -2
pkgs/tools/misc/rpm-ostree/default.nix
··· 29 29 , bubblewrap 30 30 , pcre 31 31 , check 32 - , python2 32 + , python3 33 33 , json_c 34 34 , zchunk 35 35 , libmodulemd ··· 50 50 }; 51 51 52 52 nativeBuildInputs = [ 53 + python3 53 54 pkg-config 54 55 which 55 56 autoconf ··· 82 83 librepo 83 84 pcre 84 85 check 85 - python2 86 86 87 87 # libdnf # vendored unstable branch 88 88 # required by vendored libdnf
+3 -3
pkgs/tools/networking/corerad/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "corerad"; 5 - version = "1.1.2"; 5 + version = "1.2.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "mdlayher"; 9 9 repo = "corerad"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-1v7jAYLIflXIKY0zltzkre4sNv9qqWxFGWrQuOBr2s0="; 11 + sha256 = "sha256-CNDotCRxKBtg/RsrBa00r3vRKBIIZ4xqpdXkImI44QI="; 12 12 }; 13 13 14 - vendorSha256 = "sha256-oS9nI1BELDLFksN+NbLT1Eklg67liOvcRbxtGdYGJJA="; 14 + vendorSha256 = "sha256-w15dRxIBzDN5i4RNEDuSfCHHb4wc4fw1B2wjlTk40iE="; 15 15 16 16 # Since the tarball pulled from GitHub doesn't contain git tag information, 17 17 # we fetch the expected tag's timestamp from a file in the root of the
+5 -5
pkgs/tools/security/browserpass/default.nix
··· 1 1 { lib, buildGoModule, fetchFromGitHub, makeWrapper, gnupg }: 2 2 buildGoModule rec { 3 3 pname = "browserpass"; 4 - version = "3.0.6"; 4 + version = "3.0.10"; 5 5 6 6 src = fetchFromGitHub { 7 7 owner = "browserpass"; 8 8 repo = "browserpass-native"; 9 9 rev = version; 10 - sha256 = "0q3bsla07zjl6i69nj1axbkg2ia89pvh0jg6nlqgbm2kpzzbn0pz"; 10 + sha256 = "8eAwUwcRTnhVDkQc3HsvTP0TqC4LfVrUelxdbJxe9t0="; 11 11 }; 12 12 13 13 nativeBuildInputs = [ makeWrapper ]; 14 14 15 - vendorSha256 = "1wcbn0ip596f2dp68y6jmxgv20l0dgrcxg5cwclkawigj05416zj"; 15 + vendorSha256 = "gWXcYyIp86b/Pn6vj7qBj/VZS9rTr4weVw0YWmg+36c="; 16 16 17 17 doCheck = false; 18 18 ··· 21 21 # variables to be valid by default 22 22 substituteInPlace Makefile \ 23 23 --replace "PREFIX ?= /usr" "" 24 - sed -i -e 's/SED :=.*/SED := sed/' Makefile 25 - sed -i -e 's/INSTALL :=.*/INSTALL := install/' Makefile 24 + sed -i -e 's/SED =.*/SED = sed/' Makefile 25 + sed -i -e 's/INSTALL =.*/INSTALL = install/' Makefile 26 26 ''; 27 27 28 28 DESTDIR = placeholder "out";
+10 -2
pkgs/tools/typesetting/tex/texlive/combine.nix
··· 225 225 226 226 perl `type -P mktexlsr.pl` --sort ./share/texmf 227 227 ${bin.texlinks}/bin/texlinks "$out/bin" && wrapBin 228 - perl `type -P fmtutil.pl` --sys --all | grep '^fmtutil' # too verbose 228 + FORCE_SOURCE_DATE=1 perl `type -P fmtutil.pl` --sys --all | grep '^fmtutil' # too verbose 229 229 #${bin.texlinks}/bin/texlinks "$out/bin" && wrapBin # do we need to regenerate format links? 230 230 231 231 # Disable unavailable map files 232 232 echo y | perl `type -P updmap.pl` --sys --syncwithtrees --force 233 233 # Regenerate the map files (this is optional) 234 234 perl `type -P updmap.pl` --sys --force 235 + 236 + # sort entries to improve reproducibility 237 + [[ -f "$TEXMFSYSCONFIG"/web2c/updmap.cfg ]] && sort -o "$TEXMFSYSCONFIG"/web2c/updmap.cfg "$TEXMFSYSCONFIG"/web2c/updmap.cfg 235 238 236 239 perl `type -P mktexlsr.pl` --sort ./share/texmf-* # to make sure 237 240 '' + ··· 299 302 ) 300 303 fi 301 304 '' 302 - + bin.cleanBrokenLinks 305 + + bin.cleanBrokenLinks + 306 + # Get rid of all log files. They are not needed, but take up space 307 + # and render the build unreproducible by their embedded timestamps. 308 + '' 309 + find $TEXMFSYSVAR/web2c -name '*.log' -delete 310 + '' 303 311 ; 304 312 }).overrideAttrs (_: { allowSubstitutes = true; }) 305 313 # TODO: make TeX fonts visible by fontconfig: it should be enough to install an appropriate file
+5
pkgs/top-level/aliases.nix
··· 74 74 amuleGui = throw "amuleGui was renamed to amule-gui"; # Added 2022-02-11 75 75 amsn = throw "amsn has been removed due to being unmaintained"; # Added 2020-12-09 76 76 angelfish = libsForQt5.plasmaMobileGear.angelfish; # Added 2021-10-06 77 + ansible_2_11 = throw "Ansible 2.11 goes end of life in 2022/11 and can't be supported throughout the 22.05 release cycle"; # Added 2022-03-30 78 + ansible_2_10 = throw "Ansible 2.10 went end of life in 2022/05 and has subsequently been dropped"; # Added 2022-03-30 79 + ansible_2_9 = throw "Ansible 2.9 went end of life in 2022/05 and has subsequently been dropped"; # Added 2022-03-30 77 80 antimicro = throw "antimicro has been removed as it was broken, see antimicrox instead"; # Added 2020-08-06 78 81 antimicroX = antimicrox; # Added 2021-10-31 79 82 ardour_5 = throw "ardour_5 has been removed. see https://github.com/NixOS/nixpkgs/issues/139549"; # Added 2021-09-28 ··· 649 652 libgroove = throw "libgroove has been removed, because it depends on an outdated and insecure version of ffmpeg"; # Added 2022-01-21 650 653 libgumbo = throw "'libgumbo' has been renamed to/replaced by 'gumbo'"; # Converted to throw 2022-02-22 651 654 libintlOrEmpty = lib.optional (!stdenv.isLinux || stdenv.hostPlatform.libc != "glibc") gettext; # Added 2018-03-14 655 + libixp_hg = libixp; 652 656 libjpeg_drop = libjpeg_original; # Added 2020-06-05 653 657 libjson_rpc_cpp = throw "'libjson_rpc_cpp' has been renamed to/replaced by 'libjson-rpc-cpp'"; # Converted to throw 2022-02-22 654 658 libkml = throw "libkml has been removed from nixpkgs, as it's abandoned and no package needed it"; # Added 2021-11-09 ··· 1363 1367 winpdb = throw "winpdb has been removed: abandoned by upstream"; # Added 2022-04-22 1364 1368 winusb = throw "'winusb' has been renamed to/replaced by 'woeusb'"; # Converted to throw 2022-02-22 1365 1369 wireguard = throw "'wireguard' has been renamed to/replaced by 'wireguard-tools'"; # Converted to throw 2022-02-22 1370 + wmii_hg = wmii; 1366 1371 wxmupen64plus = throw "wxmupen64plus was removed because the upstream disappeared"; # Added 2022-01-31 1367 1372 1368 1373 ### X ###
+9 -9
pkgs/top-level/all-packages.nix
··· 14661 14661 14662 14662 autoadb = callPackage ../misc/autoadb { }; 14663 14663 14664 - inherit (callPackage ../tools/admin/ansible { }) 14665 - ansible 14666 - ansible_2_8 14667 - ansible_2_9 14668 - ansible_2_10 14669 - ansible_2_11; 14664 + ansible = ansible_2_12; 14665 + ansible_2_12 = python3Packages.toPythonApplication python3Packages.ansible-core; 14670 14666 14671 14667 ansible-lint = with python3.pkgs; toPythonApplication ansible-lint; 14672 14668 ··· 19344 19340 19345 19341 libxsmm = callPackage ../development/libraries/libxsmm { }; 19346 19342 19347 - libixp_hg = callPackage ../development/libraries/libixp-hg { }; 19343 + libixp = callPackage ../development/libraries/libixp { }; 19348 19344 19349 19345 libwpe = callPackage ../development/libraries/libwpe { }; 19350 19346 ··· 24269 24265 kanit-font = callPackage ../data/fonts/kanit { }; 24270 24266 24271 24267 kanji-stroke-order-font = callPackage ../data/fonts/kanji-stroke-order-font {}; 24268 + 24269 + kacst = callPackage ../data/fonts/kacst {}; 24272 24270 24273 24271 kawkab-mono-font = callPackage ../data/fonts/kawkab-mono {}; 24274 24272 ··· 30416 30414 30417 30415 wmderlandc = callPackage ../applications/window-managers/wmderlandc { }; 30418 30416 30419 - wmii_hg = callPackage ../applications/window-managers/wmii-hg { }; 30417 + wmii = callPackage ../applications/window-managers/wmii { }; 30420 30418 30421 30419 wofi = callPackage ../applications/misc/wofi { }; 30422 30420 ··· 30445 30443 30446 30444 wrapThunderbird = callPackage ../applications/networking/mailreaders/thunderbird/wrapper.nix { }; 30447 30445 30446 + wp4nix = callPackage ../development/tools/wp4nix { }; 30447 + 30448 30448 wp-cli = callPackage ../development/tools/wp-cli { }; 30449 30449 30450 30450 wsjtx = qt5.callPackage ../applications/radio/wsjtx { }; ··· 35182 35182 jami-daemon jami-libclient jami-client-gnome jami-client-qt; 35183 35183 35184 35184 jitsi-meet-electron = callPackage ../applications/networking/instant-messengers/jitsi-meet-electron { 35185 - electron = electron_16; 35185 + electron = electron_17; 35186 35186 }; 35187 35187 35188 35188 zenstates = callPackage ../os-specific/linux/zenstates {};
+1
pkgs/top-level/python-aliases.nix
··· 34 34 35 35 mapAliases ({ 36 36 aioh2 = throw "aioh2 has been removed because it is abandoned and broken."; # Added 2022-03-30 37 + ansible-base = throw "ansible-base has been removed, because it is end of life"; # added 2022-03-30 37 38 anyjson = throw "anyjson has been removed, it was using setuptools 2to3 translation feature, which has been removed in setuptools 58"; # added 2022-01-18 38 39 asyncio-nats-client = nats-py; # added 2022-02-08 39 40 bitcoin-price-api = throw "bitcoin-price-api has been removed, it was using setuptools 2to3 translation feautre, which has been removed in setuptools 58"; # added 2022-02-15
+1 -3
pkgs/top-level/python-packages.nix
··· 513 513 514 514 ansi2html = callPackage ../development/python-modules/ansi2html { }; 515 515 516 - ansible = callPackage ../development/python-modules/ansible/legacy.nix { }; 517 - 518 - ansible-base = callPackage ../development/python-modules/ansible/base.nix { }; 516 + ansible = callPackage ../development/python-modules/ansible { }; 519 517 520 518 ansible-compat = callPackage ../development/python-modules/ansible-compat { }; 521 519