Files
Dark Steveneq 646b892680
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
push sheeet
2025-10-09 14:15:47 +02:00

54 lines
1.4 KiB
Nix

{
lib,
stdenv,
fetchFromGitHub,
fetchpatch2,
cmake,
qt6,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "linyaps-web-store-installer";
version = "1.6.8";
src = fetchFromGitHub {
owner = "OpenAtom-Linyaps";
repo = "linyaps-web-store-installer";
rev = finalAttrs.version;
hash = "sha256-KbtGoXzxZmo6x1bvzDZbwp/wl+dBojB6E+K87CAkI7g=";
};
postPatch = ''
substituteInPlace ll-installer/space.linglong.Installer.desktop \
--replace-fail "Exec=/usr/bin/ll-installer" "Exec=$out/bin/ll-installer"
'';
patches = [
(fetchpatch2 {
# https://github.com/OpenAtom-Linyaps/linyaps-web-store-installer/pull/24
url = "https://github.com/OpenAtom-Linyaps/linyaps-web-store-installer/commit/fc365dd06b17df38d9ae991775e51c5f1b547341.patch?full_index=1";
hash = "sha256-BpFM3w8njRANvxH34PyP3Y2hLtZWOl18KZxzA+Ew3Zg=";
includes = [ "CMakeLists.txt" ];
})
];
nativeBuildInputs = [
cmake
qt6.wrapQtAppsHook
];
buildInputs = [
qt6.qtbase
];
meta = {
description = "URI Handler for Linyaps Web Store";
homepage = "https://github.com/OpenAtom-Linyaps/linyaps-web-store-installer";
changelog = "https://github.com/OpenAtom-Linyaps/linyaps-web-store-installer/releases/tag/${finalAttrs.version}";
license = lib.licenses.lgpl3Plus;
maintainers = with lib.maintainers; [ hhr2020 ];
mainProgram = "ll-installer";
platforms = lib.platforms.linux;
};
})