1{ 2 aiohttp, 3 aresponses, 4 attrs, 5 buildPythonPackage, 6 fetchFromGitHub, 7 lib, 8 poetry-core, 9 pytestCheckHook, 10 pytz, 11}: 12 13buildPythonPackage rec { 14 pname = "pyseventeentrack"; 15 version = "1.0.2"; 16 pyproject = true; 17 18 src = fetchFromGitHub { 19 owner = "shaiu"; 20 repo = "pyseventeentrack"; 21 tag = "v${version}"; 22 hash = "sha256-B/p+7wuXMtdOlIOySGQdtiiErcVD8DaVJPvSX4lPnos="; 23 }; 24 25 build-system = [ poetry-core ]; 26 27 dependencies = [ 28 aiohttp 29 attrs 30 pytz 31 ]; 32 33 pythonImportsCheck = [ "pyseventeentrack" ]; 34 35 nativeCheckInputs = [ 36 aresponses 37 pytestCheckHook 38 ]; 39 40 meta = { 41 changelog = "https://github.com/shaiu/pyseventeentrack/releases/tag/v${version}"; 42 description = "Simple Python API for 17track.net"; 43 homepage = "https://github.com/shaiu/pyseventeentrack"; 44 license = lib.licenses.mit; 45 maintainers = with lib.maintainers; [ dotlambda ]; 46 }; 47}