at master 985 B view raw
1{ 2 lib, 3 aiohttp, 4 buildPythonPackage, 5 fetchFromGitHub, 6 json-api-doc, 7 python-dateutil, 8 setuptools-scm, 9 setuptools, 10}: 11 12buildPythonPackage rec { 13 pname = "pyflick"; 14 version = "1.1.3"; 15 pyproject = true; 16 17 src = fetchFromGitHub { 18 owner = "ZephireNZ"; 19 repo = "PyFlick"; 20 tag = "v${version}"; 21 hash = "sha256-JROtklRimr6I1/6+yYaDL6rNGSj7O15nI/C9ZSj6eFo="; 22 }; 23 24 pythonRelaxDeps = [ "aiohttp" ]; 25 26 build-system = [ 27 setuptools 28 setuptools-scm 29 ]; 30 31 dependencies = [ 32 aiohttp 33 json-api-doc 34 python-dateutil 35 ]; 36 37 # no tests implemented 38 doCheck = false; 39 40 pythonImportsCheck = [ 41 "pyflick" 42 "pyflick.authentication" 43 ]; 44 45 meta = { 46 description = "Python API For Flick Electric in New Zealand"; 47 homepage = "https://github.com/ZephireNZ/PyFlick"; 48 changelog = "https://github.com/ZephireNZ/PyFlick/releases/tag/v${version}"; 49 license = lib.licenses.mit; 50 maintainers = with lib.maintainers; [ dotlambda ]; 51 }; 52}