Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

python312Packages.monzopy: init at 1.2.0

Module to work with the Monzo API

https://github.com/JakeMartin-ICL/monzopy

+42
+40
pkgs/development/python-modules/monzopy/default.nix
··· 1 + { 2 + lib, 3 + aiohttp, 4 + buildPythonPackage, 5 + fetchFromGitHub, 6 + setuptools, 7 + pythonOlder, 8 + }: 9 + 10 + buildPythonPackage rec { 11 + pname = "monzopy"; 12 + version = "1.2.0"; 13 + pyproject = true; 14 + 15 + disabled = pythonOlder "3.10"; 16 + 17 + src = fetchFromGitHub { 18 + owner = "JakeMartin-ICL"; 19 + repo = "monzopy"; 20 + rev = "refs/tags/v${version}"; 21 + hash = "sha256-C2uJQWfDXQ19Tl4a8o3cjvCRDISRrexWZZmWPmNieS4="; 22 + }; 23 + 24 + build-system = [ setuptools ]; 25 + 26 + dependencies = [ aiohttp ]; 27 + 28 + # Module has no tests 29 + doCheck = false; 30 + 31 + pythonImportsCheck = [ "monzopy" ]; 32 + 33 + meta = with lib; { 34 + description = "Module to work with the Monzo API"; 35 + homepage = "https://github.com/JakeMartin-ICL/monzopy"; 36 + changelog = "https://github.com/JakeMartin-ICL/monzopy/releases/tag/v${version}"; 37 + license = licenses.gpl3Only; 38 + maintainers = with maintainers; [ fab ]; 39 + }; 40 + }
+2
pkgs/top-level/python-packages.nix
··· 7665 7665 7666 7666 monty = callPackage ../development/python-modules/monty { }; 7667 7667 7668 + monzopy = callPackage ../development/python-modules/monzopy { }; 7669 + 7668 7670 moonraker-api = callPackage ../development/python-modules/moonraker-api { }; 7669 7671 7670 7672 mopeka-iot-ble = callPackage ../development/python-modules/mopeka-iot-ble { };