15 stdenv.mkDerivation (finalAttrs: {
19 src = fetchFromGitHub {
20 owner = "clementgallet";
22 rev = "v${finalAttrs.version}";
23 hash = "sha256-n4iaJG9k+/TFfGMDCYL83Z6paxpm/gY3thP9T84GeQU=";
26 nativeBuildInputs = [ autoreconfHook qt5.wrapQtAppsHook pkg-config ];
27 buildInputs = [ SDL2 alsa-lib ffmpeg lua5_3 qt5.qtbase ];
30 "--enable-release-build"
35 mv $out/bin/libtas*.so $out/lib/
38 enableParallelBuilding = true;
41 wrapProgram $out/bin/libTAS \
42 --suffix PATH : ${lib.makeBinPath [ file ]} \
43 --set-default LIBTAS_SO_PATH $out/lib/libtas.so
49 desktopName = "libTAS";
52 startupWMClass = "libTAS";
53 keywords = [ "libTAS" ];
58 homepage = "https://clementgallet.github.io/libTAS/";
59 changelog = "https://github.com/clementgallet/libTAS/blob/${finalAttrs.src.rev}/CHANGELOG.md";
60 description = "GNU/Linux software to give TAS tools to games";
61 license = lib.licenses.gpl3Only;
62 maintainers = with maintainers; [ skyrina ];
63 mainProgram = "libTAS";
64 platforms = [ "i686-linux" "x86_64-linux" ];