at master 846 B view raw
1{ 2 lib, 3 aiohttp, 4 buildPythonPackage, 5 fetchFromGitHub, 6 setuptools, 7 pythonOlder, 8}: 9 10buildPythonPackage rec { 11 pname = "monzopy"; 12 version = "1.5.1"; 13 pyproject = true; 14 15 disabled = pythonOlder "3.10"; 16 17 src = fetchFromGitHub { 18 owner = "JakeMartin-ICL"; 19 repo = "monzopy"; 20 tag = "v${version}"; 21 hash = "sha256-LMg3hCaNa9LF3pZEQ/uQgt81V6qKmOwZnKHdsI8MHLY="; 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}