1 { lib, fetchFromGitHub, buildPythonApplication, qt5
2 , legendary-gl, pypresence, pyqt5, python, qtawesome, requests, typing-extensions }:
4 buildPythonApplication rec {
8 src = fetchFromGitHub {
12 sha256 = "sha256-M+OMsyamh4WHIx7Pv2sLylOrnSmYrv1aEm3atqXrDaw=";
19 propagatedBuildInputs = [
28 patches = [ ./fix-instance.patch ];
30 dontWrapQtApps = true;
33 install -Dm644 misc/rare.desktop -t $out/share/applications/
34 install -Dm644 $out/${python.sitePackages}/rare/resources/images/Rare.png $out/share/pixmaps/rare.png
38 makeWrapperArgs+=("''${qtWrapperArgs[@]}")
41 # Project has no tests
45 description = "GUI for Legendary, an Epic Games Launcher open source alternative";
46 homepage = "https://github.com/Dummerle/Rare";
47 maintainers = with maintainers; [ wolfangaukang ];
48 license = licenses.gpl3Only;
49 platforms = platforms.linux;