Merge master into staging-next

This commit is contained in:
github-actions[bot] 2024-06-21 06:01:15 +00:00 committed by GitHub
commit 8f35ef2cfa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
19 changed files with 112 additions and 67 deletions

View File

@ -1551,12 +1551,6 @@
githubId = 56009; githubId = 56009;
name = "Arcadio Rubio García"; name = "Arcadio Rubio García";
}; };
arcayr = {
email = "nix@arcayr.online";
github = "arcayr";
githubId = 11192354;
name = "Elliot Speck";
};
archer-65 = { archer-65 = {
email = "mario.liguori.056@gmail.com"; email = "mario.liguori.056@gmail.com";
github = "archer-65"; github = "archer-65";
@ -13157,6 +13151,12 @@
githubId = 3269878; githubId = 3269878;
name = "Miguel Madrid Mencía"; name = "Miguel Madrid Mencía";
}; };
mimvoid = {
github = "mimvoid";
githubId = 153698678;
email = "mimvoid@proton.me";
name = "mimvoid";
};
mindavi = { mindavi = {
email = "rol3517@gmail.com"; email = "rol3517@gmail.com";
github = "Mindavi"; github = "Mindavi";

View File

@ -8,6 +8,7 @@
, writeScript , writeScript
, undmg , undmg
, unzip , unzip
, commandLineArgs ? ""
}: }:
let let
inherit (stdenv.hostPlatform) system; inherit (stdenv.hostPlatform) system;
@ -52,7 +53,8 @@ let
mkdir -p $out/bin mkdir -p $out/bin
makeWrapper ${electron}/bin/electron $out/bin/obsidian \ makeWrapper ${electron}/bin/electron $out/bin/obsidian \
--add-flags $out/share/obsidian/app.asar \ --add-flags $out/share/obsidian/app.asar \
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform=wayland}}" --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform=wayland}}" \
--add-flags ${lib.escapeShellArg commandLineArgs}
install -m 444 -D resources/app.asar $out/share/obsidian/app.asar install -m 444 -D resources/app.asar $out/share/obsidian/app.asar
install -m 444 -D resources/obsidian.asar $out/share/obsidian/obsidian.asar install -m 444 -D resources/obsidian.asar $out/share/obsidian/obsidian.asar
install -m 444 -D "${desktopItem}/share/applications/"* \ install -m 444 -D "${desktopItem}/share/applications/"* \

View File

@ -13,13 +13,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "cbmc"; pname = "cbmc";
version = "5.95.1"; version = "6.0.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "diffblue"; owner = "diffblue";
repo = pname; repo = pname;
rev = "${pname}-${version}"; rev = "${pname}-${version}";
sha256 = "sha256-fDLSo5EeHyPTliAqFp+5mfaB0iZXIMXeMyF21fjl5k4="; sha256 = "sha256-mPRkkKN7Hz9Qi6a3fEwVFh7a9OaBFcksNw9qwNOarao=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -26,14 +26,15 @@
buildPythonApplication rec { buildPythonApplication rec {
pname = "glances"; pname = "glances";
version = "4.0.7"; # use unstable to fix a build error for aarch64.
version = "4.0.8-unstable-2024-06-09";
disabled = isPyPy; disabled = isPyPy;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "nicolargo"; owner = "nicolargo";
repo = "glances"; repo = "glances";
rev = "refs/tags/v${version}"; rev = "051006e12f7c90281dda4af60871b535b0dcdcb9";
hash = "sha256-Vfsco8Wno57aPM7PtwCc/gI+6FnAG3H/t5OAUngDU5o="; hash = "sha256-iCK5soTACQwtCVMmMsFaqXvZtTKX9WbTul0mUeSWC2M=";
}; };
# On Darwin this package segfaults due to mismatch of pure and impure # On Darwin this package segfaults due to mismatch of pure and impure

View File

@ -2,6 +2,7 @@
lib, lib,
stdenvNoCC, stdenvNoCC,
fetchFromGitHub, fetchFromGitHub,
unstableGitUpdater,
}: }:
stdenvNoCC.mkDerivation { stdenvNoCC.mkDerivation {
pname = "catppuccin-fcitx5"; pname = "catppuccin-fcitx5";
@ -14,6 +15,9 @@ stdenvNoCC.mkDerivation {
hash = "sha256-uFaCbyrEjv4oiKUzLVFzw+UY54/h7wh2cntqeyYwGps="; hash = "sha256-uFaCbyrEjv4oiKUzLVFzw+UY54/h7wh2cntqeyYwGps=";
}; };
dontConfigure = true;
dontBuild = true;
installPhase = '' installPhase = ''
runHook preInstall runHook preInstall
mkdir -p $out/share/fcitx5 mkdir -p $out/share/fcitx5
@ -21,11 +25,13 @@ stdenvNoCC.mkDerivation {
runHook postInstall runHook postInstall
''; '';
passthru.updateScript = unstableGitUpdater { };
meta = { meta = {
description = "Soothing pastel theme for Fcitx5"; description = "Soothing pastel theme for Fcitx5";
homepage = "https://github.com/catppuccin/fcitx5"; homepage = "https://github.com/catppuccin/fcitx5";
license = lib.licenses.mit; license = lib.licenses.mit;
maintainers = with lib.maintainers; [ pluiedev ]; maintainers = with lib.maintainers; [ pluiedev Guanran928 ];
platforms = lib.platforms.all; platforms = lib.platforms.all;
}; };
} }

View File

@ -0,0 +1,37 @@
{
lib,
stdenvNoCC,
fetchFromGitHub,
flavor ? "mocha", # override with your chosen flavor
}:
let
version = "1.0.0";
in
stdenvNoCC.mkDerivation {
pname = "catppuccin-grub";
inherit version;
src = fetchFromGitHub {
owner = "catppuccin";
repo = "grub";
rev = "v${version}";
hash = "sha256-/bSolCta8GCZ4lP0u5NVqYQ9Y3ZooYCNdTwORNvR7M0=";
};
installPhase = ''
runHook preInstall
mkdir -p $out/
cp -r src/catppuccin-${flavor}-grub-theme/* "$out/"
runHook postInstall
'';
meta = {
description = "Soothing pastel theme for GRUB";
homepage = "https://github.com/catppuccin/grub";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [isabelroses mimvoid];
platforms = lib.platforms.linux;
};
}

View File

@ -1,39 +0,0 @@
{
lib,
stdenvNoCC,
fetchFromGitHub,
unstableGitUpdater,
}:
stdenvNoCC.mkDerivation {
pname = "fcitx5-catppuccin";
version = "0-unstable-2022-10-05";
src = fetchFromGitHub {
owner = "catppuccin";
repo = "fcitx5";
rev = "ce244cfdf43a648d984719fdfd1d60aab09f5c97";
hash = "sha256-uFaCbyrEjv4oiKUzLVFzw+UY54/h7wh2cntqeyYwGps=";
};
dontConfigure = true;
dontBuild = true;
installPhase = ''
runHook preInstall
mkdir -p $out/share/fcitx5/themes
cp -r src/catppuccin-* $out/share/fcitx5/themes
runHook postInstall
'';
passthru.updateScript = unstableGitUpdater { };
meta = with lib; {
description = "Soothing pastel theme for Fcitx5";
homepage = "https://github.com/catppuccin/fcitx5";
license = licenses.mit;
maintainers = with maintainers; [ Guanran928 ];
platforms = platforms.all;
};
}

View File

@ -4,6 +4,7 @@
stdenv, stdenv,
fetchFromGitHub, fetchFromGitHub,
gitUpdater, gitUpdater,
mbedtls_2,
}: }:
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
@ -23,6 +24,12 @@ stdenv.mkDerivation (finalAttrs: {
nativeBuildInputs = [ cmake ]; nativeBuildInputs = [ cmake ];
buildInputs = [ mbedtls_2 ];
cmakeFlags = [ (lib.cmakeBool "WITH_MBEDTLS" true) ];
env.NIX_LDFLAGS = "-lmbedcrypto -lmbedx509 -lmbedtls";
passthru.updateScript = gitUpdater { rev-prefix = "v"; }; passthru.updateScript = gitUpdater { rev-prefix = "v"; };
meta = with lib; { meta = with lib; {

View File

@ -12,18 +12,18 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "lxd-ui"; pname = "lxd-ui";
version = "0.8.1"; version = "0.9";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "canonical"; owner = "canonical";
repo = "lxd-ui"; repo = "lxd-ui";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-XLHLWD7iH4A5+MaFYiMILnjPGN565gBRpimFoOJMRtI="; hash = "sha256-4TIi/LPm35W86p+l5eYU0VETjno8TKmp43m2SReKElM=";
}; };
offlineCache = fetchYarnDeps { offlineCache = fetchYarnDeps {
yarnLock = "${src}/yarn.lock"; yarnLock = "${src}/yarn.lock";
hash = "sha256-hRZ0vbksxnUv4XMrbhP2PI94UYYzwrydJHSx+uf+MbI="; hash = "sha256-wExAVEl745X4O9hYhKYX2BjmW494Vr13X8bDmVxKMT4=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -7,13 +7,13 @@
stdenvNoCC.mkDerivation { stdenvNoCC.mkDerivation {
pname = "roddhjav-apparmor-rules"; pname = "roddhjav-apparmor-rules";
version = "0-unstable-2024-06-12"; version = "0-unstable-2024-06-16";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "roddhjav"; owner = "roddhjav";
repo = "apparmor.d"; repo = "apparmor.d";
rev = "327c1dec332aaf2f6a9ef59e2243fdf517a0956a"; rev = "747292e95402298553dec3b2dd923a6c62ad2077";
hash = "sha256-AIMmwqa7Kh4/zbTAiHVfOi4LwXO9eInaGCjUx9MRa1o="; hash = "sha256-SWNo6qJNR4XGZc79JQXsab0vppDf1D5GXH/iMmdi5WQ=";
}; };
dontConfigure = true; dontConfigure = true;

View File

@ -60,11 +60,11 @@ let
in in
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "uclibc-ng"; pname = "uclibc-ng";
version = "1.0.48"; version = "1.0.49";
src = fetchurl { src = fetchurl {
url = "https://downloads.uclibc-ng.org/releases/${finalAttrs.version}/uClibc-ng-${finalAttrs.version}.tar.xz"; url = "https://downloads.uclibc-ng.org/releases/${finalAttrs.version}/uClibc-ng-${finalAttrs.version}.tar.xz";
hash = "sha256-O/X8bMXLxFS2xHhCR1XG9x58FVeKLJZvAmBqpcVZbiE="; hash = "sha256-NA+dXdEVnGnDOAZU455WfLswSvzT+d+i6YM/D6E/W74=";
}; };
# 'ftw' needed to build acl, a coreutils dependency # 'ftw' needed to build acl, a coreutils dependency

View File

@ -38,6 +38,16 @@ stdenv.mkDerivation (finalAttrs: {
llvm llvm
]); ]);
# On Darwin, Zig calls std.zig.system.darwin.macos.detect during the build,
# which parses /System/Library/CoreServices/SystemVersion.plist and
# /System/Library/CoreServices/.SystemVersionPlatform.plist to determine the
# OS version. This causes the build to fail during stage 3 with
# OSVersionDetectionFail when the sandbox is enabled.
__impureHostDeps = lib.optionals stdenv.isDarwin [
"/System/Library/CoreServices/.SystemVersionPlatform.plist"
"/System/Library/CoreServices/SystemVersion.plist"
];
outputs = [ outputs = [
"out" "out"
"doc" "doc"

View File

@ -38,6 +38,16 @@ stdenv.mkDerivation (finalAttrs: {
llvm llvm
]); ]);
# On Darwin, Zig calls std.zig.system.darwin.macos.detect during the build,
# which parses /System/Library/CoreServices/SystemVersion.plist and
# /System/Library/CoreServices/.SystemVersionPlatform.plist to determine the
# OS version. This causes the build to fail during stage 3 with
# OSVersionDetectionFail when the sandbox is enabled.
__impureHostDeps = lib.optionals stdenv.isDarwin [
"/System/Library/CoreServices/.SystemVersionPlatform.plist"
"/System/Library/CoreServices/SystemVersion.plist"
];
outputs = [ outputs = [
"out" "out"
"doc" "doc"

View File

@ -36,6 +36,16 @@ stdenv.mkDerivation (finalAttrs: {
llvm llvm
]); ]);
# On Darwin, Zig calls std.zig.system.darwin.macos.detect during the build,
# which parses /System/Library/CoreServices/SystemVersion.plist and
# /System/Library/CoreServices/.SystemVersionPlatform.plist to determine the
# OS version. This causes the build to fail during stage 3 with
# OSVersionDetectionFail when the sandbox is enabled.
__impureHostDeps = lib.optionals stdenv.isDarwin [
"/System/Library/CoreServices/.SystemVersionPlatform.plist"
"/System/Library/CoreServices/SystemVersion.plist"
];
env.ZIG_GLOBAL_CACHE_DIR = "$TMPDIR/zig-cache"; env.ZIG_GLOBAL_CACHE_DIR = "$TMPDIR/zig-cache";
# Zig's build looks at /usr/bin/env to find dynamic linking info. This doesn't # Zig's build looks at /usr/bin/env to find dynamic linking info. This doesn't

View File

@ -25,7 +25,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "fastembed"; pname = "fastembed";
version = "0.3.0"; version = "0.3.1";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -34,7 +34,7 @@ buildPythonPackage rec {
owner = "qdrant"; owner = "qdrant";
repo = "fastembed"; repo = "fastembed";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-Tfj0YdUW/Nnvn4+RoOWj9l0gDkWbpVgiADA09ht4xxM="; hash = "sha256-bFIikLogTxrwLNR+NOnnRjKGneZ63N7CBuu81z85xZo=";
}; };
build-system = [ poetry-core ]; build-system = [ poetry-core ];

View File

@ -5,18 +5,18 @@
buildNpmPackage rec { buildNpmPackage rec {
pname = "android-tv-card"; pname = "android-tv-card";
version = "3.8.0"; version = "3.8.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Nerwyn"; owner = "Nerwyn";
repo = "android-tv-card"; repo = "android-tv-card";
rev = version; rev = version;
hash = "sha256-DYNfDGvCLJHhp2p9iPsxWAyPPUNI+sLwDYP6FRQA1vk="; hash = "sha256-ARFJJ119zJzjW0d59JFARMcjVAJ2IFDkShIN43d1adI=";
}; };
patches = [ ./dont-call-git.patch ]; patches = [ ./dont-call-git.patch ];
npmDepsHash = "sha256-9O5T3x3uLm5qpZwIbeo2DJ/CirRilJ17BZuT3+NDP8A="; npmDepsHash = "sha256-t/kZTcXs3IpbrEfnmYQlJqhM8F3mO4prbQNnKtFqsDM=";
installPhase = '' installPhase = ''
runHook preInstall runHook preInstall

View File

@ -85,7 +85,7 @@ buildFHSEnv {
license = licenses.unfree; license = licenses.unfree;
platforms = jdk.meta.platforms; platforms = jdk.meta.platforms;
hydraPlatforms = [ ]; hydraPlatforms = [ ];
maintainers = with maintainers; [ arcayr bennofs ]; maintainers = with maintainers; [ bennofs ];
mainProgram = "burpsuite"; mainProgram = "burpsuite";
}; };
} }

View File

@ -32,6 +32,6 @@ python3.pkgs.buildPythonApplication rec {
mainProgram = "mitm6"; mainProgram = "mitm6";
homepage = "https://github.com/dirkjanm/mitm6"; homepage = "https://github.com/dirkjanm/mitm6";
license = lib.licenses.gpl2Only; license = lib.licenses.gpl2Only;
maintainers = with lib.maintainers; [ arcayr ]; maintainers = with lib.maintainers; [ ];
}; };
} }

View File

@ -379,6 +379,7 @@ mapAliases ({
faustStk = faustPhysicalModeling; # Added 2023-05-16 faustStk = faustPhysicalModeling; # Added 2023-05-16
fastnlo = fastnlo-toolkit; # Added 2021-04-24 fastnlo = fastnlo-toolkit; # Added 2021-04-24
fastnlo_toolkit = fastnlo-toolkit; # Added 2024-01-03 fastnlo_toolkit = fastnlo-toolkit; # Added 2024-01-03
fcitx5-catppuccin = catppuccin-fcitx5; # Added 2024-06-19
inherit (luaPackages) fennel; # Added 2022-09-24 inherit (luaPackages) fennel; # Added 2022-09-24
fetchFromGithub = throw "You meant fetchFromGitHub, with a capital H"; # preserve fetchFromGithub = throw "You meant fetchFromGitHub, with a capital H"; # preserve
FIL-plugins = fil-plugins; # Added 2024-06-12 FIL-plugins = fil-plugins; # Added 2024-06-12