compiling protonup-qt from source

This commit is contained in:
2024-12-19 22:33:40 -06:00
parent cd5a858f9e
commit 2ce209820a
4 changed files with 175 additions and 0 deletions

50
pkgs_pr/steam.nix Normal file
View File

@@ -0,0 +1,50 @@
{
lib,
python3Packages,
fetchFromGitHub,
callPackage,
}:
python3Packages.buildPythonPackage rec {
pname = "steam";
version = "1.4.4";
pyproject = true;
src = fetchFromGitHub {
owner = "ValvePython";
repo = "steam";
rev = version;
hash = "sha256-OY04GsX3KMPvpsQl8sUurzFyJu+JKpES8B0iD6Z5uyw=";
};
build-system = with python3Packages; [
setuptools
wheel
];
dependencies =
with python3Packages;
[
six
pycryptodomex
requests
urllib3
vdf
gevent
protobuf
cachetools
cryptography
]
++ [ (callPackage ./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 ];
};
}