60 lines
970 B
Nix
60 lines
970 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
callPackage,
|
|
setuptools,
|
|
wheel,
|
|
six,
|
|
pycryptodomex,
|
|
requests,
|
|
urllib3,
|
|
vdf,
|
|
gevent,
|
|
protobuf,
|
|
cachetools,
|
|
cryptography,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "steam-python";
|
|
version = "1.4.4";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ValvePython";
|
|
repo = "steam";
|
|
rev = version;
|
|
hash = "sha256-OY04GsX3KMPvpsQl8sUurzFyJu+JKpES8B0iD6Z5uyw=";
|
|
};
|
|
|
|
build-system = [
|
|
setuptools
|
|
wheel
|
|
];
|
|
|
|
dependencies = [
|
|
six
|
|
pycryptodomex
|
|
requests
|
|
urllib3
|
|
vdf
|
|
gevent
|
|
protobuf
|
|
cachetools
|
|
cryptography
|
|
(callPackage ../pkgs_pr/gevent-eventemitter.nix { })
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"steam"
|
|
];
|
|
|
|
meta = {
|
|
description = "Python package for interacting with Steam";
|
|
homepage = "https://github.com/ValvePython/steam";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ CaptainJawZ ];
|
|
};
|
|
}
|