python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / tools / games / steam-rom-manager / default.nix
blobb39e87fbe906a106a2c49809f0b3b93d97aaf844
1 { lib, appimageTools, fetchurl }:
3 appimageTools.wrapType2 rec {
4   name = "steam-rom-manager";
5   version = "2.3.40";
7   src = fetchurl {
8     url = "https://github.com/SteamGridDB/steam-rom-manager/releases/download/v${version}/Steam-ROM-Manager-${version}.AppImage";
9     sha256 = "sha256-qm7F1/+3iVtsxSAptbhiI5sEHR0B9vo7AdEPy1/PANU=";
10   };
12   extraInstallCommands = let
13     appimageContents = appimageTools.extract { inherit name src; };
14     in ''
15       install -m 444 -D ${appimageContents}/${name}.desktop -t $out/share/applications
16       substituteInPlace $out/share/applications/${name}.desktop \
17         --replace 'Exec=AppRun' 'Exec=${name}'
18       cp -r ${appimageContents}/usr/share/icons $out/share
19     '';
21   meta = with lib; {
22     description = "An app for managing ROMs in Steam";
23     homepage = "https://github.com/SteamGridDB/steam-rom-manager";
24     license = licenses.gpl3Only;
25     maintainers = with maintainers; [ squarepear ];
26     platforms = [ "x86_64-linux" ];
27   };