11 rustPlatform.buildRustPackage rec {
15 src = fetchFromGitHub {
19 sha256 = "sha256-UTXYlPecv0MVonr9zZwfwopfC/Fdch/ZSCxqgUsem40=";
22 cargoSha256 = "sha256-VYBzwDLSV4N4qt2dNgIS399T2HIbPTdQ2rDIeheLlfo=";
24 buildInputs = [ steamcmd ]
25 ++ lib.optional withWine wine;
28 mv $out/bin/steam-tui $out/bin/.steam-tui-unwrapped
29 cat > $out/bin/steam-tui <<EOF
31 export PATH=${steamcmd}/bin:\$PATH
32 exec ${steam-run}/bin/steam-run $out/bin/.steam-tui-unwrapped '\$@'
34 chmod +x $out/bin/steam-tui
38 description = "Rust TUI client for steamcmd";
39 homepage = "https://github.com/dmadisetti/steam-tui";
40 license = licenses.mit;
41 maintainers = with maintainers; [ lom ];
42 # steam only supports that platform
43 platforms = [ "x86_64-linux" ];