2022-06-16 17:23:12 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
2023-10-09 19:29:22 +00:00
|
|
|
, fetchFromGitHub
|
2022-06-16 17:23:12 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "steamodd";
|
2023-10-09 19:29:22 +00:00
|
|
|
version = "5.0";
|
2022-06-16 17:23:12 +00:00
|
|
|
|
|
|
|
format = "setuptools";
|
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Lagg";
|
|
|
|
repo = "steamodd";
|
|
|
|
rev = "refs/tags/v${version}";
|
|
|
|
hash = "sha256-ySAyCOI1ISuBQ/5+UHSQVji76ZDRGjdVwlBAY9tnSmE=";
|
2022-06-16 17:23:12 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# tests require API key
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"steam.api"
|
|
|
|
"steam.apps"
|
|
|
|
"steam.items"
|
|
|
|
"steam.loc"
|
|
|
|
"steam.remote_storage"
|
|
|
|
"steam.sim"
|
|
|
|
"steam.user"
|
|
|
|
"steam.vdf"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "High level Steam API implementation with low level reusable core";
|
|
|
|
homepage = "https://github.com/Lagg/steamodd";
|
|
|
|
license = lib.licenses.isc;
|
|
|
|
maintainers = with lib.maintainers; [ dotlambda ];
|
|
|
|
};
|
|
|
|
}
|