-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cda2432
commit ddce539
Showing
1 changed file
with
49 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
{ | ||
fetchFromGitHub, | ||
lib, | ||
python3, | ||
}: | ||
python3.pkgs.buildPythonApplication rec { | ||
pname = "steamctl"; | ||
version = "0.9.5"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "ValvePython"; | ||
repo = "steamctl"; | ||
rev = "refs/tags/v${version}"; | ||
hash = "sha256-reNch5MP31MxyaeKUlANfizOXZXjtIDeSM1kptsWqkc="; | ||
}; | ||
|
||
build-system = [ python3.pkgs.setuptools ]; | ||
|
||
dependencies = | ||
with python3.pkgs; | ||
[ | ||
appdirs | ||
argcomplete | ||
arrow | ||
beautifulsoup4 | ||
pyqrcode | ||
steam | ||
tqdm | ||
vpk | ||
] | ||
++ steam.optional-dependencies.client; | ||
|
||
pythonImportsCheck = [ "steamctl" ]; | ||
|
||
meta = { | ||
description = "Take control of Steam from your terminal"; | ||
longDescription = '' | ||
steamctl is an open-source CLI utility similar to steamcmd. | ||
It provides access to a number of Steam features and data from the command line. | ||
While it is possible to download apps and content from Steam, steamctl is not a game launcher. | ||
''; | ||
homepage = "https://github.com/ValvePython/steamctl"; | ||
license = lib.licenses.mit; | ||
maintainers = with lib.maintainers; [ jackwilsdon ]; | ||
mainProgram = "steamctl"; | ||
}; | ||
} |