Files
nixpkgs/pkgs/development/python-modules/aiosteamist/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

49 lines
943 B
Nix

{
lib,
aiohttp,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
pytestCheckHook,
pytest-cov-stub,
pythonOlder,
xmltodict,
}:
buildPythonPackage rec {
pname = "aiosteamist";
version = "1.0.1";
pyproject = true;
disabled = pythonOlder "3.10";
src = fetchFromGitHub {
owner = "bdraco";
repo = "aiosteamist";
tag = "v${version}";
hash = "sha256-e7Nt/o2A1qn2nSpWv6ZsZHn/WpcXKzol+f+JNJaSb4w=";
};
build-system = [ poetry-core ];
dependencies = [
aiohttp
xmltodict
];
nativeCheckInputs = [
pytestCheckHook
pytest-cov-stub
];
pythonImportsCheck = [ "aiosteamist" ];
meta = {
description = "Module to control Steamist steam systems";
homepage = "https://github.com/bdraco/aiosteamist";
changelog = "https://github.com/bdraco/aiosteamist/releases/tag/v${version}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ fab ];
};
}