mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 08:04:14 +00:00
096c956ef7
Qt GUI application for Wine for managing prefixes and applications. Signed-off-by: Rafael Kitover <rkitover@gmail.com>
38 lines
957 B
Nix
38 lines
957 B
Nix
{ lib, fetchFromGitHub, mkDerivation, cmake, sqlite
|
|
, qtbase, qtsvg, qttools, wrapQtAppsHook
|
|
, icoutils # build and runtime deps.
|
|
, wget, fuseiso, wine, sudo, 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 = "A Qt GUI for Wine to manage prefixes and applications";
|
|
license = licenses.gpl3;
|
|
maintainers = with maintainers; [ rkitover ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|