nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 aiohttp,
4 buildPythonPackage,
5 fetchFromGitHub,
6 poetry-core,
7 pytestCheckHook,
8 pytest-cov-stub,
9 xmltodict,
10}:
11
12buildPythonPackage rec {
13 pname = "aiosteamist";
14 version = "1.0.1";
15 pyproject = true;
16
17 src = fetchFromGitHub {
18 owner = "bdraco";
19 repo = "aiosteamist";
20 tag = "v${version}";
21 hash = "sha256-e7Nt/o2A1qn2nSpWv6ZsZHn/WpcXKzol+f+JNJaSb4w=";
22 };
23
24 build-system = [ poetry-core ];
25
26 dependencies = [
27 aiohttp
28 xmltodict
29 ];
30
31 nativeCheckInputs = [
32 pytestCheckHook
33 pytest-cov-stub
34 ];
35
36 pythonImportsCheck = [ "aiosteamist" ];
37
38 meta = {
39 description = "Module to control Steamist steam systems";
40 homepage = "https://github.com/bdraco/aiosteamist";
41 changelog = "https://github.com/bdraco/aiosteamist/releases/tag/v${version}";
42 license = lib.licenses.asl20;
43 maintainers = with lib.maintainers; [ fab ];
44 };
45}