1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 aiohttp, 7 gql, 8 oathtool, 9 pytestCheckHook, 10}: 11 12buildPythonPackage rec { 13 pname = "monarchmoney"; 14 version = "0.1.15"; 15 pyproject = true; 16 17 src = fetchFromGitHub { 18 owner = "hammem"; 19 repo = "monarchmoney"; 20 tag = "v${version}"; 21 hash = "sha256-I5YCINwJqzdntVGn8T8Yx/cfWOtwgwvyt30swBLQHDo="; 22 }; 23 24 build-system = [ setuptools ]; 25 26 dependencies = [ 27 aiohttp 28 gql 29 oathtool 30 ]; 31 32 nativeCheckInputs = [ pytestCheckHook ]; 33 34 pythonImportsCheck = [ "monarchmoney" ]; 35 36 meta = { 37 description = "Python API for Monarch Money"; 38 homepage = "https://github.com/hammem/monarchmoney"; 39 changelog = "https://github.com/hammem/monarchmoney/releases/tag/v${version}"; 40 license = lib.licenses.mit; 41 maintainers = [ lib.maintainers.jamiemagee ]; 42 }; 43}