From aca4d64116ce07d55f79d67f0291143813ac6bc0 Mon Sep 17 00:00:00 2001 From: Gavin John Date: Mon, 16 Sep 2024 12:14:01 -0700 Subject: [PATCH] steamctl: init at 0.9.5 --- pkgs/by-name/st/steamctl/package.nix | 37 ++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 pkgs/by-name/st/steamctl/package.nix diff --git a/pkgs/by-name/st/steamctl/package.nix b/pkgs/by-name/st/steamctl/package.nix new file mode 100644 index 00000000000000..47478618f9ceb1 --- /dev/null +++ b/pkgs/by-name/st/steamctl/package.nix @@ -0,0 +1,37 @@ +{ + lib, + python3Packages, + fetchFromGitHub, +}: + +python3Packages.buildPythonApplication rec { + pname = "steamctl"; + version = "0.9.5"; + pyproject = true; + + src = fetchFromGitHub { + owner = "ValvePython"; + repo = "steamctl"; + rev = "refs/tags/v${version}"; + hash = "sha256-reNch5MP31MxyaeKUlANfizOXZXjtIDeSM1kptsWqkc="; + }; + + build-system = with python3Packages; [ setuptools ]; + dependencies = with python3Packages; [ + steam + appdirs + argcomplete + tqdm + arrow + pyqrcode + vpk + beautifulsoup4 + ]; + + meta = { + description = "A CLI utility to interface with Steam"; + homepage = "https://github.com/ValvePython/steamctl"; # GitHub's homepage is set to PyPi listing, PyPi listing's homepage is set to GitHub + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ pandapip1 ]; + }; +}