push sheeet
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s

This commit is contained in:
Dark Steveneq
2025-10-09 14:15:47 +02:00
commit 646b892680
49168 changed files with 5897842 additions and 0 deletions

View File

@@ -0,0 +1,61 @@
{
lib,
stdenv,
fetchFromGitHub,
cmake,
qt5,
qt6,
wayland,
nix-update-script,
useQt6 ? false,
# Shadows support on Qt5 requires the feature backported from Qt6:
# https://src.fedoraproject.org/rpms/qt5-qtwayland/blob/rawhide/f/qtwayland-decoration-support-backports-from-qt6.patch
qt5ShadowsSupport ? false,
}:
let
qt = if useQt6 then qt6 else qt5;
qtVersion = if useQt6 then "6" else "5";
in
stdenv.mkDerivation (finalAttrs: {
pname = "qadwaitadecorations";
version = "0.1.7";
src = fetchFromGitHub {
owner = "FedoraQt";
repo = "QAdwaitaDecorations";
rev = finalAttrs.version;
hash = "sha256-Zg2G3vuRD/kK5C2fFq6Cft218uFyBvfXtO1DHKQECFQ=";
};
nativeBuildInputs = [
cmake
];
buildInputs = with qt; [
qtbase
qtsvg
qtwayland
wayland
];
dontWrapQtApps = true;
cmakeFlags = [
"-DQT_PLUGINS_DIR=${placeholder "out"}/${qt.qtbase.qtPluginPrefix}"
]
++ lib.optional useQt6 "-DUSE_QT6=true"
++ lib.optional qt5ShadowsSupport "-DHAS_QT6_SUPPORT=true";
passthru.updateScript = nix-update-script { };
meta = {
description = "Qt${qtVersion} Wayland decoration plugin using libadwaita style";
homepage = "https://github.com/FedoraQt/QAdwaitaDecorations";
license = lib.licenses.lgpl21Plus;
maintainers = with lib.maintainers; [ samlukeyes123 ];
platforms = lib.platforms.linux;
};
})

View File

@@ -0,0 +1,54 @@
{
lib,
stdenv,
fetchFromGitHub,
intltool,
autoreconfHook,
pkg-config,
libqalculate,
gtk3,
curl,
wrapGAppsHook3,
desktopToDarwinBundle,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "qalculate-gtk";
version = "5.7.0";
src = fetchFromGitHub {
owner = "qalculate";
repo = "qalculate-gtk";
tag = "v${finalAttrs.version}";
hash = "sha256-VPwPf1cQ7jGx9aGv4sjdwu945Nlh3ZqgH9dxtFxiMP4=";
};
hardeningDisable = [ "format" ];
nativeBuildInputs = [
intltool
pkg-config
autoreconfHook
wrapGAppsHook3
]
++ lib.optionals stdenv.hostPlatform.isDarwin [ desktopToDarwinBundle ];
buildInputs = [
libqalculate
gtk3
curl
];
enableParallelBuilding = true;
meta = with lib; {
description = "Ultimate desktop calculator";
homepage = "http://qalculate.github.io";
maintainers = with maintainers; [
doronbehar
pentane
aleksana
];
license = licenses.gpl2Plus;
mainProgram = "qalculate-gtk";
platforms = platforms.all;
};
})

View File

@@ -0,0 +1,57 @@
{
lib,
stdenv,
fetchFromGitHub,
intltool,
pkg-config,
qt6,
libqalculate,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "qalculate-qt";
version = "5.7.0";
src = fetchFromGitHub {
owner = "qalculate";
repo = "qalculate-qt";
tag = "v${finalAttrs.version}";
hash = "sha256-FvPJLPG5rFd7I3RTEQsLZ7bY9qWnMb32PUYAuiCbA8s=";
};
nativeBuildInputs = with qt6; [
qmake
intltool
pkg-config
qttools
wrapQtAppsHook
];
buildInputs =
with qt6;
[
libqalculate
qtbase
qtsvg
]
++ lib.optionals stdenv.hostPlatform.isLinux [ qtwayland ];
postPatch = ''
substituteInPlace qalculate-qt.pro\
--replace "LRELEASE" "${qt6.qttools.dev}/bin/lrelease"
'';
postInstall = lib.optionalString stdenv.hostPlatform.isDarwin ''
mkdir -p $out/Applications
mv $out/bin/qalculate-qt.app $out/Applications
makeWrapper $out/{Applications/qalculate-qt.app/Contents/MacOS,bin}/qalculate-qt
'';
meta = with lib; {
description = "Ultimate desktop calculator";
homepage = "http://qalculate.github.io";
maintainers = [ ];
license = licenses.gpl2Plus;
mainProgram = "qalculate-qt";
platforms = platforms.unix;
};
})

View File

@@ -0,0 +1,46 @@
{
stdenv,
lib,
fetchFromGitLab,
cmake,
alsa-lib,
udev,
qt6Packages,
}:
stdenv.mkDerivation rec {
pname = "qastools";
version = "1.4.0";
src = fetchFromGitLab {
owner = "sebholt";
repo = "qastools";
rev = "v${version}";
hash = "sha256-mJjhM1y50f44kvxMidM7uqlkkXx1sbJC21vIMEDenoU=";
};
nativeBuildInputs = [
cmake
qt6Packages.wrapQtAppsHook
];
buildInputs = [
alsa-lib
udev
]
++ (with qt6Packages; [
qtbase
qtsvg
qttools
]);
meta = with lib; {
description = "Collection of desktop applications for ALSA configuration";
homepage = "https://gitlab.com/sebholt/qastools";
license = licenses.mit;
maintainers = with maintainers; [
avnik
orivej
];
platforms = platforms.linux;
};
}