Merge master into staging-next

authored by github-actions[bot] and committed by GitHub f08a2153 7147d420

+292 -35
+6 -4
pkgs/applications/audio/reaper/default.nix
··· 11 11 , xdg-utils 12 12 , which 13 13 14 - , jackSupport ? true, libjack2 15 - , pulseaudioSupport ? config.pulseaudio or true, libpulseaudio 14 + , jackSupport ? true 15 + , jackLibrary 16 + , pulseaudioSupport ? config.pulseaudio or true 17 + , libpulseaudio 16 18 }: 17 19 18 20 stdenv.mkDerivation rec { ··· 43 45 runtimeDependencies = [ 44 46 gtk3 # libSwell needs libgdk-3.so.0 45 47 ] 46 - ++ lib.optional jackSupport libjack2 48 + ++ lib.optional jackSupport jackLibrary 47 49 ++ lib.optional pulseaudioSupport libpulseaudio; 48 50 49 51 dontBuild = true; ··· 79 81 sourceProvenance = with sourceTypes; [ binaryNativeCode ]; 80 82 license = licenses.unfree; 81 83 platforms = [ "x86_64-linux" "aarch64-linux" ]; 82 - maintainers = with maintainers; [ jfrankenau ilian orivej uniquepointer ]; 84 + maintainers = with maintainers; [ jfrankenau ilian orivej uniquepointer viraptor ]; 83 85 }; 84 86 }
+3 -3
pkgs/applications/misc/electron-cash/default.nix
··· 3 3 4 4 python3Packages.buildPythonApplication rec { 5 5 pname = "electron-cash"; 6 - version = "4.2.7"; 6 + version = "4.2.10"; 7 7 8 8 src = fetchFromGitHub { 9 9 owner = "Electron-Cash"; 10 10 repo = "Electron-Cash"; 11 - rev = version; 12 - sha256 = "sha256-m8a3x5fPSrnrCH30MToT3aKtX35nFUbeerR7ubWgOOI="; 11 + rev = "refs/tags/${version}"; 12 + sha256 = "sha256-m13wJlNBG3BxOdKUyd3qmIhFBM7263FzMKr5lfD1tys="; 13 13 }; 14 14 15 15 propagatedBuildInputs = with python3Packages; [
+82
pkgs/applications/networking/cluster/fetchit/default.nix
··· 1 + { lib 2 + , stdenv 3 + , buildGoModule 4 + , fetchFromGitHub 5 + , installShellFiles 6 + , lvm2 7 + , pkg-config 8 + }: 9 + 10 + buildGoModule rec { 11 + pname = "fetchit"; 12 + version = "0.0.1"; 13 + 14 + src = fetchFromGitHub { 15 + owner = "containers"; 16 + repo = "fetchit"; 17 + rev = "v${version}"; 18 + sha256 = "sha256-hxS/+/fbYOpMJ5VfvvG5l7wWKBUUR22rYn9X79DzUUk="; 19 + }; 20 + 21 + vendorSha256 = "sha256-SyPd8P9s8R2YbGEPqFeztF98W1QyGSBumtirSdpm8VI="; 22 + 23 + subPackages = [ "cmd/fetchit" ]; 24 + 25 + nativeBuildInputs = [ pkg-config installShellFiles ]; 26 + buildInputs = [ lvm2 ]; 27 + 28 + # Flags are derived from 29 + # https://github.com/containers/fetchit/blob/v0.0.1/Makefile#L20-L29 30 + ldflags = [ 31 + "-X k8s.io/client-go/pkg/version.gitMajor=0" 32 + "-X k8s.io/client-go/pkg/version.gitMinor=0" 33 + "-X k8s.io/client-go/pkg/version.gitTreeState=clean" 34 + "-X k8s.io/client-go/pkg/version.gitVersion=v0.0.0" 35 + "-X k8s.io/component-base/version.gitMajor=0" 36 + "-X k8s.io/component-base/version.gitMajor=0" 37 + "-X k8s.io/component-base/version.gitMinor=0" 38 + "-X k8s.io/component-base/version.gitTreeState=clean" 39 + "-X k8s.io/component-base/version.gitVersion=v0.0.0" 40 + "-s" 41 + "-w" 42 + ]; 43 + 44 + tags = [ 45 + "containers_image_openpgp" 46 + "exclude_graphdriver_btrfs" 47 + "gssapi" 48 + "include_gcs" 49 + "include_oss" 50 + "netgo" 51 + "osusergo" 52 + "providerless" 53 + ]; 54 + 55 + # There are no tests for cmd/fetchit. 56 + doCheck = false; 57 + 58 + postInstall = '' 59 + for i in bash fish zsh; do 60 + installShellCompletion --cmd fetchit \ 61 + --$i <($out/bin/fetchit completion $i) 62 + done 63 + ''; 64 + 65 + meta = with lib; { 66 + description = "A tool to manage the life cycle and configuration of Podman containers"; 67 + longDescription = '' 68 + FetchIt allows for a GitOps based approach to manage containers running on 69 + a single host or multiple hosts based on a git repository. This allows for 70 + us to deploy a new host and provide the host a configuration value for 71 + FetchIt and automatically any containers defined in the git repository and 72 + branch will be deployed onto the host. This can be beneficial for 73 + environments that do not require the complexity of Kubernetes to manage 74 + the containers running on the host. 75 + ''; 76 + homepage = "https://fetchit.readthedocs.io"; 77 + changelog = "https://github.com/containers/fetchit/releases/tag/${src.rev}"; 78 + license = licenses.agpl3Plus; 79 + maintainers = with maintainers; [ azahi ]; 80 + platforms = platforms.linux; 81 + }; 82 + }
-1
pkgs/applications/networking/instant-messengers/element/element-web.nix
··· 7 7 , jq 8 8 , yarn 9 9 , fixup_yarn_lock 10 - , nodejs 11 10 , jitsi-meet 12 11 , conf ? { } 13 12 }:
+3 -3
pkgs/applications/networking/instant-messengers/element/keytar/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, nodejs-14_x, python3, callPackage, removeReferencesTo 1 + { lib, stdenv, fetchFromGitHub, nodejs, python3, callPackage, removeReferencesTo 2 2 , fixup_yarn_lock, yarn, pkg-config, libsecret, xcbuild, Security, AppKit, fetchYarnDeps }: 3 3 4 4 let ··· 15 15 sha256 = pinData.srcHash; 16 16 }; 17 17 18 - nativeBuildInputs = [ nodejs-14_x python3 yarn pkg-config ] 18 + nativeBuildInputs = [ nodejs python3 yarn pkg-config ] 19 19 ++ lib.optional stdenv.isDarwin xcbuild; 20 20 buildInputs = lib.optionals (!stdenv.isDarwin) [ libsecret ] 21 21 ++ lib.optionals stdenv.isDarwin [ Security AppKit ]; 22 22 23 - npm_config_nodedir = nodejs-14_x; 23 + npm_config_nodedir = nodejs; 24 24 25 25 yarnOfflineCache = fetchYarnDeps { 26 26 yarnLock = ./yarn.lock;
+3 -3
pkgs/applications/networking/instant-messengers/element/seshat/default.nix
··· 1 - { lib, stdenv, rustPlatform, fetchFromGitHub, callPackage, sqlcipher, nodejs-14_x, python3, yarn, fixup_yarn_lock, CoreServices, fetchYarnDeps, removeReferencesTo }: 1 + { lib, stdenv, rustPlatform, fetchFromGitHub, callPackage, sqlcipher, nodejs, python3, yarn, fixup_yarn_lock, CoreServices, fetchYarnDeps, removeReferencesTo }: 2 2 3 3 let 4 4 pinData = lib.importJSON ./pin.json; ··· 16 16 17 17 sourceRoot = "source/seshat-node/native"; 18 18 19 - nativeBuildInputs = [ nodejs-14_x python3 yarn ]; 19 + nativeBuildInputs = [ nodejs python3 yarn ]; 20 20 buildInputs = [ sqlcipher ] ++ lib.optional stdenv.isDarwin CoreServices; 21 21 22 - npm_config_nodedir = nodejs-14_x; 22 + npm_config_nodedir = nodejs; 23 23 24 24 yarnOfflineCache = fetchYarnDeps { 25 25 yarnLock = src + "/seshat-node/yarn.lock";
+7 -5
pkgs/development/compilers/acme/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "acme"; 5 - version = "unstable-2021-02-14"; 5 + version = "unstable-2021-11-05"; 6 6 7 7 src = fetchsvn { 8 8 url = "svn://svn.code.sf.net/p/acme-crossass/code-0/trunk"; 9 - rev = "319"; 10 - sha256 = "sha256-VifIQ+UEVMKJ+cNS+Xxusazinr5Cgu1lmGuhqj/5Mpk="; 9 + rev = "323"; 10 + sha256 = "1dzvip90yf1wg0fhfghn96dwrhg289d06b624px9a2wwy3vp5ryg"; 11 11 }; 12 12 13 13 sourceRoot = "code-0-r${src.rev}/src"; 14 14 15 - makeFlags = [ "BINDIR=$(out)/bin" ]; 16 - 17 15 postPatch = '' 18 16 substituteInPlace Makefile \ 19 17 --replace "= gcc" "?= gcc" 20 18 ''; 19 + 20 + enableParallelBuilding = true; 21 + 22 + makeFlags = [ "BINDIR=$(out)/bin" ]; 21 23 22 24 meta = with lib; { 23 25 description = "A multi-platform cross assembler for 6502/6510/65816 CPUs";
+3 -2
pkgs/development/libraries/xdg-desktop-portal-gnome/default.nix
··· 18 18 19 19 stdenv.mkDerivation rec { 20 20 pname = "xdg-desktop-portal-gnome"; 21 - version = "42.1"; 21 + version = "42.3"; 22 22 23 23 src = fetchurl { 24 24 url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz"; 25 - sha256 = "doW2aVzZi+gjgXECDByXE8RkfSaAAGyYzo5N+FgxLNI="; 25 + sha256 = "TtEFpmfkYyVGcQPcc0bSAj+uwdXsFTvRcxbak49TrOA="; 26 26 }; 27 27 28 28 nativeBuildInputs = [ ··· 55 55 56 56 meta = with lib; { 57 57 description = "Backend implementation for xdg-desktop-portal for the GNOME desktop environment"; 58 + homepage = "https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome"; 58 59 maintainers = teams.gnome.members; 59 60 platforms = platforms.linux; 60 61 license = licenses.lgpl21Plus;
+51
pkgs/development/libraries/zint/default.nix
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , wrapQtAppsHook 5 + , cmake 6 + , qtbase 7 + , qttools 8 + , nix-update-script 9 + }: 10 + 11 + stdenv.mkDerivation rec { 12 + pname = "zint"; 13 + version = "2.11.0"; 14 + 15 + src = fetchFromGitHub { 16 + owner = "woo-j"; 17 + repo = "zint"; 18 + rev = version; 19 + sha256 = "sha256-DtfyXBBEDcltGUAutHl/ksRTTYmS7Ll9kjfgD7NmBbA="; 20 + }; 21 + 22 + outputs = [ "out" "dev" ]; 23 + 24 + nativeBuildInputs = [ cmake wrapQtAppsHook ]; 25 + 26 + buildInputs = [ qtbase qttools ]; 27 + 28 + postInstall = '' 29 + install -Dm644 $src/zint-qt.desktop $out/share/applications/zint-qt.desktop 30 + install -Dm644 $src/zint-qt.png $out/share/pixmaps/zint-qt.png 31 + install -Dm644 $src/frontend_qt/images/scalable/zint-qt.svg $out/share/icons/hicolor/scalable/apps/zint-qt.svg 32 + ''; 33 + 34 + passthru.updateScript = nix-update-script { 35 + attrPath = pname; 36 + }; 37 + 38 + meta = with lib; { 39 + description = "A barcode generating tool and library"; 40 + longDescription = '' 41 + The Zint project aims to provide a complete cross-platform open source 42 + barcode generating solution. The package currently consists of a Qt based 43 + GUI, a CLI command line executable and a library with an API to allow 44 + developers access to the capabilities of Zint. 45 + ''; 46 + homepage = "http://www.zint.org.uk"; 47 + changelog = "https://github.com/woo-j/zint/blob/${version}/ChangeLog"; 48 + license = licenses.gpl3Plus; 49 + maintainers = with maintainers; [ azahi ]; 50 + }; 51 + }
+34
pkgs/development/tools/continuous-integration/cirrus-cli/default.nix
··· 1 + { lib 2 + , fetchFromGitHub 3 + , buildGoModule 4 + }: 5 + 6 + buildGoModule rec { 7 + pname = "cirrus-cli"; 8 + version = "0.81.1"; 9 + 10 + src = fetchFromGitHub { 11 + owner = "cirruslabs"; 12 + repo = pname; 13 + rev = "v${version}"; 14 + sha256 = "sha256-qbo7QGPvPLalKbiApkpTtPSeIh1SjqEuKXBIuHJJBB8="; 15 + }; 16 + 17 + vendorSha256 = "sha256-XVGFJv9TYjuwVubTcFVI2b+M2ZDE1Jv4u/dxowcLL2s="; 18 + 19 + ldflags = [ 20 + "-X github.com/cirruslabs/cirrus-cli/internal/version.Version=v${version}" 21 + "-X github.com/cirruslabs/cirrus-cli/internal/version.Commit=v${version}" 22 + ]; 23 + 24 + # tests fail on read-only filesystem 25 + doCheck = false; 26 + 27 + meta = with lib; { 28 + description = "CLI for executing Cirrus tasks locally and in any CI"; 29 + homepage = "https://github.com/cirruslabs/cirrus-cli"; 30 + license = licenses.agpl3Only; 31 + maintainers = with maintainers; [ techknowlogick ]; 32 + mainProgram = "cirrus"; 33 + }; 34 + }
+2 -2
pkgs/games/bugdom/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "bugdom"; 5 - version = "1.3.1"; 5 + version = "1.3.2"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "jorio"; 9 9 repo = pname; 10 10 rev = version; 11 - sha256 = "sha256-rhbsVgAkDdRJxbCCzJbsy5TbVdmP7MFqz+7nELiN4Yw="; 11 + sha256 = "sha256-pgms2mipW1zol35LVCuU5+7mN7CBiVGFvu1CJ3CrGU0="; 12 12 fetchSubmodules = true; 13 13 }; 14 14
+12 -2
pkgs/tools/backup/tsm-client/default.nix
··· 107 107 108 108 unwrapped = stdenv.mkDerivation rec { 109 109 name = "tsm-client-${version}-unwrapped"; 110 - version = "8.1.14.0"; 110 + version = "8.1.15.0"; 111 111 src = fetchurl { 112 112 url = mkSrcUrl version; 113 - sha256 = "1iczc4w8rwzqnw01r89kwxcdr7pnwh3nqr3a0q8ncrxrhsy3qwn0"; 113 + hash = "sha512-K98irjGvN2QejwbOoRhnHkYdFX3ZQ8hv+v2Gb2/pnr9AE1uj6h0lEXQu2cOEHbk7jMtGwpglzofCF7yUyT/tcw=="; 114 114 }; 115 115 inherit meta passthru; 116 116 ··· 159 159 fi 160 160 ln --symbolic --force --no-target-directory "$out/$(cut -b 7- <<< "$target")" "$link" 161 161 done 162 + ''; 163 + 164 + # since 7b9fd5d1c9802131ca0a01ff08a3ff64379d2df4 165 + # autopatchelf misses to add $out/lib to rpath; 166 + # we have to call autopatchelf manually as it would 167 + # run too late and overwrite our rpath otherwise 168 + dontAutoPatchelf = true; 169 + postFixup = '' 170 + autoPatchelf $out 171 + patchelf --add-rpath $out/lib $out/lib/* 162 172 ''; 163 173 }; 164 174
+9 -1
pkgs/tools/filesystems/jfsutils/default.nix
··· 5 5 version = "1.1.15"; 6 6 7 7 src = fetchurl { 8 - url = "http://jfs.sourceforge.net/project/pub/jfsutils-${version}.tar.gz"; 8 + url = "mirror://sourceforge/jfs/jfsutils-${version}.tar.gz"; 9 9 sha256 = "0kbsy2sk1jv4m82rxyl25gwrlkzvl3hzdga9gshkxkhm83v1aji4"; 10 10 }; 11 11 ··· 30 30 # ld: extract.o:/build/jfsutils-1.1.15/fscklog/extract.c:67: multiple definition of 31 31 # `xchklog_buffer'; display.o:/build/jfsutils-1.1.15/fscklog/display.c:57: first defined here 32 32 NIX_CFLAGS_COMPILE = "-fcommon"; 33 + 34 + # this required for wipefreespace 35 + postInstall = '' 36 + mkdir -p $out/include 37 + cp include/*.h $out/include 38 + mkdir -p $out/lib 39 + cp ./libfs/libfs.a $out/lib 40 + ''; 33 41 34 42 meta = with lib; { 35 43 description = "IBM JFS utilities";
+6
pkgs/tools/filesystems/reiser4progs/default.nix
··· 21 21 substituteInPlace Makefile --replace ./run-ldconfig true 22 22 ''; 23 23 24 + # this required for wipefreespace 25 + postInstall = '' 26 + mkdir -p $out/lib 27 + cp ./libmisc/.libs/libmisc.a $out/lib/libreiser4misc.a.la 28 + ''; 29 + 24 30 meta = with lib; { 25 31 inherit version; 26 32 homepage = "https://sourceforge.net/projects/reiser4/";
+54
pkgs/tools/filesystems/wipefreespace/default.nix
··· 1 + { stdenv 2 + , pkgs 3 + , lib 4 + , fetchurl 5 + , e2fsprogs 6 + , ntfs3g 7 + , xfsprogs 8 + , reiser4progs 9 + , libaal 10 + , jfsutils 11 + , libuuid 12 + , texinfo 13 + }: 14 + 15 + stdenv.mkDerivation rec { 16 + pname = "wipefreespace"; 17 + version = "2.5"; 18 + 19 + src = fetchurl { 20 + url = "mirror://sourceforge/project/wipefreespace/wipefreespace/${version}/wipefreespace-${version}.tar.gz"; 21 + hash = "sha256-wymV6G4Et5TCoIztZfdb3xuzjdBHFyB5OmI4EcsJKwQ="; 22 + }; 23 + 24 + nativeBuildInputs = [ 25 + texinfo 26 + ]; 27 + 28 + # missed: Reiser3 FAT12/16/32 MinixFS HFS+ OCFS 29 + buildInputs = [ 30 + e2fsprogs 31 + ntfs3g 32 + xfsprogs 33 + reiser4progs 34 + libaal 35 + jfsutils 36 + libuuid 37 + ]; 38 + 39 + strictDeps = true; 40 + 41 + preConfigure = '' 42 + export PATH=$PATH:${xfsprogs}/bin 43 + export CFLAGS=-I${jfsutils}/include 44 + export LDFLAGS="-L${jfsutils}/lib -L${reiser4progs}/lib" 45 + ''; 46 + 47 + meta = with lib; { 48 + description = "A program which will securely wipe the free space"; 49 + homepage = "https://wipefreespace.sourceforge.io"; 50 + license = licenses.gpl2Plus; 51 + platforms = platforms.linux; 52 + maintainers = with maintainers; [ catap ]; 53 + }; 54 + }
-5
pkgs/tools/misc/hdf4/default.nix
··· 12 12 , javaSupport ? false 13 13 , jdk 14 14 }: 15 - let 16 - javabase = "${jdk}/jre/lib/${jdk.architecture}"; 17 - in 18 15 stdenv.mkDerivation rec { 19 16 pname = "hdf"; 20 17 version = "4.2.15"; ··· 84 81 ] ++ lib.optionals javaSupport [ 85 82 "-DHDF4_BUILD_JAVA=ON" 86 83 "-DJAVA_HOME=${jdk}" 87 - "-DJAVA_AWT_LIBRARY=${javabase}/libawt.so" 88 - "-DJAVA_JVM_LIBRARY=${javabase}/server/libjvm.so" 89 84 ] ++ lib.optionals szipSupport [ 90 85 "-DHDF4_ENABLE_SZIP_ENCODING=ON" 91 86 "-DHDF4_ENABLE_SZIP_SUPPORT=ON"
+6 -3
pkgs/tools/misc/hdfview/default.nix
··· 37 37 38 38 installPhase = '' 39 39 runHook preInstall 40 - 40 + '' + lib.optionalString stdenv.isLinux '' 41 41 mkdir -p $out/bin $out/lib 42 42 cp -a build/dist/HDFView/bin/HDFView $out/bin/ 43 43 cp -a build/dist/HDFView/lib/app $out/lib/ ··· 45 45 46 46 mkdir -p $out/share/applications $out/share/icons/hicolor/32x32/apps 47 47 cp src/HDFView.png $out/share/icons/hicolor/32x32/apps/ 48 - 48 + '' + lib.optionalString stdenv.isDarwin '' 49 + mkdir -p $out/Applications 50 + cp -a build/dist/HDFView.app $out/Applications/ 51 + '' + '' 49 52 runHook postInstall 50 53 ''; 51 54 ··· 53 56 description = "A visual tool for browsing and editing HDF4 and HDF5 files"; 54 57 license = lib.licenses.free; # BSD-like 55 58 homepage = "https://portal.hdfgroup.org/display/HDFVIEW/HDFView"; 56 - platforms = lib.platforms.linux; 59 + platforms = lib.platforms.linux ++ lib.platforms.darwin; 57 60 }; 58 61 }
+11 -1
pkgs/top-level/all-packages.nix
··· 781 781 inherit curl stdenv; 782 782 }; 783 783 784 + fetchit = callPackage ../applications/networking/cluster/fetchit { }; 785 + 784 786 fetchzip = callPackage ../build-support/fetchzip { } 785 787 // { 786 788 tests = pkgs.tests.fetchzip; ··· 4861 4863 circus = callPackage ../tools/networking/circus { }; 4862 4864 4863 4865 citrix_workspace = citrix_workspace_22_05_0; 4866 + 4867 + cirrus-cli = callPackage ../development/tools/continuous-integration/cirrus-cli { }; 4864 4868 4865 4869 inherit (callPackage ../applications/networking/remote/citrix-workspace { }) 4866 4870 citrix_workspace_21_01_0 ··· 11975 11979 inherit (darwin.apple_sdk.frameworks) Foundation IOBluetooth; 11976 11980 }; 11977 11981 11982 + wipefreespace = callPackage ../tools/filesystems/wipefreespace {}; 11983 + 11978 11984 woeusb = callPackage ../tools/misc/woeusb { }; 11979 11985 11980 11986 woeusb-ng = callPackage ../tools/misc/woeusb-ng { }; ··· 12231 12237 zplug = callPackage ../shells/zsh/zplug { }; 12232 12238 12233 12239 zinit = callPackage ../shells/zsh/zinit {} ; 12240 + 12241 + zint = qt6Packages.callPackage ../development/libraries/zint { }; 12234 12242 12235 12243 zs-apc-spdu-ctl = callPackage ../tools/networking/zs-apc-spdu-ctl { }; 12236 12244 ··· 29779 29787 29780 29788 rdup = callPackage ../tools/backup/rdup { }; 29781 29789 29782 - reaper = callPackage ../applications/audio/reaper { }; 29790 + reaper = callPackage ../applications/audio/reaper { 29791 + jackLibrary = libjack2; # Another option is "pipewire.jack". 29792 + }; 29783 29793 29784 29794 recapp = callPackage ../applications/video/recapp { }; 29785 29795