summary refs log tree commit diff
path: root/pkgs/development/python-modules/steamodd/default.nix
blob: edc489b297e8eaa8c8d8a1d706a9c77c1a50b784 (plain) (blame)
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
{ lib
, buildPythonPackage
, fetchFromGitHub
}:

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

  format = "setuptools";

  src = fetchFromGitHub {
    owner = "Lagg";
    repo = "steamodd";
    rev = "refs/tags/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 ];
  };
}