depot/third_party/nixpkgs/pkgs/development/python-modules/monzopy/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

40 lines
856 B
Nix

{
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 ];
};
}