Merge master into staging-next

authored by github-actions[bot] and committed by GitHub 06ee4dd6 6b95af24

+112 -36
+2 -2
pkgs/applications/audio/carla/default.nix
··· 26 26 27 27 stdenv.mkDerivation (finalAttrs: { 28 28 pname = "carla"; 29 - version = "2.5.6"; 29 + version = "2.5.7"; 30 30 31 31 src = fetchFromGitHub { 32 32 owner = "falkTX"; 33 33 repo = finalAttrs.pname; 34 34 rev = "v${finalAttrs.version}"; 35 - hash = "sha256-/ZIproky1AHJHvV62xWm0nrzNBOjvBBv93V0KespVjU="; 35 + hash = "sha256-WDwYfDR760Maz3oWNPcPbl8L+0MIRbeqNVGH9Gg4ZYc="; 36 36 }; 37 37 38 38 nativeBuildInputs = [
+2 -2
pkgs/applications/misc/OSCAR/default.nix
··· 1 1 { lib, stdenv, mkDerivation, fetchFromGitLab, qmake, qtbase, qttools, qtserialport, libGLU }: 2 2 mkDerivation rec { 3 3 pname = "OSCAR"; 4 - version = "1.5.0"; 4 + version = "1.5.1"; 5 5 6 6 src = fetchFromGitLab { 7 7 owner = "pholy"; 8 8 repo = "OSCAR-code"; 9 9 rev = "v${version}"; 10 - sha256 = "sha256-eaj2/ioh9dXxWv7X/IZv7m/oVcU6t7r+mK5YrrViF2w="; 10 + sha256 = "sha256-FBHbPtMZeIgcR1pQflfEWK2FS8bquctXaeY/yaZofHg="; 11 11 }; 12 12 13 13 buildInputs = [ qtbase qttools qtserialport libGLU ];
+2 -2
pkgs/applications/science/geometry/gama/default.nix
··· 1 1 { stdenv, fetchurl, lib, expat, octave, libxml2, texinfo, zip }: 2 2 stdenv.mkDerivation rec { 3 3 pname = "gama"; 4 - version = "2.25"; 4 + version = "2.26"; 5 5 6 6 src = fetchurl { 7 7 url = "mirror://gnu/${pname}/${pname}-${version}.tar.gz"; 8 - sha256 = "sha256-1j4fsPQEaftqmrdk6ZPWKSl7ywA/UPN8bdddGVlPxDQ="; 8 + sha256 = "sha256-8zKPPpbp66tD2zMmcv2H5xeCSdDhUk0uYPhqwpGqx9Y="; 9 9 }; 10 10 11 11 buildInputs = [ expat ];
-7
pkgs/applications/version-management/jujutsu/default.nix
··· 31 31 32 32 cargoHash = "sha256-fs1cWhBFp2u3HiEx/mMnbwvgwKo97KmftA/sr4dGsiM="; 33 33 34 - buildNoDefaultFeatures = true; 35 - buildFeatures = [ 36 - # enable 'packaging' feature, which enables extra features such as support 37 - # for watchman 38 - "packaging" 39 - ]; 40 - 41 34 cargoBuildFlags = [ "--bin" "jj" ]; # don't install the fake editors 42 35 useNextest = true; # nextest is the upstream integration framework 43 36 ZSTD_SYS_USE_PKG_CONFIG = "1"; # disable vendored zlib
+39
pkgs/data/themes/catppuccin-bat/default.nix
··· 1 + { fetchFromGitHub 2 + , lib 3 + , stdenvNoCC 4 + , variant ? "macchiato" 5 + }: 6 + let 7 + pname = "catppuccin-bat"; 8 + validVariants = [ "latte" "frappe" "macchiato" "mocha" ]; 9 + in 10 + lib.checkListOfEnum "${pname}: color variant" validVariants [ variant ] 11 + 12 + stdenvNoCC.mkDerivation { 13 + inherit pname; 14 + version = "unstable-2022-11-10"; 15 + 16 + src = fetchFromGitHub { 17 + owner = "catppuccin"; 18 + repo = "bat"; 19 + rev = "ba4d16880d63e656acced2b7d4e034e4a93f74b1"; 20 + hash = "sha256-6WVKQErGdaqb++oaXnY3i6/GuH2FhTgK0v4TN4Y0Wbw="; 21 + }; 22 + 23 + installPhase = '' 24 + runHook preInstall 25 + 26 + mkdir -p $out 27 + cp "Catppuccin-${variant}.tmTheme" $out 28 + 29 + runHook postInstall 30 + ''; 31 + 32 + meta = { 33 + description = "Soothing pastel theme for bat"; 34 + homepage = "https://github.com/catppuccin/bat"; 35 + license = lib.licenses.mit; 36 + platforms = lib.platforms.all; 37 + maintainers = [ lib.maintainers.khaneliman ]; 38 + }; 39 + }
+2 -2
pkgs/development/libraries/tracker-miners/default.nix
··· 47 47 48 48 stdenv.mkDerivation rec { 49 49 pname = "tracker-miners"; 50 - version = "3.5.2"; 50 + version = "3.5.3"; 51 51 52 52 src = fetchurl { 53 53 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 54 - sha256 = "QPuR+svZRo4m6+zHEdg2Mc2K6TkcYV1o27A8vKsbbGk="; 54 + hash = "sha256-drjVB3EOiX6FPsN/Ju906XqVU3CLYLjEE0lF+bgWU8s="; 55 55 }; 56 56 57 57 patches = [
+3 -3
pkgs/development/misc/datafusion/default.nix
··· 7 7 8 8 rustPlatform.buildRustPackage rec { 9 9 pname = "datafusion-cli"; 10 - version = "22.0.0"; 10 + version = "31.0.0"; 11 11 12 12 src = fetchFromGitHub { 13 13 name = "datafusion-cli-source"; 14 14 owner = "apache"; 15 15 repo = "arrow-datafusion"; 16 16 rev = version; 17 - sha256 = "sha256-TWvbtuLmAdYS8otD2TpVlZx2FJS6DF03U2zM28FNsfc="; 17 + sha256 = "sha256-Y7T3jFvdQbbvrNz+BITauDoNBsQCoXGV8Sgtgw3Brnc="; 18 18 }; 19 19 20 20 sourceRoot = "${src.name}/datafusion-cli"; 21 21 22 - cargoSha256 = "sha256-muWWVJDKm4rbpCK0SS7Zj6umFoMKGMScEAd2ZyZ5An8="; 22 + cargoHash = "sha256-hLAfByc5tnRPTE4iydlFgqc098fSrvIauiAykoU09u0="; 23 23 24 24 buildInputs = lib.optionals stdenv.isDarwin [ 25 25 darwin.apple_sdk.frameworks.Security
+60 -18
pkgs/os-specific/linux/esdm/default.nix
··· 9 9 , ninja 10 10 , libselinux 11 11 , jitterentropy 12 - # A more detailed explaination of the following meson build options can be found 13 - # in the source code of esdm. 14 - # A brief explanation is given: 12 + , botan3 13 + , openssl 14 + , libkcapi 15 + 16 + # A more detailed explaination of the following meson build options can be found 17 + # in the source code of esdm. 18 + # A brief explanation is given. 19 + 20 + # general options 15 21 , selinux ? false # enable selinux support 16 22 , drngHashDrbg ? true # set the default drng callback 17 23 , drngChaCha20 ? false # set the default drng callback 18 24 , ais2031 ? false # set the seeding strategy to be compliant with AIS 20/31 25 + , sp80090c ? false # set compliance with NIST SP800-90C 26 + , cryptoBackend ? "botan" # set backend for hash and drbg operations 19 27 , linuxDevFiles ? true # enable linux /dev/random and /dev/urandom support 20 28 , linuxGetRandom ? true # enable linux getrandom support 21 - , esJitterRng ? true # enable support for the entropy source: jitter rng 29 + , hashSha512 ? false # set the conditioning hash: SHA2-512 30 + , hashSha3_512 ? true # set the conditioning hash: SHA3-512 31 + , openSSLRandProvider ? true # build ESDM provider for OpenSSL 3.x 32 + , botanRng ? true # build ESDM class for Botan 3.x 33 + 34 + # client-related options (handle with care, consult source code and meson options) 35 + # leave as is if in doubt 36 + , connectTimeoutExponent ? 28 # (1 << EXPONENT nanoseconds) 37 + , rxTxTimeoutExponent ? 28 # (1 << EXPONENT nanoseconds) 38 + , reconnectAttempts ? 10 # how often to attempt unix socket connection before giving up 39 + 40 + # entropy sources 41 + , esJitterRng ? true # enable support for the entropy source: jitter rng (running in user space) 42 + , esJitterRngEntropyRate ? 256 # amount of entropy to account for jitter rng source 43 + , esJitterRngKernel ? true # enable support for the entropy source: jitter rng (running in kernel space) 44 + , esJitterRngKernelEntropyRate ? 256 # amount of entropy to account for kernel jitter rng source 22 45 , esCPU ? true # enable support for the entropy source: cpu-based entropy 46 + , esCPUEntropyRate ? 8 # amount of entropy to account for cpu rng source 23 47 , esKernel ? true # enable support for the entropy source: kernel-based entropy 48 + , esKernelEntropyRate ? 128 # amount of entropy to account for kernel-based source 24 49 , esIRQ ? false # enable support for the entropy source: interrupt-based entropy 50 + , esIRQEntropyRate ? 256 # amount of entropy to account for interrupt-based source (only set irq XOR sched != 0) 25 51 , esSched ? false # enable support for the entropy source: scheduler-based entropy 52 + , esSchedEntropyRate ? 0 # amount of entropy to account for interrupt-based source (only set irq XOR sched != 0) 26 53 , esHwrand ? true # enable support for the entropy source: /dev/hwrng 27 - , hashSha512 ? false # set the conditioning hash: SHA2-512 28 - , hashSha3_512 ? true # set the conditioning hash: SHA3-512 54 + , esHwrandEntropyRate ? 128 # amount of entropy to account for /dev/hwrng-based sources 29 55 }: 30 56 31 57 assert drngHashDrbg != drngChaCha20; 32 58 assert hashSha512 != hashSha3_512; 59 + assert cryptoBackend == "openssl" || cryptoBackend == "botan" || cryptoBackend == "builtin" "Unsupported ESDM crypto backend"; 33 60 34 61 stdenv.mkDerivation rec { 35 62 pname = "esdm"; 36 - version = "0.6.0"; 63 + version = "1.0.0"; 37 64 38 65 src = fetchFromGitHub { 39 66 owner = "smuellerDD"; 40 67 repo = "esdm"; 41 68 rev = "v${version}"; 42 - sha256 = "sha256-swBKVb5gnND76w2ULT+5hR/jVOqxEe4TAB1gyaLKE9Q="; 69 + sha256 = "sha256-q6TGL1agltV9CFfcA6hZszVwGIBBngs22ZqhQgc9FeM="; 43 70 }; 44 71 45 - patches = [ 46 - (fetchpatch { 47 - name = "arm64.patch"; 48 - url = "https://github.com/smuellerDD/esdm/commit/86b93a0ddf684448aba152c8f1b3baf40a6d41c0.patch"; 49 - sha256 = "sha256-gjp13AEsDNj23fcGanAAn2KCbYKA0cphhf4mCxek9Yg="; 50 - }) 51 - ]; 52 - 53 72 nativeBuildInputs = [ meson pkg-config ninja ]; 54 - buildInputs = [ protobufc fuse3 jitterentropy ] 55 - ++ lib.optional selinux libselinux; 73 + buildInputs = [ protobufc ] 74 + ++ lib.optional (cryptoBackend == "botan" || botanRng) botan3 75 + ++ lib.optional (cryptoBackend == "openssl" || openSSLRandProvider) openssl 76 + ++ lib.optional selinux libselinux 77 + ++ lib.optional esJitterRng jitterentropy 78 + ++ lib.optional linuxDevFiles fuse3 79 + ++ lib.optional esJitterRngKernel libkcapi; 56 80 57 81 mesonFlags = [ 58 82 (lib.mesonBool "b_lto" false) 83 + (lib.mesonBool "fips140" false) 59 84 (lib.mesonBool "ais2031" ais2031) 85 + (lib.mesonBool "sp80090c" sp80090c) 86 + (lib.mesonEnable "node" true) # multiple DRNGs 87 + (lib.mesonOption "threading_max_threads" (toString 64)) 88 + (lib.mesonOption "crypto_backend" cryptoBackend) 60 89 (lib.mesonEnable "linux-devfiles" linuxDevFiles) 61 90 (lib.mesonEnable "linux-getrandom" linuxGetRandom) 91 + (lib.mesonOption "client-connect-timeout-exponent" (toString connectTimeoutExponent)) 92 + (lib.mesonOption "client-rx-tx-timeout-exponent" (toString rxTxTimeoutExponent)) 93 + (lib.mesonOption "client-reconnect-attempts" (toString reconnectAttempts)) 62 94 (lib.mesonEnable "es_jent" esJitterRng) 95 + (lib.mesonOption "es_jent_entropy_rate" (toString esJitterRngEntropyRate)) 96 + (lib.mesonEnable "es_jent_kernel" esJitterRngKernel) 97 + (lib.mesonOption "es_jent_kernel_entropy_rate" (toString esJitterRngKernelEntropyRate)) 63 98 (lib.mesonEnable "es_cpu" esCPU) 99 + (lib.mesonOption "es_cpu_entropy_rate" (toString esCPUEntropyRate)) 64 100 (lib.mesonEnable "es_kernel" esKernel) 101 + (lib.mesonOption "es_kernel_entropy_rate" (toString esKernelEntropyRate)) 65 102 (lib.mesonEnable "es_irq" esIRQ) 103 + (lib.mesonOption "es_irq_entropy_rate" (toString esIRQEntropyRate)) 66 104 (lib.mesonEnable "es_sched" esSched) 105 + (lib.mesonOption "es_sched_entropy_rate" (toString esSchedEntropyRate)) 67 106 (lib.mesonEnable "es_hwrand" esHwrand) 107 + (lib.mesonOption "es_hwrand_entropy_rate" (toString esHwrandEntropyRate)) 68 108 (lib.mesonEnable "hash_sha512" hashSha512) 69 109 (lib.mesonEnable "hash_sha3_512" hashSha3_512) 70 110 (lib.mesonEnable "selinux" selinux) 71 111 (lib.mesonEnable "drng_hash_drbg" drngHashDrbg) 72 112 (lib.mesonEnable "drng_chacha20" drngChaCha20) 113 + (lib.mesonEnable "openssl-rand-provider" openSSLRandProvider) 114 + (lib.mesonEnable "botan-rng" botanRng) 73 115 ]; 74 116 75 117 doCheck = true;
+2
pkgs/top-level/all-packages.nix
··· 430 430 431 431 catatonit = callPackage ../applications/virtualization/catatonit { }; 432 432 433 + catppuccin-bat = callPackage ../data/themes/catppuccin-bat { }; 434 + 433 435 catppuccin-catwalk = callPackage ../development/tools/misc/catppuccin-catwalk { }; 434 436 435 437 catppuccin-gtk = callPackage ../data/themes/catppuccin-gtk { };