1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5
6 six,
7 pycryptodomex,
8 requests,
9 urllib3,
10 vdf,
11 gevent,
12 protobuf,
13 gevent-eventemitter,
14 cachetools,
15 setuptools,
16}:
17buildPythonPackage rec {
18 pname = "steam";
19 version = "1.4.4";
20 pyproject = true;
21
22 src = fetchFromGitHub {
23 owner = "ValvePython";
24 repo = "steam";
25 rev = "v${version}";
26 hash = "sha256-OY04GsX3KMPvpsQl8sUurzFyJu+JKpES8B0iD6Z5uyw=";
27 };
28
29 build-system = [ setuptools ];
30
31 dependencies = [
32 six
33 pycryptodomex
34 requests
35 urllib3
36 vdf
37 gevent
38 protobuf
39 gevent-eventemitter
40 cachetools
41 ];
42
43 meta = {
44 description = "Python package for interacting with Steam";
45 homepage = "https://github.com/ValvePython/steam";
46 license = lib.licenses.mit;
47 platforms = lib.platforms.linux;
48 maintainers = with lib.maintainers; [ weirdrock ];
49 };
50}