1{ lib 2, aiohttp 3, aresponses 4, async-timeout 5, attrs 6, buildPythonPackage 7, fetchFromGitHub 8, poetry-core 9, pytest-asyncio 10, pytestCheckHook 11, pythonOlder 12, pytz 13}: 14 15buildPythonPackage rec { 16 pname = "seventeentrack"; 17 version = "2022.04.6"; 18 format = "pyproject"; 19 20 disabled = pythonOlder "3.8"; 21 22 src = fetchFromGitHub { 23 owner = "McSwindler"; 24 repo = pname; 25 rev = version; 26 hash = "sha256-vMdRXcd0es/LjgsVyWItSLFzlSTEa3oaA6lr/NL4i8U="; 27 }; 28 29 nativeBuildInputs = [ 30 poetry-core 31 ]; 32 33 propagatedBuildInputs = [ 34 aiohttp 35 async-timeout 36 attrs 37 pytz 38 ]; 39 40 checkInputs = [ 41 aresponses 42 pytest-asyncio 43 pytestCheckHook 44 ]; 45 46 disabledTestPaths = [ 47 # Ignore the examples directory as the files are prefixed with test_ 48 "examples/" 49 ]; 50 51 pythonImportsCheck = [ 52 "seventeentrack" 53 ]; 54 55 meta = with lib; { 56 description = "Python library to track package info from 17track.com"; 57 homepage = "https://github.com/McSwindler/seventeentrack"; 58 license = with licenses; [ mit ]; 59 maintainers = with maintainers; [ fab ]; 60 }; 61}