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