nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 37 lines 795 B view raw
1{ 2 lib, 3 aiohttp, 4 buildPythonPackage, 5 fetchFromGitHub, 6 setuptools, 7}: 8 9buildPythonPackage rec { 10 pname = "monzopy"; 11 version = "1.5.1"; 12 pyproject = true; 13 14 src = fetchFromGitHub { 15 owner = "JakeMartin-ICL"; 16 repo = "monzopy"; 17 tag = "v${version}"; 18 hash = "sha256-LMg3hCaNa9LF3pZEQ/uQgt81V6qKmOwZnKHdsI8MHLY="; 19 }; 20 21 build-system = [ setuptools ]; 22 23 dependencies = [ aiohttp ]; 24 25 # Module has no tests 26 doCheck = false; 27 28 pythonImportsCheck = [ "monzopy" ]; 29 30 meta = { 31 description = "Module to work with the Monzo API"; 32 homepage = "https://github.com/JakeMartin-ICL/monzopy"; 33 changelog = "https://github.com/JakeMartin-ICL/monzopy/releases/tag/v${version}"; 34 license = lib.licenses.gpl3Only; 35 maintainers = with lib.maintainers; [ fab ]; 36 }; 37}