summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/steamodd/default.nix
blob: 0d327a5cea1af166ade80ca87af4e6f86e223730 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
}:

buildPythonPackage rec {
  pname = "steamodd";
  version = "5.0";

  format = "setuptools";

  src = fetchFromGitHub {
    owner = "Lagg";
    repo = "steamodd";
    tag = "v${version}";
    hash = "sha256-ySAyCOI1ISuBQ/5+UHSQVji76ZDRGjdVwlBAY9tnSmE=";
  };

  # tests require API key
  doCheck = false;

  pythonImportsCheck = [
    "steam.api"
    "steam.apps"
    "steam.items"
    "steam.loc"
    "steam.remote_storage"
    "steam.sim"
    "steam.user"
    "steam.vdf"
  ];

  meta = {
    description = "High level Steam API implementation with low level reusable core";
    homepage = "https://github.com/Lagg/steamodd";
    license = lib.licenses.isc;
    maintainers = with lib.maintainers; [ dotlambda ];
  };
}