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

64 lines
1.0 KiB
Nix

{
lib,
fetchFromGitHub,
mkDerivation,
cmake,
sqlite,
qtbase,
qtsvg,
qttools,
wrapQtAppsHook,
icoutils, # build and runtime deps.
wget,
fuseiso,
wine,
which, # runtime deps.
}:
mkDerivation rec {
pname = "q4wine";
version = "1.3.13";
src = fetchFromGitHub {
owner = "brezerk";
repo = "q4wine";
rev = "v${version}";
sha256 = "04gw5y3dxdpivm2xqacqq85fdzx7xkl0c3h3hdazljb0c3cxxs6h";
};
buildInputs = [
sqlite
icoutils
qtbase
qtsvg
qttools
];
nativeBuildInputs = [
cmake
wrapQtAppsHook
];
# Add runtime deps.
postInstall = ''
wrapProgram $out/bin/q4wine \
--prefix PATH : ${
lib.makeBinPath [
icoutils
wget
fuseiso
wine
which
]
}
'';
meta = with lib; {
homepage = "https://q4wine.brezblock.org.ua/";
description = "Qt GUI for Wine to manage prefixes and applications";
license = licenses.gpl3;
maintainers = with maintainers; [ rkitover ];
platforms = platforms.unix;
};
}