Merge pull request #182036 from SquarePear/steam-rom-manager
steam-rom-manager: init at 2.3.40
This commit is contained in:
commit
15f17079dd
3 changed files with 36 additions and 0 deletions
|
@ -12170,6 +12170,12 @@
|
|||
githubId = 36899624;
|
||||
name = "squalus";
|
||||
};
|
||||
squarepear = {
|
||||
email = "contact@jeffreyharmon.dev";
|
||||
github = "SquarePear";
|
||||
githubId = 16364318;
|
||||
name = "Jeffrey Harmon";
|
||||
};
|
||||
srapenne = {
|
||||
email = "solene@perso.pw";
|
||||
github = "rapenne-s";
|
||||
|
|
28
pkgs/tools/games/steam-rom-manager/default.nix
Normal file
28
pkgs/tools/games/steam-rom-manager/default.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{ lib, appimageTools, fetchurl }:
|
||||
|
||||
appimageTools.wrapType2 rec {
|
||||
name = "steam-rom-manager";
|
||||
version = "2.3.40";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/SteamGridDB/steam-rom-manager/releases/download/v${version}/Steam-ROM-Manager-${version}.AppImage";
|
||||
sha256 = "sha256-qm7F1/+3iVtsxSAptbhiI5sEHR0B9vo7AdEPy1/PANU=";
|
||||
};
|
||||
|
||||
extraInstallCommands = let
|
||||
appimageContents = appimageTools.extract { inherit name src; };
|
||||
in ''
|
||||
install -m 444 -D ${appimageContents}/${name}.desktop -t $out/share/applications
|
||||
substituteInPlace $out/share/applications/${name}.desktop \
|
||||
--replace 'Exec=AppRun' 'Exec=${name}'
|
||||
cp -r ${appimageContents}/usr/share/icons $out/share
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "An app for managing ROMs in Steam";
|
||||
homepage = "https://github.com/SteamGridDB/steam-rom-manager";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ squarepear ];
|
||||
platforms = [ "x86_64-linux" ];
|
||||
};
|
||||
}
|
|
@ -33093,6 +33093,8 @@ with pkgs;
|
|||
|
||||
protonup = with python3Packages; toPythonApplication protonup;
|
||||
|
||||
steam-rom-manager = callPackage ../tools/games/steam-rom-manager {};
|
||||
|
||||
sdlpop = callPackage ../games/sdlpop { };
|
||||
|
||||
stepmania = callPackage ../games/stepmania { };
|
||||
|
|
Loading…
Reference in a new issue