Unverified Commit 53d447b9 authored by Artur Sannikov's avatar Artur Sannikov
Browse files

python3Packages.steampy: init at 1.2.1

parent 380e22c4
Loading
Loading
Loading
Loading
+55 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,

  # build-system
  setuptools,

  # dependencies
  beautifulsoup4,
  requests,
  rsa,

  # tests
  pytestCheckHook,
}:

buildPythonPackage (finalAttrs: {
  pname = "steampy";
  version = "1.2.1";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "bukson";
    repo = "steampy";
    tag = finalAttrs.version;
    hash = "sha256-dGcqJGRQ88vXy+x2U+ykutP4RnzTUqJlmhXmcr+4maE=";
  };

  build-system = [ setuptools ];

  dependencies = [
    beautifulsoup4
    requests
    rsa
  ];

  pythonImportsCheck = [ "steampy" ];

  nativeCheckInputs = [ pytestCheckHook ];

  disabledTestPaths = [
    # Require Steam credentials
    "test/test_client.py"
    "test/test_guard.py"
    "test/test_market.py"
  ];

  meta = {
    description = "Steam trading library";
    homepage = "https://github.com/bukson/steampy";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ artur-sannikov ];
  };
})
+2 −0
Original line number Diff line number Diff line
@@ -18452,6 +18452,8 @@ self: super: with self; {
  steamodd = callPackage ../development/python-modules/steamodd { };
  steampy = callPackage ../development/python-modules/steampy { };
  steamship = callPackage ../development/python-modules/steamship { };
  steamworkspy = callPackage ../development/python-modules/steamworkspy { };