depot/third_party/nixpkgs/pkgs/development/python-modules/monzopy/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

40 lines
856 B
Nix

{
lib,
aiohttp,
buildPythonPackage,
fetchFromGitHub,
setuptools,
pythonOlder,
}:
buildPythonPackage rec {
pname = "monzopy";
version = "1.3.1";
pyproject = true;
disabled = pythonOlder "3.10";
src = fetchFromGitHub {
owner = "JakeMartin-ICL";
repo = "monzopy";
rev = "refs/tags/v${version}";
hash = "sha256-AoBfcQ0rilUPMvLCjU2Y+P/wVnb+I40vmq+5lS5eSto=";
};
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 ];
};
}