Merge pull request #313328 from fabaff/monzopy

python312Packages.monzopy: init at 1.2.0
This commit is contained in:
OTABI Tomoya 2024-05-21 17:48:46 +09:00 committed by GitHub
commit 8e13580044
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1,40 @@
{
lib,
aiohttp,
buildPythonPackage,
fetchFromGitHub,
setuptools,
pythonOlder,
}:
buildPythonPackage rec {
pname = "monzopy";
version = "1.2.0";
pyproject = true;
disabled = pythonOlder "3.10";
src = fetchFromGitHub {
owner = "JakeMartin-ICL";
repo = "monzopy";
rev = "refs/tags/v${version}";
hash = "sha256-C2uJQWfDXQ19Tl4a8o3cjvCRDISRrexWZZmWPmNieS4=";
};
build-system = [ setuptools ];
dependencies = [ aiohttp ];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "monzopy" ];
meta = with lib; {
description = "Module to work with the Monzo API";
homepage = "https://github.com/JakeMartin-ICL/monzopy";
changelog = "https://github.com/JakeMartin-ICL/monzopy/releases/tag/v${version}";
license = licenses.gpl3Only;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -7661,6 +7661,8 @@ self: super: with self; {
monty = callPackage ../development/python-modules/monty { };
monzopy = callPackage ../development/python-modules/monzopy { };
moonraker-api = callPackage ../development/python-modules/moonraker-api { };
mopeka-iot-ble = callPackage ../development/python-modules/mopeka-iot-ble { };