1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 httpsig, 6 pytest-asyncio, 7 pytestCheckHook, 8 pythonOlder, 9}: 10 11buildPythonPackage rec { 12 pname = "pysmartapp"; 13 version = "0.3.5"; 14 format = "setuptools"; 15 16 disabled = pythonOlder "3.8"; 17 18 src = fetchFromGitHub { 19 owner = "andrewsayre"; 20 repo = "pysmartapp"; 21 rev = version; 22 hash = "sha256-RiRGOO5l5hcHllyDDGLtQHr51JOTZhAa/wK8BfMqmAY="; 23 }; 24 25 propagatedBuildInputs = [ httpsig ]; 26 27 nativeCheckInputs = [ 28 pytest-asyncio 29 pytestCheckHook 30 ]; 31 32 pythonImportsCheck = [ "pysmartapp" ]; 33 34 meta = with lib; { 35 description = "Python implementation to work with SmartApp lifecycle events"; 36 homepage = "https://github.com/andrewsayre/pysmartapp"; 37 changelog = "https://github.com/andrewsayre/pysmartapp/releases/tag/${version}"; 38 license = with licenses; [ mit ]; 39 maintainers = with maintainers; [ fab ]; 40 }; 41}