nixpkgs/pkgs/applications/misc/q4wine/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

38 lines
955 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 = "Qt GUI for Wine to manage prefixes and applications";
license = licenses.gpl3;
maintainers = with maintainers; [ rkitover ];
platforms = platforms.unix;
};
}