blob: 1c4513ea04f6b771480892cf5c5a5453cb9939a0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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 ];
};
}
|