1{ lib 2, aiohttp 3, beautifulsoup4 4, buildPythonPackage 5, cryptography 6, fetchFromGitHub 7, lxml 8, pyjwt 9, pythonOlder 10, setuptools-scm 11, xmltodict 12}: 13 14buildPythonPackage rec { 15 pname = "seatconnect"; 16 version = "1.1.9"; 17 format = "setuptools"; 18 19 disabled = pythonOlder "3.8"; 20 21 src = fetchFromGitHub { 22 owner = "farfar"; 23 repo = pname; 24 rev = "refs/tags/${version}"; 25 hash = "sha256-HITVrI0o94a61gy/TYSGFtLBYX4Rw/dK1o2/KsvHLTQ="; 26 }; 27 28 SETUPTOOLS_SCM_PRETEND_VERSION = version; 29 30 nativeBuildInputs = [ 31 setuptools-scm 32 ]; 33 34 propagatedBuildInputs = [ 35 aiohttp 36 beautifulsoup4 37 cryptography 38 lxml 39 pyjwt 40 xmltodict 41 ]; 42 43 # Project only has a dummy test 44 doCheck = false; 45 46 pythonImportsCheck = [ 47 "seatconnect" 48 ]; 49 50 meta = with lib; { 51 description = "Python module to communicate with Seat Connect"; 52 homepage = "https://github.com/farfar/seatconnect"; 53 changelog = "https://github.com/Farfar/seatconnect/releases/tag/${version}"; 54 license = with licenses; [ asl20 ]; 55 maintainers = with maintainers; [ fab ]; 56 }; 57}