diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2022-02-03 09:10:19 +0100 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2022-02-03 19:43:29 +0100 |
commit | 241fc63f215952427ecfd0c3989f3f965063ce89 (patch) | |
tree | a30d751f5bec417bf5b53ed0d4206d7a26be9d49 /pkgs/development/python-modules/aioaseko | |
parent | 42a14b7fbe9bc96eae73f259d124cbef0ccdcc34 (diff) |
python3Packages.aioaseko: init at 0.0.1
Diffstat (limited to 'pkgs/development/python-modules/aioaseko')
-rw-r--r-- | pkgs/development/python-modules/aioaseko/default.nix | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/aioaseko/default.nix b/pkgs/development/python-modules/aioaseko/default.nix new file mode 100644 index 0000000000000..ca05910511edc --- /dev/null +++ b/pkgs/development/python-modules/aioaseko/default.nix @@ -0,0 +1,39 @@ +{ lib +, aiohttp +, buildPythonPackage +, fetchFromGitHub +, pythonOlder +}: + +buildPythonPackage rec { + pname = "aioaseko"; + version = "0.0.1"; + format = "pyproject"; + + disabled = pythonOlder "3.8"; + + src = fetchFromGitHub { + owner = "milanmeu"; + repo = pname; + rev = "v${version}"; + hash = "sha256-dfU2J4aDKNR+GoEmdq/NhX4Mrmm9tmCkse1tb+V5EFQ="; + }; + + propagatedBuildInputs = [ + aiohttp + ]; + + # Module has no tests + doCheck = false; + + pythonImportsCheck = [ + "aioaseko" + ]; + + meta = with lib; { + description = "Module to interact with the Aseko Pool Live API"; + homepage = "https://github.com/milanmeu/aioaseko"; + license = with licenses; [ lgpl3Plus ]; + maintainers = with maintainers; [ fab ]; + }; +} |