Merge master into staging-next
This commit is contained in:
@@ -26,13 +26,13 @@ assert withQt -> wrapQtAppsHook != null;
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "carla";
|
||||
version = "2.5.6";
|
||||
version = "2.5.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "falkTX";
|
||||
repo = finalAttrs.pname;
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-/ZIproky1AHJHvV62xWm0nrzNBOjvBBv93V0KespVjU=";
|
||||
hash = "sha256-WDwYfDR760Maz3oWNPcPbl8L+0MIRbeqNVGH9Gg4ZYc=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
{ lib, stdenv, mkDerivation, fetchFromGitLab, qmake, qtbase, qttools, qtserialport, libGLU }:
|
||||
mkDerivation rec {
|
||||
pname = "OSCAR";
|
||||
version = "1.5.0";
|
||||
version = "1.5.1";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "pholy";
|
||||
repo = "OSCAR-code";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-eaj2/ioh9dXxWv7X/IZv7m/oVcU6t7r+mK5YrrViF2w=";
|
||||
sha256 = "sha256-FBHbPtMZeIgcR1pQflfEWK2FS8bquctXaeY/yaZofHg=";
|
||||
};
|
||||
|
||||
buildInputs = [ qtbase qttools qtserialport libGLU ];
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
{ stdenv, fetchurl, lib, expat, octave, libxml2, texinfo, zip }:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gama";
|
||||
version = "2.25";
|
||||
version = "2.26";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnu/${pname}/${pname}-${version}.tar.gz";
|
||||
sha256 = "sha256-1j4fsPQEaftqmrdk6ZPWKSl7ywA/UPN8bdddGVlPxDQ=";
|
||||
sha256 = "sha256-8zKPPpbp66tD2zMmcv2H5xeCSdDhUk0uYPhqwpGqx9Y=";
|
||||
};
|
||||
|
||||
buildInputs = [ expat ];
|
||||
|
||||
@@ -31,13 +31,6 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
cargoHash = "sha256-fs1cWhBFp2u3HiEx/mMnbwvgwKo97KmftA/sr4dGsiM=";
|
||||
|
||||
buildNoDefaultFeatures = true;
|
||||
buildFeatures = [
|
||||
# enable 'packaging' feature, which enables extra features such as support
|
||||
# for watchman
|
||||
"packaging"
|
||||
];
|
||||
|
||||
cargoBuildFlags = [ "--bin" "jj" ]; # don't install the fake editors
|
||||
useNextest = true; # nextest is the upstream integration framework
|
||||
ZSTD_SYS_USE_PKG_CONFIG = "1"; # disable vendored zlib
|
||||
|
||||
39
pkgs/data/themes/catppuccin-bat/default.nix
Normal file
39
pkgs/data/themes/catppuccin-bat/default.nix
Normal file
@@ -0,0 +1,39 @@
|
||||
{ fetchFromGitHub
|
||||
, lib
|
||||
, stdenvNoCC
|
||||
, variant ? "macchiato"
|
||||
}:
|
||||
let
|
||||
pname = "catppuccin-bat";
|
||||
validVariants = [ "latte" "frappe" "macchiato" "mocha" ];
|
||||
in
|
||||
lib.checkListOfEnum "${pname}: color variant" validVariants [ variant ]
|
||||
|
||||
stdenvNoCC.mkDerivation {
|
||||
inherit pname;
|
||||
version = "unstable-2022-11-10";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "catppuccin";
|
||||
repo = "bat";
|
||||
rev = "ba4d16880d63e656acced2b7d4e034e4a93f74b1";
|
||||
hash = "sha256-6WVKQErGdaqb++oaXnY3i6/GuH2FhTgK0v4TN4Y0Wbw=";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out
|
||||
cp "Catppuccin-${variant}.tmTheme" $out
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Soothing pastel theme for bat";
|
||||
homepage = "https://github.com/catppuccin/bat";
|
||||
license = lib.licenses.mit;
|
||||
platforms = lib.platforms.all;
|
||||
maintainers = [ lib.maintainers.khaneliman ];
|
||||
};
|
||||
}
|
||||
@@ -47,11 +47,11 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "tracker-miners";
|
||||
version = "3.5.2";
|
||||
version = "3.5.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "QPuR+svZRo4m6+zHEdg2Mc2K6TkcYV1o27A8vKsbbGk=";
|
||||
hash = "sha256-drjVB3EOiX6FPsN/Ju906XqVU3CLYLjEE0lF+bgWU8s=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
||||
@@ -7,19 +7,19 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "datafusion-cli";
|
||||
version = "22.0.0";
|
||||
version = "31.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
name = "datafusion-cli-source";
|
||||
owner = "apache";
|
||||
repo = "arrow-datafusion";
|
||||
rev = version;
|
||||
sha256 = "sha256-TWvbtuLmAdYS8otD2TpVlZx2FJS6DF03U2zM28FNsfc=";
|
||||
sha256 = "sha256-Y7T3jFvdQbbvrNz+BITauDoNBsQCoXGV8Sgtgw3Brnc=";
|
||||
};
|
||||
|
||||
sourceRoot = "${src.name}/datafusion-cli";
|
||||
|
||||
cargoSha256 = "sha256-muWWVJDKm4rbpCK0SS7Zj6umFoMKGMScEAd2ZyZ5An8=";
|
||||
cargoHash = "sha256-hLAfByc5tnRPTE4iydlFgqc098fSrvIauiAykoU09u0=";
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [
|
||||
darwin.apple_sdk.frameworks.Security
|
||||
|
||||
@@ -9,67 +9,109 @@
|
||||
, ninja
|
||||
, libselinux
|
||||
, jitterentropy
|
||||
# A more detailed explaination of the following meson build options can be found
|
||||
# in the source code of esdm.
|
||||
# A brief explanation is given:
|
||||
, botan3
|
||||
, openssl
|
||||
, libkcapi
|
||||
|
||||
# A more detailed explaination of the following meson build options can be found
|
||||
# in the source code of esdm.
|
||||
# A brief explanation is given.
|
||||
|
||||
# general options
|
||||
, selinux ? false # enable selinux support
|
||||
, drngHashDrbg ? true # set the default drng callback
|
||||
, drngChaCha20 ? false # set the default drng callback
|
||||
, ais2031 ? false # set the seeding strategy to be compliant with AIS 20/31
|
||||
, sp80090c ? false # set compliance with NIST SP800-90C
|
||||
, cryptoBackend ? "botan" # set backend for hash and drbg operations
|
||||
, linuxDevFiles ? true # enable linux /dev/random and /dev/urandom support
|
||||
, linuxGetRandom ? true # enable linux getrandom support
|
||||
, esJitterRng ? true # enable support for the entropy source: jitter rng
|
||||
, esCPU ? true # enable support for the entropy source: cpu-based entropy
|
||||
, esKernel ? true # enable support for the entropy source: kernel-based entropy
|
||||
, esIRQ ? false # enable support for the entropy source: interrupt-based entropy
|
||||
, esSched ? false # enable support for the entropy source: scheduler-based entropy
|
||||
, esHwrand ? true # enable support for the entropy source: /dev/hwrng
|
||||
, hashSha512 ? false # set the conditioning hash: SHA2-512
|
||||
, hashSha3_512 ? true # set the conditioning hash: SHA3-512
|
||||
, openSSLRandProvider ? true # build ESDM provider for OpenSSL 3.x
|
||||
, botanRng ? true # build ESDM class for Botan 3.x
|
||||
|
||||
# client-related options (handle with care, consult source code and meson options)
|
||||
# leave as is if in doubt
|
||||
, connectTimeoutExponent ? 28 # (1 << EXPONENT nanoseconds)
|
||||
, rxTxTimeoutExponent ? 28 # (1 << EXPONENT nanoseconds)
|
||||
, reconnectAttempts ? 10 # how often to attempt unix socket connection before giving up
|
||||
|
||||
# entropy sources
|
||||
, esJitterRng ? true # enable support for the entropy source: jitter rng (running in user space)
|
||||
, esJitterRngEntropyRate ? 256 # amount of entropy to account for jitter rng source
|
||||
, esJitterRngKernel ? true # enable support for the entropy source: jitter rng (running in kernel space)
|
||||
, esJitterRngKernelEntropyRate ? 256 # amount of entropy to account for kernel jitter rng source
|
||||
, esCPU ? true # enable support for the entropy source: cpu-based entropy
|
||||
, esCPUEntropyRate ? 8 # amount of entropy to account for cpu rng source
|
||||
, esKernel ? true # enable support for the entropy source: kernel-based entropy
|
||||
, esKernelEntropyRate ? 128 # amount of entropy to account for kernel-based source
|
||||
, esIRQ ? false # enable support for the entropy source: interrupt-based entropy
|
||||
, esIRQEntropyRate ? 256 # amount of entropy to account for interrupt-based source (only set irq XOR sched != 0)
|
||||
, esSched ? false # enable support for the entropy source: scheduler-based entropy
|
||||
, esSchedEntropyRate ? 0 # amount of entropy to account for interrupt-based source (only set irq XOR sched != 0)
|
||||
, esHwrand ? true # enable support for the entropy source: /dev/hwrng
|
||||
, esHwrandEntropyRate ? 128 # amount of entropy to account for /dev/hwrng-based sources
|
||||
}:
|
||||
|
||||
assert drngHashDrbg != drngChaCha20;
|
||||
assert hashSha512 != hashSha3_512;
|
||||
assert cryptoBackend == "openssl" || cryptoBackend == "botan" || cryptoBackend == "builtin" "Unsupported ESDM crypto backend";
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "esdm";
|
||||
version = "0.6.0";
|
||||
version = "1.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "smuellerDD";
|
||||
repo = "esdm";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-swBKVb5gnND76w2ULT+5hR/jVOqxEe4TAB1gyaLKE9Q=";
|
||||
sha256 = "sha256-q6TGL1agltV9CFfcA6hZszVwGIBBngs22ZqhQgc9FeM=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "arm64.patch";
|
||||
url = "https://github.com/smuellerDD/esdm/commit/86b93a0ddf684448aba152c8f1b3baf40a6d41c0.patch";
|
||||
sha256 = "sha256-gjp13AEsDNj23fcGanAAn2KCbYKA0cphhf4mCxek9Yg=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ meson pkg-config ninja ];
|
||||
buildInputs = [ protobufc fuse3 jitterentropy ]
|
||||
++ lib.optional selinux libselinux;
|
||||
buildInputs = [ protobufc ]
|
||||
++ lib.optional (cryptoBackend == "botan" || botanRng) botan3
|
||||
++ lib.optional (cryptoBackend == "openssl" || openSSLRandProvider) openssl
|
||||
++ lib.optional selinux libselinux
|
||||
++ lib.optional esJitterRng jitterentropy
|
||||
++ lib.optional linuxDevFiles fuse3
|
||||
++ lib.optional esJitterRngKernel libkcapi;
|
||||
|
||||
mesonFlags = [
|
||||
(lib.mesonBool "b_lto" false)
|
||||
(lib.mesonBool "fips140" false)
|
||||
(lib.mesonBool "ais2031" ais2031)
|
||||
(lib.mesonBool "sp80090c" sp80090c)
|
||||
(lib.mesonEnable "node" true) # multiple DRNGs
|
||||
(lib.mesonOption "threading_max_threads" (toString 64))
|
||||
(lib.mesonOption "crypto_backend" cryptoBackend)
|
||||
(lib.mesonEnable "linux-devfiles" linuxDevFiles)
|
||||
(lib.mesonEnable "linux-getrandom" linuxGetRandom)
|
||||
(lib.mesonOption "client-connect-timeout-exponent" (toString connectTimeoutExponent))
|
||||
(lib.mesonOption "client-rx-tx-timeout-exponent" (toString rxTxTimeoutExponent))
|
||||
(lib.mesonOption "client-reconnect-attempts" (toString reconnectAttempts))
|
||||
(lib.mesonEnable "es_jent" esJitterRng)
|
||||
(lib.mesonOption "es_jent_entropy_rate" (toString esJitterRngEntropyRate))
|
||||
(lib.mesonEnable "es_jent_kernel" esJitterRngKernel)
|
||||
(lib.mesonOption "es_jent_kernel_entropy_rate" (toString esJitterRngKernelEntropyRate))
|
||||
(lib.mesonEnable "es_cpu" esCPU)
|
||||
(lib.mesonOption "es_cpu_entropy_rate" (toString esCPUEntropyRate))
|
||||
(lib.mesonEnable "es_kernel" esKernel)
|
||||
(lib.mesonOption "es_kernel_entropy_rate" (toString esKernelEntropyRate))
|
||||
(lib.mesonEnable "es_irq" esIRQ)
|
||||
(lib.mesonOption "es_irq_entropy_rate" (toString esIRQEntropyRate))
|
||||
(lib.mesonEnable "es_sched" esSched)
|
||||
(lib.mesonOption "es_sched_entropy_rate" (toString esSchedEntropyRate))
|
||||
(lib.mesonEnable "es_hwrand" esHwrand)
|
||||
(lib.mesonOption "es_hwrand_entropy_rate" (toString esHwrandEntropyRate))
|
||||
(lib.mesonEnable "hash_sha512" hashSha512)
|
||||
(lib.mesonEnable "hash_sha3_512" hashSha3_512)
|
||||
(lib.mesonEnable "selinux" selinux)
|
||||
(lib.mesonEnable "drng_hash_drbg" drngHashDrbg)
|
||||
(lib.mesonEnable "drng_chacha20" drngChaCha20)
|
||||
(lib.mesonEnable "openssl-rand-provider" openSSLRandProvider)
|
||||
(lib.mesonEnable "botan-rng" botanRng)
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
@@ -430,6 +430,8 @@ with pkgs;
|
||||
|
||||
catatonit = callPackage ../applications/virtualization/catatonit { };
|
||||
|
||||
catppuccin-bat = callPackage ../data/themes/catppuccin-bat { };
|
||||
|
||||
catppuccin-catwalk = callPackage ../development/tools/misc/catppuccin-catwalk { };
|
||||
|
||||
catppuccin-gtk = callPackage ../data/themes/catppuccin-gtk { };
|
||||
|
||||
Reference in New Issue
Block a user