1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4}:
5
6buildPythonPackage rec {
7 pname = "steamodd";
8 version = "5.0";
9
10 format = "setuptools";
11
12 src = fetchFromGitHub {
13 owner = "Lagg";
14 repo = "steamodd";
15 rev = "refs/tags/v${version}";
16 hash = "sha256-ySAyCOI1ISuBQ/5+UHSQVji76ZDRGjdVwlBAY9tnSmE=";
17 };
18
19 # tests require API key
20 doCheck = false;
21
22 pythonImportsCheck = [
23 "steam.api"
24 "steam.apps"
25 "steam.items"
26 "steam.loc"
27 "steam.remote_storage"
28 "steam.sim"
29 "steam.user"
30 "steam.vdf"
31 ];
32
33 meta = {
34 description = "High level Steam API implementation with low level reusable core";
35 homepage = "https://github.com/Lagg/steamodd";
36 license = lib.licenses.isc;
37 maintainers = with lib.maintainers; [ dotlambda ];
38 };
39}