Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 aiohttp, 4 buildPythonPackage, 5 fetchFromGitHub, 6 setuptools, 7 pythonOlder, 8}: 9 10buildPythonPackage rec { 11 pname = "monzopy"; 12 version = "1.3.1"; 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-AoBfcQ0rilUPMvLCjU2Y+P/wVnb+I40vmq+5lS5eSto="; 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}